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

361 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
87067cd0aa add --role option to maintainer command 2009-06-19 13:57:27 +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
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