imagemin / meta

General discussion repo for imagemin related projects
6 stars 2 forks source link

npm organisation #14

Open sindresorhus opened 7 years ago

sindresorhus commented 7 years ago

npm organisations are now free for open-source, so I made one for us: https://www.npmjs.com/org/imagemin

It turns out only the original publisher can add packages to the org, so I couldn't add most of our packages.

@kevva @shinnn @1000ch Can you please run this command so we can have all our packages in the npm org?

npm access grant read-write imagemin:developers imagemin;npm access grant read-write imagemin:developers imagemin-cli;npm access grant read-write imagemin:developers imagemin-pngquant;npm access grant read-write imagemin:developers imagemin-guetzli;npm access grant read-write imagemin:developers guetzli-bin;npm access grant read-write imagemin:developers mozjpeg-bin;npm access grant read-write imagemin:developers imagemin-svgo;npm access grant read-write imagemin:developers imagemin-pngcrush;npm access grant read-write imagemin:developers pngcrush-bin;npm access grant read-write imagemin:developers zopflipng-bin;npm access grant read-write imagemin:developers imagemin-optipng;npm access grant read-write imagemin:developers imagemin-gifsicle;npm access grant read-write imagemin:developers gifsicle-bin;npm access grant read-write imagemin:developers imagemin-mozjpeg;npm access grant read-write imagemin:developers imagemin-jpegtran;npm access grant read-write imagemin:developers cwebp-bin;npm access grant read-write imagemin:developers imagemin-zopfli;npm access grant read-write imagemin:developers imagemin-jpeg-recompress;npm access grant read-write imagemin:developers imagemin-webp;npm access grant read-write imagemin:developers imagemin-jpegoptim;npm access grant read-write imagemin:developers jpegoptim-bin;npm access grant read-write imagemin:developers imagemin-pngout;npm access grant read-write imagemin:developers jpeg-recompress-bin;npm access grant read-write imagemin:developers advpng-bin;npm access grant read-write imagemin:developers imagemin-advpng;npm access grant read-write imagemin:developers pngout-bin

Comment here when done.

shinnn commented 7 years ago

Done. I could add only one package imagemin-jpeg-recompress to the org though.

1000ch commented 7 years ago

Done.

kevva commented 7 years ago

Done, but some of them failed due to 401 user cannot modify package : -/team/imagemin/developers/package.

sindresorhus commented 7 years ago

@kevva Which ones? Can you paste the output?

kevva commented 7 years ago

It doesn't say, just getting a lot of these:

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kevva/.npm/_logs/2017-03-24T08_06_13_683Z-debug.log
npm ERR! code E401
npm ERR! user cannot modify package : -/team/imagemin/developers/package

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/kevva/.npm/_logs/2017-03-24T08_06_21_825Z-debug.log
npm ERR! code E401
npm ERR! user cannot modify package : -/team/imagemin/developers/package

Possibly related to https://github.com/npm/npm/issues/15667.

kevva commented 7 years ago

Looking through the log files I see most of the ones that failed already exists in the organisation.

sindresorhus commented 7 years ago

Hmm, seems we're missing 5 repos then. Could anyone compare https://www.npmjs.com/org/imagemin against https://github.com/imagemin and see what we're missing?

kevva commented 7 years ago

Might have missed one, but these are missing from the org:

gifsicle guetzli-bin imagemin-guetzli mozjpeg-bin

sindresorhus commented 7 years ago

Weird, gifsicle worked for me now. @shinnn @1000ch Can you try again?

kevva commented 7 years ago

mozjpeg should be added now too. The repo names sometimes differ from the npm equivalents by not having the -bin suffix.

sindresorhus commented 7 years ago

Oh, It seems https://www.npmjs.com/package/imagemin-guetzli is already a thing.


@1000ch Can you run: npm access grant read-write imagemin:developers guetzli

1000ch commented 7 years ago

Done and checked guetzli in https://www.npmjs.com/org/imagemin.

sindresorhus commented 7 years ago

@bradbaris Would you be interested in joining the Imagemin organisation and moving imagemin-guetzli here?

bradbaris commented 7 years ago

Hi guys. Sure, I'm all for merging it in. If @1000ch wants the repo, that's possible too.

sindresorhus commented 7 years ago

@bradbaris Cool. I invited you to the org.

@1000ch Are you ok with using https://www.npmjs.com/package/imagemin-guetzli in favor of https://github.com/imagemin/imagemin-guetzli ? It seems more complete.

sindresorhus commented 7 years ago

@bradbaris Could you run npm access grant read-write imagemin:developers imagemin-guetzli ?

1000ch commented 7 years ago

@sindresorhus Sure 👍

bradbaris commented 7 years ago

@sindresorhus Done

bradbaris commented 7 years ago

Ready to transfer repo. Waiting for the imagemin/imagemin-guetzli namespace to become available

sindresorhus commented 7 years ago

@bradbaris Namespace is available now. Commence transfer :)