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

Managing local plugins #9

Closed
termac opened this issue Mar 31, 2011 · 7 comments
Closed

Managing local plugins #9

termac opened this issue Mar 31, 2011 · 7 comments
Labels

Comments

@termac
Copy link
Contributor

termac commented Mar 31, 2011

Vundle does not seem to handle local repositories. If e.g. I add "Bundle 'file:///builds/vim-smart-statusline'" to vimrc and do a :BundleInstall it reports sucessfull installation but I only get an empty "file://builds" directorye inside ~/.vim/bundle.

@gmarik
Copy link
Contributor

gmarik commented Mar 31, 2011

Hey termac! Vundle's error reporting is on TODO list, thats why u get false success, sorry!
Other than that, try Bundle '/builds/vim-smart-statusline' (without file://)
Or use:
Bundle '
/builds/vim-smart-statusline/.git'
in case '~/builds/vim-smart-statusline' is a working copy.

Thanks for reporting this!

@termac
Copy link
Contributor Author

termac commented Mar 31, 2011

I tried without "file://" already with the same result: empty dir structure.
Adding /.git to the path results in Vundle not trying to install the plugin at all as it seems.
Atleast it is reporting "Installed Bundles: " whereas without /.git it reports the pathname as plugin that has been installed.

@gmarik
Copy link
Contributor

gmarik commented Mar 31, 2011

I see...
I've never came across any issues with local repos as i'm using local repo myself
ok, i'll try to reproduce this issue and fix it.
Thank you!

@termac
Copy link
Contributor Author

termac commented Mar 31, 2011

It works fine if the dir ends in ".git". Propably a common way to name local repos. I send a pull request anyway to change the regex for url prasing to match on "file://" and/or leading "~" or "/" of the path component.

@gmarik
Copy link
Contributor

gmarik commented Apr 3, 2011

so git is complaining about uris like:
file://~/path
Vundle should not support them as well.
Other than that after minor changes fixes pushed to master

@gmarik gmarik closed this as completed Apr 3, 2011
@termac
Copy link
Contributor Author

termac commented Apr 4, 2011

You are right. I did not test all variants, sorry. Thanks for your work on vundle!

@YuMS
Copy link

YuMS commented Mar 14, 2015

I tried to build a plugin on windows, but neither Bundle E:\somewhere\something nor Bundle E:/somewhere/something nor Bundle file://E:\somewhere\something nor Bundle file://E:/somewhere/something works.

Log wrote:

$git clone --recursive "E:\somewhere\something" "C:\
Users\me\.vim\bundle\E:somewhere\something
fatal: could not create work tree dir 'C:\Users\me\.vim\bundle\E:somewhere\something'.: Invalid argument

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

Successfully merging a pull request may close this issue.

3 participants