Stephan Kulow [Mon, 15 Mar 2010 12:36:11 +0000 (13:36 +0100)]
/search/package returns all meta data for the packages,
/search/package_id only returns the names - and that's all that
interests us for requests.
before: 11s
after: 5s
Marcus Huewe [Mon, 15 Mar 2010 12:34:38 +0000 (13:34 +0100)]
- minor changes
Stephan Kulow [Mon, 15 Mar 2010 12:15:50 +0000 (13:15 +0100)]
put the states first for involved projects
before: 18s
after: 11s
(possibly it matters only if you have more than your home project
in the project list)
Marcus Huewe [Sat, 13 Mar 2010 20:06:18 +0000 (21:06 +0100)]
- do_request(): added "--involved-projects" option to show all requests for project/packages where USER is involved
- code restructuring:
* added new get_user_projpkgs_request_list() method
* added new get_user_projpkgs() method
Marcus Huewe [Sat, 13 Mar 2010 13:06:48 +0000 (14:06 +0100)]
- rewrote do_my()
I hope we didn't lose a feature/functionality. If you notice some unexpected
behaviour please tell me.
Marcus Huewe [Sat, 13 Mar 2010 12:55:53 +0000 (13:55 +0100)]
- core.py: added filter_role() method + other minor changes
Marcus Huewe [Fri, 12 Mar 2010 14:22:11 +0000 (15:22 +0100)]
- backward compatibility fix: old apis don't support role filtering
Marcus Huewe [Wed, 10 Mar 2010 23:24:38 +0000 (00:24 +0100)]
- get_request_list(): use new search interface
Marcus Huewe [Wed, 10 Mar 2010 22:43:04 +0000 (23:43 +0100)]
- updated help text
Marcus Huewe [Wed, 10 Mar 2010 22:36:09 +0000 (23:36 +0100)]
- reworked do_search() and osc's search interface
- removed build_xpath_predicate()
- rewrote search()
- added xpath_join() to join two xpath expressions
- TODO: backward compatibility: currently do_search() requires a recent
api version from git master in order to do some role filter stuff
Marcus Huewe [Tue, 9 Mar 2010 11:22:04 +0000 (12:22 +0100)]
- check args/options
Juergen Weigert [Tue, 9 Mar 2010 01:28:07 +0000 (02:28 +0100)]
dependency counter fixed. done += 1 needs to be indented correctly.
Juergen Weigert [Tue, 9 Mar 2010 00:40:32 +0000 (01:40 +0100)]
Proofreading... it (the computer) shall not speak about itself in first person.
Juergen Weigert [Mon, 8 Mar 2010 22:52:51 +0000 (23:52 +0100)]
osc ls -u -- same logic here as mls suggests for osc cat.
Marcus Huewe [Mon, 8 Mar 2010 13:09:15 +0000 (14:09 +0100)]
- ignore trailing slashes
Michael Schroeder [Mon, 8 Mar 2010 09:56:29 +0000 (10:56 +0100)]
- turn option upside down for consistency
Juergen Weigert [Mon, 8 Mar 2010 00:52:13 +0000 (01:52 +0100)]
suggest git, svn, ... if indicated, after oscerr.NoWorkingCopy
Juergen Weigert [Mon, 8 Mar 2010 00:31:36 +0000 (01:31 +0100)]
"osc cat" now auto-expands through link. New option -n to suppress this.
Juergen Weigert [Sun, 7 Mar 2010 23:08:55 +0000 (00:08 +0100)]
osc add now clears files from _to_be_deleted
This happens, if a file was previously deleted, and the user changes his
mind before a commit. Such an add is no longer an add, but a cancel for the
planned delete. This resulted in unexpected loss of the file, on the server, as
the message 'is already under version control' is quite misleading in this case.
Juergen Weigert [Sun, 7 Mar 2010 22:10:13 +0000 (23:10 +0100)]
Merge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Sun, 7 Mar 2010 22:07:03 +0000 (23:07 +0100)]
helpful messages about non-existing remote packages never made it to the
user, as meta_exists() died with a shorter message earler.
Marcus Huewe [Sun, 7 Mar 2010 21:50:11 +0000 (22:50 +0100)]
- added "config" command to set/get/delete a config option
maybe we should move the whole config stuff into a new config object.
This would make things much easier.
Marcus Huewe [Sun, 7 Mar 2010 21:44:34 +0000 (22:44 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Juergen Weigert [Sun, 7 Mar 2010 20:56:29 +0000 (21:56 +0100)]
made URLError readable, instead of a bogus stack-trace.
added full_url, to even give a hint about the cause.
Marcus Huewe [Sat, 6 Mar 2010 19:14:51 +0000 (20:14 +0100)]
- added 'verbose' option to DEFAULTS dict
Stephan Kulow [Fri, 5 Mar 2010 11:54:12 +0000 (12:54 +0100)]
changing some strings in the name of mls
Stephan Kulow [Fri, 5 Mar 2010 10:45:35 +0000 (11:45 +0100)]
diff3 -E is much easier to read
Marcus Huewe [Wed, 3 Mar 2010 23:31:46 +0000 (00:31 +0100)]
- make store_write_* methods more safe
Adrian Schröter [Tue, 2 Mar 2010 08:52:18 +0000 (09:52 +0100)]
support package search with project results needed for maintained search.
This is for sure not nice, but fixes #583570 for now. (we need really to re-think
the osc search implementation)
Marcus Huewe [Tue, 2 Mar 2010 00:34:58 +0000 (01:34 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Tue, 2 Mar 2010 00:34:17 +0000 (01:34 +0100)]
- added "--message" option to branch cmd
Ludwig Nussel [Mon, 1 Mar 2010 12:44:37 +0000 (13:44 +0100)]
handle missing details gracefully
Pavol Rusnak [Sun, 28 Feb 2010 01:41:26 +0000 (02:41 +0100)]
missed two renames
Pavol Rusnak [Sun, 28 Feb 2010 01:30:13 +0000 (02:30 +0100)]
fix whitespace
Klaas Freitag [Sat, 27 Feb 2010 19:15:15 +0000 (20:15 +0100)]
Merge branch 'master' of git@gitorious.org:opensuse/osc
Klaas Freitag [Sat, 27 Feb 2010 19:14:25 +0000 (20:14 +0100)]
fixed links to documentation in the wiki in osc help
Pavol Rusnak [Sat, 27 Feb 2010 19:11:15 +0000 (20:11 +0100)]
treat pylint warnings
Marcus Huewe [Thu, 25 Feb 2010 21:56:21 +0000 (22:56 +0100)]
- added --exclude-target-project <prj> option to "osc rq list"
- reworked get_request_list()
Marcus Huewe [Thu, 25 Feb 2010 13:32:24 +0000 (14:32 +0100)]
- don't exit if the user made an invalid choice
Marcus Huewe [Thu, 25 Feb 2010 13:13:23 +0000 (14:13 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Thu, 25 Feb 2010 13:13:02 +0000 (14:13 +0100)]
- keyring fix
Ludwig Nussel [Thu, 25 Feb 2010 12:36:48 +0000 (13:36 +0100)]
don't catch IOError to produce backtrace that points at cause
Ludwig Nussel [Thu, 25 Feb 2010 12:27:27 +0000 (13:27 +0100)]
fix indentation
Ludwig Nussel [Thu, 25 Feb 2010 08:52:47 +0000 (09:52 +0100)]
add vim mode lines to avoid evil tab characters :-)
Marcus Huewe [Wed, 24 Feb 2010 23:06:24 +0000 (00:06 +0100)]
- checkout files with mode 0644
Marcus Huewe [Wed, 24 Feb 2010 19:02:52 +0000 (20:02 +0100)]
- convert tabs to spaces...
Ludwig Nussel [Wed, 24 Feb 2010 10:27:18 +0000 (11:27 +0100)]
make osc built in text meter display progress immediately
Ludwig Nussel [Wed, 11 Nov 2009 14:48:25 +0000 (15:48 +0100)]
stub for implementing trusted projects
Ludwig Nussel [Wed, 11 Nov 2009 11:28:05 +0000 (12:28 +0100)]
try parent project if key is not available
Ludwig Nussel [Tue, 16 Jun 2009 12:46:02 +0000 (14:46 +0200)]
verify files using rpm bindings and keys supplied by buildservice
The build service is not ready for that yet. Almost all projects
that are not built but only imported to the build service have wrong
keys. To enable the new code set builtin_signature_check in .oscrc. You
may need to manually overwrite wrong _pubkey files in the
packagecachedir with correct keys until the build service is fixed.
Ludwig Nussel [Wed, 24 Feb 2010 12:42:48 +0000 (13:42 +0100)]
actually ignore stuff after the footer line
Ludwig Nussel [Wed, 24 Feb 2010 10:41:59 +0000 (11:41 +0100)]
fix up 'cr' without arguments
also add footer with hint what to enter as message
Pavol Rusnak [Wed, 24 Feb 2010 12:39:53 +0000 (13:39 +0100)]
gpg signkey -> osc signkey
Ludwig Nussel [Tue, 23 Feb 2010 14:20:54 +0000 (15:20 +0100)]
print multiple choice prompt in new line
Ludwig Nussel [Tue, 23 Feb 2010 12:41:10 +0000 (13:41 +0100)]
lbl: show log of last built package if no args specified
David Greaves [Fri, 12 Feb 2010 21:54:39 +0000 (21:54 +0000)]
Added '--build-uid uid:gid|caller' feature to specify abuild id in chroot
Marcus Huewe [Mon, 22 Feb 2010 14:43:02 +0000 (15:43 +0100)]
- added missing return
Marcus Huewe [Fri, 19 Feb 2010 12:46:29 +0000 (13:46 +0100)]
- use correct states
Marcus Huewe [Thu, 18 Feb 2010 19:16:23 +0000 (20:16 +0100)]
- fixed download from apiurl
Marcus Huewe [Thu, 18 Feb 2010 17:57:11 +0000 (18:57 +0100)]
Jan-Simon Möller [Thu, 18 Feb 2010 17:49:22 +0000 (18:49 +0100)]
Fix the test for icecream. 'num' is type <str> and evaluation failed.
Marcus Huewe [Thu, 18 Feb 2010 13:36:41 +0000 (14:36 +0100)]
- don't add buildargs twice
Marcus Huewe [Thu, 18 Feb 2010 13:28:23 +0000 (14:28 +0100)]
Merge commit 'refs/merge-requests/2' of git://gitorious.org/opensuse/osc
Marcus Huewe [Thu, 18 Feb 2010 13:21:17 +0000 (14:21 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Thu, 18 Feb 2010 13:20:40 +0000 (14:20 +0100)]
- added help text to localbuildlog
- reworked localbuildlog
Adrian Schröter [Thu, 18 Feb 2010 13:14:31 +0000 (14:14 +0100)]
fix linktobranch apiurl usage
Marcus Huewe [Thu, 18 Feb 2010 12:58:01 +0000 (13:58 +0100)]
- mark 'build_platform' option as deprecated
Marcus Huewe [Wed, 17 Feb 2010 19:45:09 +0000 (20:45 +0100)]
- skip directories when adding files to a package
Michal Vyskocil [Tue, 16 Feb 2010 12:49:14 +0000 (13:49 +0100)]
buildurl support for buildlog command
Michal Vyskocil [Tue, 16 Feb 2010 11:23:25 +0000 (12:23 +0100)]
fix remotebuildlog help
Marcus Huewe [Mon, 15 Feb 2010 22:56:21 +0000 (23:56 +0100)]
- make sure the buffer is flushed
Marcus Huewe [Sun, 14 Feb 2010 18:10:10 +0000 (19:10 +0100)]
- fixed #579840 ("osc diff output should use a tab as separator behind filenames")
"svn diff" is doing the same so it shouldn't harm
Luboš Luňák [Fri, 12 Feb 2010 17:37:12 +0000 (18:37 +0100)]
avoid useless conversion to set that randomizes arguments order
I admit my Python skills are pretty weak, but this set conversion
appears to be useless and it can change order of arguments from e.g.
--jobs 2 --icecream 20
to
--icecream 20 --jobs 2
As the --jobs 2 actually comes from OSC itself on multicore systems
and --icecream 20 was passed from the command line, this
obviously renders the --icecream argument rather useless.
Marcus Huewe [Fri, 12 Feb 2010 14:55:01 +0000 (15:55 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Fri, 12 Feb 2010 14:54:33 +0000 (15:54 +0100)]
- added "localbuildlog" command
Adrian Schröter [Fri, 12 Feb 2010 13:13:18 +0000 (14:13 +0100)]
typo fix
Marcus Huewe [Fri, 12 Feb 2010 10:55:09 +0000 (11:55 +0100)]
- fixed indention
- added 'icecream' to config dict
Ludwig Nussel [Wed, 20 Jan 2010 08:15:17 +0000 (09:15 +0100)]
command line options for cpio (default=off)
Ludwig Nussel [Fri, 12 Feb 2010 09:17:34 +0000 (10:17 +0100)]
add fetch-cpio support again
This partially reverts commit
0b60db740c3f797fb255f40aa6212455f13e0a9e.
Adrian Schröter [Fri, 12 Feb 2010 10:16:37 +0000 (11:16 +0100)]
speak about supersed when doing a supersed ;)
Ludwig Nussel [Thu, 11 Feb 2010 16:13:33 +0000 (17:13 +0100)]
better linewrapping and output of umlauts
Ludwig Nussel [Thu, 11 Feb 2010 12:47:32 +0000 (13:47 +0100)]
make iceream configurable in config file
Adrian Schröter [Thu, 11 Feb 2010 19:58:04 +0000 (20:58 +0100)]
do not point to keyservers for gpg key. They don't get exported by default.
Marcus Huewe [Thu, 11 Feb 2010 20:22:07 +0000 (21:22 +0100)]
- always remove tempfile
- cleaned up metafile() class
Marcus Huewe [Thu, 11 Feb 2010 19:55:08 +0000 (20:55 +0100)]
- cleanup
Ludwig Nussel [Thu, 11 Feb 2010 10:26:03 +0000 (11:26 +0100)]
convenience mode for changedevelrequest
Ludwig Nussel [Thu, 11 Feb 2010 10:25:56 +0000 (11:25 +0100)]
store commit message so it doesn't get lost on failure
Ludwig Nussel [Thu, 11 Feb 2010 11:46:20 +0000 (12:46 +0100)]
unchanged log message is no error
Ludwig Nussel [Thu, 11 Feb 2010 09:05:45 +0000 (10:05 +0100)]
Revert "use the baserev on links by default for diffing"
Unfortunately produces weird results sometimes. There's probably some
smart code needed to determine when to use baserev.
This reverts commit
94c9a3dde7004b0367c2f65429c864ead68d2175.
Conflicts:
NEWS
Marcus Huewe [Thu, 11 Feb 2010 01:48:08 +0000 (02:48 +0100)]
- get out of the loop..
Marcus Huewe [Thu, 11 Feb 2010 00:47:47 +0000 (01:47 +0100)]
- review a request interactively
per default this "feature" is disabled
Marcus Huewe [Tue, 9 Feb 2010 20:22:32 +0000 (21:22 +0100)]
- added OscTextMeter() class
it's sole purpose is to show the progress immediately because it might take
some time until it shows up (depending on the used bufsize)
Marcus Huewe [Tue, 9 Feb 2010 19:57:10 +0000 (20:57 +0100)]
- fixed #547005 ("osc co could show download progress")
Marcus Huewe [Tue, 9 Feb 2010 15:35:48 +0000 (16:35 +0100)]
- store buildinfo and buildconfig in the correct dir
Marcus Huewe [Tue, 9 Feb 2010 01:27:29 +0000 (02:27 +0100)]
- oops.. removed ')'
Marcus Huewe [Mon, 8 Feb 2010 23:08:21 +0000 (00:08 +0100)]
- remove redundant checks etc.
Marcus Huewe [Mon, 8 Feb 2010 22:31:27 +0000 (23:31 +0100)]
- simplify
Marcus Huewe [Mon, 8 Feb 2010 19:16:03 +0000 (20:16 +0100)]
- fixed #577792 ("osc sr: revoke-existing inquiry not accurate")
Marcus Huewe [Mon, 8 Feb 2010 19:02:23 +0000 (20:02 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Mon, 8 Feb 2010 18:58:14 +0000 (19:58 +0100)]
- fixed #577156 ("osc: develproject redirection notice absent")
Note: this only works properly with api's which have commit
357d0dbd1f77967fe020c16917531bcb354245d5