Marcus Huewe [Mon, 6 Dec 2010 15:38:19 +0000 (16:38 +0100)]
- do_search: '::' isn't a perl specific namespace/package/module separator
Marcus Huewe [Mon, 6 Dec 2010 15:37:38 +0000 (16:37 +0100)]
Revert "allow 'osc results PROJECT', as an alternative to 'osc prjresults PROJECT'."
This reverts commit
2fd0f1cb9572fdf101f0c54d37394cfd350ea58c.
Marcus Huewe [Mon, 6 Dec 2010 15:37:25 +0000 (16:37 +0100)]
Revert "suggesting 'osc ls /' for listing all projects."
This reverts commit
200807fb37737f8e2acb859622b7080b52e09065.
Marcus Huewe [Mon, 6 Dec 2010 14:36:13 +0000 (15:36 +0100)]
- bump version to 0.130
Marcus Huewe [Mon, 6 Dec 2010 14:35:07 +0000 (15:35 +0100)]
- added information about the "working copy inconsistent" error
Marcus Huewe [Sat, 4 Dec 2010 11:11:34 +0000 (12:11 +0100)]
- util/debquery.py: workaround for python2.4's tarfile module
Juergen Weigert [Fri, 3 Dec 2010 11:39:18 +0000 (12:39 +0100)]
fixed URL in aggregatepac help text.
Juergen Weigert [Thu, 2 Dec 2010 22:52:38 +0000 (23:52 +0100)]
suggesting 'osc ls /' for listing all projects.
Juergen Weigert [Thu, 2 Dec 2010 22:36:40 +0000 (23:36 +0100)]
allow 'osc results PROJECT', as an alternative to 'osc prjresults PROJECT'.
Flagged 'ls' without arguments as deprecated. This should really list
relative to the working directory rather than all projects.
It's now consistent with running 'osc r' in PRJ/PKG working directory.
Michal Čihař [Wed, 1 Dec 2010 09:17:12 +0000 (10:17 +0100)]
Move urlparse import where it belongs.
Marcus Huewe [Tue, 30 Nov 2010 18:11:05 +0000 (19:11 +0100)]
- fixed testsuite
Marcus Huewe [Tue, 30 Nov 2010 18:10:06 +0000 (19:10 +0100)]
- don't fail if no "Content-Length" header exists
Adrian Schröter [Tue, 30 Nov 2010 15:39:14 +0000 (16:39 +0100)]
validate received file length based on given Content-Length. for Bug #656281
Marcus Huewe [Fri, 26 Nov 2010 13:53:30 +0000 (14:53 +0100)]
- do_submitrequest: --cleanup and --no-cleanup are mutually exclusive
Marcus Huewe [Fri, 26 Nov 2010 13:51:07 +0000 (14:51 +0100)]
- beautify
Juergen Weigert [Fri, 26 Nov 2010 11:39:09 +0000 (12:39 +0100)]
let 'osc submitpac' default to do cleanup.
In my understanding a submit is often considered a move and not a copy.
Marcus Huewe [Thu, 25 Nov 2010 21:45:51 +0000 (22:45 +0100)]
- minor cosmetic change for the last commit
Dirk Müller [Thu, 4 Nov 2010 13:41:40 +0000 (14:41 +0100)]
optimize _link files
On Thursday 04 November 2010, Sascha Peilicke wrote:
> Could you please send a patch file?
attached.
Greetings,
Dirk
From
ac737b9ff8205fe3c320ee0b41b093c7ad92c348 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.de>
Date: Thu, 4 Nov 2010 11:01:08 +0100
Subject: [PATCH] linkpac: Only include src_project if it differs
osc copypac copies _link files verbatim, so if they refer
to the same project, copying them should make them also
refer to the new project. This can be done by leaving
out the project part if it is the same like the destination
project
Marcus Huewe [Thu, 25 Nov 2010 21:23:12 +0000 (22:23 +0100)]
Revert "rename requestmaintainership to requestrole (much nicer and makes more sense)"
This reverts commit
cc9d3e07eb01d22b0e850281c8a0388e35ae0cfe.
(see discussion on the ml)
Pavol Rusnak [Wed, 24 Nov 2010 17:20:49 +0000 (18:20 +0100)]
rename requestmaintainership to requestrole (much nicer and makes more sense)
Marcus Huewe [Wed, 24 Nov 2010 15:41:02 +0000 (16:41 +0100)]
- do_requestmaintainership: added --role option to allow different roles ('bugowner' or 'maintainer') (slightly modified version of Anas Nashif's <nashif@linux.intel.com> patch)
Adrian Schröter [Wed, 24 Nov 2010 14:34:40 +0000 (15:34 +0100)]
fix "osc update -s" help text
Ludwig Nussel [Wed, 24 Nov 2010 13:17:14 +0000 (14:17 +0100)]
make rdelete more fool proof
The previous convention of allowing multiple packages has caused
accidental deletion of packages while deleting files was intended (which
doesn't work that way). e.g. osc rdelete foo/bar/baz.spec would delete
foo/bar and then fail trying to delete foo/baz.spec
Also calling osc rdelete with accidental slash, e.g. osc rdelete
/foo/bar actually deleted project foo including all it's packages
without asking questions.
Both traps are eliminated now.
Adrian Schröter [Wed, 24 Nov 2010 13:18:45 +0000 (14:18 +0100)]
fix reopen or a review of a request
Brandon Philips [Thu, 18 Nov 2010 21:47:01 +0000 (13:47 -0800)]
commandline: improve ENOTDIR error message for validators
WARNING: source_validator_directory configured but it does not exist:
/usr/lib/osc/source_validators
Install osc-source_validator to fix.
Signed-off-by: Brandon Philips <bphilips@suse.de>
Marcus Huewe [Thu, 18 Nov 2010 20:48:41 +0000 (21:48 +0100)]
- prepared NEWS file for 0.130 release
Marcus Huewe [Tue, 16 Nov 2010 20:29:33 +0000 (21:29 +0100)]
- oscssl.myHTTPSHandler.https_open: use selector instead of fullurl
- fixes an issue with lighttpd 1.5
Marcus Huewe [Sun, 14 Nov 2010 17:53:14 +0000 (18:53 +0100)]
- OscConfigParser: don't interpolate continuation lines
Marcus Huewe [Sun, 14 Nov 2010 17:32:02 +0000 (18:32 +0100)]
- added template support for a submitrequest accept/decline message
Marcus Huewe [Sun, 14 Nov 2010 12:08:26 +0000 (13:08 +0100)]
- rewrite pass to passx if pass and passx mismatch
- do_config: automatically reread (which may lead to a rewrite) config
if an option was changed
Juergen Weigert [Fri, 12 Nov 2010 22:55:11 +0000 (23:55 +0100)]
osc se Foo::Bar shortcut for osc se --package perl-Foo-Bar
Sascha Peilicke [Wed, 10 Nov 2010 11:18:17 +0000 (12:18 +0100)]
fix for bnc #432995
Adrian Schröter [Tue, 9 Nov 2010 16:19:56 +0000 (17:19 +0100)]
fix review state change for review by_group
Adrian Schröter [Tue, 9 Nov 2010 15:08:26 +0000 (16:08 +0100)]
fix URL syntax when requesting request list via reviewers
Ludwig Nussel [Mon, 8 Nov 2010 15:20:01 +0000 (16:20 +0100)]
add --arch and --repo to rebuild for Richi
Michael Schroeder [Fri, 29 Oct 2010 15:41:39 +0000 (17:41 +0200)]
- adapt 'osc pull' to new addlist implementation
Michael Schroeder [Fri, 29 Oct 2010 15:30:56 +0000 (17:30 +0200)]
- do not crash if there is no diff
Marcus Huewe [Tue, 26 Oct 2010 13:47:07 +0000 (15:47 +0200)]
- request_interactive_review: support "c(l)one"
Marcus Huewe [Tue, 26 Oct 2010 13:34:32 +0000 (15:34 +0200)]
- added new "clone_request" method
Juergen Weigert [Sat, 23 Oct 2010 12:49:28 +0000 (14:49 +0200)]
redundant 'state is' removed from messages.
Marcus Huewe [Thu, 21 Oct 2010 19:51:20 +0000 (21:51 +0200)]
- babysitter.py: catch util.packagequery.PackageError
Marcus Huewe [Thu, 21 Oct 2010 19:46:08 +0000 (21:46 +0200)]
- add "fname" attribute to util.PackageError class
Marcus Huewe [Sat, 16 Oct 2010 10:32:21 +0000 (12:32 +0200)]
- don't print set value if --no-echo is used
Marcus Huewe [Sat, 16 Oct 2010 10:24:21 +0000 (12:24 +0200)]
- do_config: added new options --stdin, --prompt, --no-echo
--stdin: read value from stdin
--prompt: prompt for a value
--no-echo: prompt for a value but don't echo entered characters (for instance to enter a passwd)
Ludwig Nussel [Fri, 26 Feb 2010 08:55:58 +0000 (09:55 +0100)]
update review/request docu and fix some status code parsing
Ludwig Nussel [Tue, 12 Oct 2010 09:09:19 +0000 (11:09 +0200)]
prompt for message on review add
Ludwig Nussel [Tue, 12 Oct 2010 09:07:48 +0000 (11:07 +0200)]
remove 'review new', it's broken and intention unclear
Ludwig Nussel [Tue, 12 Oct 2010 08:59:53 +0000 (10:59 +0200)]
default to current user when adding a review
Ludwig Nussel [Wed, 15 Sep 2010 13:28:47 +0000 (15:28 +0200)]
add alias for old option
Marcus Huewe [Sun, 10 Oct 2010 19:40:31 +0000 (21:40 +0200)]
- repairwc: repair a project wc (only missing '_apiurl' file so far)
Marcus Huewe [Sun, 10 Oct 2010 19:36:07 +0000 (21:36 +0200)]
- new testcase: repairwc: repair a project wc with no apiurl
Marcus Huewe [Sat, 9 Oct 2010 14:26:55 +0000 (16:26 +0200)]
- get rid of osc.core.init_project_dir
- moved cleaned up code to the Project class' "init_project" static method
Marcus Huewe [Sat, 9 Oct 2010 14:25:44 +0000 (16:25 +0200)]
- testcases for "init_project"
Marcus Huewe [Sat, 9 Oct 2010 12:31:06 +0000 (14:31 +0200)]
- '_frozen' is no special storefile
Sascha Peilicke [Fri, 8 Oct 2010 10:25:32 +0000 (12:25 +0200)]
fixed do_rebuild: allow 'rebuild' in project paths
Previously, an 'osc rebuild' was only possible inside a package
directory contrary to the command help.
Marcus Huewe [Mon, 4 Oct 2010 13:57:52 +0000 (15:57 +0200)]
do_buildinfo: accept the same arguments like do_build
- removed "with" statement again
Sascha Peilicke [Mon, 4 Oct 2010 13:06:32 +0000 (15:06 +0200)]
Merge commit 'refs/merge-requests/6' of gitorious.org:opensuse/osc into integration
Sascha Peilicke [Mon, 4 Oct 2010 13:04:04 +0000 (15:04 +0200)]
Merge commit 'refs/merge-requests/7' of git://gitorious.org/opensuse/osc into integration
Marcus Huewe [Wed, 29 Sep 2010 17:57:00 +0000 (19:57 +0200)]
- fixed do_my (was broken by commit
54513a23defe7d9052c2ef31ce38fcd70b1488bc but nobody noticed it so far)
Marcus Huewe [Tue, 28 Sep 2010 21:07:33 +0000 (23:07 +0200)]
- do_repairwc/wc_repair: repair missing "_apiurl" file
- store_read_apiurl: raise WorkingCopyInconsistent if dir is a wc, defaulturl is False
and ".osc/_apiurl" doesn't exist (otherwise NoWorkingCopy is raised)
- WorkingCopyInconsistent: add new attribute which contains the dirty files
Marcus Huewe [Tue, 28 Sep 2010 21:01:39 +0000 (23:01 +0200)]
- added testcases for repairwc in order to repair a wc if the "_apiurl" file is missing
Marcus Huewe [Tue, 28 Sep 2010 14:20:55 +0000 (16:20 +0200)]
- minor indention fix
Adrian Schröter [Mon, 27 Sep 2010 15:43:44 +0000 (17:43 +0200)]
do not download large debug packages by default with "getbinaries"
Juergen Weigert [Tue, 21 Sep 2010 17:59:15 +0000 (19:59 +0200)]
oops, that was perl syntax ...
Juergen Weigert [Tue, 21 Sep 2010 17:44:34 +0000 (19:44 +0200)]
fixed 'osc rq list -a proj pack'; added 'osc my rq' to usage of osc rq
Jan-Simon Möller [Fri, 17 Sep 2010 17:44:23 +0000 (19:44 +0200)]
[osc] add cb(pre)ignore capabilities to osc.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Marcus Huewe [Tue, 21 Sep 2010 09:19:27 +0000 (11:19 +0200)]
- do_submitrequest: ignore skipped files
brook hong [Mon, 20 Sep 2010 09:09:43 +0000 (17:09 +0800)]
git_pull service osc support
Marcus Huewe [Sun, 19 Sep 2010 21:00:19 +0000 (23:00 +0200)]
- package/project wc's require the "_apiurl" storefile
- store_read_apiurl: added "defaulturl=True" parameter to return the
default apiurl if no '_apiurl' file exists (or if an exception is
raised while trying to read the '_apiurl' file)
Marcus Huewe [Fri, 17 Sep 2010 21:03:29 +0000 (23:03 +0200)]
- request_interactive_review: added "(s)kip" option to skip the current request
Marcus Huewe [Fri, 17 Sep 2010 19:03:52 +0000 (21:03 +0200)]
- support --interactive-review option when running "osc rq list <project>"
iterates over all requests for the given project and calls "request_interactive_review"
Marcus Huewe [Thu, 16 Sep 2010 13:43:17 +0000 (15:43 +0200)]
- add '_frozenlink' to OPT_STOREFILES
Marcus Huewe [Thu, 16 Sep 2010 12:28:14 +0000 (14:28 +0200)]
- fix for python2.7/m2crypto: M2Crypto.httpslib.ProxyHTTPSConnection defines "endheaders" without parameters
Now "myProxyHTTPSConnection" inherits from "M2Crypto.httpslib.ProxyHTTPSConnection" _and_ "httplib.HTTPSConnection".
The latter class is only used to call "httplib.HTTPSConnection.endheaders". This multiple inheritance shouldn't have any side-effects
because "M2Crypto.httpslib.ProxyHTTPSConnection" already inherits from "httplib.HTTPSConnection" (and mro will pick the methods from
"M2Crypto.httpslib.ProxyHTTPSConnection" first).
Marcus Huewe [Thu, 16 Sep 2010 09:45:59 +0000 (11:45 +0200)]
- only exclude vc tmpfiles (*.changes.in isn't excluded anymore) (as requested by coolo/others)
Marcus Huewe [Tue, 14 Sep 2010 21:10:23 +0000 (23:10 +0200)]
- workaround for broken urllib2 in python 2.6.5: wrong credentials lead to an infinite recursion
Marcus Huewe [Tue, 14 Sep 2010 14:02:21 +0000 (16:02 +0200)]
- "osc request show <id>": added --source-buildstatus option to print the buildstatus of the src package
- "osc request show <id> --interactive": added shortcut "b" to print the buildstatus of the src package
Marcus Huewe [Tue, 14 Sep 2010 12:51:18 +0000 (14:51 +0200)]
- do_repairwc: adjusted help text
Marcus Huewe [Tue, 14 Sep 2010 12:48:10 +0000 (14:48 +0200)]
- do_repairwc: print more details how to fix a broken wc
Marcus Huewe [Tue, 14 Sep 2010 12:40:18 +0000 (14:40 +0200)]
- "do_repairwc": find all broken pkgs and repair them if it's called in a project dir
Marcus Huewe [Tue, 14 Sep 2010 11:12:32 +0000 (13:12 +0200)]
- add path to the broken wc to the error message
Vincent Untz [Fri, 10 Sep 2010 15:28:45 +0000 (17:28 +0200)]
make "osc rdiff" run with a pager
We also do this for "osc request show -d" and similar friends.
Also, make run_pager() handle the case where the string is empty,
instead of having to make the caller handle it.
Sascha Peilicke [Fri, 10 Sep 2010 13:29:32 +0000 (15:29 +0200)]
Now works, also fixed BUILD_DESCR parsing. Dangling file handle is now closed correctly.
Sascha Peilicke [Fri, 10 Sep 2010 13:17:45 +0000 (15:17 +0200)]
initial changes.
Sascha Peilicke [Fri, 10 Sep 2010 12:20:42 +0000 (14:20 +0200)]
Streamlined 'bugowner' and 'maintainer' commands.
Both commands now check the current working-copy path if no arguments
are given and return the respective maintainer/bugowner.
Related to that, the help messages where updated and changed slightly
to look more similar.
Adrian Schröter [Thu, 9 Sep 2010 20:07:50 +0000 (22:07 +0200)]
don't crash on add_role to a project (untested)
Marcus Huewe [Thu, 9 Sep 2010 13:04:00 +0000 (15:04 +0200)]
- fixed #634042 ("osc shows negative percentages of RPM installation completion")
Marcus Huewe [Thu, 9 Sep 2010 12:57:37 +0000 (14:57 +0200)]
- meter.py: reduced status bar (this one is used if there's no Content-Length header)
Marcus Huewe [Thu, 9 Sep 2010 10:49:53 +0000 (12:49 +0200)]
- added validator params to "commitExtPackage"
- use True/False instead of 1/None for the "verbose_validation" parameter
Marcus Huewe [Thu, 9 Sep 2010 10:30:49 +0000 (12:30 +0200)]
- Package class: moved validation code into a new method "validate"
- do_commit: call validate before asking the user for a commit msg
- Project class: added new validate_pacs method
- minor fixes here and there
Marcus Huewe [Thu, 9 Sep 2010 07:52:59 +0000 (09:52 +0200)]
- added '_commit_msg' to OPT_STOREFILES tuple
Marcus Huewe [Wed, 8 Sep 2010 16:57:21 +0000 (18:57 +0200)]
- added testsuite for new "repairwc" command
Marcus Huewe [Wed, 8 Sep 2010 16:56:15 +0000 (18:56 +0200)]
- added new "repairwc" command which tries to repair an inconsistent working copy
Marcus Huewe [Wed, 8 Sep 2010 16:51:14 +0000 (18:51 +0200)]
- make wc consistent
Marcus Huewe [Wed, 8 Sep 2010 15:41:14 +0000 (17:41 +0200)]
- make download() less error prone
Marcus Huewe [Wed, 8 Sep 2010 14:35:59 +0000 (16:35 +0200)]
- commit missing fixtures...
Marcus Huewe [Wed, 8 Sep 2010 14:18:35 +0000 (16:18 +0200)]
- cleanup working copies...
Marcus Huewe [Wed, 8 Sep 2010 10:08:00 +0000 (12:08 +0200)]
- adapt old difflib format to python2.7's format
Marcus Huewe [Wed, 8 Sep 2010 10:07:01 +0000 (12:07 +0200)]
- fixed test_difffiles testsuite for python2.7
python2.7's difflib slightly changed the format
Adrian Schröter [Tue, 7 Sep 2010 15:31:07 +0000 (17:31 +0200)]
add "review" and "superseded" as known request states.
Marcus Huewe [Tue, 7 Sep 2010 14:08:05 +0000 (16:08 +0200)]
- enable cpio bulk download by default
- removed option --cpio-bulk-download
- added new option --disable-cpio-bulk-download (to disable the default cpio
bulk download)