Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm organisation #14

Open
sindresorhus opened this issue Mar 24, 2017 · 20 comments
Open

npm organisation #14

sindresorhus opened this issue Mar 24, 2017 · 20 comments

Comments

@sindresorhus
Copy link
Contributor

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
Copy link

shinnn commented Mar 24, 2017

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

@1000ch
Copy link

1000ch commented Mar 24, 2017

Done.

@kevva
Copy link
Contributor

kevva commented Mar 24, 2017

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

@sindresorhus
Copy link
Contributor Author

@kevva Which ones? Can you paste the output?

@kevva
Copy link
Contributor

kevva commented Mar 24, 2017

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 npm/npm#15667.

@kevva
Copy link
Contributor

kevva commented Mar 24, 2017

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

@sindresorhus
Copy link
Contributor Author

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
Copy link
Contributor

kevva commented Mar 24, 2017

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

gifsicle
guetzli-bin
imagemin-guetzli
mozjpeg-bin

@sindresorhus
Copy link
Contributor Author

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

@kevva
Copy link
Contributor

kevva commented Mar 24, 2017

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

@sindresorhus
Copy link
Contributor Author

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
Copy link

1000ch commented Mar 24, 2017

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

@sindresorhus
Copy link
Contributor Author

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

@bradbaris
Copy link

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

@sindresorhus
Copy link
Contributor Author

@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
Copy link
Contributor Author

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

@1000ch
Copy link

1000ch commented Mar 25, 2017

@sindresorhus Sure 👍

@bradbaris
Copy link

@sindresorhus Done

@bradbaris
Copy link

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

@sindresorhus
Copy link
Contributor Author

sindresorhus commented Mar 29, 2017

@bradbaris Namespace is available now. Commence transfer :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants