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
Marcus Hüwe
ca911fd99d
- bumped version to 0.116
2009-04-16 10:58:49 +00:00
e6815fc177
* use correct api url in checked out packages on setlinkrev command.
...
* make error message better matching reality
2009-04-16 08:13:55 +00:00
609e8f97b1
allow commit when files are in upload state on server without local
...
modifications. (#494370 )
2009-04-14 14:33:02 +00:00
Marcus Hüwe
f4fd8ac0fe
- added missing close() to streamfile() (TODO: is this really needed?)
...
- get_source_file: use streamfile() retrieve the data
2009-04-09 16:14:29 +00:00
Marcus Hüwe
8282e232d8
- added streamfile() method
...
- print_buildlog: use streamfile() to retrieve the buildlog
- do_cat: use streamfile() to retrieve a file - there's no need to have a tempfile or to read the entire file into memory anymore
2009-04-09 15:52:59 +00:00
Marcus Hüwe
92759ad082
- SubmitReq class: replaced src_md5 attribute with src_rev
...
- use plain revision numbers instead srcmd5's when creating a submitrequest
2009-04-09 13:02:19 +00:00
Marcus Hüwe
7cad7f99c6
- small fixes for the last commit (r7055) (I hope it doesn't break anything..)
2009-04-09 11:44:32 +00:00
d547203c12
- support listings of older revisions with "osc ls -R"
...
- add --current parameter for linkpac to use current revision of source
package fixed.
- add osc setlinkrev to add or update revision number in links easily
- fix streaming of binary files via "cat" (#493325 )
2009-04-09 08:21:12 +00:00
Marcus Hüwe
68f5d72061
- fix for #492369 ("no warning on failed osc expansion")
2009-04-06 20:08:14 +00:00
Marcus Hüwe
4ed272b2a2
- fixed #490023 : add --expand option to copypac
2009-03-30 22:17:18 +00:00
4e6c62c693
* go to version 0.115
2009-03-17 16:19:02 +00:00
752756eae1
complete link option descriptions
2009-03-17 16:13:04 +00:00
Marcus Hüwe
e5ff09152d
- be a bit more verbose and tell the user about the package tracking feature
2009-03-16 21:29:42 +00:00