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

766 Commits

Author SHA1 Message Date
f01be2f625 * keep _service: files local only. 2009-08-07 12:18:15 +00:00
b25b248a2e do not crash, if nothing is specified. (#526401) 2009-08-07 09:25:34 +00:00
2f7070ae96 can it be that hard ... 2009-08-07 07:51:00 +00:00
e199ab3a09 and now do it right :/ (sorry, was before coffee) 2009-08-07 07:48:52 +00:00
9b722d61f4 reqeuest list -s X,Y was broken, a state can have only one value. And
there is no personality splitting in OBS either ;)
2009-08-07 07:32:10 +00:00
690857d452 fix build of multiarch products. This was wrong in general and affected
all builds. So we may see some other breakage somewhere else.
2009-08-06 12:50:53 +00:00
Michal Vyskocil
cfc9c2a1b2 Fixed help of do_commit, added info how disable checks 2009-08-05 05:54:12 +00:00
Marcus Hüwe
473270ec84 - typo 2009-08-04 21:10:23 +00:00
Marcus Hüwe
b742d58794 - determine pacsuffix from buildtype (slightly modified version of David Greaves' <david@dgreaves.com> patch) 2009-08-04 16:01:02 +00:00
Marcus Hüwe
ddd9e0206d - added config option to disable the filelist check before commit permanently 2009-08-04 14:12:45 +00:00
Michal Vyskocil
101bcef086 proper handling of removed files
Removed files should be hanlded too, so the code will iterate through
non-dirs, instead of files only. Plus the default action for '!' files
is remove.
2009-08-03 15:20:17 +00:00
Michal Vyskocil
724f577b41 More options in commit filelist change
osc commit check for '?' files can be supressed by -f/--force option

It also have more options. File can be easily added, removed or the
whole filelist should be opened in editor and edited (this is very close
to git rebase --interactive behavior).
2009-08-03 13:03:24 +00:00
Marcus Hüwe
365be249c3 - slightly modified version of David Greaves' <david@dgreaves.com> patch to add a --map-repo option to aggregatepac 2009-07-31 14:31:20 +00:00
Michal Vyskocil
2d1126b847 osc commit asks if some file has a '?' status 2009-07-31 11:32:34 +00:00
0d2e353188 * do not erase package meta data when doing linkpac
* do not anymore implicit add maintainer to package
2009-07-30 09:42:09 +00:00
4df5334115 fix set devel project, if no project or package is set 2009-07-28 14:50:23 +00:00
Dr. Peter Poeml
2900aecea4 osc rdiff: try to make the help text a little clearer 2009-07-27 20:03:01 +00:00
Marcus Hüwe
5d12cff640 - request list: project is optional too (if no project/package is specified list all) 2009-07-24 19:15:51 +00:00
21bd79bc56 fix change devel requests help 2009-07-23 08:01:31 +00:00
0094d86316 add missing build status symbols 2009-07-20 09:43:01 +00:00
Marcus Hüwe
9f8c7398b4 - fixed #521895 ('osc vc crashes'): only use and store proper apiurls this means no trailing slashes etc. 2009-07-16 12:07:14 +00:00
Marcus Hüwe
d2dee3c525 - it's 'osc' not 'svn';) 2009-07-15 21:16:34 +00:00
Marcus Hüwe
17a8ae894a - changed delete logic: only remove the localfile and keep the store file. The storefile is kept unless the wc is committed - this is useful for something like "osc revert".
- added delete_file() method to the Package class which takes care about the "file deletion logic"
2009-07-15 21:10:38 +00:00
Marcus Hüwe
b30611885d - fixed #521335: exclude files which are named '#<file>#' (according to this bug #<file># is sometimes used as a backup file) 2009-07-15 19:59:01 +00:00
Marcus Hüwe
6492b73677 - add partname and fullpartname attributes to Pac() class
- cleanup partial files in case the user hits ctrl-c
2009-07-15 19:48:16 +00:00
Marcus Hüwe
964d921d39 - fixed do_copypac()
- copy_pac: when doing a client side copy don't do a commit for each file
2009-07-15 18:53:47 +00:00
Ludwig Nussel
8fcd6e3371 add -d option to sr to only show a diff
Much more convenient than having to assemble the rdiff command line
manually.
2009-07-13 09:36:19 +00:00
ecf88a57bc * initial support for OBS source services
* TODO: local service tool calls
2009-07-10 18:10:41 +00:00
Michal Vyskocil
009713db18 new force argument for update_package_meta 2009-07-10 14:20:02 +00:00
Michal Vyskocil
193c59c6dc osc wipebinaries: don't force --all parameter, if -r/--repo or -a/--arch is used 2009-07-07 14:31:59 +00:00
Michal Vyskocil
02434152f1 new osc rremove command 2009-07-07 14:30:15 +00:00
Stephan Binner
257ae15d20 improve osc request help 2009-07-07 14:15:39 +00:00
Michal Vyskocil
9661594cb3 new osc.core.delete_files function 2009-07-01 11:19:55 +00:00
Marcus Hüwe
8672848798 - fixed #507367 ("osc ci does not report conflict") 2009-06-27 01:07:18 +00:00
Michal Marek
599279a28f Change the warning about 'scheme' and 'apisrv' to something not as confusing. 2009-06-23 19:35:00 +00:00
5750e7278c ups, typo fix 2009-06-23 16:04:57 +00:00
ccdfcf7959 * Improve usability when listing or showing requests.
* support multiple actions in show
2009-06-23 14:14:07 +00:00
16d56fb2c4 do only ask to revoke sr if existing one contains a 'submit' type 2009-06-23 12:02:01 +00:00
Michal Cihar
d6a8ac3fbb Better escaping regexps. 2009-06-23 10:09:48 +00:00
Michal Cihar
804979d671 Same description for arguments PLATFORM and ARCH in all places. 2009-06-23 10:06:31 +00:00
87067cd0aa add --role option to maintainer command 2009-06-19 13:57:27 +00:00
Stephan Binner
c76ac4dd5e fix request help 2009-06-19 13:10:33 +00:00
f4fcc4101b 0.120 is about to get released, switch to version 0.120.90 2009-06-19 09:07:08 +00:00
Michal Vyskocil
56e79daeec osc metafromspec allows editing before send 2009-06-19 08:59:39 +00:00
Michal Vyskocil
ea39db700c move metafile editing code from edit_meta to metafile.edit() method 2009-06-19 08:56:33 +00:00
Michal Vyskocil
2f1c5f2627 properly create url for metafile constructor 2009-06-19 08:47:06 +00:00
Michal Vyskocil
d764905730 use metafile in update_package_meta 2009-06-19 08:32:56 +00:00
a2566a0a6f jump to version 0.120 2009-06-18 19:55:16 +00:00
01c20380f6 fix listing of delete requests again 2009-06-18 17:54:02 +00:00
7ef5e04cc9 * "osc maintainer" is following to the development project / package now
* "osc maintainer" list maintainer and bugowner roles now
* rename addDevelProject to setDevelProject since the devel element is
  only allowed once
2009-06-18 16:20:49 +00:00
d017b16426 * add "osc request list -t <type>" to list only submit, delete or
develchange requests
* fix support of listing requests with multiple actions
2009-06-18 13:49:23 +00:00
626aa36925 * bump version to 0.119.90 to show that this is a pre version
* support setlinkrev for entire projects (request from Moblin team)
* support setlinkrev -u for removing rev elements
2009-06-18 09:18:17 +00:00
5275bdac01 do not fail on listing requests, when delete requests exist 2009-06-18 08:11:34 +00:00
Marcus Hüwe
8f2a3b7580 - renamed OpenSUSE to openSUSE (I think that's the correct spelling atm) 2009-06-17 18:19:45 +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
Michal Cihar
a574dbb3aa Add proper escaping of - in man page. 2009-06-17 09:28:10 +00:00
Michal Cihar
2af8cbbf7e Missing preposition. 2009-06-16 13:31:11 +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
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