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

707 Commits

Author SHA1 Message Date
Dr. Peter Poeml
027a0e5be1 Remove the Python 2.4 incompatibility introduced with r7507. 2009-06-16 12:14:20 +00:00
4c60d1b285 rename "rebuildpac" to "rebuild", but keep "rebuildpac" as alias.
This command works also for whole projects and we get rid of another
place of pac/pkg statements.
2009-06-15 15:38:39 +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
Michal Vyskocil
b611ddb00b do not produce traceback if list of platforms is empy 2009-06-11 11:38:06 +00:00
Michal Vyskocil
d85d38f613 smarter default platform for osc build 2009-06-11 11:32:58 +00:00
Dr. Peter Poeml
8aadd6e400 osc search: shorten the if branch by eliminating the late else. No functional
change should result from this.
2009-06-09 17:07:02 +00:00
Dr. Peter Poeml
51726bb28b osc search: sort search results. 2009-06-09 17:04:31 +00:00
Dr. Peter Poeml
4c73a41e7b osc update:
- Sort the list of packages before updating. This makes it easier, when
  updating a project with many packages, to follow progress.
2009-06-09 09:34:25 +00:00
Ludwig Nussel
9452d717cb don't query submit list request twice 2009-06-09 09:29:24 +00:00
Marcus Hüwe
7e76a8c269 - do_submitrequest: only support create otherwise if we call e.g. "osc sr list <project> a new submitrequest will be created (instead of listing the reqs for <project>) 2009-06-05 21:45:29 +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
9ef41fde95 fix usage of correct api when calling "osc results" without parameters 2009-06-05 06:13:08 +00:00
dccc2d41cb add more warnings, pointing user to new syntax 2009-06-05 05:46:20 +00:00
5de58e99e2 disable "osc req" for now to point people to the change 2009-06-04 15:20:25 +00:00
Marko Jung
a02ce1389a - fixed exception handling 2009-06-04 15:20:22 +00:00
b556208cd4 rename "req" command to "api".
req clashes with request command and this command is not intended for
usual user usage.
2009-06-04 14:14:01 +00:00
49ceab6ab8 jump to version 0.119 to avoid problems with 0.118 snapshot packages 2009-06-03 11:37:21 +00:00
e46cba2084 - justify comments from Jan-Simon, reflecting that the former behaviour
was a bug actually. Only packages from buildinfo must be available in
  repos.
