sync by install no need session #274

Closed
dead-horse opened this Issue Mar 15, 2014 · 2 comments

Projects

None yet

2 participants

@dead-horse
Member

in the latest npm client, every update request will has a query write=true. so it is easy to separate unpublish and install.

only need to make sure all the unpublish with the latest npm client.

@dead-horse dead-horse self-assigned this Mar 15, 2014
@fengmk2 fengmk2 added this to the v0.3 koa milestone Mar 16, 2014
@fengmk2
Member
fengmk2 commented Mar 16, 2014

npm@1.4.3+ will contains ?write=true, which include in node@0.10.26+ and node@0.11.12+

@dead-horse
Member
$ npm unpublish --verbose connect -f
npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli   '/Users/deadhorse/node_modules/.bin/npm',
npm verb cli   'unpublish',
npm verb cli   '--verbose',
npm verb cli   'connect',
npm verb cli   '-f' ]
npm info using npm@1.4.3
npm info using node@v0.11.11
npm WARN using --force I sure hope you know what you are doing.
npm verb url raw connect?write=true
npm verb url resolving [ 'https://registry.npmjs.org/', './connect?write=true' ]
npm verb url resolved https://registry.npmjs.org/connect?write=true
npm info trying registry request attempt 1 at 13:16:44
npm http GET https://registry.npmjs.org/connect?write=true

we only need to make all admin users use npm@1.4.3+, so all the update request will have ?write=true

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