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

5559 Commits

Author SHA1 Message Date
2b10d204da Merge pull request #1921 from dmach/fix-tardiff-xz
Fix 'git-obs pr review interactive' command - support xz and obscpio tardiffs, fix head branch checkout
2025-09-04 08:19:02 +02:00
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
6d0830b7e3 Merge pull request #1918 from dmach/git-obs-pr-close
Add support for closing and reopening pull requests to git-obs
2025-08-27 10:39:30 +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
703d6a3bfc Merge pull request #1916 from dmach/fix-blt
Fix 'osc blt' command by checking if the working copy is a package
2025-08-26 22:37:31 +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
152baa8e67 Merge pull request #1909 from dmach/git-obs-binary-patches
Improve how 'git-obs' works with binary patches and diffing tarballs
2025-08-20 15:30:10 +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
86ef6f4797 Merge pull request #1904 from openSUSE/wip-provides
osc.spec: add "Provides: git-obs"
2025-08-18 13:36:35 +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
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
2f20c9ae2e Merge pull request #1906 from dmach/git-obs-timeline-None
Handle situations when there's 'None' among timeline entries
2025-08-15 11:48:41 +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 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