Skip to content

glab-resolved = {base|head} support

Kerri Miller requested to merge github/fork/maxice8/glab-resolved-head into trunk

Created by: maxice8

Description

This is a big one:

  • Create HeadRepo in internal/glrepo, works the same as BaseRepo but checks glab-resolved = head and also picks the first forked repo instead of just the first repo
  • vendor functions used for glab-resolved = base into create_mr and make them work for glab-resolved = head
  • deprecate --target-project as users can just use --repo instead

Related Issue

Resolves #406 (closed) #393 (closed)

How Has This Been Tested?

Alpine

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

TODO

  • Need to re-introduce the alternate code for resolution but make it prefix with base: and head:

Merge request reports