Marcus Huewe
e662fd815b
- parse_repoarchdescr: improved yet another error message
2014-07-02 23:13:42 +02:00
Marcus Huewe
a8d0b948af
- parse_repoarchdescr: improved error messages a bit
...
Moved reading/writing of .osc/_build_repositories into the Repo class.
2014-07-02 22:07:01 +02:00
Dinar Valeev
ee15c4cb11
Add ppc64le to Debian arch map
...
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2014-06-25 15:05:17 +02:00
Marcus Huewe
cb9a5d5a17
- show_project_sourceinfo: quote package names
2014-06-24 23:05:38 +02:00
Marcus Huewe
0389a0343c
- renamed {show,get}_sourceinfo to {show,get}_project_sourceinfo
2014-06-23 10:58:20 +02:00
Marcus Huewe
d45b3e49c0
- get_sourceinfo: workaround for too long request uri (status code 414)
2014-06-23 09:51:49 +02:00
Marcus Huewe
2f8db7fea0
- speedup update of a project working copy
...
The new code tries to reduce the number of http requests for unchanged
packages (that is, packages that do not need an update).
In the worst case (the project wc's packages are unchanged and contain
services, for example), the new code needs #http requests of the old code + 1
http requests. But we can improve, once the "noservice" patch
(see http://lists.opensuse.org/opensuse-buildservice/2014-06/msg00067.html )
is merged.
Note: the semantics of the update process itself did not change.
2014-06-22 15:41:14 +02:00
Marcus Huewe
fdfbcdc6eb
- babysitter: catch URLGrabError exception
2014-06-08 22:32:35 +02:00
Marcus Huewe
a754164067
- use HTTPError.hdrs instead of HTTPError.headers
...
There are situations where a HTTPError instance has no headers
attribute.
2014-06-08 21:33:06 +02:00
Marcus Huewe
444a503bca
- fixed #89 ("osc commit fails with do_package_tracking = 0")
2014-06-04 16:17:06 +02:00
Marcus Huewe
fff6f3ddb1
Merge branch 'fix-bl-strip-time' of https://github.com/rudimeier/osc
2014-06-04 15:49:59 +02:00
Marcus Huewe
7efd6db501
- added support for a per apiurl "build-root" option
...
Resolution order:
OSC_BUILD_ROOT env var > apiurl build-root option > general build-root option
2014-06-04 15:33:30 +02:00
Marcus Huewe
e2abfe9e6a
- OscConfigParser: added "proper" parameter to the has_option method
...
This can be used to check if the option belongs to the section or is
just "inherited" from the defaults.
2014-06-04 15:29:50 +02:00
Ruediger Meier
7fc5936faf
core: fix, buildlog --strip-time failed to remove time
...
If a time field is not complete within the same read block
then it can't be found by time_regex in buildlog_strip_time().
Fixed by simply reading line by line. I couldn't measure any
performance difference neither for real nor user time. IMO no
need to optimize for more lines per data chunk. Maybe it's
even more fluent now for interactive users.
BTW we can safely simplify time_regex.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2014-05-23 09:19:07 +00:00
Ruediger Meier
1d7b954022
core: streamfile() can read line by line
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2014-05-23 09:17:01 +00:00
Ruediger Meier
6bb8ca437b
core: style, de-duplicate read() calls
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2014-05-23 09:10:48 +00:00
Marcus Huewe
a833120ebd
do_updatepacmetafromspec: added "updatepkgmetafromspec" alias
2014-05-22 13:01:44 +02:00
7f21679413
- do not forward requests if accept fails (issue 91)
2014-05-21 15:45:07 +02:00
92649d9172
- document 0.146 release
2014-05-19 15:58:15 +02:00
f29a1b6e79
- follow in test suite the old/new setlinkrev behaviour
2014-05-16 11:58:36 +02:00
c7222540e3
- restore default behaviour of setlinkrev command
...
The purpose of the default is to freeze the link
to the current version in the link target. It did
entirely drop the rev attribute which basically
unfreeze the link (same as -u).
2014-05-16 10:30:15 +02:00
Marcus Huewe
c873252d70
- do_build: do not suppress --download-api-only option
...
Or was there a particular reason for not displaying this option in
"osc build -h"?
2014-05-15 17:48:11 +02:00
Michael Ikey Doherty
450cf54240
Support --download-api-only in bash-completion
2014-05-15 17:48:11 +02:00
3e7f355a0a
- show errors when request change failed
2014-05-15 18:09:47 +02:00
Michael Schroeder
42c357336e
take epoch into account when calculating the filename
...
ArchLinux has the epoch in the canonname, Debian discusses doing
this as well.
2014-05-13 13:29:41 +02:00
f20b26007e
- fix another place of group handling for set_bugowner
2014-05-09 10:31:17 +02:00
Marcus Huewe
38fbe8fb11
- do_maintainer: introduced setBugownerHelper method
...
Do not swallow urllib2.HTTPError exceptions with code != 403
2014-05-08 16:07:42 +02:00
Marcus Huewe
87fc39fee4
- do_maintainer: do not set bugowner/create bugowner request action twice
2014-05-08 15:41:15 +02:00
Marcus Huewe
47af622031
- do_maintainer: fixed typo (that cause a TypeError)
2014-05-08 15:26:29 +02:00
Marcus Huewe
474dcf6843
- handle ImportError of a plugin more gracefully
...
See bnc#876538 for the details.
2014-05-06 18:51:12 +02:00
Michael Schroeder
5a65b06927
support installonly/noinstall tags for mock buildengine
2014-04-30 16:26:03 +02:00
Marcus Huewe
5e22cd3f4f
- do_submitrequest: use continue to start next loop iteration (instead of "next"...)
2014-04-28 15:09:29 +02:00
Marcus Huewe
c398cb344a
- fixed testsuite (and indention)
...
Broken by commit 0e3641610e
2014-04-16 15:56:59 +02:00
0e3641610e
support maintenance release request with acceptinfo data (OBS 2.6)
2014-04-16 15:47:58 +02:00
Marcus Huewe
91fa7c75bf
Merge branch 'master' of https://github.com/ikeydoherty/osc
2014-04-03 19:05:22 +02:00
Marcus Huewe
d6e6c0538e
- get "osc build --prefer-pkgs ..." working with Arch
2014-04-03 17:41:41 +02:00
Michael Ikey Doherty
5519938392
Support .kiwi files for bash-completion
...
This commit enables osc to provide completion for both .spec and .kiwi
files, and ensures no ugly "not found" messages are displayed in the
terminal due to globbing.
2014-04-03 12:06:47 +01:00
Marcus Huewe
0b7e49b648
- open 0.146 development
2014-04-03 09:32:21 +02:00
Marcus Huewe
2170abb612
- prepare 0.145.0 release
2014-04-03 09:31:51 +02:00
Marcus Huewe
6934e85a5b
- updated NEWS file (preparation for the upcoming 0.145 release)
2014-04-02 17:49:31 +02:00
Andreas Schwab
9ab3c5becc
print_buildlog: don't strip tabs
2014-03-15 22:27:33 +01:00
Marcus Huewe
d243241b1c
- added support for "osc requestmaintainership PROJECT" (if cwd is no package wc)
2014-03-12 16:41:46 +01:00
Marcus Huewe
c66a75018e
- do_submitrequest: consider the "--yes" option if the wc has local modifications
2014-03-12 10:50:46 +01:00
Marcus Huewe
8c506e5929
- fixed "osc -H ..." in combination with a proxy
2014-03-11 19:40:27 +01:00
Marcus Huewe
9034b27814
- fixed creation of ~/.osc_cookiejar
...
A "PyCFunction_Type" like os.open takes no keyword arguments.
2014-03-10 22:36:56 +01:00
Marcus Huewe
720c685868
- core.Package.commit: make sure a _meta is created for newly added packages
...
Fixed typo (introduced in commit 6469efb9ed
).
2014-03-06 10:25:30 +01:00
Marcus Huewe
6469efb9ed
- core.get_local_origin_project: added check for None
2014-03-06 09:56:13 +01:00
714de8519c
- support release --set-release option
2014-03-05 16:03:23 +01:00
46b8f2613f
- fix --no-checks description
2014-03-04 09:12:26 +01:00
Marcus Huewe
8b058b3a47
- do_setlinkrev, set_link_rev: fixed #72
...
Also refactored set_link_rev code a bit so that the new _set_link_rev
function could be used by link_pac in the future.
2014-03-03 22:44:30 +01:00