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

371 Commits

Author SHA1 Message Date
Marcus Hüwe
585ab3564d - fixed store_read_package() and store_read_project() 2009-08-21 20:43:08 +00:00
Marcus Hüwe
b0000b2834 - more or less only some minor cosmetic changes 2009-08-21 19:39:12 +00:00
Marcus Hüwe
580510c97a - use existing methods to check if a dir is a project or package dir
- fixed exception code (there was no Exception() instance "e")
2009-08-21 16:43:46 +00:00
Jürgen Weigert
f2a738d4b6 Thanks Marcus, for looking into my FIXME's -- I could have never done
that preprocess helper for --days myself.

0.121.jw03
 - fixed osc req list -U to not look into the local dir
 - added osc my ... pkg/prj/req  shorthand commands
 - add 'osc se' alias for 'osc search -e'
 - add -b -m -M to 'osc search'
2009-08-21 01:26:37 +00:00
Jürgen Weigert
83b1b5ca59 All in one go.
0.121.jw02
 - made rresults an alias for results. python decorators are a strange concept...
 - asserting that ~/.oscrc remains mode 0600
 - no more plain text passwords in ~/.oscrc, we store now as bz2+base64
 - added verbosity control -v -q. To be used in guess_proj_pack()
 - added 'll' and 'ls -l' as shorthand to 'list -v'
 - started to change to explicit dual license GPLv2 or GPLv3 to conform to Novell policy.
 - added revision parameter to show_upstream_srcmd5(), so that it can be used in do_cat later.
 - allowed both integer and srcmd5 revisions in meta_get_filelist()
 - added 'lL', 'LL': allowed -e and -v together in do_list(). Was an internal error before.
 - added cat -e, to cat a file through a link.
   'cat -e -r 3' expands through the third revision of the _link.
 - added subcmd bco as alias for branch -c
 - added default project to branch subcommand. .oscrc:branch_project = OpenSUSE:Factory
 - added primitive experimental support for .oscrc:checkout_no_colon = 1
 - suggest using svn when .svn found.
 - alias submitpac submitrequest
 - osc bco now continues to checkout after branch target exists error.
 - added .oscrc:plaintext_passwd=1 for backwards compatibility
 - moved core.py:exclude_stuff to .oscrc:exclude_glob and expand it to catch *.orig etc.
 - allowed req as alias for request.
 - bugfix get_request_list: use 'or' with multiple states, not 'and'.
 - added osc req list -s all; a shorthand for enumerating all states
 - osc req list no longer confuses creator with approver.
 - osc req list -D nnn limit to requests nnn days old.
 - osc req list now also shows requests from the the given package, not only to.
 - improved help texts with repairlink to point to osc resolved.
 - improved passx code when creating oscrc.
 - osc sr -l is now a shortcut for 'osc req list -M -a -t submit -D 0'
2009-08-20 19:28:05 +00:00
2a180fa346 new packages gets checked out expanded when using "osc up -e" in project
directory now.
2009-08-19 13:07:58 +00:00
Jan-Simon Möller
d2c9b0707d Add -a/-s all option to osc rq list. It preselects all states for the query. 2009-08-19 13:00:22 +00:00
906972d5f0 fix req_who (aka rq ls -M) of processed requests 2009-08-19 12:21:45 +00:00
Marcus Hüwe
039634c359 - fixed repairlink 2009-08-11 22:58:23 +00:00
f01be2f625 * keep _service: files local only. 2009-08-07 12:18:15 +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
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