-
Notifications
You must be signed in to change notification settings - Fork 1
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
Incorrect ssh endpoints on Windows #1
Comments
Hi! I have never tried it on Windows. Only Ubuntu, Redhat and Mac osx. For the IP - Try this: grunt config:external-ip-adress:port-nr, for example: grunt config:1.2.3.4:80 For the path, I suppose it needs a fix. But I dont have a Windows development machine. If you want to make this fix, I think you need to target the NodeJS variable "__dirname" on line 131 in Gruntfile.js. Regards, Johan |
Hello again! Can you clone this new branch: I would be happy if you can leave a note here if it does, so I can merge with the master branch. Remember that you need to run: grunt config:ip-adress:port before you start registering packages. |
Hi! I also added ability to host dump git http server (and generated endpoint urls point at it) and some more grunt tasks. |
I've setup a bowers-nest server on Windows box.
Then I run 'grunt register:mypackage' on the server.
It generates an endpoint for the package like:
ssh://127.0.0.1C:\Prog\bowers-nest/git_repositories/mypackage.git
It's incorrect url. Obviously bower on the client won't be able to install anything with such url.
Here's several issues. First it's IP-address. Why bowers-nest generates 127.0.0.1? It should be a public machine IP.
Second it's server path. Local path should be converted into url by removing ":" and replacing "" onto "/".
So correct url would be:
ssh://1.2.3.4/C/Prog/bowers-nest/git_repositories/mypackage.git
The text was updated successfully, but these errors were encountered: