opensuse:osc.git
13 years ago/search/package returns all meta data for the packages,
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

13 years ago- minor changes
Marcus Huewe [Mon, 15 Mar 2010 12:34:38 +0000 (13:34 +0100)]
- minor changes

13 years agoput the states first for involved projects
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)

13 years ago- do_request(): added "--involved-projects" option to show all requests for project...
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

13 years ago- rewrote do_my()
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.

13 years ago- core.py: added filter_role() method + other minor changes
Marcus Huewe [Sat, 13 Mar 2010 12:55:53 +0000 (13:55 +0100)]
- core.py: added filter_role() method + other minor changes

13 years ago- backward compatibility fix: old apis don't support role filtering
Marcus Huewe [Fri, 12 Mar 2010 14:22:11 +0000 (15:22 +0100)]
- backward compatibility fix: old apis don't support role filtering

13 years ago- get_request_list(): use new search interface
Marcus Huewe [Wed, 10 Mar 2010 23:24:38 +0000 (00:24 +0100)]
- get_request_list(): use new search interface

13 years ago- updated help text
Marcus Huewe [Wed, 10 Mar 2010 22:43:04 +0000 (23:43 +0100)]
- updated help text

13 years ago- reworked do_search() and osc's search interface
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

13 years ago- check args/options
Marcus Huewe [Tue, 9 Mar 2010 11:22:04 +0000 (12:22 +0100)]
- check args/options

13 years agodependency counter fixed. done += 1 needs to be indented correctly.
Juergen Weigert [Tue, 9 Mar 2010 01:28:07 +0000 (02:28 +0100)]
dependency counter fixed. done += 1 needs to be indented correctly.

13 years agoProofreading... it (the computer) shall not speak about itself in first person.
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.

13 years agoosc ls -u -- same logic here as mls suggests for osc cat.
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.

13 years ago- ignore trailing slashes
Marcus Huewe [Mon, 8 Mar 2010 13:09:15 +0000 (14:09 +0100)]
- ignore trailing slashes

13 years ago- turn option upside down for consistency
Michael Schroeder [Mon, 8 Mar 2010 09:56:29 +0000 (10:56 +0100)]
- turn option upside down for consistency

13 years agosuggest git, svn, ... if indicated, after oscerr.NoWorkingCopy
Juergen Weigert [Mon, 8 Mar 2010 00:52:13 +0000 (01:52 +0100)]
suggest git, svn, ... if indicated, after oscerr.NoWorkingCopy

13 years ago"osc cat" now auto-expands through link. New option -n to suppress this.
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.

13 years agoosc add now clears files from _to_be_deleted
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.

13 years agoMerge branch 'master' of gitorious.org:opensuse/osc
Juergen Weigert [Sun, 7 Mar 2010 22:10:13 +0000 (23:10 +0100)]
Merge branch 'master' of gitorious.org:opensuse/osc

13 years agohelpful messages about non-existing remote packages never made it to the
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.

