1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00
Commit Graph

331 Commits

Author SHA1 Message Date
5275bdac01 do not fail on listing requests, when delete requests exist 2009-06-18 08:11:34 +00:00
Marcus Hüwe
c9eec70b74 - always add a newline (even if no template is specified so that the user can directly enter the msg) 2009-06-17 18:18:12 +00:00
Michal Vyskocil
bde7cb79c8 osc results: show details also for 'blocked' state 2009-06-17 12:50:53 +00:00
Michael Schröder
d57c82fbec - calculate canon name from downloaded rpm, as the server may
give us the wrong/missing information
- also fixes builds with packages from interconnected build services
2009-06-16 12:15:41 +00:00
Dr. Peter Poeml
027a0e5be1 Remove the Python 2.4 incompatibility introduced with r7507. 2009-06-16 12:14:20 +00:00
60ecca1dc1 new osc linkpac -f to allow to override existing _link files, patch by
Michael Meeks
2009-06-15 15:19:16 +00:00
Ludwig Nussel
9452d717cb don't query submit list request twice 2009-06-09 09:29:24 +00:00
Dr. Peter Poeml
18273d470b When updating working copies, replace the .osc/_files file in an atomic way,
preventing hosed working copies when the update is interrupted. An empty
.osc/_files file could result, leading to the following sympton upon subsequent
update:

 % osc up
'foobar' is not a valid working copy.
When parsing .osc/_files, the following error was encountered:
no element found: line 1, column 0
2009-06-05 19:42:33 +00:00
Dr. Peter Poeml
35be8342e3 core: fix the dgst_from_string function for Python 2.4 compatibility. It can't
have worked and must have returned empty md5 hashes, and I assume that the
function isn't actually used anywhere.
2009-06-05 11:29:11 +00:00
49ceab6ab8 jump to version 0.119 to avoid problems with 0.118 snapshot packages 2009-06-03 11:37:21 +00:00
46d726133c import new request handling from branch:
- New generic "request" command:
  - new "delete" request
  - new "change_devel" request
  - Multiple actions in one request is not yet supported by osc
2009-06-02 13:14:46 +00:00
Pavol Rusnak
776a069df9 add binary flag to open where needed 2009-05-22 15:00:31 +00:00
Pavol Rusnak
e97c1de936 add more checks when working with mmap.mmap 2009-05-22 14:43:39 +00:00
Pavol Rusnak
3f6fa3a0b6 fixed typo 2009-05-20 16:45:27 +00:00
Pavol Rusnak
0fa507a782 mmap.mmap works differently under windows 2009-05-20 16:42:17 +00:00
Pavol Rusnak
8f38f169d5 os.path.samefile is available only under Unix 2009-05-20 16:32:45 +00:00
Pavol Rusnak
a7c2956ac7 fix bug in get_submit_request_list call 2009-05-18 16:01:07 +00:00
Marcus Hüwe
b5b04124c4 - LinkExpandError inherits from PackageError (display affected project and package in error message) 2009-05-15 19:08:14 +00:00
Dominique Leuenberger
f97f287ce7 Extend submitreq list with new optional parameter -M. When given, it will limit the list to the user's own requests. 2009-05-15 12:41:27 +00:00
Pavol Rusnak
68152d9faf fix typo (false -> False) 2009-05-15 12:31:59 +00:00
Pavol Rusnak
121b20c63c more fixes for Windows port 2009-05-15 11:40:50 +00:00
Michal Cihar
1f76cd0c19 - Allow build_table to generate CSV.
- Avoid some code duplication inside it.
2009-05-15 08:32:48 +00:00
Michal Vyskocil
011426d885 -r|--repo and -a|--arch options for results, rresults and results_meta commands 2009-05-15 07:16:26 +00:00
0648a8c555 - new option for copypac
* -r to specify source revision                                                             
  * -m to specify a comment (and send default comment if not specified)
