bower / registry

The Bower registry
https://registry.bower.io/packages
MIT License
292 stars 66 forks source link

UnRegister packages in private instance of Bower Registry #105

Closed santbob closed 9 years ago

santbob commented 9 years ago

HI

We are running a private registry for bower for our internal components and we need to remove/unregister certain packages. Is there a way to do it.

Curl delete dosent help.

sheerun commented 9 years ago

With this registry implementation you can only unregister public packages hosted on GitHub.com.

You can implement isOwner function in lib/routes/packages.js by yourself, for example:

function isOwner (packageName, token, callback) {
  callback(null, true);
}

PR with better isOwner handling is welcome.