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

11 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

11 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

11 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

11 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.

11 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"

11 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

11 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

11 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

11 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

11 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

11 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'

11 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

11 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

11 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)

11 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

11 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

11 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)

11 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

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

11 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.

11 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

11 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.

11 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

11 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))

11 years ago - new command 'develproject' to print the devel project from the package meta.
Juergen Weigert [Tue, 8 Mar 2011 18:23:04 +0000 (19:23 +0100)]
  - new command 'develproject' to print the devel project from the package meta.

11 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Tue, 8 Mar 2011 17:50:32 +0000 (18:50 +0100)]
Merge branch 'master' of gitorious.org:opensuse/osc

11 years agofixed osc co proj pack file, which took great effort in following a link
Juergen Weigert [Tue, 8 Mar 2011 17:48:00 +0000 (18:48 +0100)]
fixed osc co proj pack file, which took great effort in following a link
without applying a project.diff -- now it merges correctly.

11 years ago- add also simple maintenance release request command
Adrian Schröter [Mon, 7 Mar 2011 18:45:44 +0000 (19:45 +0100)]
- add also simple maintenance release request command

11 years agoReverting Sascha's unicode attempt. This made 'osc submit' always fail with
Juergen Weigert [Mon, 7 Mar 2011 17:16:10 +0000 (18:16 +0100)]
Reverting Sascha's unicode attempt. This made 'osc submit' always fail with
uncaught exception: Fatal error: Start tag expected, '<' not found at :1.

11 years ago- do_maintenancerequest: cleanup
Marcus Huewe [Mon, 7 Mar 2011 12:08:34 +0000 (13:08 +0100)]
- do_maintenancerequest: cleanup

11 years ago- create_maintenance_request: use Request class to build the request
Marcus Huewe [Mon, 7 Mar 2011 12:03:34 +0000 (13:03 +0100)]
- create_maintenance_request: use Request class to build the request

11 years ago- add "maintenancerequests" command to request a maintenance incident from maintenanc...
Adrian Schröter [Mon, 7 Mar 2011 10:46:51 +0000 (11:46 +0100)]
- add "maintenancerequests" command to request a maintenance incident from maintenance team

11 years ago- stay backward compatible with pathinfo command. This default will switch, when...
Adrian Schröter [Mon, 7 Mar 2011 08:51:16 +0000 (09:51 +0100)]
- stay backward compatible with pathinfo command. This default will switch, when we switch to new
  maintenance modell on api.opensuse.org

11 years ago- do not show requests by default, where I am not responsible right now (waiting...
Adrian Schröter [Mon, 7 Mar 2011 08:22:13 +0000 (09:22 +0100)]
- do not show requests by default, where I am not responsible right now (waiting for review of other people)

11 years agoosc rdelete now warns, if requests are pending.
Juergen Weigert [Sat, 5 Mar 2011 19:08:47 +0000 (20:08 +0100)]
osc rdelete now warns, if requests are pending.

11 years ago- do not crash on maintenance release or incident requests
Adrian Schröter [Fri, 4 Mar 2011 14:50:06 +0000 (15:50 +0100)]
- do not crash on maintenance release or incident requests

11 years ago[webui] Fix Jürgen's Unicode issue and stupid default value assignment.
Sascha Peilicke [Fri, 4 Mar 2011 08:04:18 +0000 (09:04 +0100)]
[webui] Fix Jürgen's Unicode issue and stupid default value assignment.

11 years agoRevert "Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent"
Sascha Peilicke [Fri, 4 Mar 2011 07:59:05 +0000 (08:59 +0100)]
Revert "Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent"

This reverts commit 518229067c9815e4f671469295266d4fd6cbf6c4.
Doesn't solve your issue:

    >>> unicode("!§").encode("utf8")
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)

Fix pending...

11 years agoCatch non-utf8 and convert it to utf8 inside create_submit_request() to prevent
Juergen Weigert [Thu, 3 Mar 2011 17:27:12 +0000 (18:27 +0100)]
Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent
osc submit -m 'latin-1 chars' from exploding.
Not sure why 'osc commit' or 'osc vc' work with latin-1 chars in their messages.

11 years agoGiving hint at 'osc my sr', if 'osc my rq' returns nothing.
Juergen Weigert [Thu, 3 Mar 2011 15:31:33 +0000 (16:31 +0100)]
Giving hint at 'osc my sr', if 'osc my rq' returns nothing.
These two are easy to confuse.

11 years agometa data diff
Ludwig Nussel [Thu, 3 Mar 2011 09:07:32 +0000 (10:07 +0100)]
meta data diff

