Michal Vyskocil
3a93ac6d10
python3 compatibility: except
...
changes 'except FooError, fe' to 'except FooError as fe'
available in python 2.6
2013-04-16 10:51:17 +02:00
Michal Vyskocil
d3648be24b
python3 compatibility: dict
...
this patch
1.) removes the iteritems/itervalues, which were dropped in py3
items/values are used instead
2.) add an extra list() in a cases the list-based access is needed
(included appending, indexing and so)
3.) changes a sorting idiom in few places
instead of
foo = dict.keys()
foo.sort()
for i in foo:
there is a recommended
for i in sorted(dict.keys()):
4.) in one occassion it removes a if dict.has_key() by simpler
dict.get(key, default)
2013-04-16 10:51:17 +02:00
Michal Vyskocil
c5a235ed78
python3 compatibility:
...
python 2.6 does not have memoryview, so lets define it as buffer
2013-04-16 10:51:17 +02:00
Marcus Huewe
67d45a5324
- request_interactive_review: offer diff option for a maintenance_incident
2013-04-15 17:52:46 +02:00
Marcus Huewe
56979493d6
- fixed grammar error
2013-03-08 19:09:29 +01:00
Marcus Huewe
03b8cba2af
- fixed bnc#807621
...
Bug summary: "osc: when forwarding a request, previous request is
not superseded automatically"
2013-03-08 19:06:04 +01:00
Marcus Huewe
49eeda0a17
- core.edit_message: changed message file opening (only affects vim/vi users)
...
With the current implementation it's possible to detect if the user saved
the message file or if he/she just quits the editor (e.g. to abort the commit).
2013-03-08 17:17:45 +01:00
Marcus Huewe
93df866787
- added new function core.run_external which can be used to execute an external program
...
Basically it's just a wrapper around subprocess.call which raises an ExtRuntimeError
exception if subprocess.call raised an OSError with errno set to ENOENT (unfortunately
the OSError's filename attribute is set to None therefore we cannot print a meaningful
error message (that's why an ExtRuntimeError is raised)).
Replaced all occurrences of subprocess.call with a corresponding run_external call.
2013-03-08 00:56:57 +01:00
Marcus Huewe
ec595d361b
- core.edit_message: use a more informative messsage if the default template wasn't changed
2013-03-06 17:34:49 +01:00
907e5f67a5
- open 0.140 development
2013-02-25 15:44:01 +01:00
74f950d409
- prepare 0.139 release
2013-02-25 15:40:26 +01:00
220ec0e2cf
"maintainer --user" support to search for all official maintained instance for given user or group
2013-02-20 11:41:29 +01:00
Marcus Huewe
93c0a2d88f
- core.Project.update: fixed deletion of packages with local state "!" and which don't exist on the server side
2013-02-13 18:50:01 +01:00
Marcus Huewe
c8bfad3661
- core.edit_message: check if the user modified the log template
...
If the user didn't change the default template it either means that
he wants to use the default message or that he wants to abort the process.
So if the template wasn't modified osc will prompt:
Commit template was not changed
a)bort, c)ontinue, e)dit:
2013-02-13 11:42:34 +01:00
b358e7085f
- remove debug output
2013-02-11 13:01:58 +01:00
d21bbe48fd
- fix display of time in jobhistory when the job builds more than one day
2013-02-11 11:19:02 +01:00
1106eb5166
- open 0.139 development
2013-02-01 12:19:06 +01:00
1fd7eda7c3
- prepare 0.138 release
2013-01-31 16:44:14 +01:00
Marcus Huewe
63e2bcabf7
- corrected some docstr which were added in a2f1cc25b2
2013-01-16 14:48:15 +01:00
Marcus Huewe
12c8736129
Merge branch 'master' of https://github.com/aspiers/osc
2013-01-16 14:38:13 +01:00
Adam Spiers
a2f1cc25b2
osc.core.Project: add some docstrings
2013-01-15 18:32:01 +00:00
Marcus Huewe
737bac561b
- added support to strip the build time from the buildlog when running "bl", "rbl", "lbl"
...
Also added a config option "buildlog_strip_time" to permanently enable/disable the
stripping of the build time.
2012-12-15 01:50:24 +01:00
bfa108810a
add support to remove repositories recursively (mostly only usefull for admins)
2012-12-06 14:07:02 +01:00
fc7e26fef1
- open 0.138 development
2012-12-04 16:47:42 +01:00
14c41ebdf8
- version 0.137
2012-12-04 16:44:46 +01:00
613e2b5176
- buildinfo --debug option for verbose output of dependency calculation
2012-12-04 16:44:14 +01:00
e0020e3072
- support to set the bugowner
...
- offer to send set_bugowner request if target is not writeable
- bugowner call is just an alias for maintainer call now
2012-11-23 12:52:05 +01:00
8d8d72a21f
- support default maintainer/bugowner search based on binary package names
2012-11-22 11:37:32 +01:00
ada0c02f92
- avoid crashes for requests without repository target
2012-11-20 15:29:30 +01:00
52e27750e4
- add support for delete requests.
2012-11-13 13:20:09 +01:00
a45c602614
- fix search OBS api call /search/project_id should /search/project/id (bnc#769948)
2012-11-06 09:16:13 +01:00
Marcus Huewe
b8dedd3f8f
- request_interactive_review: support "-f" parameter to force a request state change
2012-10-26 15:19:00 +02:00
Marcus Huewe
63935f86e4
- open 0.137 development
2012-09-27 22:43:55 +02:00
Marcus Huewe
c42a0ad4a1
- core: fixed __version__
...
The new release will be 0.136
2012-09-27 21:45:19 +02:00
Michal Vyskocil
4ab6f905b3
make commit --noservice work for commitExtPackage
2012-09-18 22:39:25 +02:00
559409a880
- language change from OBS special to standard SCM terminilogy
2012-06-29 11:38:11 +02:00
4d83996da2
- set version 0.135
2012-06-28 11:21:26 +02:00
e0a5b7052a
- fix waiting function of results
2012-06-21 11:09:33 +02:00
Marcus Huewe
6e34b410fa
- request_interactive_review: do not abort if the user aborts "edit_message"; instead display the prompt again
2012-06-15 00:12:06 +02:00
Marcus Huewe
b38dd0191f
- request_interactive_review: automatically accept/decline a review for a specific group (if a group was specified)
...
To enable this feature set the newly introduced "review_inherit_group"
config option to True.
2012-04-27 15:04:06 +02:00
Marcus Huewe
7ce054b5cc
- request_interactive_review: also show d(i)ff and (b)uildstatus for maintenance release actions
2012-04-27 14:45:28 +02:00
Marcus Huewe
2372439b00
- get_review_list: only consider requests which are in state review
...
This fixes a bug which was introduced in
commit e65bd21c3b
2012-04-27 00:27:31 +02:00
Marcus Huewe
e65bd21c3b
- "osc review": only show new reviews if by_user, by_group etc. is specified
...
The current implementation is so ugly...
2012-04-03 19:21:06 +02:00
6bfa5b0c31
- add also requires example to pattern
2012-04-02 10:55:18 +02:00
08d2b8d045
- open 0.135 development
2012-04-02 10:53:12 +02:00
34bee95834
- fix pattern.rng url again and add a more complete example (bnc#602330)
2012-04-02 10:52:29 +02:00
Marcus Huewe
e2aa5cc65c
- do_update: rewrote code path for expanding/unexpanding a wc
...
The way for determining the revision was completely "wrong".
2012-03-28 23:14:28 +02:00
874e269887
- maintenance request is adding now revisions to sources
2012-03-15 12:44:38 +01:00
ce9f504105
- add unlock command for osc 0.134.1
2012-03-15 09:55:37 +01:00
434879dc4b
- make the complete different action which can not be avoided by command line more understandable ....
2012-03-12 14:49:53 +01:00