mmeeks, jpr: this is for you :)
2009-05-14 11:50:53 +00:00
Michal Cihar
0f3c3d8eaf new jobhistory/buildhistory output format (CSV) 2009-05-13 09:04:27 +00:00
Michal Cihar
208c0f7f44 Add srcmd5 to XML log. 2009-05-13 08:57:24 +00:00
Michal Cihar
63590a80be new log/rlog output formats (CSV and XML) 2009-05-13 08:53:32 +00:00
Michal Cihar
92ff8996d4 osc linkpac can not specify cicount attribute 2009-05-13 07:59:01 +00:00
Marcus Hüwe
ef94ae807c - use apiurl parameter 2009-05-08 19:37:06 +00:00
Marcus Hüwe
fb992a24fc - fix for older python versions 2009-05-08 18:54:26 +00:00
5684a992dd extended error message on unresolved files to point people to "resolved"
command.
2009-05-07 13:02:22 +00:00
Marcus Hüwe
9adde950df - fixed #499617 ("osc rbl hangs forever")
now we have a default timeout for all API requests (100 seconds)
2009-05-05 15:56:23 +00:00
Michal Cihar
aedeea317c Drop shebang line from modules (bnc#500971).
(Some did have it and some did not, this way it is consistent and they
are anyway not supposed to be executed directly.)
2009-05-05 14:11:25 +00:00
Michal Cihar
cdcca2746d Add rlog support for srcmd5 (bnc#460538). 2009-05-05 14:01:41 +00:00
Vincent Untz
006eeb756b - fix default value for req_state in get_submit_request_list(): it's a list,
not a single string.
2009-05-03 08:57:29 +00:00
Marcus Hüwe
cf413bf953 - fixed #495823 ("osc leaves stale .osc/_to_be_deleted") 2009-04-28 20:31:02 +00:00
Michal Vyskocil
3e837ce9d8 bugfix: templates in edit commit message causes an empty commit logs 2009-04-28 07:15:57 +00:00
Marcus Hüwe
1ec537e9de - fixed #498330 ("buildlog inserts bogus newlines") 2009-04-27 18:30:00 +00:00
Michal Vyskocil
af5259b387 support of added .changes in commit message template 2009-04-27 08:54:59 +00:00
Michael Schröder
004ca3cafe - speed up osc sr list 2009-04-27 08:50:58 +00:00
Marcus Hüwe
8cc699fe01 - fixed #497987 - live buildlog was broken 2009-04-24 18:17:12 +00:00
Michael Schröder
eb14b3c2a4 - fix show_files_meta call 2009-04-23 09:23:13 +00:00
Michael Schröder
3a5072e9c1 - allow empty linkrepair commits 2009-04-23 08:39:00 +00:00
Michael Schröder
fd41f0b236 - fix write_conflictlist function 2009-04-23 08:35:11 +00:00
Michael Schröder
90cb8163b6 - fix test for modified files
- print message after the repairlink commit
- destroy upload revision if commit fails
- use "latest" when revision is not specified
2009-04-22 13:14:17 +00:00
9dfaf611f3 * revert rev=latest change, let mls do it right in all places.
* add hint to use "osc repairlink" on failed operations with links
* use correct target project and package name on repairlink
2009-04-22 12:32:29 +00:00
0c3d982ecc use "latest" revision on checkout, not "upload" (#441783) 2009-04-22 11:37:40 +00:00
Michael Schröder
9dbfeeb2ef - add 'osc repairlink' command
- pass revision correctly so that 'osc co' can checkout
  an old revision again
2009-04-21 16:52:26 +00:00
89e2e73dca - allow to specify target project and package on osc branch (requires
server version 1.6)
- add option to automatic checkout a branched package
2009-04-17 12:02:02 +00:00
Michal Vyskocil
41eb9614f0 commit message template
New functions:
osc.core.get_commit_message_template()
    - check the differences in .changes
    - extract them and add to the commit message
osc.core.dgst_from_string():
    - same as dgst, but work with string argument


Modified functions:
osc.core.edit_message():
    - new optional argument template
osc.commandline.do_commit():
    - use get_commit_message_template to collect the changes and call the
      edit_message with template argument
osc.core.edit_message():
    - used dgst_from_string for header_orig value, so commit message could be
      used as is with template. Used a mtime check for canceling support.
      TODO: maybe is dgst_from_string unecessary
2009-04-16 13:48:37 +00:00