1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-30 16:18:19 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
fe9c535596 Another take on parsing pull request references
Parse only references that start with 'PR:'.
Parse both owner/repo#number and gitea_url/owner/repo/pulls/number
2025-10-02 08:48:42 +02:00
Andrii Nikitin
999c1a716f Work around submodules without commit
Apparently there is some discrepancy between .submodules and git submodules status

> ./git-obs.py repo clone products/SLFO -G ibs
❯ cd SLFO
❯ git submodule status | grep '\bxli\b'
❯ grep -A 1 '\bxli\b' .gitmodules
[submodule "xli"]
	path = xli
	url = ../../SLFO-pool/xli
[submodule "xmessage"]
2025-10-02 08:48:42 +02:00
Andrii Nikitin
0108e8e70f pr_dump: Show warning on incorrect submodule url 2025-10-02 08:48:42 +02:00
Andrii Nikitin
85e00ec85e pr dump: support for short pr references
Also work around empty IssueTimelineEntries
2025-10-02 08:48:42 +02:00
Andrii Nikitin
a208031331 Dump referenced PRs to metadata/referenced-pull-requests.json 2025-10-02 08:48:42 +02:00
7ff0cdc6b4 Extend 'git-obs pr dump' to create metadata about submodules and their diff 2025-10-02 08:48:42 +02:00
a1b05a739b Include timeline in 'git-obs pr dump' results 2025-10-02 08:48:42 +02:00
0e4a7df482 Add '--subdir-fmt' to 'git-obs pr dump' for tweaking the output subdir 2025-10-02 08:48:42 +02:00
1b8fb3c584 Fix 'git-obs pr dump' to update 'base' directory to a newer commit correctly 2025-10-02 08:48:42 +02:00
1c8277c222 Speed 'git-obs pr dump' up by skipping git fetch if the HEAD commits match with commits from Gitea 2025-10-02 08:48:42 +02:00
f288795e58 Implement 'git-obs pr dump' command to store pull request information on disk 2025-10-02 08:48:38 +02:00