Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head" #433

Closed
profclems opened this issue Dec 28, 2020 · 2 comments · Fixed by #437
Closed

expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head" #433

profclems opened this issue Dec 28, 2020 · 2 comments · Fixed by #437
Labels
bug Something isn't working priority: high Affects a large population and inhibits work

Comments

@profclems
Copy link
Owner

Description

There's this nasty bug around the base and head resolution. All the commands are not usable and this error is always printed:

expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"

Expected Behavior vs Actual Behavior

Possible Fix

Steps to Reproduce

  1. Type this '...'
  2. View the output '....'
  3. See error

Logs

ProfClems:  ~/.../profclems/test  |master → origin ✓|
→ git remote -v
upstream    git@gitlab.com:glab-cli/test.git (fetch)
upstream    git@gitlab.com:glab-cli/test.git (push)
origin  git@gitlab.com:profclems/test.git (fetch)
origin  git@gitlab.com:profclems/test.git (push)


ProfClems:  ~/.../profclems/test  |master → origin ✓|
→ git config -l | grep glab-resolved
remote.origin.glab-resolved=head
remote.upstream.glab-resolved=base


ProfClems:  ~/.../profclems/test  |master → origin ✓|
→ glab ci view
expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"

ProfClems:  ~/.../profclems/test  |master → origin ✓|
→ glab mr create
expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"

Your Environment

  • Version used (Run glab --version): glab version 1.13.0 (2020-12-27)
  • Operating System and version: Arch Linux x86_64 (5.9.14-arch1-1)
@profclems profclems added bug Something isn't working priority: high Affects a large population and inhibits work labels Dec 28, 2020
@profclems profclems added this to To do 📝 in GLab: A GitLab CLI Tool via automation Dec 28, 2020
@maxice8
Copy link
Collaborator

maxice8 commented Dec 28, 2020

Working on fix

@maxice8
Copy link
Collaborator

maxice8 commented Dec 28, 2020

Should be fixed by #437

GLab: A GitLab CLI Tool automation moved this from To do 📝 to Done 🤝 Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working priority: high Affects a large population and inhibits work
Projects
Development

Successfully merging a pull request may close this issue.

2 participants