opensuse:osc.git
12 years ago- fix crash on removal of local _service file 0.132 0.132.6
Adrian Schröter [Wed, 24 Aug 2011 10:06:07 +0000 (12:06 +0200)]
- fix crash on removal of local _service file

12 years ago- handle both old OBS versions before 2.3
Adrian Schröter [Tue, 23 Aug 2011 14:05:27 +0000 (16:05 +0200)]
- handle both old OBS versions before 2.3

12 years ago- make osc working with OBS 2.1 again
Adrian Schröter [Fri, 19 Aug 2011 13:18:18 +0000 (15:18 +0200)]
- make osc working with OBS 2.1 again

12 years agofix pgp pubkey parsing
Ludwig Nussel [Fri, 5 Aug 2011 11:52:42 +0000 (13:52 +0200)]
fix pgp pubkey parsing

the base64 checksum must not be included in the key data. Newer rpm
don't like that.

12 years ago- show created incident project
Adrian Schröter [Tue, 19 Jul 2011 16:05:07 +0000 (18:05 +0200)]
- show created incident project

12 years ago- tag 0.132.5 0.132.5
Adrian Schröter [Thu, 7 Jul 2011 04:49:57 +0000 (06:49 +0200)]
- tag 0.132.5

12 years ago- do not print "Waiting" line on packages without defined services
Adrian Schröter [Mon, 4 Jul 2011 10:13:20 +0000 (12:13 +0200)]
- do not print "Waiting" line on packages without defined services

12 years ago- detect also project wide only source services during commit
Adrian Schröter [Mon, 4 Jul 2011 10:05:47 +0000 (12:05 +0200)]
- detect also project wide only source services during commit

12 years ago- crash fix on maintenance incident creation with given project
Adrian Schröter [Mon, 27 Jun 2011 12:37:08 +0000 (14:37 +0200)]
- crash fix on maintenance incident creation with given project

12 years ago- tag 0.132.4 0.132.4
Adrian Schröter [Wed, 15 Jun 2011 12:17:02 +0000 (14:17 +0200)]
- tag 0.132.4

12 years ago- do not run source services on local packages or offline builds, but warn about...
Adrian Schröter [Wed, 15 Jun 2011 12:16:20 +0000 (14:16 +0200)]
- do not run source services on local packages or offline builds, but warn about that

12 years ago- tag 0.132.3 0.132.3
Adrian Schröter [Fri, 10 Jun 2011 09:43:56 +0000 (11:43 +0200)]
- tag 0.132.3

12 years ago- fix crash after commit when no serviceinfo element exists
Adrian Schröter [Fri, 10 Jun 2011 09:36:38 +0000 (11:36 +0200)]
- fix crash after commit when no serviceinfo element exists

12 years ago- flag as 0.132.2 0.132.2
Adrian Schröter [Thu, 9 Jun 2011 15:30:43 +0000 (17:30 +0200)]
- flag as 0.132.2

12 years ago- fix broken update after commit with service run
Adrian Schröter [Thu, 9 Jun 2011 15:20:51 +0000 (17:20 +0200)]
- fix broken update after commit with service run
- fix up -S on unexpanded checkouts

12 years agoosc co: print help instead of crashing if no arguments are given
Petr Uzel [Wed, 8 Jun 2011 11:35:47 +0000 (13:35 +0200)]
osc co: print help instead of crashing if no arguments are given

This fixes:

~> osc checkout
Traceback (most recent call last):
  File "/usr/bin/osc", line 21, in <module>
    r = babysitter.run(osccli)
  File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in run
    return prg.main()
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main
    return self.cmd(args)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd
    retval = self.onecmd(argv)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3386, in do_checkout
    m = re.match(r"obs://([^/]+)/(\S+)/([^/]+)/([A-Fa-f\d]+)\-(\S+)", args[0])
IndexError: tuple index out of range

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
12 years ago- flag as 0.132.1 0.132.1
Adrian Schröter [Wed, 8 Jun 2011 11:33:43 +0000 (13:33 +0200)]
- flag as 0.132.1

12 years ago- getProjectGlobalServices: catch 400 instead of 404
Marcus Huewe [Wed, 8 Jun 2011 11:22:51 +0000 (13:22 +0200)]
- getProjectGlobalServices: catch 400 instead of 404

otherwise it breaks older obs instances

12 years agoFix spelling
Michal Čihař [Wed, 8 Jun 2011 10:10:47 +0000 (12:10 +0200)]
Fix spelling

12 years ago- add the --meta handling also to list, cat and less commands
Adrian Schröter [Wed, 8 Jun 2011 08:25:15 +0000 (10:25 +0200)]
- add the --meta handling also to list, cat and less commands