13 years ago- added "config" command to set/get/delete a config option
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.

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Sun, 7 Mar 2010 21:44:34 +0000 (22:44 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years agomade URLError readable, instead of a bogus stack-trace.
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.

13 years ago- added 'verbose' option to DEFAULTS dict
Marcus Huewe [Sat, 6 Mar 2010 19:14:51 +0000 (20:14 +0100)]
- added 'verbose' option to DEFAULTS dict

13 years agochanging some strings in the name of mls
Stephan Kulow [Fri, 5 Mar 2010 11:54:12 +0000 (12:54 +0100)]
changing some strings in the name of mls

13 years agodiff3 -E is much easier to read
Stephan Kulow [Fri, 5 Mar 2010 10:45:35 +0000 (11:45 +0100)]
diff3 -E is much easier to read

13 years ago- make store_write_* methods more safe
Marcus Huewe [Wed, 3 Mar 2010 23:31:46 +0000 (00:31 +0100)]
- make store_write_* methods more safe

13 years agosupport package search with project results needed for maintained search.
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)

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Tue, 2 Mar 2010 00:34:58 +0000 (01:34 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- added "--message" option to branch cmd
Marcus Huewe [Tue, 2 Mar 2010 00:34:17 +0000 (01:34 +0100)]
- added "--message" option to branch cmd

13 years agohandle missing details gracefully
Ludwig Nussel [Mon, 1 Mar 2010 12:44:37 +0000 (13:44 +0100)]
handle missing details gracefully

13 years agomissed two renames
Pavol Rusnak [Sun, 28 Feb 2010 01:41:26 +0000 (02:41 +0100)]
missed two renames

13 years agofix whitespace
Pavol Rusnak [Sun, 28 Feb 2010 01:30:13 +0000 (02:30 +0100)]
fix whitespace

13 years agoMerge branch 'master' of git@gitorious.org:opensuse/osc
Klaas Freitag [Sat, 27 Feb 2010 19:15:15 +0000 (20:15 +0100)]
Merge branch 'master' of git@gitorious.org:opensuse/osc

13 years agofixed links to documentation in the wiki in osc help
Klaas Freitag [Sat, 27 Feb 2010 19:14:25 +0000 (20:14 +0100)]
fixed links to documentation in the wiki in osc help

13 years agotreat pylint warnings
Pavol Rusnak [Sat, 27 Feb 2010 19:11:15 +0000 (20:11 +0100)]
treat pylint warnings

13 years ago- added --exclude-target-project <prj> option to "osc rq list"
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()

13 years ago- don't exit if the user made an invalid choice
Marcus Huewe [Thu, 25 Feb 2010 13:32:24 +0000 (14:32 +0100)]
- don't exit if the user made an invalid choice

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Thu, 25 Feb 2010 13:13:23 +0000 (14:13 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- keyring fix
Marcus Huewe [Thu, 25 Feb 2010 13:13:02 +0000 (14:13 +0100)]
- keyring fix

13 years agodon't catch IOError to produce backtrace that points at cause
Ludwig Nussel [Thu, 25 Feb 2010 12:36:48 +0000 (13:36 +0100)]
don't catch IOError to produce backtrace that points at cause

13 years agofix indentation
Ludwig Nussel [Thu, 25 Feb 2010 12:27:27 +0000 (13:27 +0100)]
fix indentation

13 years agoadd vim mode lines to avoid evil tab characters :-)
Ludwig Nussel [Thu, 25 Feb 2010 08:52:47 +0000 (09:52 +0100)]
add vim mode lines to avoid evil tab characters :-)

13 years ago- checkout files with mode 0644
Marcus Huewe [Wed, 24 Feb 2010 23:06:24 +0000 (00:06 +0100)]
- checkout files with mode 0644

13 years ago- convert tabs to spaces...
Marcus Huewe [Wed, 24 Feb 2010 19:02:52 +0000 (20:02 +0100)]
- convert tabs to spaces...

13 years agomake osc built in text meter display progress immediately
Ludwig Nussel [Wed, 24 Feb 2010 10:27:18 +0000 (11:27 +0100)]
make osc built in text meter display progress immediately

13 years agostub for implementing trusted projects
Ludwig Nussel [Wed, 11 Nov 2009 14:48:25 +0000 (15:48 +0100)]
stub for implementing trusted projects

13 years agotry parent project if key is not available
Ludwig Nussel [Wed, 11 Nov 2009 11:28:05 +0000 (12:28 +0100)]
try parent project if key is not available

13 years agoverify files using rpm bindings and keys supplied by buildservice
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.

13 years agoactually ignore stuff after the footer line
Ludwig Nussel [Wed, 24 Feb 2010 12:42:48 +0000 (13:42 +0100)]
actually ignore stuff after the footer line

13 years agofix up 'cr' without arguments
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

13 years agogpg signkey -> osc signkey
Pavol Rusnak [Wed, 24 Feb 2010 12:39:53 +0000 (13:39 +0100)]
gpg signkey -> osc signkey

