bower / bower

A package manager for the web
bower.io
MIT License
14.99k stars 1.85k forks source link

Allow to overide github url using GitHubResolver #2542

Closed michelpromonet closed 4 years ago

michelpromonet commented 4 years ago

Hi,

In order to not use not directly https://github.com but an artifactory that is giving access to https://github.com we like to change the url in the github resolver.

I made some tries patching the file in a bower install it allow to access to tarball from github though the artifactory generic repository.

So this PR add a new argument in .bowerrc to allow to configure that

        "githuburl": "https://artifactory/github_remote"

Maybe something like tarball-archive-url is more clear, let me know ?

Best Regards,

Michel.

michelpromonet commented 4 years ago

Hi, This is not suffisant to allow to work without github.com access (or a mirroring using git instead of), github.com is still use during resolve and validate phasis. Best Regards, Michel.