5c42e7d623
Support _manifest file in git store
2025-08-11 15:20:40 +02:00
ff3611beb8
Revert "Return None if GitStore cannot determine apiurl"
...
This reverts commit 6b4953b321
.
2025-07-30 14:23:23 +02:00
6b4953b321
Return None if GitStore cannot determine apiurl
2025-07-25 15:10:04 +02:00
b9f5932fc2
Fix 'osc buildinfo' for git packages by handing the 'build_repositories' files by store objects
2025-07-15 12:03:36 +02:00
4169445ee2
Improve detection of git package when project git contains both .git and .osc
2025-07-03 22:02:23 +02:00
Andrii Nikitin
7c3a089609
fix non-default origin
2025-06-25 14:59:20 +02:00
59fe5e8cb9
Fix detection of gitstore
2025-06-25 14:31:53 +02:00
17e6504e36
Move yaml handling code to osc.util.yaml, add fallback to PyYaml
2025-06-19 11:37:10 +02:00
b6f8c6026d
Fix git store when .git is a file with "gitdir: <path>" link
2025-05-22 20:57:52 +02:00
3ac715b40f
Fix how GitStore reads project from the parent directory
2025-05-12 08:50:57 +02:00
dc297f8953
Fix working with _subdirs when detecting packages that are subdirectories in a git project
2025-04-03 15:25:18 +02:00
10fe5cd135
Fix 'osc build' when working with sources from git, when .osc is not available
2025-04-03 13:37:18 +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
ad2413d959
Fix GitStore by parsing git urls with obs_api.Git.urlparse()
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
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
ef451897ff
Fix endless loop in detecting git project
2025-02-24 15:46:34 +01:00
e37c717447
Change how git projects and packages are detected
2025-02-21 13:16:37 +01:00
29508519be
Improve detecting git packages, use .osc metadata from project in parent directory
2025-02-13 13:14:51 +01:00
a6db8ad25c
Fix local building in git projects
...
osc did not find it's store and was unable to run a local build
in a project git
2024-11-29 16:36:48 +01:00
3f17dd0dd8
Fix traceback when running osc from an arbitrary git repo that fails to map branch to a project (boo#1218170)
2024-01-09 11:08:28 +01:00
5a67bd3376
Fix GitStore to error out properly if there is no 'origin' remote in the git repo
2023-08-28 09:54:38 +02:00
5a2ebda567
Raise a RuntimeError when GitStore.project couldn't determine project from the current branch
2023-07-28 14:42:52 +02:00
f60db24e15
Add 'git_scm' module for handling packages that live in git scm rather than usual obs scm
2023-07-28 14:41:59 +02:00