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

Using tilde for git master ("~master") is a bad idea #23

Closed
simendsjo opened this issue Feb 26, 2013 · 8 comments
Closed

Using tilde for git master ("~master") is a bad idea #23

simendsjo opened this issue Feb 26, 2013 · 8 comments

Comments

@simendsjo
Copy link

Tools will often expand ~ to your home folder. Trying to reference the package directory will then expand to something like this:

/usr/lib/dub/packages/vibe-d//home/simendsjo/master/source
@s-ludwig
Copy link
Member

The tilde is not used in path names anymore. However, it can still occur on a command line (e.g. dub install vibe-d --version=~master). But all shells I've tested only subsitute a lone "" or "/suffix", but not "~suffix", do you think this will be a problem somewhere anyway?

@simendsjo
Copy link
Author

I got the problem in mono-d when pointing to the library to get
autocompletion. The shells might be smart enough, but various hackish
implementations probably isn't.

@s-ludwig
Copy link
Member

OK, so then I guess with the fixed paths everything is alright now...

@simendsjo
Copy link
Author

Hmm..? What do you mean by "fixed paths"?

@s-ludwig
Copy link
Member

The tilde is not used in path names anymore.

@simendsjo
Copy link
Author

Ok. Seems unistalling a (system) module isn't implemented yet. Can I just delete the folder to test this new behavior?

@s-ludwig
Copy link
Member

Yes, deleting should work fine. I'll make a ticket for uninstalling.

@mdondorff
Copy link
Contributor

Ticket for uinstalling #24 is resolved, closing this as well.

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

No branches or pull requests

3 participants