1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
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
9070d03cb6 GHA: Fix obs-server test container to own files created under /srv/obs/build by obsrun 2024-01-26 13:52:11 +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
de26a24f68 behave: Decouple obs-* services from obs-api-support.target 2024-01-15 10:02:56 +01:00
6b94605786 behave: Update README.md 2024-01-11 10:15:41 +01:00
ec70575d53 behave: Add container-pull.sh script 2024-01-11 10:01:57 +01:00
0cfab22888 behave: Update OBS container to start obsservice and obs-delayedjob-queue-default 2024-01-11 09:45:23 +01:00
50e18d635d behave: Add --rm to container-run.sh to automatically remove containers that have exited 2024-01-11 09:44:55 +01:00
b3743b183c Add behave tests for 'createrequest -a submit --supersede' and 'submitrequest --supersede' 2023-11-20 08:36:27 +01:00
4255711344 Implement 'exclude_files' and 'include_files' config options that allow skipping files in the 'checkout' command
Examples:
    osc checkout --setopt='include_files=*.spec *.changes'
    osc checkout --setopt='exclude_files=*.tar.* *.obscpio'
2023-08-30 11:28:30 +02:00
5a67bd3376 Fix GitStore to error out properly if there is no 'origin' remote in the git repo 2023-08-28 09:54:38 +02:00
ba2488a702
Merge pull request #1324 from dmach/repo-commands-for-managing-repositories-in-meta
Add 'repo' command and subcommands for managing repositories in project meta
2023-07-14 10:57:40 +02:00
51052dafe0 The repo list command now resolves and displays flags (build, publish, ...) 2023-07-07 13:15:34 +02:00
e1e8128af9 Modify 'repo list' command to use the new output module 2023-07-07 13:15:34 +02:00
17dbe25a71 behave: Fix building the OBS container
bin/rails db:setup writeconfiguration data:schema:load
failed because the 'data:schema:load' step is now included in 'db:setup'
2023-06-19 11:49:35 +02:00
10dcf966cb behave: Switch the container image to leap:15.5 2023-06-19 09:32:56 +02:00
8f6bafde0a behave: Propagate exit codes in the shell scripts properly 2023-06-19 09:27:24 +02:00
d9676debb9 Correctly handle passwords with utf-8 characters 2023-06-01 14:00:03 +02:00
9926791bf0 Fix 'buildhistory' command by setting the type of the '--limit' option to int 2023-04-17 15:35:17 +02:00
da822b3cfc connection: Set Content-Type of POST requests without data to 'application/x-www-form-urlencoded' 2023-03-17 11:53:50 +01:00
0ad39a9ec9 build: New option 'disable_hdrmd5_check' to ignore hdrmd5 mismatches 2023-02-21 14:53:08 +01:00
81e5a7b958 rq list: Fix a traceback when --type is not specified 2023-02-09 13:32:28 +01:00
40a24d3185
Merge pull request #1246 from dmach/fix-rdiff-no-new-project
rdiff: Fix traceback when new project is not specified
2023-02-02 10:53:27 +01:00
286db02a40 rdiff: Fix traceback when new project is not specified 2023-02-01 10:49:50 +01:00
d24e98b212 buildhist: Fix running from a package checkout 2023-01-26 15:49:21 +01:00
208dbdf6d1 copypac: Fix downgrading a package to an old revision 2023-01-26 10:34:31 +01:00
6bd2c6eaf1 mv: Fix regression
Moved Package.todo handling in one place.
Fixed a situation when path to a file that doesn't exist is passed to Package
2023-01-26 10:11:54 +01:00
2a5fbe457b behave: Test rm on multiple files 2023-01-26 09:02:42 +01:00
lethliel
18cdec2554 use correct variable prj instead of project 2023-01-20 11:48:52 +01:00
a66d40fe3a behave: Speed running tests up by preparing containers in advance 2023-01-16 10:19:43 +01:00
be2c33d86f undelete: Migrate to pop_project_package_from_args()
INCOMPATIBLE CHANGE:
It is no longer possible to specify multiple packages at once,
because it was inconsistent with the rest of osc.
Call osc in a cycle to undelete multiple packages instead.
2023-01-12 10:47:46 +01:00
55fd77650d copypac: Migrate to pop_project_package_targetproject_targetpackage_from_args() 2023-01-12 10:47:46 +01:00
fd851bbe83 aggregatepac: Migrate to pop_project_package_targetproject_targetpackage_from_args() 2023-01-12 10:47:46 +01:00
d779eb936d detachbranch: Migrate to pop_project_package_from_args() 2023-01-12 10:47:46 +01:00
f7d2d1592a linktobranch: Migrate to pop_project_package_from_args() 2023-01-12 10:47:46 +01:00
ba32ff57cb linkpac: Fix linking a locked package by not copying the lock to the target package 2022-12-20 14:42:19 +01:00
44eac57595 behave: Properly support @destructive tests 2022-12-13 08:45:33 +01:00