Giter VIP home page Giter VIP logo

npmjs.us's People

Contributors

tjwebb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npmjs.us's Issues

full npm api support

This is relevant mostly for publishing. npmjs.us mirror already supports the full GET api. The PUT api is basically not supported at all; npm publishing to the npmjs.us mirror will fail. Some unit tests are in order here.

Curious about purpose of this module

Most local mirrors are created for the purpose of reliability.

I see that you're creating a local mirror for the npm registry, but all requests for registry.npmjs.org from anywhere near Norfolk will hit the Ashland, VA, Fastly POP anyway, which is our shielding cache endpoint for the registry. It seems like any cause of an outage there will either (a) not affect you (if it partitions us-east from the world) or (b) affect npmjs.us just as badly as registry.npmjs.com.

Also, you're proxying all tarball requests to fullfatdb.npmjs.com, so you'll have strictly less reliability than by going through the Fastly endpoint. If your purpose was to colocate a registry in AWS's us-east datacenter to reduce cross-DC bandwidth, you're losing out here, because fullfatdb.npmjs.com is hosted on Joyent, and you're proxying all the bits through your nginx endpoint.

So... what are you trying to do? Maybe we can help :)

couchdb access control

Still not sure if I want to use couchdb's access control. Probably. It needs the following:

  • one database per group, one group per database
  • many users per group
  • one user can be in multiple groups I suppose
  • groups cannot access other groups' stuff

nginx private locations

nginx config is in the etc folder in this repo. Add location for <owner> to namespace private modules between users.

  • I should be able to post the full nginx config for the private repo and not reveal any useful security info

old npm versions throw SELF_SIGNED_CERT_IN_CHAIN

They sure do.

with npm 1.3.0:

npm http GET https://registry.npmjs.us/public/underscore-contrib
npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR!     at Request.onResponse (/usr/lib/nodejs/npm/node_modules/request/index.js:655:24)
npm ERR!     at ClientRequest.g (events.js:192:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:96:17)
npm ERR!     at HTTPParser.parserOnIncomingClient (http.js:1588:7)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
npm ERR!     at CleartextStream.socketOnData (http.js:1491:20)
npm ERR!     at CleartextStream.CryptoStream._push (tls.js:544:27)
npm ERR!     at SecurePair.cycle (tls.js:898:20)
npm ERR!     at EncryptedStream.CryptoStream.write (tls.js:285:13)
npm ERR!     at Socket.ondata (stream.js:38:26)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.