Adrian Schröter [Fri, 23 Sep 2011 10:11:14 +0000 (12:11 +0200)]
- become curl compatible, switch to "PUT" method when using -T upload file parameter
Marcus Huewe [Tue, 20 Sep 2011 23:52:04 +0000 (01:52 +0200)]
- config_set_option: set override_no_keyring and override_no_gnome_keyring to the current config defaults when calling "get_config"
Marcus Huewe [Fri, 16 Sep 2011 15:32:42 +0000 (17:32 +0200)]
- request_interactive_review: added support to accept/decline a specific review instead of all
Adrian Schröter [Mon, 12 Sep 2011 14:15:19 +0000 (16:15 +0200)]
- fallback to "build --local-package" if it does not exist instead of complaining
Ruediger Meier [Sat, 10 Sep 2011 20:56:26 +0000 (22:56 +0200)]
- re-add but ignore deprecated option --skip-validation
Doing this to not brake scripts where this option is used.
This Patch is a follow-up of
568612ce "- drop hardcoded source validator executions"
which has not been released yet.
Marcus Huewe [Fri, 9 Sep 2011 17:55:19 +0000 (19:55 +0200)]
- do_revert: added note again which was removed in the previous commit (only affects the docstring)
Ruediger Meier [Fri, 9 Sep 2011 17:40:11 +0000 (19:40 +0200)]
osc revert, how to do it?
On Friday 09 September 2011, Marcus Hüwe wrote:
> > Is this the supposed behavior?
>
> No - I just fixed it in git master.
Thx!
BTW
even I've investigated it for svn (because osc may supposed to be similar).
But the misbehavior is the same there. Do you think that's a bug in svn too?
At least svn reverts completely when doing
svn revert -R .
Probably would be also nice to say something about it in osc revert --help,
e.g. like this
From
3fa9bb1ac29c623f8ee24f435e7eebd073273e1a Mon Sep 17 00:00:00 2001
From: Ruediger Meier <ruediger.meier@ga-group.nl>
Date: Fri, 9 Sep 2011 19:08:50 +0200
Subject: [PATCH] - do_revert: add help msg about reverting wc entirely
Marcus Huewe [Fri, 9 Sep 2011 15:30:50 +0000 (17:30 +0200)]
- do_revert: also revert added files by default
Sascha Peilicke [Thu, 8 Sep 2011 09:42:45 +0000 (11:42 +0200)]
Generate JUnit-compatible XML test result reports if 'xmlrunner' is available.
Marcus Huewe [Wed, 7 Sep 2011 16:33:07 +0000 (18:33 +0200)]
- get_prj_results: added '?' to legend
Marcus Huewe [Wed, 7 Sep 2011 14:53:11 +0000 (16:53 +0200)]
- do_build: also consider "local_service_run" config option
Marcus Huewe [Wed, 7 Sep 2011 13:19:54 +0000 (15:19 +0200)]
- added "local_service_run" config option
can be used to permanently disable the local service run on commit
(default: enabled)
Adrian Schröter [Wed, 7 Sep 2011 11:55:05 +0000 (13:55 +0200)]
- drop hardcoded source validator executions
Adrian Schröter [Mon, 29 Aug 2011 15:06:12 +0000 (17:06 +0200)]
- do not fail on empty service parameter values
Adrian Schröter [Mon, 29 Aug 2011 12:02:28 +0000 (14:02 +0200)]
Merge branch 'HEAD', remote-tracking branch 'origin/master'
Marcus Huewe [Thu, 25 Aug 2011 11:46:35 +0000 (13:46 +0200)]
- core.Project: yet another fix for the update method (handle deleted packages correctly)
Marcus Huewe [Thu, 25 Aug 2011 11:43:58 +0000 (13:43 +0200)]
- core.Project: fixed update method
handle missing packages (state "!") more gracefully
Adrian Schröter [Wed, 24 Aug 2011 10:06:07 +0000 (12:06 +0200)]
- fix crash on removal of local _service file
Adrian Schröter [Tue, 23 Aug 2011 14:03:58 +0000 (16:03 +0200)]
- yet another fix for old OBS instances
Adrian Schröter [Fri, 19 Aug 2011 13:18:18 +0000 (15:18 +0200)]
- make osc working with OBS 2.1 again
Sascha Peilicke [Thu, 18 Aug 2011 13:25:32 +0000 (15:25 +0200)]
Fix tests/test_repairwc.py, there's no 'urllib22' yet ;-)
Sascha Peilicke [Thu, 18 Aug 2011 13:24:24 +0000 (15:24 +0200)]
Fix tests/test_request.py, requests seem to have a trainling newline now
Sascha Peilicke [Thu, 18 Aug 2011 09:40:21 +0000 (11:40 +0200)]
Reopening reviews only works for requests in state 'new' or 'review'
Sascha Peilicke [Wed, 17 Aug 2011 13:33:56 +0000 (15:33 +0200)]
Honor PEP-8 in osc/conf.py. Includes moving all imports to the top (and
importing only once).
Sascha Peilicke [Wed, 17 Aug 2011 08:40:32 +0000 (10:40 +0200)]
It's all for the fame, isn't it?
Adrian Schröter [Thu, 18 Aug 2011 09:32:19 +0000 (11:32 +0200)]
- support source services using OBS project or package name
Egbert Eich [Wed, 20 Jul 2011 12:10:01 +0000 (14:10 +0200)]
Sanitize file permissions for downloaded files.
Downloaded files may not have read permission for everybody.
This doesn't seem to be a problem since the user as well as
root should be able to read them anyhow. This is true unless
the directory where the cache resides is mounted over nfs
with root_squash.
Signed-off-by: Egbert Eich <eich@suse.de>
Cristian Rodríguez [Thu, 28 Apr 2011 16:08:39 +0000 (13:08 -0300)]
Set the SSL client cipher list to only use very strong algorithms.
Michal Marek [Wed, 13 Apr 2011 20:53:10 +0000 (22:53 +0200)]
Do not check for untracked files before commit
This duplicates the work of the source validator and is just annoying.
Suggested-by: Michal Vyskocil <mvyskocil@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Marcus Huewe [Mon, 15 Aug 2011 15:06:04 +0000 (17:06 +0200)]
- fixed request_interactive_review
Marcus Huewe [Thu, 11 Aug 2011 21:11:15 +0000 (23:11 +0200)]
- coding style...
Marcus Huewe [Thu, 11 Aug 2011 21:09:45 +0000 (23:09 +0200)]
- request_interactive_review: use request_diff
(old diff method is kept for backward compatibility)
Ludwig Nussel [Fri, 5 Aug 2011 11:52:42 +0000 (13:52 +0200)]
fix pgp pubkey parsing
the base64 checksum must not be included in the key data. Newer rpm
don't like that.
Sascha Peilicke [Fri, 29 Jul 2011 09:04:43 +0000 (11:04 +0200)]
Dirk Mueller [Wed, 27 Jul 2011 13:22:40 +0000 (15:22 +0200)]
fix link to pattern description
Sascha Peilicke [Wed, 20 Jul 2011 17:34:46 +0000 (19:34 +0200)]
Make sure that the description is really empty for new projects/packages
Adrian Schröter [Wed, 20 Jul 2011 15:27:05 +0000 (17:27 +0200)]
- checkout of entire project is skipping packages which links to project local packages by default.
Adrian Schröter [Wed, 20 Jul 2011 15:17:56 +0000 (17:17 +0200)]
- fix DISTURL help
Adrian Schröter [Wed, 20 Jul 2011 10:03:44 +0000 (12:03 +0200)]
It is not that easy, it would also need support server side and it must not depend on projects, since a branch must still produce the same result
Revert "Forward project directory to source services."
This reverts commit
9c016b8bf0f6cd1dfc855a70742468d02827dc53.
Adrian Schröter [Wed, 20 Jul 2011 10:00:10 +0000 (12:00 +0200)]
- log less on source service error in the hope that the service did proper logging already
Johannes Obermayr [Sat, 16 Apr 2011 16:00:46 +0000 (18:00 +0200)]
Forward project directory to source services.
This helps to implement an efficient way to create source tarballs from Git repositories:
1. The cloned Git repository will be stored only once in a directory; all projects will use this repository (determined by the URL).
2. The bzip2 compressed tarball will be created via 'git archive $branch $filestoinclude --prefix=$name | bzip2 --best >$projdir/$name-$version'.
3. The version will be adapted automatically without the set_version service.
4. All branched/linked projects will be updated automatically (does not with current implementation).
5. Not to mention it saves space on source host(s).
Adrian Schröter [Tue, 19 Jul 2011 16:05:07 +0000 (18:05 +0200)]
- show created incident project
Marcus Huewe [Fri, 15 Jul 2011 18:10:45 +0000 (20:10 +0200)]
- respect no_proxy env variable
Adrian Schröter [Wed, 13 Jul 2011 13:47:57 +0000 (15:47 +0200)]
Merge branch 'master' of gitorious.org:opensuse/osc
Adrian Schröter [Wed, 13 Jul 2011 13:47:38 +0000 (15:47 +0200)]
- show also comment in request list
Sascha Peilicke [Fri, 8 Jul 2011 14:09:44 +0000 (16:09 +0200)]
PEP8-ified parts of the code.
Exchange individual return statements with a finally statement in the
big try/except statement in babysitter.py. If you return a different
value in the 'except' clause, it takes precedency over the 'finally'
clause (finally is executed before returning, naturally).
Sascha Peilicke [Fri, 8 Jul 2011 13:11:17 +0000 (15:11 +0200)]
Give some status output if request list was empty.
Either there where no requests or the project didn't exist.
Fixes bnc#543999
Sascha Peilicke [Thu, 7 Jul 2011 08:12:57 +0000 (10:12 +0200)]
Honor '-p' and '-P' parameters in request list command.
Fixes bnc#703586
Adrian Schröter [Mon, 4 Jul 2011 10:13:20 +0000 (12:13 +0200)]
- do not print "Waiting" line on packages without defined services
Adrian Schröter [Mon, 4 Jul 2011 10:05:47 +0000 (12:05 +0200)]
- detect also project wide only source services during commit
Adrian Schröter [Mon, 27 Jun 2011 12:37:08 +0000 (14:37 +0200)]
- crash fix on maintenance incident creation with given project
Sascha Peilicke [Fri, 17 Jun 2011 09:02:57 +0000 (11:02 +0200)]
Revert "Align --no-service commit command parameter to build command param"
This reverts commit
d22b2a65233af6acb42f0761f6f7b70b6e7ab1df.
We have not yet decided on how to best align the names of
service-related optional arguments.
Sascha Peilicke [Thu, 16 Jun 2011 10:06:03 +0000 (12:06 +0200)]
Align --no-service commit command parameter to build command param
style.
Adrian Schröter [Wed, 15 Jun 2011 12:16:20 +0000 (14:16 +0200)]
- do not run source services on local packages or offline builds, but warn about that
Adrian Schröter [Fri, 10 Jun 2011 09:36:38 +0000 (11:36 +0200)]
- fix crash after commit when no serviceinfo element exists
Adrian Schröter [Thu, 9 Jun 2011 15:20:51 +0000 (17:20 +0200)]
- fix broken update after commit with service run
- fix up -S on unexpanded checkouts
Petr Uzel [Wed, 8 Jun 2011 11:35:47 +0000 (13:35 +0200)]
osc co: print help instead of crashing if no arguments are given
This fixes:
~> osc checkout
Traceback (most recent call last):
File "/usr/bin/osc", line 21, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3386, in do_checkout
m = re.match(r"obs://([^/]+)/(\S+)/([^/]+)/([A-Fa-f\d]+)\-(\S+)", args[0])
IndexError: tuple index out of range
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Marcus Huewe [Wed, 8 Jun 2011 11:22:51 +0000 (13:22 +0200)]
- getProjectGlobalServices: catch 400 instead of 404
otherwise it breaks older obs instances
Michal Čihař [Wed, 8 Jun 2011 10:10:47 +0000 (12:10 +0200)]
Fix spelling
Adrian Schröter [Wed, 8 Jun 2011 08:25:15 +0000 (10:25 +0200)]
- add the --meta handling also to list, cat and less commands
Adrian Schröter [Tue, 7 Jun 2011 14:46:26 +0000 (16:46 +0200)]
- open 0.133 developement
Adrian Schröter [Tue, 7 Jun 2011 14:39:46 +0000 (16:39 +0200)]
release 0.132
Adrian Schröter [Tue, 7 Jun 2011 14:33:08 +0000 (16:33 +0200)]
- follow changes during commit in test cases
Adrian Schröter [Mon, 6 Jun 2011 12:43:01 +0000 (14:43 +0200)]
- fix error message
Adrian Schröter [Wed, 1 Jun 2011 07:50:30 +0000 (09:50 +0200)]
- add 'requestbugownership' command for setting the bugowner via request
Ludwig Nussel [Wed, 1 Jun 2011 07:12:10 +0000 (09:12 +0200)]
fix lines = None
Ludwig Nussel [Tue, 31 May 2011 09:48:10 +0000 (11:48 +0200)]
avoid first line empty for commit message
Ludwig Nussel [Tue, 31 May 2011 09:48:01 +0000 (11:48 +0200)]
add .changes diff to commit message again
Vincent Untz [Thu, 28 Apr 2011 11:49:48 +0000 (13:49 +0200)]
osc pdiff ("parent diff")
Adrian Schröter [Thu, 26 May 2011 15:13:06 +0000 (17:13 +0200)]
- do not search for requests, if one got specified via -s parameter
Adrian Schröter [Thu, 26 May 2011 14:39:12 +0000 (16:39 +0200)]
- fix changelog comments take over to commit log
Adrian Schröter [Thu, 26 May 2011 13:54:30 +0000 (15:54 +0200)]
- do not fail on special packages with defined source services
Michal Čihař [Thu, 26 May 2011 09:54:14 +0000 (11:54 +0200)]
Handle also errors which can sneak out of httplib
Adrian Schröter [Thu, 26 May 2011 08:21:14 +0000 (10:21 +0200)]
- rdelte and undelete operate with history comment now
Adrian Schröter [Wed, 25 May 2011 11:45:54 +0000 (13:45 +0200)]
- run source services always verbose on "osc build"
Adrian Schröter [Wed, 25 May 2011 11:34:32 +0000 (13:34 +0200)]
- support for local defined source services during commit. Move old validation and trylocal source service run into commit function
Adrian Schröter [Tue, 24 May 2011 08:49:08 +0000 (10:49 +0200)]
- handle errors of source service runs
Adrian Schröter [Mon, 23 May 2011 18:42:35 +0000 (20:42 +0200)]
- fix description of rdelete commands and make a difference to enforce it on server side or to ignore the content. Famous rm -rf command exists now :)
Michael Schroeder [Mon, 23 May 2011 15:14:48 +0000 (17:14 +0200)]
- fix auth failure when converting from passx to pass
Adrian Schröter [Mon, 23 May 2011 14:59:16 +0000 (16:59 +0200)]
- requests in history can be also delete or maintenance requests
Adrian Schröter [Mon, 23 May 2011 14:34:04 +0000 (16:34 +0200)]
- just for readability
Adrian Schröter [Mon, 23 May 2011 13:26:13 +0000 (15:26 +0200)]
- support the new source service file mode of OBS 2.3 Beta 2
Adrian Schröter [Thu, 19 May 2011 15:10:08 +0000 (17:10 +0200)]
- use merged srcmd5sum as default revision on submit request creation, if link target is not submit target.
This allows to create multiple submit requests from same source, if one of them is to the link target.
Otherwise merge conflicts will occur
Marcus Huewe [Wed, 18 May 2011 15:54:33 +0000 (17:54 +0200)]
- server_diff_noex: fixed logic error (body is no Element)
Marcus Huewe [Tue, 17 May 2011 14:09:09 +0000 (16:09 +0200)]
Revert "read_filemeta: create the default _files if not exists"
This reverts commit
a05a2a0a4f8f84cc9d92208e232a6e0e99438691.
Conflicts:
osc/core.py
The commit doesn't make much sense because we can't recover from a missing .osc/_files file.
This has to be fixed.
Marcus Huewe [Mon, 16 May 2011 12:27:55 +0000 (14:27 +0200)]
- fixed os.path.join call
Marcus Huewe [Thu, 12 May 2011 21:27:19 +0000 (23:27 +0200)]
- add new config option include_request_from_project (default True)
This way it's possible to hide requests which have a given project
as a source project when running "osc rq list project".
Original patch by darix (just a bit beautified)
Adrian Schröter [Wed, 4 May 2011 10:11:24 +0000 (12:11 +0200)]
- support to create hidden project on "branch" and "createincident" commands
Adrian Schröter [Tue, 3 May 2011 14:44:20 +0000 (16:44 +0200)]
- update local copy after checkin if source service is there
Adrian Schröter [Mon, 2 May 2011 13:28:44 +0000 (15:28 +0200)]
- block creating submit requests when a source service is still running (OBS 2.3 only)
Adrian Schröter [Mon, 2 May 2011 11:21:28 +0000 (13:21 +0200)]
- add "createincident" command
Marcus Huewe [Fri, 29 Apr 2011 18:29:07 +0000 (20:29 +0200)]
- fixed print statement calls
Marcus Huewe [Thu, 28 Apr 2011 21:55:22 +0000 (23:55 +0200)]
Michal Čihař [Thu, 28 Apr 2011 09:14:38 +0000 (11:14 +0200)]
Fix various typos
Adrian Schröter [Wed, 27 Apr 2011 12:39:17 +0000 (14:39 +0200)]
- open 0.132 version
Adrian Schröter [Wed, 27 Apr 2011 12:38:30 +0000 (14:38 +0200)]
switch to 0.131 release
Adrian Schröter [Tue, 26 Apr 2011 15:18:49 +0000 (17:18 +0200)]
- "review accept/decline" is trying to change all reviews of a requests, if a specific one is not specified by user.
- do not always implicit add by_user on reviews.
- remove default to set a user himself as reviewer (makes no sense)
Marcus Huewe [Sat, 23 Apr 2011 22:27:47 +0000 (00:27 +0200)]
- osc rq show <id> -d: store tmpfile with suffix ".diff" (for syntax highlighting)
- run_pager: added optional "tmp_suffix" parameter
Ludwig Nussel [Thu, 21 Apr 2011 12:30:37 +0000 (14:30 +0200)]
fix PackageNotInstalled printing
Adrian Schröter [Wed, 20 Apr 2011 14:53:42 +0000 (16:53 +0200)]
- "my requests" is showing requests with open reviews also now