Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtree gets confused when a remote is referenced both with alias and without #2

Open
2 tasks
majewsky opened this issue Jan 5, 2018 · 3 comments
Open
2 tasks
Assignees
Labels

Comments

@majewsky
Copy link
Owner

majewsky commented Jan 5, 2018

$ cd /
$ cg gh:lib/pq
!! /x/src/github.com/lib/pq already exists (if there is a repo there, try `rtree index`)
$ pwd
/
$ cg https://github.com/lib/pq
$ pwd  
/x/src/github.com/lib/pq

Plan:

  • always write repositories into index with their fully expanded remote URL
  • when displaying remote URL, apply available aliases to shorten the URL
@majewsky majewsky added the bug label Jan 5, 2018
@majewsky majewsky self-assigned this Jan 5, 2018
@talal
Copy link

talal commented Aug 24, 2018

bump.

Do you have a fix for this?
I am asking in case you have fixed already but haven't gotten around to committing it yet 😄

@majewsky
Copy link
Owner Author

No, I was too lazy. ^^ If you want to implement the fix that I've described up there, I'd happily accept a PR.

@talal
Copy link

talal commented Aug 27, 2018

I'll try and see if I can come up with something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants