Marcus Huewe
b8c3a23b90
- 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
2011-04-06 17:26:51 +02:00
Juergen Weigert
b7328b6adf
get_api_url() diagnostics now includes ESTALE.
2011-04-06 15:31:36 +02:00
David Greaves
acbf21f7db
ci now accepts "-F -" as stdin
2011-03-30 22:33:30 +01:00
802925c216
- fix failure of aggregatepac when target package exists only via project link
2011-03-30 14:12:59 +02:00
Marcus Huewe
be4f1f350e
- renamed "PackageNotInstalled" exception to "ServiceNotInstalled"
...
- also catch this exception in babysitter.py
2011-03-30 01:10:48 +02:00
Sascha Peilicke
8ab7ab3caa
Inherit package roles from parent project.
2011-03-29 12:16:56 +02:00
Juergen Weigert
7203a8f9ab
fixed url of the plugin
2011-03-24 15:20:51 +01:00
Juergen Weigert
8e9cf75d7b
do_install now points to home:jnweiger osc-plugin-install
2011-03-24 13:56:37 +01:00
Marcus Huewe
94c006ba5f
- fixed set_link_rev: if expand is True always get the (expanded) revision from the server
2011-03-23 15:36:22 +01:00
38f665eef8
- handle missing or wrong service commands with a valid error
2011-03-22 10:21:48 +01:00
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