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

Rework personalities and some plug-in handling

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Precommit
    • Labels:
      None
    • Release Note:
      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.
    • Flags:
      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

            • Assignee:
              aw Allen Wittenauer
              Reporter:
              aw Allen Wittenauer

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment