[
https://issues.apache.org/jira/browse/YETUS-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated YETUS-1072:
------------------------------------
Release Note:
<!-- 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.
* NOTE: In a future release, many `personality_*` functions will be getting
renamed.
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.
was:
<!-- 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.
* NOTE: In a future release, many `personality_*` functions will be getting
renamed.
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.
> Rework personalities and some plug-in handling (part 1)
> -------------------------------------------------------
>
> Key: YETUS-1072
> URL: https://issues.apache.org/jira/browse/YETUS-1072
> Project: Yetus
> Issue Type: Sub-task
> Components: Precommit
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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) lay ground to rename personality defines to use $PROJECT_NAME
> f) doc updates, as usual
--
This message was sent by Atlassian Jira
(v8.3.4#803005)