1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-15 08:36:13 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
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
1839e834c6 behave: Print debug information when running commands
Run behave with -DDEBUG=1 to enable the debug mode
2022-12-13 08:45:33 +01:00
37a34e58d4 Migrate 'setlinkrev' command to pop_project_package_from_args() 2022-12-13 08:45:33 +01:00
4634690176 Move showlinked code from commandline to _private 2022-12-13 08:45:33 +01:00
2f70408dea Move addcontainers code from commandline to _private 2022-12-13 08:45:33 +01:00
6dcc45f272 Improve argument handling in the 'develproject' command 2022-12-13 08:45:33 +01:00
c6b30e500f Add 'dest_project' and 'dest_package' args to format_msg_project_package_options() 2022-12-13 08:45:33 +01:00
6394867952 behave: Remove InsecureRequestWarning that is irrelevant to the tests from stderr 2022-12-13 08:45:33 +01:00
3faf01c862 behave: Add 'stderr is' step 2022-12-13 08:45:33 +01:00
59e7013cf2 Move enablechannels code from commandline to _private 2022-12-12 16:48:28 +01:00
ad85ff437f Move addchannels code from commandline to _private 2022-12-12 16:48:28 +01:00
e3a9c3d60a behave: Rename test projects, consistently use the 'test:' prefix 2022-12-08 09:53:01 +01:00
b00f66b3f6 Move behave tests from Kanku to Podman, run them in GitHub actions 2022-12-07 15:05:15 +01:00
fc89c9479c Add behave tests 2022-10-03 15:42:00 +02:00