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

Repos with common prefix won't work. #20

Closed
pulkomandy opened this issue Aug 22, 2015 · 1 comment
Closed

Repos with common prefix won't work. #20

pulkomandy opened this issue Aug 22, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@pulkomandy
Copy link

My layout is:

bar
bar-foo

gws ignores bar-foo because it has "bar" as a prefix. The function remove_prefixed seems to be the problem, as it doesn't check for / just after the prefix. So it excludes more than subdirectories.

@StreakyCobra
Copy link
Owner

Hi,

Thanks for you contribution!

I was able to reproduce your problem, and indeed the remove_prefixed function is the cause. The fix seems simple but I need to check a little bit more if it will cause any other regressions.

BTW the remove_prefixed function is used only when calling gws init or gws check, not when other gws commands are called. So in the meantime, just add your bar-foo project manually inside the .projects.gws and both repository will be used correctly 😃

@StreakyCobra StreakyCobra self-assigned this Aug 26, 2015
@emlun emlun assigned emlun and unassigned StreakyCobra Aug 11, 2017
@emlun emlun added this to the 0.1.12 milestone Aug 11, 2017
@emlun emlun closed this as completed in cc69ef1 Aug 11, 2017
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

3 participants