13 years agoprint multiple choice prompt in new line
Ludwig Nussel [Tue, 23 Feb 2010 14:20:54 +0000 (15:20 +0100)]
print multiple choice prompt in new line

13 years agolbl: show log of last built package if no args specified
Ludwig Nussel [Tue, 23 Feb 2010 12:41:10 +0000 (13:41 +0100)]
lbl: show log of last built package if no args specified

13 years agoAdded '--build-uid uid:gid|caller' feature to specify abuild id in chroot
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

13 years ago- added missing return
Marcus Huewe [Mon, 22 Feb 2010 14:43:02 +0000 (15:43 +0100)]
- added missing return

13 years ago- use correct states
Marcus Huewe [Fri, 19 Feb 2010 12:46:29 +0000 (13:46 +0100)]
- use correct states

13 years ago- fixed download from apiurl
Marcus Huewe [Thu, 18 Feb 2010 19:16:23 +0000 (20:16 +0100)]
- fixed download from apiurl

13 years ago- fixed check (caused by 8670d82fad0085d39ef7755ef4bda7556e4f517a)
Marcus Huewe [Thu, 18 Feb 2010 17:57:11 +0000 (18:57 +0100)]
- fixed check (caused by 8670d82fad0085d39ef7755ef4bda7556e4f517a)

13 years agoFix the test for icecream. 'num' is type <str> and evaluation failed.
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.

13 years ago- don't add buildargs twice
Marcus Huewe [Thu, 18 Feb 2010 13:36:41 +0000 (14:36 +0100)]
- don't add buildargs twice

13 years agoMerge commit 'refs/merge-requests/2' of git://gitorious.org/opensuse/osc
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

13 years agoMerge branch 'master' 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

13 years ago- added help text to localbuildlog
Marcus Huewe [Thu, 18 Feb 2010 13:20:40 +0000 (14:20 +0100)]
- added help text to localbuildlog
- reworked localbuildlog

13 years agofix linktobranch apiurl usage
Adrian Schröter [Thu, 18 Feb 2010 13:14:31 +0000 (14:14 +0100)]
fix linktobranch apiurl usage

13 years ago- mark 'build_platform' option as deprecated
Marcus Huewe [Thu, 18 Feb 2010 12:58:01 +0000 (13:58 +0100)]
- mark 'build_platform' option as deprecated

13 years ago- skip directories when adding files to a package
Marcus Huewe [Wed, 17 Feb 2010 19:45:09 +0000 (20:45 +0100)]
- skip directories when adding files to a package

13 years agobuildurl support for buildlog command
Michal Vyskocil [Tue, 16 Feb 2010 12:49:14 +0000 (13:49 +0100)]
buildurl support for buildlog command

13 years agofix remotebuildlog help
Michal Vyskocil [Tue, 16 Feb 2010 11:23:25 +0000 (12:23 +0100)]
fix remotebuildlog help

13 years ago- make sure the buffer is flushed
Marcus Huewe [Mon, 15 Feb 2010 22:56:21 +0000 (23:56 +0100)]
- make sure the buffer is flushed

13 years ago- fixed #579840 ("osc diff output should use a tab as separator behind filenames")
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

13 years agoavoid useless conversion to set that randomizes arguments order
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.

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Fri, 12 Feb 2010 14:55:01 +0000 (15:55 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- added "localbuildlog" command
Marcus Huewe [Fri, 12 Feb 2010 14:54:33 +0000 (15:54 +0100)]
- added "localbuildlog" command

13 years agotypo fix
Adrian Schröter [Fri, 12 Feb 2010 13:13:18 +0000 (14:13 +0100)]
typo fix

13 years ago- fixed indention
Marcus Huewe [Fri, 12 Feb 2010 10:55:09 +0000 (11:55 +0100)]
- fixed indention
- added 'icecream' to  config dict

13 years agocommand line options for cpio (default=off)
Ludwig Nussel [Wed, 20 Jan 2010 08:15:17 +0000 (09:15 +0100)]
command line options for cpio (default=off)

13 years agoadd fetch-cpio support again
Ludwig Nussel [Fri, 12 Feb 2010 09:17:34 +0000 (10:17 +0100)]
add fetch-cpio support again

This partially reverts commit 0b60db740c3f797fb255f40aa6212455f13e0a9e.

13 years agospeak about supersed when doing a supersed ;)
Adrian Schröter [Fri, 12 Feb 2010 10:16:37 +0000 (11:16 +0100)]
speak about supersed when doing a supersed ;)

