d47bbd8819
add project key management command (osc signkey)
2009-10-16 14:12:55 +00:00
bd38438416
fix checkout of a package, which contains uploaded, but not commited
...
files. We use the latest committed version in that case.
2009-10-16 08:26:01 +00:00
Pavol Rusnak
5ef036a578
allow filtering by repo/arch in prjresults
2009-10-15 14:24:12 +00:00
Jürgen Weigert
0bcfa2a938
+- added 'osc req help' as convenience alias to 'osc help req'.
...
+- 'osc in' to be done. Its usage just prints a suggested zypper command
line.
+- Incompatible change: osc se now prints Project Package, instead of
Package Project
+ for easier copy&paste.
+
2009-10-08 14:40:06 +00:00
Jürgen Weigert
652e6b87f4
-
2009-10-08 14:21:43 +00:00
Ludwig Nussel
f9c2aaaf27
remove special case for 'se' to perform an exact match by default
...
zypper for example doesn't do that either.
2009-10-08 12:44:25 +00:00
Jürgen Weigert
6575669111
added expand_proj_pack() for suggested '.' handling.
2009-09-28 19:50:57 +00:00
Marcus Hüwe
4e30d9f946
- fixed get_request_list() call
2009-09-24 14:14:11 +00:00
Marcus Hüwe
3cfe9db980
- show pending requests after branching a package
2009-09-22 23:31:10 +00:00
Marcus Hüwe
0c5a9528e3
- check for pending requests after executing an action (e.g. checkout, update, commit). This check is disabled by default. (requested by darix)
2009-09-18 01:10:41 +00:00
Marcus Hüwe
6ca6a10955
- added support to checkout a request's source package (osc request co ID)
2009-09-16 21:39:45 +00:00
2d3be21964
adapt source update flags for new <option> block
2009-09-10 08:48:44 +00:00
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
Michal Marek
e312cc1916
Unbreak 'osc api'
...
Commit 7947 doesn't mention do_api at all in it's log message, yet it breaks
it.
2009-09-08 13:24:54 +00:00
ab73a24162
ups ...
2009-09-08 11:16:21 +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
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
6648377870
* add python-keyring support
...
* We may remove direct gnome keyring support later (there are currently
reports of users who can't access obs anymore when not using gnome)
* do not write passwords to .oscrc if keyring is available and used
2009-09-04 17:48:53 +00:00
d8160a957f
and rever again the osc req shortcut.
...
Juergen, this conflicts with the old api call and you get a error
message on each osc call.
2009-09-04 16:02:59 +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
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
5f9127cd6c
fix "my request" call (haven't I did this before ?)
2009-09-03 11:25:12 +00:00
fec32ed9e4
rejected is no valid request state. Even though it got used in the past
...
:/ (but this will fail in future)
2009-09-01 15:44:57 +00:00
9e67dae8b7
bring back sr --diff option
2009-08-28 07:33:16 +00:00
06dc5b9aae
avoid warning about missing diff option during creating sr
2009-08-28 06:46:20 +00:00
80de17208d
revert changes which introduce inconsitencies or will conflict with
...
later developments.
2009-08-27 13:32:55 +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
b0000b2834
- more or less only some minor cosmetic changes
2009-08-21 19:39:12 +00:00
Marcus Hüwe
1a5bb12218
- added support for config variables in a help text
2009-08-21 14:55:26 +00:00
Marcus Hüwe
f1c8847879
- conf: initialize config with the default values. This fixes the manpage generation problem
2009-08-21 12:03:09 +00:00
Jürgen Weigert
403576b952
- hack for _help_preprocess_cmd_option_list to survive setup.py build
2009-08-21 11:25:07 +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
Marcus Hüwe
5639b2b9a7
- added support to use config values in options' help text
...
- do_request: minor change in the --days option handling
2009-08-21 00:42:51 +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
Ludwig Nussel
1e8d490ae2
open editor to enter message for submit and other requests
2009-08-19 11:28:16 +00:00
Ludwig Nussel
7e3cbabd0d
prompt for message also when comitting entire projects
2009-08-19 11:28:10 +00:00
Jan-Simon Möller
853c2c5dcb
Add support for --overlay and --rsync-{src,dest} to build and osc.
...
--overlay OVERLAY
Copy overlay filesystem to buildroot after installing
all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
inside the buildroot using rsync.
It will "%define RSYNCDONE 1" for handling %setup in your
specfile. E.g.:
%prep
%if 0%{?RSYNCDONE}
%setup -n aaa_base -T -D -b 5 -b 7
%else
%setup -n aaa_base -b 5 -b 7
%endif
--rsync-dest RSYNCDEST
Todo: tell rpmbuild not to delete the folders.
2009-08-18 21:28:33 +00:00
Marcus Hüwe
4e32d4dc41
- moved options check to the beginning
2009-08-11 23:01:03 +00:00
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
Michal Vyskocil
cfc9c2a1b2
Fixed help of do_commit, added info how disable checks
2009-08-05 05:54:12 +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
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
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
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
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
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
16d56fb2c4
do only ask to revoke sr if existing one contains a 'submit' type
2009-06-23 12:02:01 +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
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
Marcus Hüwe
8f2a3b7580
- renamed OpenSUSE to openSUSE (I think that's the correct spelling atm)
2009-06-17 18:19:45 +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
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
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
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
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
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
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
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
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