Marcus Huewe
8971959187
- fixed #704939 ("osc dies when the config file is supplied via STDIN")
2011-11-18 22:32:10 +01:00
Marcus Huewe
18ad5fcd5a
- conf: always use write_config when writing the config file
2011-11-18 22:27:38 +01:00
Marcus Huewe
ac10fd798d
- do_getbinaries: minor cosmetic change
2011-11-18 21:52:30 +01:00
Marcus Huewe
da88ec0a39
- fixed #713178 ("osc getbinaries in project scope throws error")
2011-11-18 21:51:03 +01:00
Marcus Huewe
64224f9668
- core.set_link_rev: return revision
...
- do_setlinkrev: print the revision which is stored in the 'rev' attribute (if rev is not None)
2011-11-17 21:33:57 +01:00
e945409bb8
- add "locked" state #729873
2011-11-11 20:16:57 +01:00
0f1ae28bf0
- new patchinfo is now default on server, old format not anymore supported on purpose.
...
So removing the switch is also on purpose to make people aware of it.
2011-11-11 10:51:24 +01:00
Sascha Peilicke
2ce8484dc8
Support unshortened diff and use it by default.
...
Fixes bnc#518304
2011-11-09 11:51:43 +01:00
Marcus Huewe
0973931793
- rewrote b190f27d00
(support "osc co --output-dir..." option)
...
The initial version was written by Ed Bartosh <eduard.bartosh@intel.com>
2011-11-02 21:05:10 +01:00
Marcus Huewe
17a5242110
Revert "implemented --output-dir command line option"
...
This reverts commit b190f27d00
.
Do not use "pathname" for this. Its sole purpose is to print out the
"correct" pathname to the user.
The code broke the Project's class update mechanism
2011-11-02 21:05:09 +01:00
eac124f9f6
- support source cleanup on maintenance incidient requests
2011-10-31 12:06:52 +01:00
Sascha Peilicke
568410f46f
Don't choke on unicode characters in filenames upon checkout.
...
Fixes bnc#714061
2011-10-19 10:51:50 -08:00
Marcus Huewe
6cd541967e
- core.request_interactive_review: don't execute review code path if no reviews are present
2011-10-10 22:17:40 +02:00
Ed Bartosh
b190f27d00
implemented --output-dir command line option
2011-10-10 17:06:58 +02:00
321cbdc9ff
- add armv7l, armv6l and armv5l archs for building
2011-10-09 11:23:00 +02:00
fade823e06
- exclude also nosrc.rpm on getbinaries
2011-10-09 11:23:00 +02:00
Marcus Huewe
b5f21a4a8a
- core.Package.commit: fixed _service handling
...
Now the testsuite succeeds again.
Note: we need some testcases for commits with a _service file
2011-10-07 14:13:14 +02:00
Marcus Huewe
7995613991
- revert 3834263171
...
- fixed "parse_repoarchdescr": don't ignore repo if the repo name is a
supported arch name
2011-09-30 14:57:03 +02:00
3834263171
- fix building with "osc build $REPO $ARCH"
2011-09-30 14:26:58 +02:00
511ebf9d89
- don't say to download cpio (why just one package ?;)
2011-09-30 07:42:57 +02:00
c0618f3ede
- make osc build working on debian arm
2011-09-28 15:32:57 +02:00
da7445c192
- become curl compatible, switch to "PUT" method when using -T upload file parameter
2011-09-23 12:11:14 +02:00
Marcus Huewe
f98758e902
- config_set_option: set override_no_keyring and override_no_gnome_keyring to the current config defaults when calling "get_config"
2011-09-21 01:52:04 +02:00
Marcus Huewe
5707f2c6f4
- request_interactive_review: added support to accept/decline a specific review instead of all
2011-09-16 17:32:42 +02:00
d3dd8539d9
- fallback to "build --local-package" if it does not exist instead of complaining
2011-09-12 16:15:19 +02:00
Ruediger Meier
9c004acf34
- 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.
2011-09-11 17:13:32 +02:00
Marcus Huewe
27ca263d37
- do_revert: added note again which was removed in the previous commit (only affects the docstring)
2011-09-09 19:55:19 +02:00
Ruediger Meier
57329183d1
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
2011-09-09 19:53:40 +02:00
Marcus Huewe
5007751215
- do_revert: also revert added files by default
2011-09-09 17:37:01 +02:00
Marcus Huewe
6d1372c6f8
- get_prj_results: added '?' to legend
2011-09-07 18:33:07 +02:00
Marcus Huewe
30ba376302
- do_build: also consider "local_service_run" config option
2011-09-07 16:53:11 +02:00
Marcus Huewe
3683d9550d
- added "local_service_run" config option
...
can be used to permanently disable the local service run on commit
(default: enabled)
2011-09-07 15:19:54 +02:00
568612cedc
- drop hardcoded source validator executions
2011-09-07 13:55:05 +02:00
f80ce9c663
- do not fail on empty service parameter values
2011-08-29 17:06:12 +02:00
Marcus Huewe
d3b08ff0fb
- core.Project: yet another fix for the update method (handle deleted packages correctly)
2011-08-25 13:47:19 +02:00
Marcus Huewe
fc00d2621c
- core.Project: fixed update method
...
handle missing packages (state "!") more gracefully
2011-08-25 13:47:19 +02:00
da52ea1331
- fix crash on removal of local _service file
2011-08-24 12:06:34 +02:00
cdc21c6011
- yet another fix for old OBS instances
2011-08-23 16:03:58 +02:00
c140a1d975
- make osc working with OBS 2.1 again
2011-08-19 15:18:55 +02:00
Sascha Peilicke
097daf311b
Fix tests/test_repairwc.py, there's no 'urllib22' yet ;-)
2011-08-18 16:02:34 +02:00
Sascha Peilicke
3619f392a0
Reopening reviews only works for requests in state 'new' or 'review'
2011-08-18 16:02:34 +02:00
Sascha Peilicke
7acf236662
Honor PEP-8 in osc/conf.py. Includes moving all imports to the top (and
...
importing only once).
2011-08-18 16:02:34 +02:00
cf1bd2d5df
- support source services using OBS project or package name
2011-08-18 11:32:19 +02:00
Egbert Eich
db2e538efd
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>
2011-08-16 11:33:56 +02:00
Cristian Rodríguez
931d216ea0
Set the SSL client cipher list to only use very strong algorithms.
2011-08-16 11:33:56 +02:00
Michal Marek
c7e5819b7c
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>
2011-08-16 11:33:56 +02:00
Marcus Huewe
3be3b915bd
- fixed request_interactive_review
2011-08-15 17:06:04 +02:00
Marcus Huewe
2307cfc0b7
- coding style...
2011-08-11 23:11:15 +02:00
Marcus Huewe
7927b83c1c
- request_interactive_review: use request_diff
...
(old diff method is kept for backward compatibility)
2011-08-11 23:09:45 +02:00
Ludwig Nussel
f707e9a22e
fix pgp pubkey parsing
...
the base64 checksum must not be included in the key data. Newer rpm
don't like that.
2011-08-05 13:53:33 +02:00
Sascha Peilicke
e3f0821bd4
Fix commit 438569f821
2011-07-29 11:05:06 +02:00
Dirk Mueller
54c520da8e
fix link to pattern description
2011-07-27 15:22:40 +02:00
Sascha Peilicke
f072cfed15
Make sure that the description is really empty for new projects/packages
2011-07-20 19:34:46 +02:00
0ba9383e17
- checkout of entire project is skipping packages which links to project local packages by default.
2011-07-20 17:27:05 +02:00
1630792e21
- fix DISTURL help
2011-07-20 17:17:56 +02:00
82d9f9e695
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 9c016b8bf0
.
2011-07-20 12:03:44 +02:00
37f88a23b1
- log less on source service error in the hope that the service did proper logging already
2011-07-20 12:00:57 +02:00
Johannes Obermayr
9c016b8bf0
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).
2011-07-20 11:40:04 +02:00
dce5c8b4fc
- show created incident project
2011-07-19 18:05:32 +02:00
Marcus Huewe
af253d2eb2
- respect no_proxy env variable
2011-07-15 20:10:45 +02:00
182284ef49
Merge branch 'master' of gitorious.org:opensuse/osc
2011-07-13 15:47:57 +02:00
ee977eb8fc
- show also comment in request list
2011-07-13 15:47:38 +02:00
Sascha Peilicke
438569f821
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).
2011-07-08 16:09:44 +02:00
Sascha Peilicke
6676d530bc
Give some status output if request list was empty.
...
Either there where no requests or the project didn't exist.
Fixes bnc#543999
2011-07-08 15:11:17 +02:00
Sascha Peilicke
93f87c9838
Honor '-p' and '-P' parameters in request list command.
...
Fixes bnc#703586
2011-07-07 10:12:57 +02:00
4ea084761e
- do not print "Waiting" line on packages without defined services
2011-07-04 12:13:20 +02:00
caec4c2547
- detect also project wide only source services during commit
2011-07-04 12:05:47 +02:00
e6f631ebe8
- crash fix on maintenance incident creation with given project
2011-06-27 14:37:08 +02:00
Sascha Peilicke
0de8953952
Revert "Align --no-service commit command parameter to build command param"
...
This reverts commit d22b2a6523
.
We have not yet decided on how to best align the names of
service-related optional arguments.
2011-06-17 11:02:57 +02:00
Sascha Peilicke
d22b2a6523
Align --no-service commit command parameter to build command param
...
style.
2011-06-16 12:06:03 +02:00
881641d479
- do not run source services on local packages or offline builds, but warn about that
2011-06-15 14:17:33 +02:00
6344bcc616
- fix crash after commit when no serviceinfo element exists
2011-06-10 11:37:24 +02:00
eb6a42713d
- fix broken update after commit with service run
...
- fix up -S on unexpanded checkouts
2011-06-09 17:22:49 +02:00
Petr Uzel
95febe963b
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>
2011-06-08 14:59:12 +02:00
Marcus Huewe
b04550afc6
- getProjectGlobalServices: catch 400 instead of 404
...
otherwise it breaks older obs instances
2011-06-08 13:22:51 +02:00
Michal Čihař
c14f81c1f2
Fix spelling
2011-06-08 12:10:47 +02:00
a6716337f5
- add the --meta handling also to list, cat and less commands
2011-06-08 10:25:15 +02:00
8bc3f3a6d2
- open 0.133 developement
2011-06-07 16:46:26 +02:00
425fdec665
release 0.132
2011-06-07 16:39:46 +02:00
9d6da6700e
- fix error message
2011-06-06 14:43:01 +02:00
946ac03dae
- add 'requestbugownership' command for setting the bugowner via request
2011-06-01 09:50:30 +02:00
Ludwig Nussel
75e196875b
fix lines = None
2011-06-01 09:12:28 +02:00
Ludwig Nussel
14d9877838
avoid first line empty for commit message
2011-05-31 11:48:26 +02:00
Ludwig Nussel
651d66afab
add .changes diff to commit message again
2011-05-31 11:48:26 +02:00
Vincent Untz
3dca0702c5
osc pdiff ("parent diff")
2011-05-30 13:19:19 +02:00
21bb30325e
- do not search for requests, if one got specified via -s parameter
2011-05-26 17:13:06 +02:00
48fc059e0b
- fix changelog comments take over to commit log
2011-05-26 16:39:40 +02:00
d735377ad7
- do not fail on special packages with defined source services
2011-05-26 16:39:40 +02:00
Michal Čihař
e0b7f69fe6
Handle also errors which can sneak out of httplib
2011-05-26 11:54:14 +02:00
8dd0d9f8e3
- rdelte and undelete operate with history comment now
2011-05-26 10:21:14 +02:00
593acbb843
- run source services always verbose on "osc build"
2011-05-25 13:45:54 +02:00
48a8fa144f
- support for local defined source services during commit. Move old validation and trylocal source service run into commit function
2011-05-25 13:34:32 +02:00
c00751f4d7
- handle errors of source service runs
2011-05-24 10:49:08 +02:00
0a7492cdf8
- 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 :)
2011-05-23 20:43:35 +02:00
Michael Schroeder
19a9765065
- fix auth failure when converting from passx to pass
2011-05-23 17:14:48 +02:00
4caf868548
- requests in history can be also delete or maintenance requests
2011-05-23 17:01:28 +02:00
6c654b012f
- just for readability
2011-05-23 16:34:04 +02:00
22e4047005
- support the new source service file mode of OBS 2.3 Beta 2
2011-05-23 15:26:13 +02:00
3408f57078
- 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
2011-05-19 17:11:37 +02:00
Marcus Huewe
24cf2a607b
- server_diff_noex: fixed logic error (body is no Element)
2011-05-18 17:54:33 +02:00