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
2d3a434b7a Merge pull request #1839 from dmach/git-obs-api-query
Fix 'git-obs api' by preventing of quoting the URL query part
2025-06-18 14:54:33 +02:00
074448263d Fix 'git-obs api' by preventing of quoting the URL query part 2025-06-18 14:41:43 +02:00
cfaf9a060b Merge pull request #1838 from dmach/git-token-auth
Allow git in git-obs to be switched from SSH to http(s) which includes gitea token auth
2025-06-18 14:40:14 +02:00
78066f8e70 Allow git in git-obs to be switched from SSH to http(s) 2025-06-18 13:51:53 +02:00
c5193f1187 behave: Fix makedirs() to avoid a crash when the path is an empty string 2025-06-18 12:01:54 +02:00
20e8c75f62 behave: Add a step for setting env variables 2025-06-18 11:59:13 +02:00
19a0366710 behave: Add CommandBase.cmd property that is suitable for string formatting in the feature files 2025-06-18 11:57:20 +02:00
4f3cacd62b Rename 'anonymous' argument in 'gitea_api.Repo.clone()' to 'use_http' 2025-06-17 14:38:25 +02:00
bfeecc4e70 Fix crash during token validation in 'git-obs login {add,update}' when value is not specified 2025-06-17 08:47:30 +02:00
16e5dd32e8 Merge pull request #1834 from dmach/_buildinfo-lookup
Extend _buildinfo file lookup to the current directory
2025-06-16 13:18:05 +02:00
ff44786b27 Extend _buildinfo file lookup to the current directory
Fixes 'osc lbl' for git based packages.
2025-06-13 15:56:18 +02:00
bfd1ac3eeb Merge pull request #1833 from dmach/osc-fork-validate-arguments
Validate arguments in 'osc fork' command
2025-06-13 13:26:19 +02:00
c7efff1cc7 Merge pull request #1831 from dmach/migrate-store-functions-to-get_store
Migrate store_* functions to use get_store instead of the original code
2025-06-13 13:26:02 +02:00
b84019b368 Migrate store_* functions to use get_store instead of the original code
That allows us to use both OBS SCM store and Git SCM store
2025-06-13 11:24:35 +02:00
c0ef7daae0 Validate arguments in 'osc fork' command 2025-06-12 21:49:54 +02:00
125078d687 Revert "Improve 'updatepacmetafromspec' command to expand rpm spec macros by calling rpmspec to query the data"
This reverts commit 7bbc147605.
2025-06-12 14:22:41 +02:00
706fcf50b4 Remove unwanted debug print from pr.py 2025-06-06 16:10:28 +02:00
4668bc3ff9 Remove duplicate code after a badly resolved merge conflict from pr_review_interactive.py 2025-06-06 15:57:27 +02:00
a7e646c0e4 Merge pull request #1823 from dmach/git-obs-pr-merge
Add 'git-obs pr merge' command
2025-06-06 15:51:35 +02:00
3426469e62 Add 'A)approve and schedule for merging' action to 'git obs pr review interactive' 2025-06-06 15:13:59 +02:00
d4d535d7cc Add 'git-obs pr merge' command 2025-06-06 15:13:53 +02:00
3ffc3b7dac Merge pull request #1822 from dmach/git-obs-pr-review-accept-decline
Add 'git-obs pr review accept' and 'git-obs pr review decline' commands
2025-06-06 09:04:10 +02:00
9afd2f9329 Merge pull request #1821 from dmach/git-obs-fix-loading-shell-completion
Fix loading shell completions for 'git-obs'
2025-06-06 08:35:09 +02:00
7d81fd3900 Add 'git-obs pr review accept' and 'git-obs pr review decline' commands 2025-06-06 08:28:05 +02:00
626299efe8 Rename 'git-obs pr review' to 'git-obs pr review interactive' 2025-06-05 14:50:53 +02:00
1b24e1f654 Fix loading shell completions for 'git-obs'
Don't load the completions when /usr/bin/register-python-argcomplete is not available
2025-06-05 13:43:59 +02:00
89014e8026 Merge pull request #1818 from dmach/fix-failing-unittests
Fix failing unittests
2025-06-03 16:12:59 +02:00
fef8c4aa7d Merge pull request #1816 from andrii-suse/add_pr_export
Add --export to pr list and pr search
2025-06-03 16:01:23 +02:00
60e176f9bc Fix how types are compared in OscOptions.set_value_from_string()
Some python versions require '==' instead of 'is' operator, otherwise we get
TypeError: Field 'http_headers' has type 'typing.List[osc.conf.HttpHeader]'. Cannot assign a value with type 'str'.
2025-06-03 13:49:15 +02:00
4df8ac5e9d Fix remaining issues with environmental variables in unittests 2025-06-03 13:47:05 +02:00
416862f100 Merge pull request #1817 from dmach/git-obs-override-login-from-env
Add a possibility to override git-obs login entries from env
2025-06-03 08:54:45 +02:00
bdf74e036f Add a possibility to override git-obs login entries from env 2025-06-02 15:57:19 +02:00
Andrii Nikitin
1e5582ace5 Add --export to pr list and pr search 2025-06-02 15:15:38 +02:00
e7779e8d59 Merge pull request #1815 from dmach/git-store-.git-file
Fix git store when .git is a file with "gitdir: <path>" link
2025-05-28 13:20:25 +02:00
b6f8c6026d Fix git store when .git is a file with "gitdir: <path>" link 2025-05-22 20:57:52 +02:00
e8bc5f440a Merge pull request #1808 from dmach/gitea_api-objects
Refactor gitea_api to use objects with properties instead of raw JSON data
2025-05-20 15:04:32 +02:00
e2d890391e Refactor gitea_api to use objects with properties instead of raw JSON data 2025-05-20 14:29:20 +02:00
92867a5145 release 1.16.0 1.16.0 2025-05-20 11:44:46 +02:00
f7d5a17931 Merge pull request #1812 from dmach/git-obs-pr-list-improvements
Improvements to the 'git-obs pr list' command
2025-05-20 11:29:01 +02:00
fb70fbc64d Merge pull request #1784 from andrii-suse/behave_add_osc_fork
behave: Add osc fork test
2025-05-20 11:25:28 +02:00
664e7cf546 Add '--target-branch' filter option to 'git-obs pr list' 2025-05-20 11:10:53 +02:00
12bfd69bc2 Set limit=0 to disable pagination in all relevant git-obs subcommands 2025-05-20 09:24:12 +02:00
506391feaf Add '--no-draft' filter option to 'git-obs pr list' 2025-05-20 09:00:35 +02:00
96198380ea Merge pull request #1791 from openSUSE-Python/no-implicit-optional
chore: do not use implicit Optional[] type
2025-05-16 10:47:23 +02:00
Andrii Nikitin
ddef2a11cc behave: Add osc fork test 2025-05-16 10:46:16 +02:00
8ea352270a Merge pull request #1794 from andrii-suse/add_rmkpac
Add rmkpac command
2025-05-16 10:38:53 +02:00
b7aeaeb0ed Merge pull request #1801 from dmach/git-scm-store-fix-reading-project-from-parent-directory
Fix how GitStore reads project from the parent directory
2025-05-16 10:36:39 +02:00
70ca70e613 Merge pull request #1802 from dmach/git-obs-moved-permanently
Improve message in 301: Moved Permanently error in git-obs
2025-05-16 10:35:24 +02:00
Andrii Nikitin
988e8601b0 Add rmkpac command
The primary goal of remote mkpac is to provide a convenient way
for users to create packages with scmsync tag in _meta
2025-05-13 09:59:09 +02:00
aa8a48b79b Implement '--reviewer' and '--review-state' options for 'git-obs pr list' 2025-05-12 17:11:27 +02:00