11 years ago- print_repos: added exc_class and exc_msg parameters to specify the exception class...
Marcus Huewe [Wed, 2 Mar 2011 13:38:24 +0000 (14:38 +0100)]
- print_repos: added exc_class and exc_msg parameters to specify the exception class + exception msg

- do_getbinaries: print correct error message

11 years ago- do_getbinaries: fail if repo doesn't exist
Marcus Huewe [Wed, 2 Mar 2011 13:25:22 +0000 (14:25 +0100)]
- do_getbinaries: fail if repo doesn't exist

11 years ago- service disabledrun must store files without prefix to be able to submit them
Adrian Schröter [Mon, 28 Feb 2011 09:05:06 +0000 (10:05 +0100)]
- service disabledrun must store files without prefix to be able to submit them

11 years agodouble the default for "buildlogtail", kiwi failures are usually not in the last...
Adrian Schröter [Sun, 27 Feb 2011 13:20:41 +0000 (14:20 +0100)]
double the default for "buildlogtail", kiwi failures are usually not in the last line unfortunatly

11 years ago- get_user_projpkgs_request_list: fixed logic error
Marcus Huewe [Thu, 24 Feb 2011 13:10:53 +0000 (14:10 +0100)]
- get_user_projpkgs_request_list: fixed logic error

11 years ago- fixed #671790 ("osc my rq returns 400")
Marcus Huewe [Thu, 24 Feb 2011 13:06:15 +0000 (14:06 +0100)]
- fixed #671790 ("osc my rq returns 400")

11 years ago- avoid unwanted entire project rebuilds
Adrian Schröter [Tue, 22 Feb 2011 21:44:04 +0000 (22:44 +0100)]
- avoid unwanted entire project rebuilds

11 years ago'osc rq list' now defaults to 'new,review' instead of only 'new'.
Juergen Weigert [Tue, 22 Feb 2011 18:13:59 +0000 (19:13 +0100)]
'osc rq list' now defaults to 'new,review' instead of only 'new'.
Usage now mentions 'review' too.

