1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-08 22:18:43 +02:00

88 Commits

Author SHA1 Message Date
4dadca5c16 Add '--timeline' option to 'git-obs pr get' 2025-07-25 09:47:26 +02:00
41c87b9fca behave: Rewrite Gitea port to the actual port we use during testing 2025-07-07 08:28:11 +02:00
Andrii Nikitin
7c3a089609 fix non-default origin 2025-06-25 14:59:20 +02:00
e9d50fdcae Add support for json export to 'git-obs repo list' 2025-06-23 10:31:45 +02:00
63067fd8ae Implement 'git-obs repo list' command 2025-06-23 10:31:45 +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
Andrii Nikitin
1e5582ace5 Add --export to pr list and pr search 2025-06-02 15:15:38 +02:00
e2d890391e Refactor gitea_api to use objects with properties instead of raw JSON data 2025-05-20 14:29:20 +02:00
Andrii Nikitin
ddef2a11cc behave: Add osc fork test 2025-05-16 10:46:16 +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
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
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
Andrii Nikitin
30be0c7a30 Fix behave failure when not defined git-osc-precommit-hook 2025-04-16 18:04:38 +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
02edc1afd7 behave: Add missing 'Enabled' field to the expected token output 2025-03-03 08:47:06 +01:00
104700230f behave: Allow running nested containers with gitea actions 2025-02-20 16:30:10 +01:00
9598f8070a Add 'git-obs pr checkout' command 2025-01-23 09:54:29 +01:00
e23c566b0d Change 'git-obs' to use owner/repo[#pull] arguments consistently 2025-01-16 12:44:11 +01:00
124528e68b Add 'git-obs pr' command 2025-01-15 17:02:16 +01:00
57d8254122 behave: Show also gitea logs on test failure 2025-01-14 16:41:58 +01:00
bb51a825f8 Fix 'linkpac' command for projects with a project link 2025-01-10 12:58:01 +01:00
6989fb8b6f Fix another bytes/unicode issues in core.link_pac() by replacing ElementTree code with XML models 2024-11-29 15:49:20 +01:00
a901206a5f behave: Add tests for git-obs commands, update test suite as needed 2024-10-11 13:13:26 +02:00
608792794a GHA: Create 'alice' and 'bob' users in the obs-server container 2024-10-11 13:13:26 +02:00
0d6f71a5cf Fix behave test for repairwc command 2024-08-27 10:44:56 +02:00
f35895d262 Change 'repairwc' command to always run all repair steps
... even if the working copy loads without an exception
2024-07-04 22:09:24 +02:00
5c185f26f7 Change 'repairwc' command to fix missing .osc/_osclib_version 2024-07-02 13:28:15 +02:00
7cd9635537 Fix 'linkpac' command crash when used with '--disable-build' or '--disable-publish' option 2024-07-01 09:31:14 +02:00
b78b6ad568 Improve 'getbinaries' command by accepting '-M' / '--multibuild-package' option outside checkouts 2024-06-20 08:54:01 +02:00
a501ed3157 Add behave tests for 'results' command 2024-06-18 16:22:48 +02:00
e04651fa82 Fix 'mv' command when renaming a file multiple times 2024-05-27 07:52:35 +02:00
6218fc7cb0 Improve 'getbinaries' command by ignoring source and debuginfo filters when a binary name is specified 2024-05-09 15:04:10 +02:00
4e4f3cb093 Merge pull request #1552 from dmach/boo#1221340-spec-include
Improve 'build' and 'buildinfo' commands by injecting *.inc files into spec that is sent to OBS for parsing BuildRequires (boo#1221340)
2024-05-07 14:17:21 +02:00
2eb51575cb Improve 'build' and 'buildinfo' commands by uploading *.inc files to OBS for parsing BuildRequires (boo#1221340) 2024-05-07 13:45:51 +02:00
011adb4689 Migrate 'token' command to obs_api.Token 2024-04-26 22:15:54 +02:00
da41f0fe07 Fix patch direction in 'log' command 2024-04-22 09:07:36 +02:00
d1b4a0ab84 Add behave tests for 'release' command 2024-04-18 10:32:29 +02:00
23fe42be30 Fix handling the default package argument on the command-line
If the project was explicitly specified from the command-line,
avoid using the default package because that would be frequently
obtained from the current working copy and that leads to unexpected results.
2024-04-18 10:32:29 +02:00
8ee02dd098 Improve 'log' command: produce proper CSV and XML outputs, add -p/--patch option for the text output 2024-04-17 10:57:59 +02:00
abec6e5eb5 Fix 'branch' command to allow using '--new-package' option on packages that do not exist 2024-04-12 16:49:49 +02:00
2b3e04e99a GHA: Update contains / doesn't contain behave steps to print actual output 2024-04-10 15:04:05 +02:00
6322e2f9aa Propagate exit code from the run() and do_() commandline methods 2024-04-10 15:04:05 +02:00
40807ec1d5 Fix TypeError: SimpleFlag.__init__() got an unexpected keyword argument '_apiurl' 2024-03-11 09:09:29 +01:00
b03f5d3b86 Migrate core.set_devel_project() to obs_api.Package 2024-02-21 09:46:53 +01:00
237d0d30f6 behave: Print server logs when a scenario fails 2024-01-24 15:45:06 +01:00
86c91276de Add behave test for the 'token' command 2024-01-15 10:06:43 +01:00