-
Notifications
You must be signed in to change notification settings - Fork 131
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
Added compatibility with repository TFS #242
base: master
Are you sure you want to change the base?
Conversation
Hey, Thanks for contributing. Isn't simply registering the package without git+http:// enough? Thanks, |
Hi Barna, Without git+http:// you get a Error 401 Unauthorized, and this is the way that I found to force the authentication for git repositories in TFS. Best, |
I'm sure I'm missing something here :) What I see now is that you register the package with |
When the parameter "repositoryTFS" repository is true, the registerPackages add the prefix "+git"
Apologies, I missed the last change. Now It's fixed. If repositoryTFS is true the register package add "git+" for the action "clone", and when you see the url in the frontEnd or get the bower.json for the details works without "git+". This functionality is not visible for the user. Then in this way for the user is only put the parameter "true". Without this implementation you can register your package adding "git+" (the people must to know or investigate like me) and you can clone but you can´t see the details. Let me know If you need more details Best, |
Hey, Now I get it :) The problem is that if you enable this option you won't be able to use github etc just your TFS server.
This way no option flag is needed + you can use the private-bower with non TFS packages as well. Thanks, |
Hi, Thanks for your replies, I think that is a good idea :) I want to left my solution if you flag the option, because people like me only works with tfs and add your solution too. if the option is not flagged and you put the prefix What do you think? I can do the changes. We can decide for Please, let me know your opinion. Best, |
Added compatibility with repository TFS that resolve the issue #230
Added new parameter in Config file "repositoryTFS" and functionality to do private bower compatible with TFS when the parameter have the value "true"