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
73724115c8
Merge pull request #1765 from dmach/git-obs-repo-clone-fix-parent
...
Fix setting parent remote in 'git-obs repo clone'
2025-04-02 14:59:14 +02:00
ca6e48fc59
Fix setting parent remote in 'git-obs repo clone'
2025-04-02 13:53:50 +02:00
d5d1b3bf27
Merge pull request #1761 from dmach/git-obs-pr-create-add-git-status-to-msg
...
Add commented git status to the 'git-obs pr create' message
2025-04-02 13:46:09 +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
2b16dd8f8e
Merge pull request #1764 from dmach/update-git-obs-quickstart-token
...
Update git-obs-quickstart doc with more detailed info on creating tokens
2025-04-01 16:18:38 +02:00
8f4da16931
Update git-obs-quickstart doc with more detailed info on creating tokens
2025-04-01 16:13:53 +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
e157358d33
Merge pull request #1759 from mlschroe/master
...
Implement handling of updateinfo.xml and _modulemd.yaml files
2025-04-01 08:51:58 +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
29bdac8655
Merge pull request #1752 from JanZerebecki/suggest-scm-bridge
...
Recommend obs-scm-bridge
2025-03-26 14:51:25 +01:00
4fd57426bf
Recommend obs-scm-bridge
2025-03-25 17:30:32 +01:00
4a668acf93
Merge pull request #1751 from dmach/fix-osc-build-host
...
Fix crash in 'osc build --host'
2025-03-25 09:05:29 +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
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
d889b622c5
Merge pull request #1746 from asdil12/line
...
Don't flag empty diff lines
2025-03-20 20:43:07 +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
65ee36eba3
Enable shell completions for git-obs
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