- add news entry about fixed image building
2009-06-03 11:35:03 +00:00
Jan-Simon Möller
95a935b1dc Link only the needed packages and not the packagecachedir for 'osc build config.kiwi' . 2009-06-03 10:10:51 +00:00
9050882b78 sync help with default function name 2009-06-03 07:43:37 +00:00
dc81d5f278 new request syntax as proposed on ml.
will roll a beta version from this later today for more feedback.
2009-06-02 14:57:42 +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
Michal Vyskocil
0158d5e377 call buildvc with all command line arguments 2009-06-01 12:20:53 +00:00
Michal Vyskocil
ee9ae8dcb1 do not pass '' with commit message 2009-06-01 12:16:17 +00:00
Pavol Rusnak
53eb08ffa3 don't wipe all binaries by default, --all is needed now 2009-05-31 11:00:03 +00:00
Michal Cihar
51228e2e22 Fix few typos in help texts. 2009-05-27 12:09:50 +00:00
Pavol Rusnak
81b8de831c unify log/rlog , prjresults/rprjresults, results/rresults (r-versions are obsoleted now) 2009-05-25 11:33:04 +00:00
Pavol Rusnak
17cec67b98 take project and package from .osc in rlog and rresults 2009-05-25 10:41:16 +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
Michal Vyskocil
5f19030580 rbuildlog alias for remotebuildlog command 2009-05-21 12:05:39 +00:00
Michal Vyskocil
51f0ef2ae0 fixed IndexError in commandline.py:996 when linked to project without 'branches:' in name 2009-05-21 09:13:34 +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
Marcus Hüwe
0ed00292ee - it should be 'apiurl' instead of 'apisrv' (this was changed in r6547) 2009-05-19 16:40:39 +00:00
Pavol Rusnak
a7c2956ac7 fix bug in get_submit_request_list call 2009-05-18 16:01:07 +00:00
Pavol Rusnak
7406d0ed34 added diff -c option (show change of revision X = diff -r X-1:X) 2009-05-18 14:50:43 +00:00
Marcus Hüwe
eeba81ad26 - fix for older python versions 2009-05-17 13:07:55 +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
Marcus Hüwe
815ca58dc8 - cosmetic: save one level of indention 2009-05-15 15:32:15 +00:00
Marcus Hüwe
5b3a55091d - fixed typo 2009-05-15 15:25:09 +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 Vyskocil
b6246d7695 --xml output for results and rresults command, results_meta is obsoleted 2009-05-15 09:24:53 +00:00
Michal Vyskocil
4676bd6ddf added default=[] for -r and -a options in all results commands 2009-05-15 08:48:32 +00:00
Michal Cihar
e12100fc48 osc search can now output CSV 2009-05-15 08:33:25 +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 Cihar
0d3a98ce5b "involved projects" is not really good description of this 2009-05-15 08:07:03 +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
2c42287a98 Add support to get build logs starting from a given offset
(from Ming Xi Wu)
2009-05-14 11:09:26 +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
Jan Matejek
9f739f5e87 disable '%' expansion on username and password 2009-05-12 16:17:15 +00:00
Pavol Rusnak
7c27fac55e add 'ar' alias for addremove command 2009-05-11 13:21:33 +00:00
Michal Cihar
7074362e90 osc can now store credentials in Gnome keyring if it is available (bnc#460540) 2009-05-11 07:46:01 +00:00
Marcus Hüwe
72532fb016 - rresults: allow arguments which a separated by a "/" (e.g. prj/pkg) 2009-05-10 20:29:34 +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
Marcus Hüwe
287d8c2fbd - move check to the correct place (otherwise args[0] might lead to an IndexError exception) 2009-05-07 19:41:02 +00:00
Marcus Hüwe
2baad18f1f - use list comprehensions instead of map/lambda (this is more pythonic:) ) 2009-05-07 19:13:50 +00:00
Marcus Hüwe
dffa7317eb - small fixes (target_package and target_prj were referenced but in some cases there was no assignment before) 2009-05-07 18:43:04 +00:00
5684a992dd extended error message on unresolved files to point people to "resolved"
command.
2009-05-07 13:02:22 +00:00
Michal Cihar
e5563bcaa4 Move osc specific bits to commandline module. 2009-05-06 13:20:15 +00:00
Michal Cihar
a30a1d595b Add support for generating a man page. 2009-05-06 11:46:17 +00:00
Dr. Peter Poeml
09b50649ea fix typo introduced in r7243 2009-05-06 10:08:08 +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
85293d8770 plugins now should be placed in /usr/lib/osc to match FHS (the /var path is still supported though) 2009-05-05 14:21:56 +00:00
Michal Cihar
a02e40f273 Print help in more standard form so that help2man can parse it (bnc#471888). 2009-05-05 14:13:22 +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
885c72af77 Fix syntax errors with Python 2.4 (bnc#500968). 2009-05-05 14:07:00 +00:00
Michal Cihar
cdcca2746d Add rlog support for srcmd5 (bnc#460538). 2009-05-05 14:01:41 +00:00
Martin Mohring
5097f48c50 - fixed: another fix for arm 2009-05-04 21:44:44 +00:00
3df88ab765 Consolidating delete commands:
* obsolete deletepac and deleteprj to delete and rdelete commands.
  - enable package tracking by default
* add support to hide commands in help list (so we can show propper
  help when people still try to use it).
seife: this is for you, drop your own scripts emulating it :)
2009-05-04 19:07:05 +00:00
Martin Mohring
5b4f958cbc - fixed: non cross build arm support 2009-05-04 19:01:17 +00:00
Martin Mohring
528cc81de2 - fixed: let users use osc for arm also on native arm machines 2009-05-04 18:48:41 +00:00
Michal Vyskocil
ad88054cf8 osc submitreq create DESTPRJ [DESTPKG] 2009-05-04 12:53:03 +00:00
51f941886c Allow pulling conflicting changes from another project via "osc
repairlink"
2009-05-04 09:13:35 +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
e2524f036d find and list debian sources in build root 2009-04-27 11:44:38 +00:00
Michael Schröder
38446b0749 - clean up files if diff3 did the job
- first try baserev before querying lastworking
2009-04-27 10:09:38 +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
7481112018 - print 'Trying upstream server for %s (%s), since it is not on
%s.' \
+        print 'Trying openSUSE Build Service server for %s (%s), since
it is not on %s.' \

when downloading from frontend server ("upstream" made people thinking 
the files come from the servers like source forge).
2009-04-27 07:32:00 +00:00
Marcus Hüwe
8cc699fe01 - fixed #497987 - live buildlog was broken 2009-04-24 18:17:12 +00:00
Brandon Philips
4a924553b2 Cleanup usage information on osc co PACKAGE
The usage information on osc co PACKAGE was a bit confusing and one of
the descriptions was inaccurate. Remove the inaccurate description and
improve the language on the clearer one.
2009-04-23 23:59:40 +00:00
Brandon Philips
415143d548 Restore osc co -c feature after commit r7103
Commit r7103 broke the osc co -c feature to checkout a package to the
current directory. Restore it.
2009-04-23 23:57:59 +00:00
Michael Schröder
eb14b3c2a4 - fix show_files_meta call 2009-04-23 09:23:13 +00:00
Michael Schröder
54300936f0 - don't diff binary files 2009-04-23 09:03:59 +00:00
630084b582 * harmonize parameters of repairlink with other commands 2009-04-23 08:58:21 +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