1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00
Commit Graph

804 Commits

Author SHA1 Message Date
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, '<' 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
Marcus Huewe
7d5893992d - use Request's __cmd__ method for sorting 2011-02-09 15:51:26 +01:00
Ludwig Nussel
69458ca8c4 sort request lists by id 2011-02-09 14:57:33 +01:00
Marcus Huewe
09cee2a9f0 - fixed misleading note (#644550 ("osc don't branch particular project")) 2011-02-08 17:09:48 +01:00
55f580f988 add force option to accept requests in review state. 2011-02-08 16:16:18 +01:00
Ludwig Nussel
8c275ea991 osc my: also show requests in review state 2011-02-04 09:44:59 +01:00
Juergen Weigert
0fd0ff2685 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
2011-02-02 17:11:14 +01:00
Marcus Huewe
818eb05126 - use xmlindent instead of minidom stuff 2011-01-30 21:56:21 +01:00
Marcus Huewe
88376a2bed - Request: format_review, format_action should be static methods
- adjusted method docstring
- server_diff_noex: removed print statement
2011-01-30 21:26:04 +01:00
Marcus Huewe
880e7d5cb2 - do_request: added "--edit" option to edit a submit action ("osc rq show <id> --edit") 2011-01-30 14:24:21 +01:00
Marcus Huewe
876b31d60a - request_interactive_review: added support to "edit" a submit action (as requested by darix)
how it works:
- "clone" request
- checkout a specific submit action (modify package; commit changes)
- create a new request (<"clone" project>/package -> <target project>/package)
- accept newly created request; optionally supersede original request
2011-01-29 23:30:54 +01:00
Marcus Huewe
dd1237218c - clone_request: return the "targetproject" 2011-01-29 23:14:19 +01:00
Marcus Huewe
919c347c7f - handle requests with multiple (submit) actions 2011-01-29 18:47:26 +01:00
Marcus Huewe
d5173cfc01 - use get_actions method 2011-01-29 17:47:28 +01:00
Marcus Huewe
8406cdd56d - Request: added get_actions method 2011-01-29 17:44:03 +01:00
Marcus Huewe
68d559e343 - refactored request diff code 2011-01-29 17:24:45 +01:00
Marcus Huewe
44fbdc69f2 - minor change 2011-01-26 18:07:42 +01:00
602abd7c1e check if project wide _service file really exists 2011-01-26 17:42:17 +01:00
79656a45e1 fix "osc add some_git_url", using now official source service instead of unknown git_pull 2011-01-26 17:29:43 +01:00
e5333f0b23 support project wide source services 2011-01-26 17:22:03 +01:00
373727ba55 new source service commands "localrun" and "disabledrun" to generate files without _service: prefix 2011-01-26 16:30:57 +01:00
146a2d4f72 support for new source service modes: disabled, trylocal and localonly 2011-01-26 16:16:27 +01:00
Marcus Huewe
db8818c30f - do_changedevelrequest, do_deleterequest: use Request object to create the request
- removed: core.create_delete_request(), core.create_change_devel_request()
2011-01-25 20:41:42 +01:00
Ludwig Nussel
dda7d87374 remove forgotten print 2011-01-25 16:57:25 +01:00
Ludwig Nussel
93acbc3720 allow mkpac on existing directory 2011-01-25 16:53:31 +01:00
Ludwig Nussel
b1be0f84ea refactor diff command 2011-01-25 16:53:31 +01:00
eb1c5e0f48 add better support for reviews of requests. User api side request search if available. 2011-01-24 08:29:47 +01:00
507567be71 support to view the commit history of deleted packages 2011-01-19 20:26:38 +01:00
Marcus Huewe
967719e566 - class Request: added create method in order to create a new request
- removed "self.readonly" attribute for now (maybe we need this in the future...)
2011-01-18 19:34:25 +01:00