11 years ago- use get/set when working with an "Element" instance (instead of using the "attrib...
Marcus Huewe [Tue, 22 Feb 2011 16:52:12 +0000 (17:52 +0100)]
- use get/set when working with an "Element" instance (instead of using the "attrib" dict)

11 years ago- rewrote set_link_rev
Marcus Huewe [Tue, 22 Feb 2011 16:43:05 +0000 (17:43 +0100)]
- rewrote set_link_rev

11 years ago- also test _link without "project" attribute
Marcus Huewe [Tue, 22 Feb 2011 16:21:07 +0000 (17:21 +0100)]
- also test _link without "project" attribute

11 years ago- added testcases for "set_link_rev"
Marcus Huewe [Tue, 22 Feb 2011 15:27:53 +0000 (16:27 +0100)]
- added testcases for "set_link_rev"

11 years agofix --no-init
Ludwig Nussel [Tue, 22 Feb 2011 09:48:51 +0000 (10:48 +0100)]
fix --no-init

11 years ago- update: fixed os.path.join call
Marcus Huewe [Mon, 21 Feb 2011 23:22:55 +0000 (00:22 +0100)]
- update: fixed os.path.join call

11 years agoDon't submit crud workarounds for problems which should be fixed on the other side.
Adrian Schröter [Mon, 21 Feb 2011 12:41:02 +0000 (13:41 +0100)]
Don't submit crud workarounds for problems which should be fixed on the other side.

Revert "avoid 404 in osc se -V caused by looking up the _history of nonexistant"

This reverts commit d7a1428d69475ad6ce8fcbdccda6cfe7e6600e53.

11 years agoavoid 404 in osc se -V caused by looking up the _history of nonexistant
Juergen Weigert [Sun, 20 Feb 2011 23:26:54 +0000 (00:26 +0100)]
avoid 404 in osc se -V caused by looking up the _history of nonexistant
packages. Workaround for BNC#673654

11 years ago- (temporary) fix for 53ca3b9a14110f88c1d81a4b345b3cc17af6ac50
Marcus Huewe [Thu, 17 Feb 2011 23:34:49 +0000 (00:34 +0100)]
- (temporary) fix for 53ca3b9a14110f88c1d81a4b345b3cc17af6ac50

(python 2.4 doesn't support the syntax)

11 years agodefault to 1 processors on darwin, since we are not going to build anything here...
Anas Nashif [Thu, 17 Feb 2011 22:50:13 +0000 (22:50 +0000)]
default to 1 processors on darwin, since we are not going to build anything here anyways.

11 years ago- minor cleanup
Marcus Huewe [Thu, 17 Feb 2011 13:22:16 +0000 (14:22 +0100)]
- minor cleanup

11 years ago- fixed do_service
Marcus Huewe [Thu, 17 Feb 2011 00:57:53 +0000 (01:57 +0100)]
- fixed do_service

11 years ago- do_results: fixed --xml output
Marcus Huewe [Thu, 17 Feb 2011 00:30:19 +0000 (01:30 +0100)]
- do_results: fixed --xml output

11 years ago- use new api call to collect all project wide source services
Adrian Schröter [Tue, 15 Feb 2011 17:39:06 +0000 (18:39 +0100)]
- use new api call to collect all project wide source services

11 years ago- make it possible to run single source services, even when not specified in _service...
Adrian Schröter [Tue, 15 Feb 2011 08:41:03 +0000 (09:41 +0100)]
- make it possible to run single source services, even when not specified in _service file.
  (For example for doing a version update without creating a _service file: osc service lr update_source)

11 years ago- do not crash in setlinkrev, if link target is no link.
Adrian Schröter [Mon, 14 Feb 2011 14:57:42 +0000 (15:57 +0100)]
- do not crash in setlinkrev, if link target is no link.

11 years ago- avoid to create a _pull file when having a working copy (or the user runs in a...
Adrian Schröter [Mon, 14 Feb 2011 11:26:51 +0000 (12:26 +0100)]
- avoid to create a _pull file when having a working copy (or the user runs in a dead end,
  since we don't support pull on pulled sources, what is actually another bug)

11 years ago- don't crash when src server decides to expand in any case (when one package
Adrian Schröter [Mon, 14 Feb 2011 10:30:37 +0000 (11:30 +0100)]
- don't crash when src server decides to expand in any case (when one package
  is a link and the other not).

11 years ago- do_detachbranch: added --message option; added some more error handling
Marcus Huewe [Fri, 11 Feb 2011 16:38:59 +0000 (17:38 +0100)]
- do_detachbranch: added --message option; added some more error handling

11 years ago- added new "detachbranch" command to replace a link/branch with its expanded sources
Marcus Huewe [Fri, 11 Feb 2011 16:11:44 +0000 (17:11 +0100)]
- added new "detachbranch" command to replace a link/branch with its expanded sources

11 years ago- copy_pac: only edit meta if "source" and "target" differ
Marcus Huewe [Fri, 11 Feb 2011 16:11:00 +0000 (17:11 +0100)]
- copy_pac: only edit meta if "source" and "target" differ

11 years ago- add request and review "supersede" command, to supersede by an existsing request
Adrian Schröter [Fri, 11 Feb 2011 15:12:38 +0000 (16:12 +0100)]
- add request and review "supersede" command, to supersede by an existsing request

11 years agofixed se -V to not explode when a project match was found.
Juergen Weigert [Fri, 11 Feb 2011 14:11:50 +0000 (15:11 +0100)]
fixed se -V to not explode when a project match was found.

11 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Fri, 11 Feb 2011 13:42:17 +0000 (14:42 +0100)]
Merge branch 'master' of gitorious.org:opensuse/osc

11 years ago- adjusted testcase oscrc's for recent config changes
Marcus Huewe [Fri, 11 Feb 2011 11:44:48 +0000 (12:44 +0100)]
- adjusted testcase oscrc's for recent config changes

11 years ago- use pass instead of passx (plaintext_passwd is the default)
Marcus Huewe [Fri, 11 Feb 2011 11:42:54 +0000 (12:42 +0100)]
- use pass instead of passx (plaintext_passwd is the default)

11 years ago- don't fail if terminal encoding doesn't support unicode (fixes #660445)
Marcus Huewe [Fri, 11 Feb 2011 01:43:10 +0000 (02:43 +0100)]
- don't fail if terminal encoding doesn't support unicode (fixes #660445)

- added util.safewriter.SafeWriter class

11 years ago- fix for 7d5893992d356a02e0cba0677a81d0d46bfc265f
Marcus Huewe [Wed, 9 Feb 2011 14:53:36 +0000 (15:53 +0100)]
- fix for 7d5893992d356a02e0cba0677a81d0d46bfc265f

11 years ago- use Request's __cmd__ method for sorting
Marcus Huewe [Wed, 9 Feb 2011 14:51:26 +0000 (15:51 +0100)]
- use Request's __cmd__ method for sorting

11 years agosort request lists by id
Ludwig Nussel [Wed, 9 Feb 2011 13:57:10 +0000 (14:57 +0100)]
sort request lists by id

11 years ago- fixed misleading note (#644550 ("osc don't branch particular project"))
Marcus Huewe [Tue, 8 Feb 2011 15:56:16 +0000 (16:56 +0100)]
- fixed misleading note (#644550 ("osc don't branch particular project"))

11 years agoadd force option to accept requests in review state.
Adrian Schröter [Tue, 8 Feb 2011 15:16:18 +0000 (16:16 +0100)]
add force option to accept requests in review state.

11 years agofix osc my with obs 2.2 api
Ludwig Nussel [Fri, 4 Feb 2011 09:29:13 +0000 (10:29 +0100)]
fix osc my with obs 2.2 api

11 years agoonly catch http error, other exceptions are bugs
Ludwig Nussel [Fri, 4 Feb 2011 09:14:30 +0000 (10:14 +0100)]
only catch http error, other exceptions are bugs

11 years agofix indent
Ludwig Nussel [Fri, 4 Feb 2011 09:14:04 +0000 (10:14 +0100)]
fix indent

11 years agoosc my: also show requests in review state
Ludwig Nussel [Fri, 4 Feb 2011 08:44:30 +0000 (09:44 +0100)]
osc my: also show requests in review state

11 years agoeither use plain text password or obfuscated ones
Ludwig Nussel [Tue, 25 Jan 2011 16:05:34 +0000 (17:05 +0100)]
either use plain text password or obfuscated ones

Don't you ever call this encrypted. It's just about obfuscation and
has no real security benefit.

11 years agoDon't request message when branching a package
Ludwig Nussel [Tue, 25 Jan 2011 15:58:39 +0000 (16:58 +0100)]
Don't request message when branching a package

11 years ago- fix for 0fd0ff26856d2385361702795415f80e4cca0663
Marcus Huewe [Wed, 2 Feb 2011 18:35:32 +0000 (19:35 +0100)]
- fix for 0fd0ff26856d2385361702795415f80e4cca0663

11 years agotypo
Juergen Weigert [Wed, 2 Feb 2011 16:16:43 +0000 (17:16 +0100)]
typo

11 years agoHelp text of co -s was indentical to co -S, fixed to say local instead of server.
Juergen Weigert [Wed, 2 Feb 2011 16:11:14 +0000 (17:11 +0100)]
Help text of co -s was indentical to co -S, fixed to say local instead of server.
Fixed -s to chdir into the project for the sake of /usr/lib/obs/service/verify_file

11 years ago- escape % in help text
Marcus Huewe [Tue, 1 Feb 2011 19:07:29 +0000 (20:07 +0100)]
- escape % in help text

11 years ago- fixed indention+small cleanup
Marcus Huewe [Tue, 1 Feb 2011 17:37:17 +0000 (18:37 +0100)]
- fixed indention+small cleanup

- added "XXX" comment due the openSUSE specific "osc co obs://" implementation

11 years ago- globally catch OSError ENOENT
Marcus Huewe [Tue, 1 Feb 2011 17:25:23 +0000 (18:25 +0100)]
- globally catch OSError ENOENT

11 years agoNo such file or directory should not trigger stack trace.
Juergen Weigert [Tue, 1 Feb 2011 14:55:43 +0000 (15:55 +0100)]
No such file or directory should not trigger stack trace.

11 years agoosc checkout '%{disturl}' is now supported.
Juergen Weigert [Mon, 31 Jan 2011 16:49:04 +0000 (17:49 +0100)]
osc checkout '%{disturl}' is now supported.

11 years ago- use xmlindent instead of minidom stuff
Marcus Huewe [Sun, 30 Jan 2011 20:56:21 +0000 (21:56 +0100)]
- use xmlindent instead of minidom stuff

11 years ago- do_search: '::' isn't a perl specific namespace/package/module separator
Marcus Huewe [Sun, 30 Jan 2011 20:37:45 +0000 (21:37 +0100)]
- do_search: '::' isn't a perl specific namespace/package/module separator

11 years agoRevert "[osc] add cb(pre)ignore capabilities to osc."
Marcus Huewe [Sun, 30 Jan 2011 20:31:58 +0000 (21:31 +0100)]
Revert "[osc] add cb(pre)ignore capabilities to osc."

This reverts commit 68c7b57f665d1e0f37caea47aef4a2a051dc0633.

It isn't needed because the corresponding backend part was also reverted

11 years ago- Request: format_review, format_action should be static methods
Marcus Huewe [Sun, 30 Jan 2011 20:23:40 +0000 (21:23 +0100)]
- Request: format_review, format_action should be static methods

- adjusted method docstring
- server_diff_noex: removed print statement