1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +01:00
Commit Graph

4040 Commits

Author SHA1 Message Date
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
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
6c07e5097d
Merge pull request #1115 from dmach/fix/1096-scmurl-osc-up
Fix 'osc up' on project level for scm packages
2022-08-24 14:27:31 +02:00
f1794d8b57
Merge pull request #1116 from dcermak/add-ssh-keygen-to-recommends
Add ssh-keygen as a recommends for ssh MFA authentication
2022-08-24 11:27:08 +02:00
94a8bc88a4 GHA: Add pip install test 2022-08-24 10:31:22 +02:00
f480fef8d1 Rename README to README.md in MANIFEST.in 2022-08-24 10:06:17 +02:00
8cdd4abea7 Move python package metadata from setup.py to setup.cfg 2022-08-24 10:05:49 +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
9cfaea0f37
Add ssh-keygen as a recommends for ssh MFA authentication 2022-08-23 15:03:10 +02:00
1c581fdf2c Move _get_fixture() to OscTestCase class 2022-08-23 14:28:57 +02:00
00956cf13a Fix conf import in tests/common.py 2022-08-23 14:28:11 +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
8f92fcd967
Merge pull request #1112 from dmach/fix/conf-default-types
Convert defaults to their expected types
2022-08-22 15:21:08 +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
ef8c00afbb
Merge pull request #1108 from dmach/doc-unstable-repo
doc: Add link to repo with unstable builds
2022-08-22 10:34:39 +02:00
d63ee79cb1
Merge pull request #1109 from dmach/doc-no-gha
Changes in docs no longer trigger GitHub actions
2022-08-22 10:34:26 +02:00
4a88229a1a Changes in docs no longer trigger GitHub actions 2022-08-22 10:22:00 +02:00
9ce6971173 doc: Add link to repo with unstable builds 2022-08-22 10:12:35 +02:00
4dae53fbe7
Merge pull request #1100 from dmach/cleanup
Cleanup
2022-08-22 09:53:32 +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
04ffd0727c
Merge pull request #1106 from M0ses/fix_resend_files_on_failure
reset "file current position" on errors
2022-08-18 14:10:07 +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
dc7cdeeee4 Remove PROJ_PACK.txt file, move its content to GitHub issue #1099
https://github.com/openSUSE/osc/issues/1099
2022-08-12 14:23:00 +02:00
e1611e33dd Remove TODO file, move its content to GitHub issue #1098
https://github.com/openSUSE/osc/issues/1098
2022-08-12 14:23:00 +02:00
bac875b8f6 Move files from dist/ to contrib/
The content of dist/ is usually generated during build
and is ignored in .gitignore now.
2022-08-12 14:23:00 +02:00
c43139cbc6 Update .gitignore based on a GitHub template
https://github.com/github/gitignore/blob/main/Python.gitignore
2022-08-12 14:23:00 +02:00
895e51fa26 Update AUTHORS
Add contributors with 10 commits and more
2022-08-12 14:22:52 +02:00
65e0c13119 Move osc.fish under dist/ 2022-08-12 13:18:08 +02:00
ca194b5e69 Remove fuse support 2022-08-12 12:48:54 +02:00
619bbb5f6d Remove unused run_bandit.sh 2022-08-12 12:47:09 +02:00
6bf93b1940 Remove obsolete osc_expand_link.pl
`osc co -e` should be used instead
2022-08-12 12:45:50 +02:00
fa9d48664c Remove unused icons 2022-08-12 12:44:34 +02:00
d1a4bd4d8a Remove travis configuration, it's no longer used 2022-08-12 12:42:19 +02:00
f86fb66521
Merge pull request #991 from dmach/cmdln
Replace unmaintained cmdln.py with a custom code
2022-08-12 11:14:49 +02:00
f04035de81 GHA: test if rpmbuild passes 2022-08-12 10:55:48 +02:00
2e50b39ff3 Add spec file 2022-08-12 10:55:48 +02:00
8f9cd713de tests: remove comments from oscrc fixtures 2022-08-12 10:06:00 +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