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
99937100df
Allow intermixing positional and optional args
2022-08-26 16:11:16 +02:00
2588060628
Merge pull request #1120 from dmach/cookiejar-locking-for-better-signature-auth
...
Lock cookiejar to prevent unnecessary signature auth
2022-08-26 16:10:46 +02:00
a4a984ee14
Lock cookiejar to prevent unnecessary signature auth
...
This usually happens when a user runs multiple osc instances
from the command-line in parallel.
2022-08-25 15:39:26 +02:00
ed5def96ba
Remove deprecated 'plaintext_passwd' config option
2022-08-25 13:20:25 +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
20998385f3
Remove deprecated Request.get_creator()
2022-08-25 09:44:45 +02:00
8ca816755a
Merge pull request #1117 from dmach/setup.py-to-setup.cfg
...
Move python package metadata from setup.py to setup.cfg
2022-08-24 14:28:32 +02:00
4848b0f42a
Move __version__ from osc.core to osc
...
Fixes issues with circular module deps during tests
that caused that osc.core wasn't available
2022-08-24 09:53:26 +02:00
9cc4a5594f
Fix resource warnings (unclosed files)
2022-08-24 08:43:09 +02:00
a24c905f53
Fix 'osc up' on project level for scm packages
2022-08-24 08:24:12 +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
78374d2ca6
Merge pull request #1111 from dmach/do-not-list-declined-requests-by-default
...
Do not list declined requests by default
2022-08-23 08:28:42 +02:00
564c54b90d
Merge pull request #1110 from dmach/fix/git_version
...
git_version: Return version from the source code if there's no matching tag
2022-08-23 08:27:56 +02:00
ddec088efc
Replace imp with importlib
2022-08-22 15:45:25 +02:00
565797d5a7
Merge pull request #1113 from dmach/fix/cmdln-empty-docstring
...
Do not crash when do_* handler has no docstring
2022-08-22 15:21:41 +02:00
b306bf0b91
Convert defaults to their expected types
...
Fixes problems in reading conf values before the configuration
is fully initialized.
2022-08-22 15:08:49 +02:00
d2015d808b
Do not crash when do_* handler has no docstring
2022-08-22 13:41:08 +02:00
2892f1bb11
Do not list declined requests by default
2022-08-22 11:34:56 +02:00
8acad28cc0
git_version: Return version from the source code if there's no matching tag
2022-08-22 11:08:34 +02:00
d7ee98833c
Merge pull request #1105 from lethliel/add_version_command
...
add version command to print the used version
2022-08-22 09:16:47 +02:00
Frank Schreiner
6c7ad021c8
reset "file current position" on errors
...
If an error occurs while sending a file to the API (e.g. 401), the io handle
is reused and the current postion is at the end of the file. This results in an
empty value.
This patch takes care that the current file postion gets resetted
if a retransmission is required.
2022-08-18 12:06:06 +00: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
47b58ac350
Merge pull request #1095 from abitrolly/build-decsc
...
Reworded `build` help and added debug prints
2022-08-12 09:40:06 +02:00
4423a5d4a9
release 1.0.0b1
2022-08-04 16:19:59 +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