lethliel
62043bd385
move missing pb module logic to meter.py
2019-01-08 18:13:51 +01:00
Marco Strigl
4a28448e14
warn user if python-progressbar is not installed
...
For get_binaries:
move the generation of the progress_obj to commandline.py
and warn the user that python-progressbar is not installed
instead of crashing.
2019-01-08 13:52:00 +01:00
0190177c81
Don't crash if can_also_build does not contain hostarch
2019-01-07 14:32:46 +01:00
lethliel
d39aa59918
get_group_meta and get_user_meta with original behavior.
2018-12-13 14:26:11 +01:00
lethliel
6db194aee0
fix osc results --xml
2018-11-06 17:24:03 +01:00
lethliel
0f0c12cb55
enable python3 support for osc prjresult --xml
2018-11-06 17:16:47 +01:00
429df0dc70
Add --watch for osc prjresults --xml
...
Like: osc results --watch
2018-11-06 17:07:36 +01:00
060f3464d9
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-11-06 09:23:12 +01:00
bfd832b5b0
Fix help for osc token
2018-11-06 09:22:44 +01:00
Marco Strigl
8422ff7157
add --alternative-project option to buildinfo
...
to be consistent with osc build
2018-11-06 09:22:19 +01:00
lethliel
df755b9595
switched to central decode function
...
* util/helper.py
- new decode_it function. Takes obj and checks if
it is not a str. The it tries to guess the encoding
based on the module chardet
* all other modules:
- switched from var.decode('utf-8') to decode_it(var) if
possible
2018-11-05 14:47:32 +01:00
lethliel
6d9be9862c
reworked replacement of urlgrabber
...
to be in sync with osc/master
2018-11-02 10:21:08 +01:00
1be86884de
add support for approved requests (requires OBS 2.10)
2018-10-18 15:27:54 +02:00
lethliel
2d1295ba1b
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 15:24:05 +02:00
65ca4b1054
support checkconstraints command without local checkout
2018-10-17 10:16:42 +02:00
Johannes Kastl
e5e9860b7b
change keep-link description to make it easier to understand
2018-10-17 10:15:54 +02:00
Marcus Huewe
27dbe35503
Refactor the do_vc code a bit
...
No functional changes.
2018-10-17 10:14:18 +02:00
d0a6842664
Clarify use of osc token
...
Clarify the fact that the parameters of osc token -t and osc token -d are
of different types.
2018-10-17 10:12:33 +02:00
2a9ce7d504
Export a real name for vc to consume
2018-10-17 10:11:16 +02:00
1af3467917
fix DISTURL checkout for package containers using a multibuild flavor
2018-10-17 10:09:32 +02:00
jonsger
d952b8965e
Fix typo in "osc revert" help
2018-10-17 10:06:51 +02:00
e0589e83a3
fix some commands when used with / syntax between arguments
2018-10-17 10:05:39 +02:00
a64c188e16
- support "addcontainers" command
2018-10-17 10:05:09 +02:00
lethliel
11e51b417d
fix order of options valdiation. Now -P and -p is
...
honored if given by user.
2018-10-17 09:55:54 +02:00
deac6b00f7
add new options to diff command:
...
--unexpand for local diffs only (bsc#1089025)
--meta for diffing meta files
2018-10-17 09:55:39 +02:00
lethliel
2b778f555d
fix getbinaries with DOD binaries
...
getbinaries of dod binaries do not have a size or mtime.
This will break. So just set to None and print unkown instead.
2018-10-16 20:54:53 +02:00
lethliel
e7f979d4ea
change output when creating binaries directory
...
was:
Creating binaries
is now:
Creating directory "binaries"
2018-10-16 20:53:41 +02:00
lethliel
d8751be732
decode diff in osc rq show -d before printing it
2018-06-05 14:48:41 +02:00
lethliel
a6627de8d3
fixed osc less <path>
2018-04-26 15:49:09 +02:00
lethliel
89a181264c
fixed osc branch with different srcprj or srcpkg
2018-04-23 12:40:57 +02:00
lethliel
3760a07b50
fixed osc ls with _link file
2018-03-26 15:06:02 +02:00
lethliel
d438091ea2
fix osc diff -r1:2. Decode diff on output
...
remove debug print statement
2018-03-22 12:48:10 +01:00
lethliel
d07d6b9b22
fix osc sr using message from changes file
2018-03-13 15:42:00 +01:00
lethliel
3da603bf49
fix request-uri-too-long error on large updates
...
fix osc pull
fix osc ci with orgproj
2018-03-09 11:52:56 +01:00
lethliel
d846a6cf1f
support python 2.6
2018-03-08 15:19:11 +01:00
lethliel
863cf0e62b
fixed osc vc if no changes file is present
2018-03-08 12:02:20 +01:00
lethliel
17afaa9f85
fix osc api, osc build with local packaes,
...
fix try parent object in fetch.py
2018-03-07 13:28:04 +01:00
lethliel
c174da4174
fix commands: search, signkey, token, vc,
...
workerinfo
2018-03-05 15:15:51 +01:00
lethliel
fb784d315c
fix commands: request, rpmlintlog
2018-03-05 14:47:03 +01:00
lethliel
453c3324cb
fix commands: jobhistory, lock, maintainer, meta
...
prjresults, repourls
2018-03-05 14:07:26 +01:00
lethliel
1f4eab933c
fixed commands
...
checkconstrains, copypac, distributions
2018-03-05 10:35:38 +01:00
lethliel
3cfb9d8a78
fix commands: buildinfo, buildlog
2018-03-02 13:25:19 +01:00
lethliel
3203e89d87
fix commands: buildconfig, buildhistory
2018-03-02 11:41:51 +01:00
lethliel
e1c42f1317
fix commands: cat, diff, ci, status
2018-03-02 11:33:20 +01:00
lethliel
a0cf567b0f
more ''.join(m) fixes
...
fix prdiff_output
2018-02-28 09:36:40 +01:00
Marco Strigl
21af7828df
Merge pull request #387 from lethliel/replace_urlgrabber
...
[python3] replace urlgrabber
2018-02-27 15:09:56 +01:00
lethliel
40ce84067e
revised modules:
...
- simplified TextMeter/pb usage
- fixed header in meter.py
- delted unused vars in function calls
- get rid of most MGErrors
- do not check for file:// in grabber.py
2018-02-27 10:37:16 +01:00
lethliel
c629b9978a
reworked based on talk with Marcus:
...
* renamed mirror.py to grabber.py
* moved OscFileGraber Class to grabber.py
* in OscMirrorGroup we now use a OscFileGrabber class
* moved progressbar handling in own module (meter.py)
* simplified MGError
2018-02-21 17:04:59 +01:00
Björn Geuken
030c2a41f8
Fix typo in example for osc search
2018-02-18 21:27:22 +01:00
lethliel
4fd7c5b55c
reworked urlgrabber replacement.
...
* removed meter.py (not needed anymore. We now use
progressbar2
* removed last urlgrabber fragments
* use progressbar2 as a replacement for UrlGrabber.ProgressBar
* use streamfile in combination with progressbar to download files
2018-02-14 15:17:21 +01:00