1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-10-04 08:39:19 +02:00
Commit Graph

1349 Commits

Author SHA1 Message Date
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
lethliel
d39aa59918 get_group_meta and get_user_meta with original behavior. 2018-12-13 14:26:11 +01:00
c49f8e4ad8 report status as outdated if the scheduler can not re-evaluated the
repository because it needs to wait for other repos first
2018-12-12 15:05:00 +01:00
Marco Strigl
0b2cbf6b26 switched version to 1.000 2018-11-15 09:35:20 +01:00
429df0dc70 Add --watch for osc prjresults --xml
Like: osc results --watch
2018-11-06 17:07:36 +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
eca6b92443 fixed build --with / --without / --define
and added a 'return obj' to the decode_it function
if obj is already a string.
2018-10-30 14:40:51 +01:00
lethliel
f563d354bc fixed osc rdiff of unknown package 2018-10-24 15:27:47 +02: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
lethliel
f9c9c86c71 added general decode_it function
First it tries chardet and after that it tries the locale
2018-10-17 16:31:41 +02:00
lethliel
59b7374bbf fix osc bl with umlaute 2018-10-17 16:12:23 +02:00
lethliel
83948a2b0a fix osc bl 2018-10-17 15:27:22 +02:00
lethliel
c070dc3d78 fix missing decoding if output is piped to a non tty 2018-10-17 14:32:27 +02:00
e98d67cbcf open 0.164 development 2018-10-17 10:14:58 +02:00
62af1f5336 release 0.163.0 2018-10-17 10:14:41 +02:00
lethliel
bc9ad6fe15 cleanup xpath. submit/* is ignored by the API since 2012 2018-10-17 10:12:10 +02:00
Marcus Huewe
e86d8ac188 Show diff when creating a new comment (interactive_review)
Note that the diff is only shown, if it was requested before (that is
the "i" command was issued). The new behavior is consistent with the
other commands like "a", "d" etc.
2018-10-17 10:04:29 +02:00
lethliel
13acdea010 fix missing newline in osc r -v
This adds a newline after unresolvable:. So the
messages are now well printed.
2018-10-17 10:03:06 +02:00
lethliel
c693198e46 fixed IncompleteRead(0) error on long builds.
catch IncompleteRead() and retry until retry_counter is
reached. Then re-raise IncompleteRead()
2018-10-17 10:01:13 +02:00
lethliel
a9fc04d996 fix set maintainer (fixes issue #452) 2018-10-17 09:43:17 +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
16bcfd65a9 fix crash on empty input list / meta files 2018-08-28 15:31:06 +02:00
Luca Weiss
f8e0e2a7e0 Fix osc add
hashlib wants bytes, ET.tostring produces a string and not bytes
2018-04-20 08:34:39 +02:00
lethliel
b38af807fc fix osc log (request is shown as bytes string)
b'rqxxxxxx' -> rqxxxxxx
2018-04-16 13:47:20 +02:00
lethliel
8a48813d8d fixed IncompleteRead(0) error on long builds.
sstatus object is introduced, which holds the state
of the stream. If an incompleteRead is thrown the stream
is restarted as long as retry_count is not reached (3)
2018-04-16 13:36:59 +02:00
lethliel
4ee2e34d5f fix commit with editors != vim 2018-04-09 12:26:11 +02:00
lethliel
e07332ac7f fix osc lb -s and osc lbl -s 2018-03-26 14:42:23 +02:00
lethliel
73fa448528 fixed osc bl -s 2018-03-26 13:41:50 +02:00
lethliel
8f12e5b3ef add decode_list helper function to decode a list
with unknown elems. If a elem is not of type str
it gets decoded (we assume it is bytes then)
2018-03-21 15:09:03 +01:00
lethliel
86e236e1cd fix osc log with requests 2018-03-09 14:41:36 +01:00
lethliel
59584f0c00 fix edit_meta() again 2018-03-09 14:38:41 +01:00
lethliel
e1cb2dcc22 fix osc ci (creating package from working copy fails) 2018-03-09 13:58:21 +01:00
lethliel
132d04f146 fix osc metafromspec 2018-03-09 13:34:34 +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
3e93d6fc8c fix creation of new meta files 2018-03-08 15:24:57 +01:00
lethliel
d846a6cf1f support python 2.6 2018-03-08 15:19:11 +01:00
lethliel
aa7666e691 fix show_devel_project() 2018-03-08 15:09:44 +01:00
lethliel
ae608d45ce fix accecpt and decline after diff (osc rq) 2018-03-07 15:04:07 +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
52da9ae6aa fix importsrcpkg
functions isrpm() and issrcrpm()
2018-03-05 10:47:18 +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
lethliel
4399316483 - fix testsuite for python2/3
- fix another meta = ''.join(meta)
2018-02-28 09:08:45 +01:00