1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-03-07 09:43:17 +01:00
Commit Graph

5538 Commits

Author SHA1 Message Date
c6ce253e77 osc.spec: add "Provides: git-obs"
Other git plugins, such as LFS, are shipped as "git-foo" packages.
A reasonable user might expect to be able to install the git obs
plugin by installing a "git-obs" package, but this does not work
currently.

With this patch, a user attempting to install "git-obs" will get
the git obs plugin via osc.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2025-08-16 07:42:12 +02:00
607053dedd release 1.19.1 1.19.1 2025-08-06 07:02:14 +02:00
4d3cdfb7ce Merge pull request #1898 from dmach/ScmsyncObsinfo.trackingbranch
Add 'trackingbranch' field to ScmsyncObsinfo model
2025-08-05 15:42:16 +02:00
206e65eea4 Add 'trackingbranch' field to ScmsyncObsinfo model 2025-08-01 10:57:48 +02:00
ed279c72d9 Merge pull request #1895 from dmach/osc-fix-apiurl-from-store
Fix setting 'apiurl' from store in 'osc'
2025-07-31 13:49:32 +02:00
d00e60d99e Fix unit tests to use the new code path to run osc 2025-07-31 13:31:35 +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
5ddbae84d6 Merge pull request #1889 from vigneshmanick/proxy-env-vars
Check for both upper and lowercase values for http/s_proxy
2025-07-30 07:47:16 +02:00
Vignesh
62eeea83da Check for both upper and lowercase values 2025-07-28 14:09:01 +02:00
2529014c78 release 1.19.0 1.19.0 2025-07-28 10:21:57 +02:00
1da60415de Merge pull request #1888 from dmach/port-openSUSE_Tools-osc-spec-changes
Port openSUSE:Tools/osc spec changes
2025-07-28 10:13:47 +02:00
ef696c407a spec: Use primary_python to define runtime requires matching the shebang lines
Ported from https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=468
2025-07-28 09:54:02 +02:00
7678e55bf7 spec: Provide %{use_python_pkg}-osc for all pythons and python3-osc for primary_python
Ported from:
- https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=470
- https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=471
2025-07-28 09:42:37 +02:00
e62262e60d spec: Add conflict with obs-scm-bridge < 0.7.3
Ported from https://build.opensuse.org/package/rdiff/openSUSE:Tools/osc?linkrev=base&rev=486
2025-07-28 09:36:14 +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
a6f153392e Merge pull request #1885 from andreas-schwab/master
master
2025-07-28 09:09:36 +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
8c5eb6f191 Merge pull request #1881 from dmach/git-obs-timeline
Add timeline to git-obs subcommands
2025-07-25 10:48:44 +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
62c3eab524 Merge pull request #1878 from dmach/git-obs-pr-comment-m
Extend '--message' option in git-obs subcommands with the '-m' short option
2025-07-23 15:00:47 +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
8874a00725 Merge pull request #1877 from dmach/git-obs-pr-cancel-scheduled-merge
Add 'git-obs pr cancel-scheduled-merge' command
2025-07-23 10:00:31 +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 1.18.0 2025-07-22 15:35:58 +02:00
0d73eb896b Merge pull request #1876 from dmach/devel-project-in-git-OBS-GitDevelProjectMap-attribute
Replace hard-coded URL for devel packages mapping with a value from OBS:GitDevelProjectMap attribute
2025-07-18 14:47:15 +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
8bcb288f2e Merge pull request #1874 from dmach/osc-speedup
osc speedup
2025-07-15 20:25:44 +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