c011fffa02
Fix 'osc workerinfo' command
2022-09-20 10:03:21 +02:00
553bbf7b7d
Fix 'osc rremove' command
2022-09-20 10:03:13 +02:00
2d14d0d1ec
Fix 'osc lock' command
2022-09-20 10:03:02 +02:00
84138fb41f
Fix 'osc init' command
2022-09-20 10:02:48 +02:00
6629da6fc6
Improve 'api' command argparse handling
2022-09-20 10:01:28 +02:00
5761d6bbf7
Add information about osc vc using the EDITOR envar to the help output
...
While for some developers/veteran Linux users this might be obvious,
many people will probably find it hard to know why osc vc is using
editor X instead of Y though.
2022-09-15 23:01:53 -03:00
824c324dd5
Replace 'if not <cond> is None' with 'if <cond> is not None'
2022-09-12 14:23:47 +02:00
7e67269b74
Replace 'if not <cond> in ...' with 'if <cond> not in ...'
2022-09-12 14:15:34 +02:00
fe59986e1c
Run autopep8 to fix whitespace issues
2022-09-12 13:45:19 +02:00
b511be20ff
Always import at the toplevel
2022-09-12 13:45:19 +02:00
6d891d7488
Remove superfluous parens
2022-09-12 13:45:19 +02:00
ee39653dc7
Fix indentation
2022-09-09 09:33:51 +02:00
beaf312eee
Use implicit booleaness instead of len() to test if iterables are empty
2022-09-09 09:33:51 +02:00
ff63226c2f
Properly test for None
2022-09-09 09:33:51 +02:00
a362edee5e
Handle conflicting options manually because the mutually exclusive group is buggy
2022-08-26 17:10:24 +02:00
3763bff901
Remove the '-A' option from the 'maintainer' command
...
It conflicts with the global '-A/--apiurl' option.
Use the long '--all' version from now on.
2022-08-26 17:04:56 +02:00
98b76d14b6
Replace the '-q/--hide-legend' option in 'prjresults' command with global '-q/--quiet' option
2022-08-26 17:04:41 +02:00
b5491911ea
Add global options to subcommands so they can be specified in any place
2022-08-26 16:23:48 +02:00
41ceb4b5f8
Remove deprecated 'GnomeKeyringCredentialsManager' and related code
2022-08-25 13:20:25 +02:00
ed49664d3e
Remove deprecated '--skip-validation' option from the 'commit' command
2022-08-25 13:06:58 +02:00
364a945440
Remove deprecated '--oldpkg', '--oldprj' options from the 'rdiff' command
2022-08-25 13:06:48 +02:00
dc22af0183
Remove deprecated subcommands 'create', 'list', 'log', 'show', 'decline', 'accept', 'delete', 'revoke' from the 'submitrequest' command
2022-08-25 10:01:36 +02:00
28c898a2cb
Remove deprecated '--seperate-requests' option from the 'submitrequest' command
2022-08-25 09:57:42 +02:00
47d4aa1eda
Remove deprecated '--raw' option from the 'develproject' command
2022-08-25 09:56:36 +02:00
cd66d2ab19
Remove deprecated '--maintained' option from the 'search' command
2022-08-25 09:50:42 +02:00
ee93af6d5f
Remove deprecated 'rlog' command
2022-08-25 09:48:31 +02:00
c7df2a154b
Remove deprecated 'rprjresults' command
2022-08-25 09:48:13 +02:00
7c282e80e9
Remove deprecated 'rresults' command
2022-08-25 09:47:49 +02:00
81d8c821d1
Remove deprecated 'results_meta' command
2022-08-25 09:47:26 +02:00
bfcdba8b4d
Remove deprecated 'deleteprj' command
2022-08-25 09:46:54 +02:00
9ca0a5122e
Remove deprecated 'deletepac' command
2022-08-25 09:46:35 +02:00
59e697e61e
Remove deprecated 'editmeta' command
2022-08-25 09:46:08 +02:00
9cc4a5594f
Fix resource warnings (unclosed files)
2022-08-24 08:43:09 +02:00
31b804eeec
Merge pull request #1114 from dmach/replace-imp-with-importlib
...
Replace imp with importlib
2022-08-23 08:29:34 +02:00
ddec088efc
Replace imp with importlib
2022-08-22 15:45:25 +02:00
2892f1bb11
Do not list declined requests by default
2022-08-22 11:34:56 +02:00
lethliel
4b2bfb0b80
add version command to print the used version
2022-08-17 22:21:02 +02:00
6cb7412749
Remove duplicated --debug and --verbose options
...
Additional changes:
* rename getbinaries --debug to --debuginfo to avoid conflicts
* switch conf['verbose'] from int to bool
The changes were needed because the new argparser behaves differently
and commands such as `osc ls` ran in verbose mode by default.
2022-08-12 10:06:00 +02:00
84c97ab625
Fix crash caused by concatenating bytes with string
2022-08-12 10:06:00 +02:00
be8a5268a8
Replace unmaintained cmdln.py with a custom code
...
Cmdln.py is unmaintained for years and uses deprecated optparse.
Let's replace it with a simpler custom code. Also remove code
that generates man page, we'll replace it with a 3rd party tool.
2022-08-12 10:05:59 +02:00
e469c2c184
Merge pull request #1041 from AdamMajer/master
...
Add support for project separator
2022-08-12 10:03:23 +02:00
Anatoli Babenia
0036aa931e
Print debug messages to stderr
2022-08-04 17:12:57 +03:00
Anatoli Babenia
988f19f9ce
Document build
repo selection logic
2022-08-03 13:36:31 +03:00
Anatoli Babenia
0660c14a62
Add debug print for REPO (and desc just in case)
2022-08-03 10:40:29 +03:00
Anatoli Babenia
0b6039025f
Shortened build
help and add debug prints
...
Debug prints are needed for troubleshooting ARCH selection problem in
https://github.com/openSUSE/osc/pull/241#issuecomment-1203463612
2022-08-03 08:36:51 +03:00
Anatoli Babenia
d9bc6d1c12
Remove unused code for discontinued distributions
2022-08-02 14:47:56 +03:00
Anatoli Babenia
5751222bd0
Remove extra line from the end of osc dists
output
2022-08-02 14:45:23 +03:00
Anatoli Babenia
4d6a6aaf96
Move output formatting from core
into commandline
...
This makes `get_distributions()` return list of dicts.
2022-08-02 14:45:23 +03:00
Anatoli Babenia
10a156d4ca
Fix spelling mistake in get_distributions
method name
2022-08-02 14:45:23 +03:00
Anatoli Babenia
560e556d36
Do not ask for login for -h,--help
2022-07-29 18:59:25 +03:00