Andrii Nikitin
0c3d05643f
Treat None flavor as "" in multibuild resolve
2025-09-25 09:41:51 +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
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
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
17d1113ab3
Update 'osc rq show' command to include history comments in verbose mode
2025-09-17 16:45:19 +02:00
188cd0052f
release 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
f022e08c28
Properly handle deleted users and teams in the git-obs timeline
2025-09-12 11:55:18 +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
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