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

4505 Commits

Author SHA1 Message Date
590b4d3727 Fix checkout of the base branch in 'git-obs pr review interactive' command 2025-09-03 16:04:02 +02:00
e647048079 Add '.obscpio' and '.xz' to list of archives supported by tardiff 2025-09-03 16:01:00 +02:00
c73c431320 Add 'close' option to 'git-obs pr review interactive' 2025-08-27 09:09:54 +02:00
de39324e35 Add 'git-obs pr close' and 'git-obs pr reopen' commands 2025-08-27 09:09:54 +02:00
4f082a4618 Change get_user_input(), add support for vertically printed list of answers 2025-08-27 08:30:13 +02:00
13c48e1eb0 Merge pull request #1917 from dmach/git-obs-pr-id-with-exclamation-mark
Allow pull request IDs in <owner>/<repo>!<number> format
2025-08-26 22:37:41 +02:00
345620ae7a Allow pull request IDs in <owner>/<repo>!<number> format 2025-08-26 15:57:54 +02:00
975944ee8f Fix 'osc blt' command by checking if the working copy is a package 2025-08-26 15:45:49 +02:00
34b2cddbaf Change 'git-obs pr review interactive' to work with all archives, not only those in Git LFS 2025-08-20 15:17:10 +02:00
cc18f9c668 Skip binary files in gitea_api.PullRequest.get_patch() 2025-08-18 15:22:06 +02:00
399a7177b8 Merge pull request #1902 from dmach/git-store-_manifest
Support _manifest file in git store
2025-08-18 13:33:31 +02:00
69ca4e8008 Merge pull request #1905 from e4t/buildlog_4args
Make `buildlog` work outside of osc package directory
2025-08-18 09:33:46 +02:00
ed5549722e Handle situations when there's 'None' among timeline entries 2025-08-15 11:35:34 +02:00
d3a3f94b8d Make buildlog work outside of osc package directory
With the git integration there may not always be a checked out package
available. With this change, `osc buildlog` supports to be called with
more than 2 arguments: in this, the first argument is interpreted as
the project, the 2nd as the package while the third denotes the repository
used. Arch may be specified as a 4th argument, if omitted, take the
host arch. This implements issue #1894.

Signed-off-by: Egbert Eich <eich@suse.com>
2025-08-14 21:07:18 +02:00
5c42e7d623 Support _manifest file in git store 2025-08-11 15:20:40 +02:00
607053dedd release 1.19.1 2025-08-06 07:02:14 +02:00
206e65eea4 Add 'trackingbranch' field to ScmsyncObsinfo model 2025-08-01 10:57:48 +02:00
92dfa1c6d7 Remove 'osc.commandline.Osc.post_argparse()' because it's no longer used 2025-07-31 13:31:35 +02:00
985881c8b0 Simplify 'osc.commandline.Osc.get_api_url()' to return the value from 'self.options' 2025-07-31 11:34:52 +02:00
e08644ea4e Move code setting apiurl from store to 'osc.conf.get_config()' 2025-07-31 11:13:46 +02:00
a1db424241 Throw a proper exception when 'apiurl' argument of 'makeurl()' is empty 2025-07-31 11:09:07 +02:00
ff3611beb8 Revert "Return None if GitStore cannot determine apiurl"
This reverts commit 6b4953b321.
2025-07-30 14:23:23 +02:00
a6e87d3cb4 Merge pull request #1890 from dmach/dateutil
Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime
2025-07-30 11:08:52 +02:00
9049e4164f Fix osc.gitea_api.dt_sanitize() by replacing dateutil with datetime 2025-07-30 10:44:51 +02:00
963bc06743 Merge pull request #1887 from wfrisch/fix_1886_osc_packagecachedir
CLI: update deprecated env var OSC_PACKAGECACHEDIR
2025-07-30 07:47:54 +02:00
Vignesh
62eeea83da Check for both upper and lowercase values 2025-07-28 14:09:01 +02:00
2529014c78 release 1.19.0 2025-07-28 10:21:57 +02:00
321e9a6fdb CLI: update deprecated env var OSC_PACKAGECACHEDIR
OSC_PACKAGECACHEDIR was renamed to OSC_PACKAGE_CACHE_DIR with commit
848f5fe48f.
2025-07-28 09:29:14 +02:00
c4c1208d29 Merge pull request #1884 from dmach/git-store-invalid-apiurl
Return None if GitStore cannot determine apiurl
2025-07-28 09:15:03 +02:00
cd6bf3e206 Remove extra newline from store files
store_write_string already appends a newline, don't do it twice.
2025-07-25 17:00:42 +02:00
6b4953b321 Return None if GitStore cannot determine apiurl 2025-07-25 15:10:04 +02:00
f612b4c94f Merge pull request #1880 from dmach/1879-handle-urllib.error.HTTPError
Fix the 'Move remaining imports in osc.babysitter into try-except block' change by preserving the order of handling the exceptions
2025-07-25 12:43:01 +02:00
5aa50af3b5 Add timeline to 'git-obs pr review interactive' 2025-07-25 09:47:26 +02:00
5791b2083b Fix 'git-obs pr search' by using pagination to retrieve all results 2025-07-25 09:47:26 +02:00
4dadca5c16 Add '--timeline' option to 'git-obs pr get' 2025-07-25 09:47:26 +02:00
3eda1b53b3 Add gitea_api.Connection.scheme attribute 2025-07-24 16:00:46 +02:00
45cb338ec6 Add gitea_api.PullRequest.merge_commit property 2025-07-24 16:00:46 +02:00
464a9e4c54 Add gitea_api.PullRequest.get_owner_repo_number() 2025-07-24 16:00:46 +02:00
520541e066 Handle missing head repo in the PullRequest properties 2025-07-24 16:00:46 +02:00
a5333da38c Add 'conn' parameter to gitea_api.common.GiteaModel 2025-07-24 16:00:46 +02:00
165cf14435 Add gitea_api.common.dt_sanitize() for sanitizing datetime strings 2025-07-24 16:00:46 +02:00
d39ed21705 Fix the 'Move remaining imports in osc.babysitter into try-except block' change by preserving the order of handling the exceptions 2025-07-23 14:58:39 +02:00
7b2f3ff334 Extend '--message' option in git-obs subcommands with the '-m' short option 2025-07-23 10:44:56 +02:00
698ba4d64b Add a different message for scheduled merges in 'git-obs pr merge' command 2025-07-23 09:35:21 +02:00
476e764472 Add 'git-obs pr cancel-scheduled-merge' command 2025-07-23 09:33:20 +02:00
c5d482c614 release 1.18.0 2025-07-22 15:35:58 +02:00
afdfdd72c9 Replace hard-coded URL for devel packages mapping with a value from OBS:GitDevelProjectMap attribute 2025-07-18 13:55:50 +02:00
cb0b0bf5d5 Move remaining imports in osc.babysitter into try-except block 2025-07-15 14:44:12 +02:00
c5cb286b4d Fix git-obs to exit with 130 on keyboard interrupt 2025-07-15 14:44:12 +02:00
e1d38038c0 Make imports in babysitter even more lazy to improve osc load times 2025-07-15 14:44:12 +02:00