mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
plugins now should be placed in /usr/lib/osc to match FHS (the /var path is still supported though)
This commit is contained in:
1
NEWS
1
NEWS
@@ -9,6 +9,7 @@
|
||||
- bugfix: templates in edit commit message causes an empty commit logs
|
||||
- osc sr create consumes DESTPRJ [DESTPKG] arguments only
|
||||
- osc build now also tested on native arm targets where uname -m reports a string like armv{4l,5el,6l,7el,7l}
|
||||
- plugins now should be placed in /usr/lib/osc to match FHS (the /var path is still supported though)
|
||||
|
||||
0.117:
|
||||
- support checkout of single package via "osc co PACKAGE" when local dir is project
|
||||
|
@@ -3080,7 +3080,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
###############################################################################
|
||||
|
||||
# load subcommands plugged-in locally
|
||||
plugin_dirs = ['/var/lib/osc-plugins', os.path.expanduser('~/.osc-plugins')]
|
||||
plugin_dirs = [
|
||||
'/usr/lib/osc-plugins',
|
||||
'/usr/local/lib/osc-plugins',
|
||||
'/var/lib/osc-plugins', # Kept for backward compatibility
|
||||
os.path.expanduser('~/.osc-plugins')]
|
||||
for plugin_dir in plugin_dirs:
|
||||
if os.path.isdir(plugin_dir):
|
||||
for extfile in os.listdir(plugin_dir):
|
||||
|
Reference in New Issue
Block a user