1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00
Commit Graph

832 Commits

Author SHA1 Message Date
4caf868548 - requests in history can be also delete or maintenance requests 2011-05-23 17:01:28 +02:00
22e4047005 - support the new source service file mode of OBS 2.3 Beta 2 2011-05-23 15:26:13 +02:00
Marcus Huewe
24cf2a607b - server_diff_noex: fixed logic error (body is no Element) 2011-05-18 17:54:33 +02:00
Marcus Huewe
3007c252a2 Revert "read_filemeta: create the default _files if not exists"
This reverts commit a05a2a0a4f.

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.
2011-05-17 16:09:09 +02:00
Marcus Huewe
7c427aa505 - fixed os.path.join call 2011-05-16 14:27:55 +02:00
Marcus Huewe
7c59949f33 - 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)
2011-05-12 23:27:19 +02:00
704199f279 - support to create hidden project on "branch" and "createincident" commands 2011-05-04 12:11:24 +02:00
e120cd6b39 - update local copy after checkin if source service is there 2011-05-03 16:44:20 +02:00
ab48f97add - open 0.132 version 2011-04-27 14:39:17 +02:00
85ab5e9804 switch to 0.131 release 2011-04-27 14:38:30 +02:00
a6ecdbaa1d - "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)
2011-04-26 17:21:40 +02:00
Marcus Huewe
023a2426d9 - osc rq show <id> -d: store tmpfile with suffix ".diff" (for syntax highlighting)
- run_pager: added optional "tmp_suffix" parameter
2011-04-24 00:27:47 +02:00
Ludwig Nussel
1c9d99fa79 catch only urllib errors for expand handling 2011-04-18 11:03:42 +02:00
Ludwig Nussel
b33577b6a7 use more generic oscerr.PackageNotInstalled 2011-04-18 11:03:28 +02:00
Test User
9c2593b515 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.
2011-04-08 14:25:56 +02: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
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
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
5f5ae8e22d - fix crash on project only service files 2011-03-21 09:48:05 +01:00
ab0e5d43ce - fix setlinkrev for current revision when link target is on remote OBS instance 2011-03-17 18:19:47 +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
09c46bd7c3 - fixed delPackage (TODO: testcases for this method) 2011-03-11 14:44:44 +01:00
4c970f867b - unbreak maintenance request creation 2011-03-11 11:07:15 +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
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
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, '&lt;' not found at :1.
2011-03-07 18:16:10 +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
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
e721bb5ab6 - service disabledrun must store files without prefix to be able to submit them 2011-02-28 10:05:06 +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
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
b489f95746 - update: fixed os.path.join call 2011-02-22 00:22:55 +01:00
5d84695beb - use new api call to collect all project wide source services 2011-02-15 18:39:06 +01:00
f0690d4e2f - 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)
2011-02-15 09:41:03 +01:00
70e3cbbd33 - do not crash in setlinkrev, if link target is no link. 2011-02-14 15:57:42 +01:00
a86c7b9311 - don't crash when src server decides to expand in any case (when one package
is a link and the other not).
2011-02-14 11:31:33 +01:00
Marcus Huewe
8e11055418 - copy_pac: only edit meta if "source" and "target" differ 2011-02-11 17:12:35 +01:00
Marcus Huewe
5cb8468f3b - don't fail if terminal encoding doesn't support unicode (fixes #660445)
- added util.safewriter.SafeWriter class
2011-02-11 02:45:13 +01:00