Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Private github repository #123

Closed
camwest opened this Issue Nov 4, 2012 · 6 comments

Comments

Projects
None yet
4 participants

camwest commented Nov 4, 2012

I saw a bunch of links about creating a private host for components, but it wasn't clear to me if there is support for private github repositories. Can someone point me in the right direction? I'd be more than happy to update the documentation if I could get some help figuring this out.

Contributor

clintwood commented Nov 4, 2012

+1, Our co would like to wholeheartedly adopt TJ's awesome component mechanism and for that we need some of our components in a private repository.

Private github repos are handled via

{
  "remotes" : [
    "https://user:pass@raw.github.com/"
  ]
}

for Github supports basic auth.

If you want them completely inside your infrastructure check https://npmjs.org/package/contre

You would add this as a 2nd remote on your component repos and push to it when you release a component. Then you only need a static file server (like connect with the static middleware) that serves the public folder. The url of this public file server again goes into the remotes path of your component.json.

camwest commented Nov 4, 2012

Where do you think the best place to add this to the FAQ is?

Cameron Westland
Vice-President, Products
647.887.8644
cameron@bigbangtechnology.com

On Sun, Nov 4, 2012 at 3:11 AM, Julian Gruber notifications@github.comwrote:

Private github repos are handled via

{
"remotes" : [
"https://user:pass@raw.github.com/"
]}

for Github supports basic auth.

If you want them completely inside your infrastructure check
https://npmjs.org/package/contre

You would add this as a 2nd remote on your component repos and push to it
when you release a component. Then you only need a static file server (like
connect with the static middleware) that serves the public folder. The
url of this public file server again goes into the remotes path of your
component.json.


Reply to this email directly or view it on GitHubhttps://github.com/component/component/issues/123#issuecomment-10048325.

As a new point at the bottom of the faq page in the wiki?

Contributor

tj commented Nov 4, 2012

@tj tj closed this Nov 4, 2012

Contributor

tj commented Nov 4, 2012

added a mention of contre as well, looks sweet! I need to try it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment