Dirk Müller
730630f06f
Use f-strings where possible
2024-05-07 21:52:32 +02:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
Stephan Kulow
f705a24db1
Only have one statement in a line E701
...
https://www.flake8rules.com/rules/E701.html
2022-02-18 13:42:57 +01:00
Stephan Kulow
e52dc6ce2b
Harmonize imports on using lxml for XML parsing
2022-02-18 11:16:01 +01:00
Stephan Kulow
8a7b65d505
Remove fake OBS in favor of using generated test data
2019-05-04 15:44:39 +02:00
Stephan Kulow
5f3dcca267
Fix OBSLock to always write full ISO format
...
If the microseconds are 0, isoformat won't output any, but our _parse
function expects them. python 3.7 has isoformat/fromisoformat, which
would fix it, but we can't take it atm
2019-05-04 15:44:39 +02:00
Stephan Kulow
24ae4ba819
Port more code to run under python3
...
(python2 compat kept)
2018-11-16 08:14:56 +01:00
Jimmy Berry
6069245350
Remove SUSE copyright, warranty, and license headers.
...
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.
Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
Stephan Kulow
0180de281a
Fix test cases
2018-06-15 13:16:46 +02:00
Jimmy Berry
3d7a7d487b
obslock: unlock other user lock if force.
2017-05-08 21:47:12 -05:00
Jimmy Berry
f4523078b4
osc-staging: skip lock for observation commands.
2017-05-08 19:39:15 -05:00
Jimmy Berry
1e511e9c85
obslock: delta.total_seconds() is more resilient than delta.seconds.
2017-05-03 20:38:09 -05:00
Jimmy Berry
73f0ed895f
obslock: cleanup hold logic and resolve inheriting an expired hold.
2017-05-03 20:37:03 -05:00
Jimmy Berry
b2058120e6
obslock: actually implement locked property.
2017-05-01 17:09:43 -05:00
Jimmy Berry
53a79f2c05
lock: provide command to place a multi-command hold on a project.
2017-05-01 17:09:16 -05:00
Jimmy Berry
77f79f9175
obslock: add reason to indicate what command is being run.
2017-05-01 16:45:35 -05:00
Jimmy Berry
7ceb58d814
obslock: include delta in message.
2017-04-06 17:37:55 -05:00
Alberto Planas
1bedd81065
action #6406 - staging locks: stepping on ones own foot.
2015-03-02 11:24:27 +01:00
Alberto Planas
c9d1e06ca8
Refactor configuration parameters into configuration file.
2015-02-19 11:39:05 +01:00
Alberto Planas
7fa1c06565
Rewrite DimStar work, using the OBSLock class.
2015-02-11 13:21:19 +01:00