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

390 Commits

Author SHA1 Message Date
Marcus Hüwe
cb16432cd9 - get rid of rpm-python:
* so far it was only used for querying rpms which can be done with the rpmquery module
- core.py:
  * removed data_from_rpm() and tag_to_rpmpy() methods
- util/rpmquery.py:
  * added staticmethod "query()"
- commandline.py, fetch.py:
  * use rpmquery module instead of rpm-python/data_from_rpm()
2009-09-09 15:28:21 +00:00
41d181dadf prepare 0.122 release 2009-09-08 13:49:29 +00:00
48e96a96fb + - make buildhist command usable without checked out package
+ - rename old "platform/s" names to "repository/ies" (internal cleanup only)
2009-09-08 08:14:27 +00:00
Jürgen Weigert
7ea7ecee3d - 2009-09-07 18:49:01 +00:00
eadf7999cb add a hint "sr" in source revision log that the id comes from the submit request 2009-09-07 07:28:00 +00:00
e040ae85f5 - support modification flages on creation of submit request
(for auto update or clean up packages or to avoid it, when submit request got accepted)
- show request ids from package source logs
2009-09-05 13:46:55 +00:00
Marcus Hüwe
08cfb45142 - do_branch: interpolate 'getpac_default_project' config value in the help text 2009-09-03 21:32:36 +00:00
Jürgen Weigert
bcb16c3320 more tabs expanded 2009-09-03 19:00:09 +00:00
Jürgen Weigert
56d4f12dbd - make osc getpac really get the package (instead of branch only)!
- expanded several tabs to spaces.
 - added default project to new getpac and bco subcommand. .oscrc:getpac_default_project = OpenSUSE:Factory
   (not added to branch subcommand, to not interfere with its syntax.)
2009-09-03 18:08:43 +00:00
Jürgen Weigert
6babfdf04d - added missing code for 'osc sr -l [ID]'
- allow osc req as shortcut for osc request.
 - allow osc cat with one parameter, if it is a url.
 - core.py:makeurl() now prints the url for educational purposes if osc -v -v
2009-09-03 17:28:27 +00:00
c2cee79679 support source services better:
* offer updating version from server
* executing them locally on update or build
2009-09-03 14:56:48 +00:00
816ed7bfb5 0.121 released, go for 0.122 2009-09-01 11:58:04 +00:00
cf8a20cc95 * drop client side filtering, fails in "all" case and should anyway
happen on server side
2009-08-31 20:34:01 +00:00
17508f3d83 * avoid hardcoded list request states for "all" case 2009-08-27 14:58:47 +00:00
86c110f1e9 provide backward compatibile exclude_stuff , even though it should not
be used anymore
2009-08-27 14:37:25 +00:00
96edadb3c4 Juergen !
trunk is NOT your private playground for your private version numbers !
2009-08-27 13:06:12 +00:00
Michal Vyskocil
75cd1dcfa6 parse_disturl function 2009-08-26 14:58:53 +00:00
Michal Vyskocil
816a982acf added missing delPerson function
do_maintainer relly on delPerson, which did not exists. It is
taken from old delMaintainer function with role handling.
Fixed also some issues in do_maintainer role handling
2009-08-26 14:22:54 +00:00
Marcus Hüwe
e3c9e30ca0 - do_request list:
* --mine + --user and --all + --state options are mutually exclusive
  * fixed "--all" and "--state all" options
2009-08-21 21:31:45 +00:00
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