Andrii Nikitin
0c3d05643f
Treat None flavor as "" in multibuild resolve
2025-09-25 09:41:51 +02:00
8c2336db19
Merge pull request #1934 from dmach/new-git-metadata-store
...
New git metadata store
2025-09-23 13:43:53 +02:00
0eb0fc5a9a
Modify osc subcommands to error out if they don't work with git
2025-09-23 13:28:26 +02:00
5a38a6a38f
Store buildinfo and buildconfig files in GitStore's cache instead directly in the repo
2025-09-23 13:06:47 +02:00
663bcda0f2
behave: Fix failing tests due to missing metadata
2025-09-23 13:06:47 +02:00
d1c573ad7a
Fix get_store() to throw the exception from git store if .osc directory is not present
2025-09-23 13:06:47 +02:00
3792b55c53
Fix git store to check if all the required fields are present
2025-09-23 13:06:46 +02:00
fd7f92d411
Update docs for the new git metadata store
2025-09-23 13:06:46 +02:00
9ca2b52139
Add 'git-obs meta' commands for managing the local metadata
2025-09-23 13:06:46 +02:00
910802d59c
Refactor GitStore
2025-09-23 13:06:46 +02:00
eabb48b8a0
Fix BaseModel to initialize from a dictionary via __init__ instead of setattr
...
This solves an exception on instantiating an empty model with fields that are not optional
2025-09-18 11:11:29 +02:00
b4758fb52b
Add BaseModel.from_string() and BaseModel.to_string() methods
2025-09-18 11:11:29 +02:00
8d5546e536
Add BaseModel.from_file() and BaseModel.to_file() methods
2025-09-18 11:11:29 +02:00
6bb734ae26
Change gitea_api.Git to work with the current remote instead of 'origin'
2025-09-18 11:11:29 +02:00
172e827eff
Migrate git_scm.Store over to gitea_api.Git
2025-09-18 11:11:29 +02:00
9dbd333faf
Merge pull request #1933 from dmach/osc-rq-show-include-history-comments
...
Update 'osc rq show' command to include history comments in verbose mode
2025-09-17 17:11:59 +02:00
17d1113ab3
Update 'osc rq show' command to include history comments in verbose mode
2025-09-17 16:45:19 +02:00
b2edaa873d
Merge pull request #1931 from dmach/git-obs-quickstart-perms
...
Update list of recommended gitea permissions in git-obs-quickstart
2025-09-17 16:29:55 +02:00
9d747b7ee3
Update list of recommended gitea permissions in git-obs-quickstart
2025-09-17 11:11:06 +02:00
188cd0052f
release 1.20.0
1.20.0
2025-09-16 13:52:28 +02:00
5fe0ce777f
Merge pull request #1925 from adrianschroeter/trackingbranch
...
Fix tracking the right branch
2025-09-15 13:01:57 +02:00
5200480c50
Fix tracking the right branch
...
We use to follow always the default branch, but we have meanwhile
the trackingbranch in the scmsync url to select the right one.
2025-09-15 08:25:18 +02:00
ba788a12f4
Merge pull request #1927 from dmach/git-obs-timeline-ghost
...
Properly handle deleted users and teams in the git-obs timeline
2025-09-12 13:23:47 +02:00
f022e08c28
Properly handle deleted users and teams in the git-obs timeline
2025-09-12 11:55:18 +02:00
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