1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-17 17:40:43 +01:00
Files
Antonello Tartamo 8092d579bd git-obs: Add --separate-requests and --dry-run to pr create
This introduces the ability to create multiple pull requests at once for
projects managing multiple packages.

Key changes:
- `pr create --separate-requests`: Automatically discovers packages using
  `_manifest` (if present) or top-level directories. It iterates through
  them and creates a PR for each if changes are detected.
- `pr create --dry-run`: Allows previewing the operations (source/target
  details, title, description) without actually creating the pull request
  on the server.
- Refactored `pr create` logic to separate argument parsing from the
  creation action, enabling reuse for the batch operation.
- Improved handling of "detached HEAD" state in `gitea_api.Git`:
  `current_branch` now returns `None` instead of an empty string, and
  the command raises a helpful error message instead of failing on an
  empty string check.
- Added early exit optimization for local packages that match the target
  commit.
2026-02-08 19:01:54 +01:00
..
2026-02-02 08:43:38 +01:00
2025-12-18 10:30:46 +01:00
2009-12-03 19:19:53 +01:00
2024-01-06 10:00:38 +01:00
2025-02-26 18:34:59 +01:00
2022-12-05 15:28:02 +01:00