lethliel
36ab05c222
[python3] setup.py now supports python3
2018-12-13 13:15:31 +01:00
Marco Strigl
7bd9ca485d
Merge pull request #476 from fridrich/master
...
Do not choke on operators < and > in spec files
2018-11-28 13:56:55 +01:00
Fridrich Štrba
89cef1f8c1
Do not choke on operators < and > in spec files
2018-11-28 10:55:17 +01:00
74ed6a5b9a
report status as outdated if the scheduler can not re-evaluated the
...
repository because it needs to wait for other repos first
2018-11-26 16:42:17 +01:00
Marcus Huewe
28fdb9e991
Merge branch 'fix_issue_471' of https://github.com/lethliel/osc
...
Fix pubkey handling. This a follow-up fix for commit
65b053abb3
("replace urlgrabber to
enable python3 compatibility").
2018-11-20 21:18:13 +01:00
lethliel
2c905ad94f
do not add key to buildinfo if not existent
...
fixes issue: https://github.com/openSUSE/osc/issues/471
Add the key_path only to buildinfo(bi) if it exists (not try_parent)
2018-11-20 20:41:03 +01:00
Marcus Huewe
143d8cc64f
Merge branch 'python3_test_prepare_tests' of https://github.com/lethliel/osc
...
Use io.BytesIO in the tests.common module (preparation for python3).
For now, the python3 travis runs got disabled as well (will be enabled,
once the python3 migration is done).
2018-11-13 16:50:13 +01:00
lethliel
39ae30bcc2
change to open() with 'rb' to get bytes in python3
...
With this change you get bytes with python3 and string in python2
disable travis tests for python 3.x until the full python3 branch
is merged. Otherwise the tests will fail and master isn't python3
ready anyways
2018-11-13 15:56:05 +01:00
Marcus Huewe
aa88b6b795
Merge branch 'prjresults-watch' of https://github.com/JanZerebecki/osc
...
Add "--watch" option to "osc prjresults" ("--watch" can only be used
in combination with "--xml").
2018-11-06 16:44:50 +01:00
5e03ffcec9
Add --watch for osc prjresults --xml
...
Like: osc results --watch
2018-11-06 15:13:08 +01:00
Marcus Huewe
07b6b41154
Merge branch 'fix_OscMirrorGroup_bug_with_network_not_reachable' of https://github.com/lethliel/osc
...
Catch URLError and remove superfluous counter in OscMirrorGroup.urlgrab.
2018-11-06 15:05:25 +01:00
Marcus Huewe
ffda882979
Merge branch 'OscConfigParser_python3' of https://github.com/lethliel/osc
...
Remove explicit StopIteration exception (preparation for python3).
2018-11-06 15:04:10 +01:00
lethliel
a65606cbfe
fix broken URLError handling in OscMirrorGroup.urlgrab()
...
If urlgrab returns a URLError (for example if the Network is unreachable)
the for loop did not continue and the osc build aborts.
Now we also catch the URLError and try the next mirror and return False
correctly if no mirror could be reached. And then try to download it from
api
2018-11-06 13:29:17 +01:00
Luca Weiss
f5938348db
Fix Python 3.7 support
...
See PEP 479
2018-11-06 10:35:38 +01:00
a5e967efb3
Test osc results and prjresults
2018-11-05 23:54:11 +01:00
Marcus Huewe
e5478e2ff6
Merge branch 'release-no-delay' of https://github.com/JanZerebecki/osc
...
Add --no-delay option to the "osc release" command.
2018-11-01 20:07:57 +01:00
Marcus Huewe
d5dd5708d5
Merge branch 'add_alternative_project_to_buildinfo' of https://github.com/lethliel/osc
...
Add --alternative-project option to the "osc buildinfo" command.
2018-11-01 20:04:04 +01:00
Marcus Huewe
ad1450a1f7
Remove superfluous error message
...
Printing something like "Error 404" might be a bit confusing for
the users.
2018-11-01 19:55:52 +01:00
Marcus Huewe
bec52a7917
Merge branch 'python3_prep' of https://github.com/lethliel/osc
...
Get rid of the urlgrabber dependency. The current implementation of the
progress bar is quite "noisy" if the line length exceeds the size of
the terminal window, but that's something we could fix later. (The
superfluous error message will be fixed in a subsequent commit.)
2018-11-01 19:55:07 +01:00
fb80026651
Add --no-delay for osc release
...
This is useful so one can wait with a following osc prjresult until
everything done. Without this one can not know if a release job hasn't
started yet or is already finished.
2018-10-31 03:45:17 +01:00
Marco Strigl
00a0c1ce5a
Merge pull request #457 from andreas-schwab/master
...
Fix help for osc token
2018-10-25 10:32:07 +02:00
1fab61c875
Fix help for osc token
2018-10-25 10:20:16 +02:00
Marco Strigl
92d15b2d95
add --alternative-project option to buildinfo
...
to be consistent with osc build
2018-10-23 20:27:43 +02:00
lethliel
65b053abb3
replace urlgrabber to enable python3 compatibility
...
- new module grabber.py
* OscMirrorGroup to keep urlgrabber.mirrorgroup behavior
* OscFileGrabber moved here
- meter.py
* reworked to use progressbar module instead of progressbar
of urlgrabber and simplified the module.
- babysitter.py
* removed URLGrabErrorr
- build.py
* removed adding of url_local to urllist. (not needed anymore)
* removed URLGrabError
- commandline.py
* switched from urlgrabber.urlgrab to OscFileGrabber().urlgrab
- core.py
* reworked progressbar behavior
- fetch.py
* removed join_url (not needed anymore)
* moved OscFileGrabber to grabber.py
* removed failureReport (not needed anymore)
2018-10-19 09:31:37 +02:00
Marcus Huewe
f12c7747d0
Merge branch 'approver' of https://github.com/adrianschroeter/osc
...
Introduce "osc request approval..." and "osc request cancelapproval"
commands.
2018-10-18 15:23:06 +02:00
e1fd0b4ee9
add support for approved requests (requires OBS 2.10)
2018-10-18 13:26:39 +02:00
Marcus Huewe
25014c326f
Merge branch 'fix_413_get_deleted_sources' of https://github.com/lethliel/osc
...
Introduce --deleted option to "osc co" for checking out the files of
a deleted package (no package wc is established).
2018-10-18 12:59:55 +02:00
lethliel
0123bb71db
fixes 413 checkout deleted package
...
* altered command do_checkout
new option -D | --deleted. Can only be used with PACKAGE and needs
-o to work
* what happens:
core function checkout_deleted_package fetches the file list of the deleted
package and saves it to given destdir. If destdir is not existent it
creates the destination directory. Otherwise the files will be written
in the existing directory.
2018-10-18 08:59:05 +02:00
Marcus Huewe
d83bf74984
Merge branch 'unclear_error_message' of https://github.com/lethliel/osc
...
Improve error message in rpmquery.py
2018-10-15 22:18:37 +02:00
lethliel
9ffe9b9288
improve error message if file is not a valid rpm
...
The current error message is quite confusing and nobody knows what
"invalid lead magic" means.
2018-10-09 10:16:27 +02:00
Marcus Huewe
5572e4c3c1
Merge branch 'checkconstraints' of https://github.com/adrianschroeter/osc
...
Adds a context-insensitive variant of the checkconstraints command.
2018-10-05 13:08:00 +02:00
c5ec3ce807
support checkconstraints command without local checkout
2018-10-02 10:45:38 +02:00
Marcus Huewe
0be37ef29d
Merge branch 'Kastl_copypac_keeplink_description' of https://github.com/johanneskastl/osc
...
Improve the --keeplink documentation ("copypac" command).
2018-09-17 21:09:24 +02:00
Johannes Kastl
ba66a0bc1d
change keep-link description to make it easier to understand
2018-09-17 20:50:27 +02:00
Marco Strigl
48e71b0255
Merge pull request #438 from andreas-schwab/token
...
Clarify use of osc token
2018-08-31 11:16:04 +02:00
Marcus Huewe
f1c31561cb
Merge branch 'clean_xpath' of https://github.com/lethliel/osc
...
Let's get rid of this old cruft.
2018-08-30 14:13:00 +02:00
153032bc11
fix local multibuild flavor support when package does not exist ('_repository' case)
2018-08-22 11:20:40 +02:00
ae2656b415
open 0.164 development
2018-08-21 10:34:53 +02:00
d82b30636f
release 0.163.0
2018-08-20 13:19:29 +02:00
Marcus Huewe
86e5757832
Refactor the do_vc code a bit
...
No functional changes.
2018-08-17 22:45:28 +02:00
Marcus Huewe
820c3adc71
Consider the "realname" config option in apiurl sections
...
This is a follow up fix for commit ef13d67
("Export a real name
for vc to consume").
2018-08-17 22:45:17 +02:00
Marcus Huewe
6233f8bf0b
Merge branch 'moreuserinfoforvc' of https://github.com/Conan-Kudo/osc
...
Adds support for full author identities in changes files (see also
https://github.com/openSUSE/obs-build/pull/214 ).
2018-08-17 21:14:30 +02:00
2566d6aa73
add podman build support
2018-08-14 13:02:16 +02:00
Andreas Schwab
4eae5d9a45
Clarify use of osc token
...
Clarify the fact that the parameters of osc token -t and osc token -d are
of different types.
2018-08-12 13:36:24 +02:00
lethliel
69983249ef
cleanup xpath. submit/* is ignored by the API since 2012
2018-08-07 11:53:49 +02:00
ef13d67208
Export a real name for vc to consume
2018-08-01 09:43:14 -04:00
Marcus Huewe
bc57f89e9e
Merge branch 'fix_indent_for_python3' of https://github.com/lethliel/osc
...
Fixes a single indentation.
2018-07-06 10:29:34 +02:00
lethliel
779b66f3c3
fixed indentation of return[].
...
It works in python2, but will break in python3
2018-07-06 09:54:59 +02:00
4cc87b2c57
fix DISTURL checkout for package containers using a multibuild flavor
2018-06-27 10:25:45 +02:00
Marcus Huewe
8728a071ca
Merge branch 'support-larger-ids' of https://github.com/Cray/osc
...
Since uid_t/gid_t are system dependent there is no reason to enforce
an "arbitrary" upper bound.
2018-06-26 09:12:13 +02:00