12 years agorelease 0.132 0.132.0
Adrian Schröter [Tue, 7 Jun 2011 14:39:46 +0000 (16:39 +0200)]
release 0.132

12 years ago- follow changes during commit in test cases
Adrian Schröter [Tue, 7 Jun 2011 14:33:08 +0000 (16:33 +0200)]
- follow changes during commit in test cases

12 years ago- fix error message
Adrian Schröter [Mon, 6 Jun 2011 12:43:01 +0000 (14:43 +0200)]
- fix error message

12 years ago- add 'requestbugownership' command for setting the bugowner via request
Adrian Schröter [Wed, 1 Jun 2011 07:50:30 +0000 (09:50 +0200)]
- add 'requestbugownership' command for setting the bugowner via request

12 years agofix lines = None
Ludwig Nussel [Wed, 1 Jun 2011 07:12:10 +0000 (09:12 +0200)]
fix lines = None

12 years agoavoid first line empty for commit message
Ludwig Nussel [Tue, 31 May 2011 09:48:10 +0000 (11:48 +0200)]
avoid first line empty for commit message

12 years agoadd .changes diff to commit message again
Ludwig Nussel [Tue, 31 May 2011 09:48:01 +0000 (11:48 +0200)]
add .changes diff to commit message again

12 years agoosc pdiff ("parent diff")
Vincent Untz [Thu, 28 Apr 2011 11:49:48 +0000 (13:49 +0200)]
osc pdiff ("parent diff")

12 years ago- do not search for requests, if one got specified via -s parameter
Adrian Schröter [Thu, 26 May 2011 15:13:06 +0000 (17:13 +0200)]
- do not search for requests, if one got specified via -s parameter

12 years ago- fix changelog comments take over to commit log
Adrian Schröter [Thu, 26 May 2011 14:39:12 +0000 (16:39 +0200)]
- fix changelog comments take over to commit log

12 years ago- do not fail on special packages with defined source services
Adrian Schröter [Thu, 26 May 2011 13:54:30 +0000 (15:54 +0200)]
- do not fail on special packages with defined source services

12 years agoHandle also errors which can sneak out of httplib
Michal Čihař [Thu, 26 May 2011 09:54:14 +0000 (11:54 +0200)]
Handle also errors which can sneak out of httplib

12 years ago- rdelte and undelete operate with history comment now
Adrian Schröter [Thu, 26 May 2011 08:21:14 +0000 (10:21 +0200)]
- rdelte and undelete operate with history comment now

12 years ago- run source services always verbose on "osc build"
Adrian Schröter [Wed, 25 May 2011 11:45:54 +0000 (13:45 +0200)]
- run source services always verbose on "osc build"

12 years ago- support for local defined source services during commit. Move old validation and...
Adrian Schröter [Wed, 25 May 2011 11:34:32 +0000 (13:34 +0200)]
- support for local defined source services during commit. Move old validation and trylocal source service run into commit function

12 years ago- handle errors of source service runs
Adrian Schröter [Tue, 24 May 2011 08:49:08 +0000 (10:49 +0200)]
- handle errors of source service runs

12 years ago- fix description of rdelete commands and make a difference to enforce it on server...
Adrian Schröter [Mon, 23 May 2011 18:42:35 +0000 (20:42 +0200)]
- fix description of rdelete commands and make a difference to enforce it on server side or to ignore the content. Famous rm -rf command exists now :)

12 years ago- fix auth failure when converting from passx to pass
Michael Schroeder [Mon, 23 May 2011 15:14:48 +0000 (17:14 +0200)]
- fix auth failure when converting from passx to pass

12 years ago- requests in history can be also delete or maintenance requests
Adrian Schröter [Mon, 23 May 2011 14:59:16 +0000 (16:59 +0200)]
- requests in history can be also delete or maintenance requests

12 years ago- just for readability
Adrian Schröter [Mon, 23 May 2011 14:34:04 +0000 (16:34 +0200)]
- just for readability

12 years ago- support the new source service file mode of OBS 2.3 Beta 2
Adrian Schröter [Mon, 23 May 2011 13:26:13 +0000 (15:26 +0200)]
- support the new source service file mode of OBS 2.3 Beta 2

12 years ago- use merged srcmd5sum as default revision on submit request creation, if link target...
Adrian Schröter [Thu, 19 May 2011 15:10:08 +0000 (17:10 +0200)]
- use merged srcmd5sum as default revision on submit request creation, if link target is not submit target.
  This allows to create multiple submit requests from same source, if one of them is to the link target.
  Otherwise merge conflicts will occur

