Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-1072

Rework personalities and some plug-in handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • Precommit
    • None
    • Hide
      <!-- markdown -->

      Users:
      * Precommit's bundled personalities have been removed as they are all out of date.
      * Personalities will be loaded from `.yetus/personality.sh` by default.
      * User-plugins will be loaded from`.yetus/plugins.d` by default.
      * The `test-patch.d` directory has been renamed to `plugins.`
      * `--project` can no longer be used to load a personality from a plugin directory.


      Developers:
      * BASEDIR is now absolute'd sooner.
      * PERSONALITY and USER_PLUGIN_DIR will almost always have a value now.
      * PERSONALITY is now guaranteed to load after plugins.
      * `personality_modules` and `personality_file_tests` are no longer defined by default. Instead, plugins, core code, etc, (basically, anything not a personality) should call `personality_modules_wrapper` and `personality_file_tests_wrapper`. These functions will be redirect to the correct function.
      * PROJECT_NAME_* is now honored for loading many of the personality-specific functions.
      Show
      <!-- markdown --> Users: * Precommit's bundled personalities have been removed as they are all out of date. * Personalities will be loaded from `.yetus/personality.sh` by default. * User-plugins will be loaded from`.yetus/plugins.d` by default. * The `test-patch.d` directory has been renamed to `plugins.` * `--project` can no longer be used to load a personality from a plugin directory. Developers: * BASEDIR is now absolute'd sooner. * PERSONALITY and USER_PLUGIN_DIR will almost always have a value now. * PERSONALITY is now guaranteed to load after plugins. * `personality_modules` and `personality_file_tests` are no longer defined by default. Instead, plugins, core code, etc, (basically, anything not a personality) should call `personality_modules_wrapper` and `personality_file_tests_wrapper`. These functions will be redirect to the correct function. * PROJECT_NAME_* is now honored for loading many of the personality-specific functions.
    • Important

    Description

      a) Load personalities from $BASEDIR/.yetus/personality.sh
      b) default user plugins to .yetus/plugins.d
      c) Drop the old bundled personalities as no one is using them anymore
      d) Move the yetus personality to the new location
      e) support $PROJECT_NAME_(personalityfunction)
      f) doc updates, as usual

      Attachments

        Issue Links

          Activity

            People

              aw Allen Wittenauer
              aw Allen Wittenauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m