1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 21:58:41 +02:00
Commit Graph

5465 Commits

Author SHA1 Message Date
f77a65de79 Fix handling env in tests for 'osc vc' 2025-05-12 08:50:57 +02:00
3ac715b40f Fix how GitStore reads project from the parent directory 2025-05-12 08:50:57 +02:00
d5ed8fe2e4 Improve message in 301: Moved Permanently error in git-obs 2025-05-09 13:50:56 +02:00
79657c0e22 Merge pull request #1798 from andrii-suse/fix_editor_with_params
Fix git-obs pr create with multistring EDITOR
2025-05-09 13:17:33 +02:00
Andrii Nikitin
a9d5f8ca6d Fix git-obs pr create with multistring EDITOR 2025-05-07 14:19:10 +02:00
78ec52eb9b Merge pull request #1793 from andrii-suse/ci_surpress_mypy_failure
ci: Suppress mypy failure
2025-05-07 14:10:46 +02:00
740e48e885 Merge pull request #1799 from dmach/fix-response_to_exception-TypeError
Fix TypeError in response_to_exception() in gitea_api
2025-05-07 14:02:55 +02:00
d794e86925 Fix TypeError in response_to_exception() in gitea_api
Gitea seems to be inconsistent in including the "errors" entry in responses.
It may be completely missing or set to null/None.
2025-05-07 08:31:34 +02:00
2ab01d8e9a chore: run no_implicit_optional on the code base to make it PEP 484 compliant.
References: https://github.com/hauntsaninja/no_implicit_optional
2025-05-06 23:12:37 +02:00
43dce68a75 Merge pull request #1792 from openSUSE-Python/no-dot
fix(sr): don't limit SRs to be superseded by other characters
2025-05-06 13:44:03 +02:00
dabe585c6d Merge pull request #1786 from dmach/git-obs-better-exceptions
Improve handling exceptions in 'git-obs' command
2025-05-06 13:42:56 +02:00
273811f4e5 Merge pull request #1790 from openSUSE-Python/empty_description
don't crash when API returns None as a description
2025-05-06 13:42:10 +02:00
6e59b6c020 Merge pull request #1796 from dmach/git-obs-env-credentials
Improve git-obs to read credentials from env variables
2025-05-06 13:41:36 +02:00
a380dc8624 Improve git-obs to read credentials from env variables
Supported variables:
- GIT_OBS_GITEA_URL (mandatory)
- GIT_OBS_GITEA_USER (mandatory)
- GIT_OBS_GITEA_TOKEN (mandatory)
- GIT_OBS_GITEA_SSH_KEY (optional)
2025-05-05 14:08:19 +02:00
Andrii Nikitin
2010dbde5c ci: Suppress mypy failure
There is no much point in always failing mypy in the current state.
I suggest suppressing the failure until it is ready and make PRs green again
2025-04-29 10:19:05 +02:00
743169e49c fix(sr): don't limit SRs to be superseded by other characters
I understand that the current output is better from the point of
view of typography, but it is inconvenient when I need to use the
number of the SR to-be-superseded for clipboard.
2025-04-29 07:50:24 +02:00
914a04836f don't crash when API returns None as a description 2025-04-28 19:52:33 +02:00
04a02377ab Merge pull request #1779 from andrii-suse/behave_fix_failure_when_no_git-osc-precommit-hook
Fix behave failure when not defined git-osc-precommit-hook
2025-04-24 11:54:16 +02:00
cea248ce71 Improve handling exceptions in 'git-obs' command 2025-04-23 13:42:48 +02:00
db95d8ff9a Merge pull request #1780 from dmach/git-obs-improve-help
Improve help of the 'git-obs login' subcommands
2025-04-22 17:23:41 +02:00
e90daa64fe Update 'git-obs login {add,update}' to check the gitea token format 2025-04-22 16:25:32 +02:00
4b10e0381e Improve help of the 'git-obs login' subcommands 2025-04-22 16:25:32 +02:00
6983a81f46 Merge pull request #1782 from dmach/fix-osc-fork-empty-attributes
Fix 'osc fork' when <attributes/> in the source project is empty
2025-04-22 16:00:55 +02:00
02cd8b5e6c Fix 'osc fork' when <attributes/> in the source project is empty 2025-04-22 09:58:10 +02:00
52440da6d6 Merge pull request #1777 from dmach/urllib3-v1-fix-socket-timeout
Fix git-obs connection for urllib3 v1 by overriding the default timeout
2025-04-22 08:24:26 +02:00
4f1d92f844 Add 'min_key_length' argument to KeyValueTable to enforce the minimal length of the first column 2025-04-17 16:20:17 +02:00
Andrii Nikitin
30be0c7a30 Fix behave failure when not defined git-osc-precommit-hook 2025-04-16 18:04:38 +02:00
a27786ef96 Fix git-obs connection for urllib3 v1 by overriding the default timeout 2025-04-15 15:51:46 +02:00
34bef58938 behave: Set PassengerRuby according to the interpreter required by obs-bundled-gems RPM package 2025-04-08 10:21:48 +02:00
eacfbf77ed behave: Show info about the built image during the container image build 2025-04-07 16:54:24 +02:00
3a885ac369 Merge pull request #1719 from JanZerebecki/precommit
Add osc service precommit, for use with git hook
2025-04-07 13:16:34 +02:00
cf7526fb09 Merge pull request #1774 from dmach/git-obs-login-better-DoesNotExist-message
Add troubleshooting info to gitea_api.Login.DoesNotExist message
2025-04-07 13:13:25 +02:00
fffdda9840 Add troubleshooting info to gitea_api.Login.DoesNotExist message 2025-04-07 11:40:54 +02:00
9bbe39de53 Add osc service precommit, for use with git hook
and create a binary to call it directly
2025-04-07 09:06:00 +02:00
70a55e2606 Merge pull request #1773 from andrii-suse/patch-1
Update test instructions in README
2025-04-07 08:58:40 +02:00
a73622109a release 1.15.1 1.15.1 2025-04-04 14:17:33 +02:00
a82c517a63 Merge pull request #1772 from dirkmueller/decode_it_containers
Revert "Run decode_it also in the other case"
2025-04-04 14:13:56 +02:00
Andrii Nikitin
b661aba2ab Update test instructions in README 2025-04-04 13:58:48 +02:00
1549f53258 Revert "Run decode_it also in the other case"
MLS wants this to be done in the caller not in the callee.