12 years ago- server_diff_noex: fixed logic error (body is no Element)
Marcus Huewe [Wed, 18 May 2011 15:54:33 +0000 (17:54 +0200)]
- server_diff_noex: fixed logic error (body is no Element)

12 years agoRevert "read_filemeta: create the default _files if not exists"
Marcus Huewe [Tue, 17 May 2011 14:09:09 +0000 (16:09 +0200)]
Revert "read_filemeta: create the default _files if not exists"

This reverts commit a05a2a0a4f8f84cc9d92208e232a6e0e99438691.

Conflicts:

osc/core.py

The commit doesn't make much sense because we can't recover from a missing .osc/_files file.
This has to be fixed.

12 years ago- fixed os.path.join call
Marcus Huewe [Mon, 16 May 2011 12:27:55 +0000 (14:27 +0200)]
- fixed os.path.join call

12 years ago- add new config option include_request_from_project (default True)
Marcus Huewe [Thu, 12 May 2011 21:27:19 +0000 (23:27 +0200)]
- add new config option include_request_from_project (default True)

This way it's possible to hide requests which have a given project
as a source project when running "osc rq list project".

Original patch by darix (just a bit beautified)

12 years ago- support to create hidden project on "branch" and "createincident" commands
Adrian Schröter [Wed, 4 May 2011 10:11:24 +0000 (12:11 +0200)]
- support to create hidden project on "branch" and "createincident" commands

12 years ago- update local copy after checkin if source service is there
Adrian Schröter [Tue, 3 May 2011 14:44:20 +0000 (16:44 +0200)]
- update local copy after checkin if source service is there

