1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 17:56:19 +02:00
Commit Graph

2053 Commits

Author SHA1 Message Date
Juergen Weigert
feb731e3c0 Added 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
Otherwise a failing plugin prevents us from seeing even a usage.
2011-03-21 18:53:05 +01:00
Marcus Huewe
02726a6a07 - set_link_rev: minor cleanup; baserev always implies expand=True
also renamed "xsrcmd5" keyword argument to "expand"
2011-03-21 16:57:22 +01:00
Marcus Huewe
e247cf358c - adjusted testsuite for the latest setlinkrev changes 2011-03-21 16:53:48 +01:00
Marcus Huewe
e1080aa476 - common.py, __get_response: support "code" keyword argument to specify the http status code 2011-03-21 16:52:13 +01:00
5f5ae8e22d - fix crash on project only service files 2011-03-21 09:48:05 +01:00
13633ab0e7 - do not list "localrun" anymore, it can't work in all circumstances 2011-03-21 09:48:05 +01:00
Marcus Huewe
400e417a5f - build.py: remove debug output 2011-03-19 10:47:00 +01:00
Juergen Weigert
25d6c66aa9 Better advertise getpac_default_project in the online help of 'osc branch' 2011-03-17 18:48:20 +01:00
ab0e5d43ce - fix setlinkrev for current revision when link target is on remote OBS instance 2011-03-17 18:19:47 +01:00
4f8bedf998 - do not try to merge generated _service: files on pull 2011-03-17 15:35:22 +01:00
c859fc5430 - allow to force the storage of project meta data (to ignore depending repositories for example) 2011-03-16 10:20:50 +01:00
7fe43cb486 - missing source serivce on local workstation is not an API error 2011-03-16 10:20:50 +01:00
Marcus Huewe
35bf60bbf0 - support %(apihost)s in the "build-root" config option
apihost is the hostname extracted from currently used apiurl
2011-03-15 18:45:36 +01:00
Marcus Huewe
09c46bd7c3 - fixed delPackage (TODO: testcases for this method) 2011-03-11 14:44:44 +01:00
adbd54045c - follow renamed attribute to OBS:MaintenanceProject 2011-03-11 11:07:35 +01:00
4c970f867b - unbreak maintenance request creation 2011-03-11 11:07:15 +01:00
Juergen Weigert
b46d287570 added hint, what to do with a 'user is blank' error. 2011-03-10 20:14:09 +01:00
Marcus Huewe
c3d5516bf8 - find_default_project: fixed indention, only "catch" urllib2.HTTPError 2011-03-09 22:47:02 +01:00
Juergen Weigert
64f9dca08b Allow conf.config['getpac_default_project'] to be a list.
Added find_default_project() to process this list.
2011-03-09 16:10:48 +01:00
Marcus Huewe
9396d9c34d - do_develproject: small cleanup + fixes 2011-03-08 19:47:54 +01:00
Marcus Huewe
4bc6c34ae3 - show_develproject: added additional "xml_node=False" parameter (if true an Element instance is returned (if devel exists)) 2011-03-08 19:44:29 +01:00
Juergen Weigert
cb534d09b6 - new command 'develproject' to print the devel project from the package meta. 2011-03-08 19:23:04 +01:00
Juergen Weigert
b5f234f59d Merge branch 'master' of gitorious.org:opensuse/osc 2011-03-08 18:50:32 +01:00
Juergen Weigert
4a3a071c41 fixed osc co proj pack file, which took great effort in following a link
without applying a project.diff -- now it merges correctly.
2011-03-08 18:48:00 +01:00
281f6dd0ca - add also simple maintenance release request command 2011-03-07 19:45:44 +01:00
Juergen Weigert
44e4eb9334 Reverting Sascha's unicode attempt. This made 'osc submit' always fail with
uncaught exception: Fatal error: Start tag expected, '<' not found at :1.
2011-03-07 18:16:10 +01:00
Marcus Huewe
45a7a84967 - do_maintenancerequest: cleanup 2011-03-07 13:08:44 +01:00
Marcus Huewe
65f817bfa8 - create_maintenance_request: use Request class to build the request 2011-03-07 13:03:34 +01:00
87b060e9a3 - add "maintenancerequests" command to request a maintenance incident from maintenance team 2011-03-07 11:46:51 +01:00
402ce3a626 - stay backward compatible with pathinfo command. This default will switch, when we switch to new
maintenance modell on api.opensuse.org
2011-03-07 09:51:16 +01:00
1db5eea95c - do not show requests by default, where I am not responsible right now (waiting for review of other people) 2011-03-07 09:22:13 +01:00
Juergen Weigert
e8aa7df530 osc rdelete now warns, if requests are pending. 2011-03-05 20:08:47 +01:00
b2adcb7d94 - do not crash on maintenance release or incident requests 2011-03-04 15:50:06 +01:00
Sascha Peilicke
3bb9332376 [webui] Fix Jürgen's Unicode issue and stupid default value assignment. 2011-03-04 09:04:18 +01:00
Sascha Peilicke
95bc493b19 Revert "Catch non-utf8 and convert it to utf8 inside create_submit_request() to prevent"
This reverts commit 518229067c.
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...
2011-03-04 08:59:05 +01:00
Juergen Weigert
518229067c 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.
2011-03-03 18:27:12 +01:00
Juergen Weigert
b618d16f62 Giving hint at 'osc my sr', if 'osc my rq' returns nothing.
These two are easy to confuse.
2011-03-03 16:31:33 +01:00
Ludwig Nussel
60d054317c meta data diff 2011-03-03 10:07:58 +01:00
Marcus Huewe
70e224a007 - print_repos: added exc_class and exc_msg parameters to specify the exception class + exception msg
- do_getbinaries: print correct error message
2011-03-02 14:38:24 +01:00
Marcus Huewe
ba1fe8ab80 - do_getbinaries: fail if repo doesn't exist 2011-03-02 14:26:24 +01:00
e721bb5ab6 - service disabledrun must store files without prefix to be able to submit them 2011-02-28 10:05:06 +01:00
468106e19d double the default for "buildlogtail", kiwi failures are usually not in the last line unfortunatly 2011-02-27 14:21:38 +01:00
Marcus Huewe
0a67840310 - get_user_projpkgs_request_list: fixed logic error 2011-02-24 14:11:37 +01:00
Marcus Huewe
0ee18d1d7e - fixed #671790 ("osc my rq returns 400") 2011-02-24 14:11:37 +01:00
87d95409ec - avoid unwanted entire project rebuilds 2011-02-22 22:44:46 +01:00
Juergen Weigert
83cadd7157 'osc rq list' now defaults to 'new,review' instead of only 'new'.
Usage now mentions 'review' too.
2011-02-22 19:13:59 +01:00
Marcus Huewe
f06b39fb40 - use get/set when working with an "Element" instance (instead of using the "attrib" dict) 2011-02-22 17:53:58 +01:00
Marcus Huewe
3f54237a7c - rewrote set_link_rev 2011-02-22 17:53:58 +01:00
Marcus Huewe
f0eb8946d3 - also test _link without "project" attribute 2011-02-22 17:53:58 +01:00
Marcus Huewe
40928d2460 - added testcases for "set_link_rev" 2011-02-22 17:53:58 +01:00