This reverts commit 709e0d87ac.
2025-04-04 13:12:25 +02:00
8b123b1ce4 release 1.15.0 1.15.0 2025-04-04 10:05:36 +02:00
b2cf75c7d1 Merge pull request #1768 from dmach/gitea-osc-build-no-working-copy
Fix 'osc build' when working with sources from git, when .osc is not available
2025-04-03 21:18:04 +02:00
e89c64f59e Merge pull request #1766 from dmach/ssh-keygen-warning
Change a debug message to a warning if ssh-keygen is not available
2025-04-03 21:17:37 +02:00
e3af7e601a Merge pull request #1769 from dmach/man-git-obs
spec: Build git-obs man page
2025-04-03 21:16:39 +02:00
Daniel Mach
88867ec3f0 Add explanatory message to ignore the signature auth warning when not using SSH keys for auth
Co-authored-by: Julio González Gil <4226070+juliogonzalez@users.noreply.github.com>
2025-04-03 20:59:36 +02:00
5c50d475ba Rename get_parser() functions to argparse_manpage_get_parser() to clarify their purpose 2025-04-03 20:55:57 +02:00
7a4cf1a8df Fix rendering help output by adding the complete docstring of the commands 2025-04-03 17:47:07 +02:00
e9b65037ef spec: Build git-obs man page 2025-04-03 17:47:07 +02:00
cdeadbe56d Update README.md to clarify that the unstable RPMs are built from the master branch 2025-04-03 17:47:07 +02:00
3c07c4b2e6 Merge pull request #1770 from dirkmueller/decode_it_container
Run decode_it also in the other case
2025-04-03 16:46:18 +02:00
709e0d87ac Run decode_it also in the other case 2025-04-03 15:40:47 +02:00