12 years ago- block creating submit requests when a source service is still running (OBS 2.3...
Adrian Schröter [Mon, 2 May 2011 13:28:44 +0000 (15:28 +0200)]
- block creating submit requests when a source service is still running (OBS 2.3 only)

12 years ago- add "createincident" command
Adrian Schröter [Mon, 2 May 2011 11:21:28 +0000 (13:21 +0200)]
- add "createincident" command

12 years ago- fixed print statement calls
Marcus Huewe [Fri, 29 Apr 2011 18:29:07 +0000 (20:29 +0200)]
- fixed print statement calls

12 years ago- fix for commit b0ddeb909d88e9e9838927624e1de1a57ad6e43b
Marcus Huewe [Thu, 28 Apr 2011 21:55:22 +0000 (23:55 +0200)]
- fix for commit b0ddeb909d88e9e9838927624e1de1a57ad6e43b

12 years agoFix various typos
Michal Čihař [Thu, 28 Apr 2011 09:14:38 +0000 (11:14 +0200)]
Fix various typos

12 years ago- open 0.132 version
Adrian Schröter [Wed, 27 Apr 2011 12:39:17 +0000 (14:39 +0200)]
- open 0.132 version

12 years agoswitch to 0.131 release 0.131 0.131.0
Adrian Schröter [Wed, 27 Apr 2011 12:38:30 +0000 (14:38 +0200)]
switch to 0.131 release

12 years ago- "review accept/decline" is trying to change all reviews of a requests, if a specifi...
Adrian Schröter [Tue, 26 Apr 2011 15:18:49 +0000 (17:18 +0200)]
- "review accept/decline" is trying to change all reviews of a requests, if a specific one is not specified by user.
- do not always implicit add by_user on reviews.
- remove default to set a user himself as reviewer (makes no sense)

12 years ago- osc rq show <id> -d: store tmpfile with suffix ".diff" (for syntax highlighting)
Marcus Huewe [Sat, 23 Apr 2011 22:27:47 +0000 (00:27 +0200)]
- osc rq show <id> -d: store tmpfile with suffix ".diff" (for syntax highlighting)

- run_pager: added optional "tmp_suffix" parameter

12 years agofix PackageNotInstalled printing
Ludwig Nussel [Thu, 21 Apr 2011 12:30:37 +0000 (14:30 +0200)]
fix PackageNotInstalled printing

12 years ago- "my requests" is showing requests with open reviews also now
Adrian Schröter [Wed, 20 Apr 2011 14:53:42 +0000 (16:53 +0200)]
- "my requests" is showing requests with open reviews also now

12 years agoallow TLS only
Ludwig Nussel [Wed, 20 Apr 2011 12:12:26 +0000 (14:12 +0200)]
allow TLS only

12 years agomake abortbuild parameters work like rebuild
Ludwig Nussel [Wed, 20 Apr 2011 12:05:00 +0000 (14:05 +0200)]
make abortbuild parameters work like rebuild

12 years agouse ssl session resumption
Ludwig Nussel [Mon, 18 Apr 2011 09:02:26 +0000 (11:02 +0200)]
use ssl session resumption

saves some cycles if osc makes several requests

12 years agocatch only urllib errors for expand handling
Ludwig Nussel [Thu, 3 Mar 2011 09:07:45 +0000 (10:07 +0100)]
catch only urllib errors for expand handling

12 years agouse more generic oscerr.PackageNotInstalled
Ludwig Nussel [Tue, 29 Mar 2011 15:15:35 +0000 (17:15 +0200)]
use more generic oscerr.PackageNotInstalled

12 years ago[osc] allow expansion of %(apihost)s also as part of setting
Martin Mohring [Thu, 14 Apr 2011 19:54:00 +0000 (21:54 +0200)]
[osc] allow expansion of %(apihost)s also as part of setting
      packagecachedir in .oscrc so we can have caches per apihost

12 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Test User [Mon, 11 Apr 2011 22:25:21 +0000 (00:25 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc

12 years agoadded new command: osc who [login]
Juergen Weigert [Mon, 11 Apr 2011 18:48:59 +0000 (20:48 +0200)]
added new command: osc who [login]

12 years agoosc ls . (shortcut for PROJECT PACKAGE from current dir.)
Juergen Weigert [Mon, 11 Apr 2011 13:07:56 +0000 (15:07 +0200)]
osc ls .  (shortcut for PROJECT PACKAGE from current dir.)

12 years agoci warning 'File "..." is listed in package meta but does not exist.'
Test User [Fri, 8 Apr 2011 12:25:56 +0000 (14:25 +0200)]
ci warning 'File "..." is listed in package meta but does not exist.'
was confusing, it is the wrong way around. fixed.

Also allowing 'd' as an alias to 'r', in case the user thinks of
'delete', rather than 'remove'. This is also consistent with Rudi's validator
scripts.

12 years ago- conf.py: workaround for urllib2: reset basic auth retry count if a 404 is encountered
Marcus Huewe [Wed, 6 Apr 2011 15:23:48 +0000 (17:23 +0200)]
- conf.py: workaround for urllib2: reset basic auth retry count if a 404 is encountered

normally we should also do this for all status codes != 401 but so far
it seems to be sufficient to do it only for 404

12 years agoget_api_url() diagnostics now includes ESTALE.
Juergen Weigert [Wed, 6 Apr 2011 13:31:36 +0000 (15:31 +0200)]
get_api_url() diagnostics now includes ESTALE.

12 years agoci now accepts "-F -" as stdin
David Greaves [Wed, 30 Mar 2011 21:33:30 +0000 (22:33 +0100)]
ci now accepts "-F -" as stdin

12 years ago- fix failure of aggregatepac when target package exists only via project link
Adrian Schröter [Wed, 30 Mar 2011 12:12:59 +0000 (14:12 +0200)]
- fix failure of aggregatepac when target package exists only via project link

12 years ago- renamed "PackageNotInstalled" exception to "ServiceNotInstalled"
Marcus Huewe [Tue, 29 Mar 2011 23:10:48 +0000 (01:10 +0200)]
- renamed "PackageNotInstalled" exception to "ServiceNotInstalled"

- also catch this exception in babysitter.py

12 years agoInherit package roles from parent project.
Sascha Peilicke [Tue, 29 Mar 2011 10:16:56 +0000 (12:16 +0200)]
Inherit package roles from parent project.

12 years agofixed url of the plugin
Juergen Weigert [Thu, 24 Mar 2011 14:20:51 +0000 (15:20 +0100)]
fixed url of the plugin

12 years agodo_install now points to home:jnweiger osc-plugin-install
Juergen Weigert [Thu, 24 Mar 2011 12:56:37 +0000 (13:56 +0100)]
do_install now points to home:jnweiger osc-plugin-install

12 years ago- fixed set_link_rev: if expand is True always get the (expanded) revision from the...
Marcus Huewe [Wed, 23 Mar 2011 14:33:52 +0000 (15:33 +0100)]
- fixed set_link_rev: if expand is True always get the (expanded) revision from the server

12 years ago- handle missing or wrong service commands with a valid error
Adrian Schröter [Tue, 22 Mar 2011 09:21:25 +0000 (10:21 +0100)]
- handle missing or wrong service commands with a valid error

12 years agoAdded 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
Juergen Weigert [Mon, 21 Mar 2011 17:53:05 +0000 (18:53 +0100)]
Added 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
Otherwise a failing plugin prevents us from seeing even a usage.

12 years ago- set_link_rev: minor cleanup; baserev always implies expand=True
Marcus Huewe [Mon, 21 Mar 2011 15:57:22 +0000 (16:57 +0100)]
- set_link_rev: minor cleanup; baserev always implies expand=True

also renamed "xsrcmd5" keyword argument to "expand"

12 years ago- adjusted testsuite for the latest setlinkrev changes
Marcus Huewe [Mon, 21 Mar 2011 15:53:48 +0000 (16:53 +0100)]
- adjusted testsuite for the latest setlinkrev changes

12 years ago- common.py, __get_response: support "code" keyword argument to specify the http...
Marcus Huewe [Mon, 21 Mar 2011 15:52:13 +0000 (16:52 +0100)]
- common.py, __get_response: support "code" keyword argument to specify the http status code

12 years ago- fix crash on project only service files
Adrian Schröter [Mon, 21 Mar 2011 08:46:46 +0000 (09:46 +0100)]
- fix crash on project only service files

12 years ago- do not list "localrun" anymore, it can't work in all circumstances
Adrian Schröter [Thu, 17 Mar 2011 18:52:27 +0000 (19:52 +0100)]
- do not list "localrun" anymore, it can't work in all circumstances

12 years ago- build.py: remove debug output
Marcus Huewe [Sat, 19 Mar 2011 09:47:00 +0000 (10:47 +0100)]
- build.py: remove debug output

12 years agoBetter advertise getpac_default_project in the online help of 'osc branch'
Juergen Weigert [Thu, 17 Mar 2011 17:48:20 +0000 (18:48 +0100)]
Better advertise getpac_default_project in the online help of 'osc branch'

12 years ago- fix setlinkrev for current revision when link target is on remote OBS instance
Adrian Schröter [Thu, 17 Mar 2011 17:18:01 +0000 (18:18 +0100)]
- fix setlinkrev for current revision when link target is on remote OBS instance

12 years ago- do not try to merge generated _service: files on pull
Adrian Schröter [Thu, 17 Mar 2011 14:35:22 +0000 (15:35 +0100)]
- do not try to merge generated _service: files on pull

12 years ago- allow to force the storage of project meta data (to ignore depending repositories...
Adrian Schröter [Wed, 16 Mar 2011 09:20:38 +0000 (10:20 +0100)]
- allow to force the storage of project meta data (to ignore depending repositories for example)

12 years ago- missing source serivce on local workstation is not an API error
Adrian Schröter [Tue, 15 Mar 2011 13:50:35 +0000 (14:50 +0100)]
- missing source serivce on local workstation is not an API error

12 years ago- support %(apihost)s in the "build-root" config option
Marcus Huewe [Tue, 15 Mar 2011 17:45:36 +0000 (18:45 +0100)]
- support %(apihost)s in the "build-root" config option

apihost is the hostname extracted from currently used apiurl

12 years ago- fixed delPackage (TODO: testcases for this method)
Marcus Huewe [Fri, 11 Mar 2011 13:44:44 +0000 (14:44 +0100)]
- fixed delPackage (TODO: testcases for this method)

12 years ago- follow renamed attribute to OBS:MaintenanceProject
Adrian Schröter [Fri, 11 Mar 2011 10:07:35 +0000 (11:07 +0100)]
- follow renamed attribute to OBS:MaintenanceProject

12 years ago- unbreak maintenance request creation
Adrian Schröter [Fri, 11 Mar 2011 10:07:15 +0000 (11:07 +0100)]
- unbreak maintenance request creation

12 years agoadded hint, what to do with a 'user is blank' error.
Juergen Weigert [Thu, 10 Mar 2011 19:14:09 +0000 (20:14 +0100)]
added hint, what to do with a 'user is blank' error.

12 years ago- find_default_project: fixed indention, only "catch" urllib2.HTTPError
Marcus Huewe [Wed, 9 Mar 2011 21:47:02 +0000 (22:47 +0100)]
- find_default_project: fixed indention, only "catch" urllib2.HTTPError

12 years agoAllow conf.config['getpac_default_project'] to be a list.
Juergen Weigert [Wed, 9 Mar 2011 15:10:48 +0000 (16:10 +0100)]
Allow conf.config['getpac_default_project'] to be a list.
Added find_default_project() to process this list.

12 years ago- do_develproject: small cleanup + fixes
Marcus Huewe [Tue, 8 Mar 2011 18:47:54 +0000 (19:47 +0100)]
- do_develproject: small cleanup + fixes

12 years ago- show_develproject: added additional "xml_node=False" parameter (if true an Element...
Marcus Huewe [Tue, 8 Mar 2011 18:44:29 +0000 (19:44 +0100)]
- show_develproject: added additional "xml_node=False" parameter (if true an Element instance is returned (if devel exists))