13 years agobetter linewrapping and output of umlauts
Ludwig Nussel [Thu, 11 Feb 2010 16:13:33 +0000 (17:13 +0100)]
better linewrapping and output of umlauts

13 years agomake iceream configurable in config file
Ludwig Nussel [Thu, 11 Feb 2010 12:47:32 +0000 (13:47 +0100)]
make iceream configurable in config file

13 years agodo not point to keyservers for gpg key. They don't get exported by default.
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.

13 years ago- always remove tempfile
Marcus Huewe [Thu, 11 Feb 2010 20:22:07 +0000 (21:22 +0100)]
- always remove tempfile
- cleaned up metafile() class

13 years ago- cleanup
Marcus Huewe [Thu, 11 Feb 2010 19:55:08 +0000 (20:55 +0100)]
- cleanup

13 years agoconvenience mode for changedevelrequest
Ludwig Nussel [Thu, 11 Feb 2010 10:26:03 +0000 (11:26 +0100)]
convenience mode for changedevelrequest

13 years agostore commit message so it doesn't get lost on failure
Ludwig Nussel [Thu, 11 Feb 2010 10:25:56 +0000 (11:25 +0100)]
store commit message so it doesn't get lost on failure

13 years agounchanged log message is no error
Ludwig Nussel [Thu, 11 Feb 2010 11:46:20 +0000 (12:46 +0100)]
unchanged log message is no error

13 years agoRevert "use the baserev on links by default for diffing"
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

13 years ago- get out of the loop..
Marcus Huewe [Thu, 11 Feb 2010 01:48:08 +0000 (02:48 +0100)]
- get out of the loop..

13 years ago- review a request interactively
Marcus Huewe [Thu, 11 Feb 2010 00:47:47 +0000 (01:47 +0100)]
- review a request interactively

per default this "feature" is disabled

13 years ago- added OscTextMeter() class
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)

13 years ago- fixed #547005 ("osc co could show download progress")
Marcus Huewe [Tue, 9 Feb 2010 19:57:10 +0000 (20:57 +0100)]
- fixed #547005 ("osc co could show download progress")

13 years ago- store buildinfo and buildconfig in the correct dir
Marcus Huewe [Tue, 9 Feb 2010 15:35:48 +0000 (16:35 +0100)]
- store buildinfo and buildconfig in the correct dir

13 years ago- oops.. removed ')'
Marcus Huewe [Tue, 9 Feb 2010 01:27:29 +0000 (02:27 +0100)]
- oops.. removed ')'

13 years ago- remove redundant checks etc.
Marcus Huewe [Mon, 8 Feb 2010 23:08:21 +0000 (00:08 +0100)]
- remove redundant checks etc.

13 years ago- simplify
Marcus Huewe [Mon, 8 Feb 2010 22:31:27 +0000 (23:31 +0100)]
- simplify

13 years ago- fixed #577792 ("osc sr: revoke-existing inquiry not accurate")
Marcus Huewe [Mon, 8 Feb 2010 19:16:03 +0000 (20:16 +0100)]
- fixed #577792 ("osc sr: revoke-existing inquiry not accurate")

13 years agoMerge branch 'master' of git://gitorious.org/opensuse/osc
Marcus Huewe [Mon, 8 Feb 2010 19:02:23 +0000 (20:02 +0100)]
Merge branch 'master' of git://gitorious.org/opensuse/osc

13 years ago- fixed #577156 ("osc: develproject redirection notice absent")
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