bower / registry

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

First cut of the unregister function #56

Closed wibblymat closed 10 years ago

wibblymat commented 10 years ago

This adds a new feature to the server allowing people to unregister packages.

You send an HTTP DELETE request to https://{server url}/packages/{package name}?access_token={token} where token is an OAuth token issued by GitHub.

The request will succeed if and only if you have commit access to the github repo that is registered for the package.

Actually generating the tokens for a user will be handled in an update to the client.

benschwarz commented 10 years ago

It'd be really great to get some test coverage into registry in general — especially if we're planning on big changes structurally, it'd be great to have some client integration tests in place.

wibblymat commented 10 years ago

Agreed.