Scott Bahling
a33c40eb53
Fix handling of meta command within local working directory
...
* Fix osc ignoring -A apiurl command option when arguments are
less than 2 and executed within local working copy
* Enhance handling of meta command within local working copy.
- meta prj: Try to use project and apiurl of local working copy
if no arguments are passed
- meta pkg: Try to use project and apiurl of local working copy
if one argument is passed (single argument assumed to be package
name), and try to use project, package and apiurl if no
arguments are passed
2014-02-27 16:45:44 +01:00
c4f0397b0f
Takes care when the commit is in project level
2014-02-27 16:45:44 +01:00
014551e786
Move the user interaction for linked package into commandline.py
2014-02-27 16:45:44 +01:00
Ludwig Nussel
955c46495b
replace sys.exit(0) to avoid backtrace
2014-02-27 08:39:54 +01:00
Marcus Huewe
87e24c3aa6
- do_commit: added --no-message option
...
Commit without specifying a log comment. Fixes #73 .
2014-02-12 14:52:39 +01:00
Sascha Peilicke
3c0dbaba7f
Add flag '--noverify' next to '--no-verify'
...
Align with other '--no$bla' flags. Note that the alternative is added
after '--no-verify', optparse uses the first arg for the stored config
variable.
2014-02-12 12:26:59 +01:00
Marcus Huewe
b5d47ebd8c
- do_maintainer: fixed support for groups
...
Ideally, the whole method will be refactored one day...
2014-02-11 11:56:44 +01:00
Marcus Huewe
49ed086d0b
- do_vc: added a --file <filename> option
...
Can be used to read changes from <filename>.
2014-02-05 17:50:31 +01:00
98a625e89e
- show also error details on request accept error
2014-02-04 14:35:30 +01:00
e1007e1bd8
- show api error on failure of request/review accept
2014-01-30 11:52:24 +01:00
0557fecd02
- support bugowner set of groups
2014-01-24 17:01:35 +01:00
7fcb1bbe3e
- fix set bugowner command
2014-01-24 10:29:00 +01:00
Marcus Huewe
cf35fb441f
- do_request: support float values for --days (affects list)
2014-01-14 11:04:04 +01:00
Marcus Huewe
edd199af3b
- _load_plugins: handle NameError more gracefully
2014-01-10 15:58:33 +01:00
Vitezslav Cizek
f85c76bd42
correctly specify --delete option when using rsync
2014-01-08 15:18:02 +01:00
Michal Čihař
e9793df634
Fixed typo in authentication
2013-12-09 19:26:15 +01:00
f202fbd111
add option for deleterequests using auto-accept
2013-12-05 10:23:53 +01:00
Sascha Peilicke
89eb129e4d
Same output as "osc branch" for mbranch command
...
Users can just copy-paste the "osc co ..." command in their shell and be
more productive.
2013-11-18 13:48:09 +01:00
Marcus Huewe
73048d1159
- yet another fix for the previous commit
2013-11-15 11:42:58 +01:00
Marcus Huewe
b2493a25ae
- fix for 6a36b5180a
...
It is ridiculous that we have duplicated code for "osc sr" and
"osc createrequest"...
2013-11-15 11:39:21 +01:00
Marcus Huewe
6a36b5180a
- do_submitrequest: automatically supersede existing requests if "--yes" was specified
...
Fixes #58
2013-11-15 11:13:27 +01:00
a7ea5043ae
- allow also to execute a token with a registered service
2013-11-13 18:23:44 +01:00
63e1124c09
- add support to handle authentification token support
2013-10-31 09:12:17 +01:00
67802e6a41
- support restartbuild and abortbuild
...
small refactoring but keep api compability
2013-10-28 18:30:32 +01:00
Sascha Peilicke
43499172af
Kill Danny's awesome english
2013-10-28 10:21:21 +01:00
Sascha Peilicke
569e89fede
Add --unset parameter to setdevelproject
...
Allows to unset the devel project (much like setlinkrev -u).
2013-10-18 11:50:07 +02:00
Sascha Peilicke
3d72e60321
Improve devel project commands.
...
Let "osc develproject" (with new alias "dp") display the devel package
if it doesn't match the package name. Deprecate "--raw" option which
only was a crude workaround for that anyway.
Add "osc setdevelproject" (alias "sdp") command to change a package's
devel project / package.
2013-10-07 14:31:50 +02:00
Marcus Huewe
7f1d7f6258
- do_request: added --no-devel option in order to disable the forwarding to the devel project (if the request is accepted)
...
Original patch by "Dominique Leuenberger a.k.a. Dimstar" <dimstar@opensuse.org>
(I just renamed the option from "--nodevel" to "--no-devel").
2013-09-25 15:36:54 +02:00
38edcb605f
- drop double read(), the copy_pac method is doing that already and python 2.6 is crashing here
2013-09-17 16:39:23 +02:00
Marcus Huewe
bf2e372c30
- added new "osc clean" command
...
"osc clean" removes all untracked files from a package working
copy.
2013-09-12 16:14:14 +02:00
aef9f7e6d2
- _sslcert is stored in meta space
2013-09-05 14:54:15 +02:00
edda98eaff
- add signkey --sslcert option to fetch the optional create ssl certificate instead of gpg key
2013-08-30 09:41:13 +02:00
Marcus Huewe
c78da6c496
- _load_plugins: also add imported modules to the class
...
This is needed for backward compatibility. New plugins
(which do not care about "old" osc versions) should not
use "self.<imported modname>.<something>" anymore
to refer to the imported module. Instead use
"<imported modname>.<something>" (this will only work with
osc > 0.140.1).
2013-08-15 17:26:07 +02:00
6461c9faf0
add --last parameter for build logs to show last finished log file, if currently building
2013-08-13 10:38:43 +02:00
Marcus Huewe
67a0671c8a
- _load_plugins: follow-up fix for commit 58d716a6f7
...
Only add functions to the Osc class which are defined in the _current_
module.
2013-07-23 12:10:31 +02:00
41adda44f6
- add support for manual release of sources with binaries (FATE #315250 )
2013-07-08 15:59:14 +02:00
Marcus Huewe
58d716a6f7
- _load_plugins: add all functions from the plugin to the Osc class
...
Adding only functions which starts with "do_" breaks the old
behavior.
2013-06-26 10:18:14 +02:00
Marcus Huewe
4996b1d1ac
- do_copypac: fixed help text of the --revision option (as suggested by darix)
...
It "copies" the specified revision instead of "linking" it.
2013-06-21 15:11:20 +02:00
Marcus Huewe
58532bbac7
- small fix for commit d338254bb7
...
catch HTTPError instead of TypeError
2013-06-17 17:37:40 +02:00
Sascha Peilicke
d338254bb7
Display meaningful message for queries w/o project
...
Like: osc rq list -U $USER -t change_devel
2013-06-17 16:26:00 +02:00
Sascha Peilicke
4007800880
Catch specific exception. Catch-all is calling for error
2013-06-17 16:21:32 +02:00
Marcus Huewe
b6c9505274
- reworked the plugin loading mechanism
...
Using the "old" exec approach isn't possible anymore because it'll break all
plugins which aren't compatible with python3 (for instance the usage of
python2's "print" statement will lead to an error). In order to circumvent
this problem we do the following:
- import the plugin/module
- update the module's global symbol table with the "globals()" of the
commandline module
- bind the module's "do_*" functions to the "Osc" class
This basically mimics the old "exec" semantics.
2013-06-13 20:10:12 +02:00
Juergen Weigert
4b48cc611f
fixed plugin crash message: include the plugin name
...
Two occurences.
2013-06-06 12:36:48 +02:00
Juergen Weigert
c7a15b9dab
fixed plugin crash message: include the plugin name
2013-06-06 11:55:50 +02:00
Danny Al-Gaaf
ca306fbb29
commandline.py: remove some unnecessary pass statements
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 13:42:28 +02:00
Danny Al-Gaaf
42b8d5ff45
commandline.py: fix "More than one statement on a single line"
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 13:38:49 +02:00
Danny Al-Gaaf
c261a80d46
commandline.py: remove comma, causing trouble
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 13:06:01 +02:00
Danny Al-Gaaf
00e3932e43
commandline.py: wrap some really long lines
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 13:03:46 +02:00
Danny Al-Gaaf
8403c92059
commandline.py: add missing spaces
...
Add missing spaces around operators, add missing spaces after comma.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 12:41:50 +02:00
Danny Al-Gaaf
439e03501d
commandline.py: remove unnecessary semicolon
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 12:18:43 +02:00