Marcus Huewe
dc32cde545
- do_request: also print comments when running "osc rq show <reqid>"
...
Fixes #171 .
2015-10-19 13:14:53 +02:00
4e83af8294
branch_pkg: fix use of undefined variable
2015-10-07 16:27:55 +02:00
Marcus Huewe
400352c61e
- do_branch: do not checkout server service files if "--checkout" is specified
...
Otherwise one has to checkout the expanded sources without the
server service files before doing a commit.
2015-10-03 22:24:58 +02:00
Marcus Huewe
cc3979cc7f
- do_maintenancerequest: fixed TypeError ("'NoneType' object is not iterable")
...
Broken since commit ba7e20bcd1
.
2015-09-24 18:25:22 +02:00
Marcus Huewe
070daecaf5
- build.Buildinfo: improved error formatting
...
Use the same formatting for an "unresolvable" error as in "osc results -v"
2015-09-23 18:29:51 +02:00
4342d9a6e1
Correction of grammatical errors
...
"exists" is a Python keyword, and wrong outside the 3rd person
singular in English.
2015-09-16 10:17:15 +02:00
5d6882e0e1
Collax support
2015-09-10 11:35:27 +02:00
Marcus Huewe
e697a70921
- Package.__get_files: check for broken files meta
...
Fixes #170 .
2015-09-07 19:28:56 +02:00
7bb0c4b730
fix extra parameters for manual release as wanted by api
2015-09-07 12:39:15 +02:00
0b34cb4567
- fix enable channel logic for given channel package
2015-09-04 11:10:20 +02:00
Marcus Huewe
c902d174d8
- conf.parse_apisrv_url: strip trailing slashes from the path
...
Since commit ca2f1a90c8
a section like
[https://api.opensuse.org/ ] was not associated with an
"apiurl=https://api.opensuse.org " entry anymore.
2015-08-20 14:45:02 +02:00
Ludwig Nussel
d534218421
fix exception
...
TypeError: can only concatenate list (not "tuple") to list
2015-08-17 17:36:45 +02:00
Oleg Girko
4d3fcd9dc1
Fix Python 3 support.
...
This change fixes errors when running test suite with Python 3.
Signed-off-by: Oleg Girko <ol@infoserver.lv>
2015-08-13 12:44:19 +01:00
Oleg Girko
c62c9f54a0
Add support for TLS SNI if M2Crypto supports it.
...
Currently osc can't access API URLs which share the same IP address
with other SSL-enabled sites, complaining about certificate
not matching hostname.
This change solves this problem by instructing M2Crypto.SSL.Connection
to send the desired hostname to https server using TLS SNI extension,
thus allowing the server to present the right certificate and choose
the right virtual site.
This is useful for those who can't afford to have a separate IP address
for OBS API.
For TLS SNI to work correctly, M2Crypto should be patched:
https://bugzilla.osafoundation.org/show_bug.cgi?id=13073
Some distributions (like Fedora) already include this patch.
For unpatched M2Crypto osc degrades to operation without TLS SNI.
Signed-off-by: Oleg Girko <ol@infoserver.lv>
2015-08-13 11:11:42 +01:00
a031dbd083
show review comments in an own line. Before they started in the same line, but reached on typical
...
screens anyway the second line if they had more than a few chars.
2015-08-13 08:07:34 +02:00
f9e54d0488
Merge pull request #145 from OlegGirko/api-fix-root-path
...
Add support for non-root paths in API URLs.
2015-08-13 07:52:35 +02:00
3b203e67a9
Merge pull request #148 from lnussel/master
...
allow force commit
2015-08-13 07:50:58 +02:00
7352a47930
Merge pull request #155 from arunpersaud/ET.parse_error
...
More meaningful error if ET.parse runs into problems. Fixes #153 .
2015-08-13 07:50:08 +02:00
f788fddb6c
Merge pull request #152 from jelly/xml_parse_error
...
When lxml fails to parse the _service file show error message instead of backtrace
2015-08-13 07:49:40 +02:00
Daniel Gollub
beb46cc012
Support prefer-pkg for live-build
2015-08-12 16:29:22 +02:00
ba7e20bcd1
- maintenance request offers to supersede old, but still open requests
...
bnc#940731
2015-08-07 10:17:40 +02:00
Marcus Huewe
7370950cab
Merge branch 'get_group-error-messagge' of https://github.com/DimStar77/osc
2015-08-06 15:12:48 +02:00
Marcus Huewe
0442cdf5f4
- improved a comment a bit
2015-08-06 14:23:45 +02:00
Marcus Huewe
3f6eaeaff9
Merge branch 'master' of https://github.com/b1-systems/osc
2015-08-06 14:21:39 +02:00
Marcus Huewe
da40039bbc
Merge branch 'master' of https://github.com/andreas-schwab/osc
2015-08-06 13:58:49 +02:00
0e32b71491
core: fix get_group error message
2015-08-06 12:52:34 +02:00
Marcus Huewe
e435a84440
- made "osc rq <prj> <pkg>" output more precise, in case of no results
2015-08-04 12:51:45 +02:00
Stefan Seyfried
0360381087
fix an "400 Bad Request" when running against old API
...
Updating a whole project against an old API server (experienced with
2.3.5) leads to:
Server returned an error: HTTP Error 400: Bad Request
unknown parameter 'nofilename'
So just retry without nofilename if an 400 is thrown.
2015-07-29 14:30:47 +02:00
f7cfe4cdc8
- fix search of requests "I" created. fixes obs#1002
...
This is using the request collection api call now instead of xpath query.
More searches should be adapted similar most likely.
"osc my sr" is not a good name for this since it is not limited to
submit actions. But "osc my rq" is used for incoming requests.
2015-07-29 11:05:05 +02:00
083f23f77b
support new package instances on branching when using -N parameter
2015-07-21 13:03:07 +02:00
71297e31f4
Don't use gmtime for a time difference
...
The gmtime function is intended to be used for calendar time.
2015-07-21 11:45:35 +02:00
7896937f50
Remove use of %Z with gmtime
...
%Z doesn't make sense for a time returned by gmtime.
2015-07-21 11:45:35 +02:00
d5b0d8fe52
print_jobhistory: Remove unused variables
2015-07-21 11:45:35 +02:00
Marcus Huewe
e9d7ac9c82
- do_addchannels: handle wrong args more gracefully
2015-07-15 20:46:38 +02:00
Marcus Huewe
0daec6a5f1
- do_addchannels: cleanup and beautify
...
No changes w.r.t. to semantics.
2015-07-15 20:43:09 +02:00
Marcus Huewe
8d10a3f76f
- removed debug output
...
Introduced in commit 76023d5643
.
2015-07-15 20:01:32 +02:00
569efcace8
- make the enablechannels command also working for entire project
2015-07-15 15:22:26 +02:00
76023d5643
add "addchannels" and "enablechannel" commands
2015-07-14 16:03:35 +02:00
Marcus Huewe
fa4f24f06b
- RpmQuery.rpmvercmp: support tilde ('~')
2015-07-03 14:22:00 +02:00
Daniel Gollub
64838ffd51
Support native Debian packages in pkg-prefer
...
fixes #158
2015-07-02 15:08:39 +02:00
cf9d65b09d
- do not hide api side error message
2015-07-01 09:47:53 +02:00
f59b60e206
- release 0.152.0
2015-06-30 15:34:32 +02:00
381071a332
support maintenance_release requests with acceptinfo data (OBS 2.7)
2015-06-30 14:29:18 +02:00
Marcus Huewe
cbdc1389db
- do_repourls: do not hardcode the download_url
...
Instead ask the api for the download_url configuration element.
2015-06-29 23:59:59 +02:00
Marcus Huewe
a80b286ac9
- fixed #147
...
Introduced new PackageQueryResult class and adapted existing
modules accordingly.
2015-06-23 17:52:37 +02:00
Marcus Huewe
84ba8c6e17
- fixed fullfilename calculation in the Pac class
...
Now, the fullfilename is calculated using the canonname of a
bdep instead of using the bdep's binary attribute (the canonname
and binary attribute can differ (e.g. ConsoleKit-64bit-0.4.6-3.2.ppc.rpm
vs. ::import::ppc64::ConsoleKit-64bit-0.4.6-3.2.ppc.rpm))
2015-06-16 17:37:40 +02:00
10aa2203bb
- support target package in accepted maintenance_incident
2015-06-11 12:41:22 +02:00
caef99c3d9
- allow diffing of maintenance requests
2015-06-11 11:05:08 +02:00
e052839027
- support acceptinfo in maintenance_incident requests
2015-06-11 10:24:24 +02:00
1509db3ff1
- allow to use "osc chroot" also with lxc build-type
2015-06-09 17:26:57 +02:00