2c22d1f044
Fix 'osc fork' crash when there were no attributes defined in the OBS package
2025-04-03 09:02:58 +02:00
9779c6cc4f
Merge pull request #1760 from dmach/osc-build-project-from-_ObsPrj
...
Extend 'osc build' and 'osc fork' to use project.build file from Gitea, 'osc fork' also follows the devel project now
2025-04-02 15:06:27 +02:00
ca6e48fc59
Fix setting parent remote in 'git-obs repo clone'
2025-04-02 13:53:50 +02:00
9f5f19eb1f
Change 'osc fork' to print an error rather than raising an exception
2025-04-02 10:31:48 +02:00
183c9a273e
Improve 'osc fork' to follow the devel package specified in the 'OBS:RejectBranch' attribute
2025-04-02 10:31:48 +02:00
e09890ac5b
Rename GitStore._get_build_project() to get_build_project() and make it a staticmethod
2025-04-02 10:31:48 +02:00
cb9b336210
Add obs_api.Attributes model
2025-04-02 10:17:29 +02:00
ad2413d959
Fix GitStore by parsing git urls with obs_api.Git.urlparse()
2025-04-02 10:12:02 +02:00
292030dbb4
Add gitea_api.Git.urlparse() for parsing git urls
2025-04-02 10:12:02 +02:00
61d12837d5
Extend 'osc build' to read build project from Gitea: <owner>/_ObsPrj, project.build file
2025-04-02 10:12:00 +02:00
131aa57265
Add commented git status to the 'git-obs pr create' message
2025-04-01 10:16:26 +02:00
ee47141460
Merge pull request #1756 from e4t/mr_check_local_mods
...
MR check local mods
2025-04-01 09:07:45 +02:00
b14da66369
Change gitea_api.Config.url_to_hostname() to also try matching only a hostname instead of full Gitea URL
2025-03-31 20:35:42 +02:00
5827582b58
Add 'quiet' and 'branch' options to gitea_api.Repo.clone()
2025-03-31 17:56:47 +02:00
Michael Schroeder
518fb034b0
Implement handling of updateinfo.xml and _modulemd.yaml files
2025-03-31 14:57:38 +02:00
Michael Schroeder
455d2656bf
Refactor the validity check of cached binaries
2025-03-31 14:55:07 +02:00
Michael Schroeder
f6ec8f541f
Fix canonname handling when querying a downloaded package
...
The canonname should always be decoded.
2025-03-31 14:50:51 +02:00
6a50e07f3a
When doing an mr from a working copy check for unchecked modifications
...
Maintenance requests may be done from a working copy of a package
to just update a single code stream at once.
In this situation, this working copy may have been used to implement
this change. Thus, like with submit requestes, check if the working
copy has local changes that have not been checked in and warn the
user about it. This should help to prevent resource-intensive accidents.
Signed-off-by: Egbert Eich <eich@suse.com >
2025-03-31 08:17:39 +02:00
819153b703
Consolidate working copy modification check dialog into a function.
...
Signed-off-by: Egbert Eich <eich@suse.com >
2025-03-31 08:17:31 +02:00
11df8e6c58
Hotfix "osc fork" failures of devel project users
...
temporary hack to allow people using fork atm at all, when packages
are managed via git project.
fallback always to default branch for now, but we actually need to
parse the right branch instead from .gitmodules
2025-03-28 13:40:02 +01:00
532ab0c7f1
Fix crash in 'osc build --host'
...
PosixPath needed to be converted to string prior string concatenation
2025-03-25 08:32:12 +01:00
57ada1aa58
release 1.14.0
2025-03-20 20:57:46 +01:00
a11f1b109b
Merge pull request #1747 from dmach/git-obs-pr-create-target-branch
...
Fix 'git-obs pr create --target-branch'
2025-03-20 20:44:26 +01:00
b8a810c0ee
Fix 'git-obs pr create --target-branch'
2025-03-20 13:29:38 +01:00
Dominik Heidler
bc34e8446f
Don't flag empty diff lines
2025-03-20 12:02:23 +01:00
8d57740c01
Merge pull request #1745 from dmach/git-obs-completions
...
Shell completion for git-obs
2025-03-19 20:18:42 +01:00
4643f2400f
Enable completion of 'git-obs pr checkout <number>'
2025-03-19 20:07:52 +01:00
cea2cb9518
Enable completion of 'git-obs pr get/show <owner>/<repo>#<number>'
2025-03-19 20:07:52 +01:00
8f663b98ee
Enable completion of 'git-obs login remove <name>'
2025-03-19 20:07:52 +01:00
66f24f10b1
Enable completion of 'git-obs login update --ssh-key'
2025-03-19 20:07:52 +01:00
2ebe45bfe4
Enable completion of 'git-obs login add --ssh-key'
2025-03-19 20:07:52 +01:00
ae41c2f6b1
Enable completion of 'git-obs ssh-key add --key-path'
2025-03-19 20:07:52 +01:00
f69138a15e
Enable completion of 'git-obs -G/--gitea-login'
2025-03-19 20:07:52 +01:00
602315ea18
Fix call os.userexpand() on gitea_api.Config() path argument
2025-03-19 20:07:52 +01:00
e189f1bd73
Fix adding arguments to the argument parser so they work with argcomplete
2025-03-19 20:07:52 +01:00
a9a4cb7c39
Enable argcomplete for git-obs
2025-03-19 20:07:52 +01:00
1508e2fbd7
Merge pull request #1744 from dmach/osc-fork-project
...
Improve 'osc fork' command to support also forking projects managed in git
2025-03-19 20:03:28 +01:00
b86e70048a
Merge pull request #1736 from AdamMajer/missing-separators
...
Add missing project_separator substitutions
2025-03-18 16:04:15 +01:00
41680e49af
Merge pull request #1735 from AdamMajer/assume-factory
...
Assume openSUSE:Factory if project cannot be determined
2025-03-18 16:03:57 +01:00
d16197b6c5
Improve 'osc fork' command to support also forking projects managed in git
2025-03-18 15:07:03 +01:00
27852f84c1
Remove superfluous setting of apiurl from 'osc fork'
2025-03-18 14:49:46 +01:00
989121b271
Extend 'osc fork' command with '--target-project' and '--target-package' options
2025-03-18 14:49:14 +01:00
2f11fca7cf
Assume openSUSE:Factory if project cannot be determined
...
Don't assume "factory" branch is needed to build against Factory.
This should be the default build configuration.
As-is, it's impossible to initiate a build from other branches,
even when using --alternative-project= so having a default is probably
advisable. Also, devel projects are being imported with "main" as
their default branches.
2025-03-18 14:23:15 +01:00
96a4f5ecb2
Change 'osc whatdependson' command to take multiple '-M' options incl. wildcards
2025-03-17 20:55:03 +01:00
9fe5e09427
Fix MultibuildFlavorResolver to consider an empty flavor during glob match
2025-03-17 20:47:52 +01:00
b1c481a691
Fix MultibuildFlavorResolver to work with <package> _multibuild elements
2025-03-17 20:47:05 +01:00
d8aef1b9f5
Merge pull request #1740 from dmach/fix-apiurl
...
Use -A/--apiurl specified on the command-line even if running from a checkout
2025-03-17 15:35:08 +01:00
e8e45e5153
Merge pull request #1741 from asdil12/line
...
Don't highlight trailing whitespaces as error in otherwise empty lines
2025-03-17 15:34:49 +01:00
085b16b968
Fix 'osc fork' crash in print_gitea_settings()
2025-03-17 14:16:03 +01:00
Dominik Heidler
85d6d9dc0b
Don't highlight trailing whitespaces as error in otherwise empty lines
...
In obs we are often managing diffs of patches.
In patches trailing whitespaces are normal.
So ignore any `[+-]+\s` line.
2025-03-17 13:55:36 +01:00