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

Replace npmcdn.com with unpkg.com #53

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

npmcdn-to-unpkg-bot
Copy link
Contributor

To avoid potential naming conflicts with npm, npmcdn.com is being renamed to unpkg.com. This is an automated pull request to update your project to use the new domain.

@dignifiedquire
Copy link
Member

@RichardLitt any chance you could take care of updating all our readmes in this way?

@RichardLitt
Copy link
Member

@dignifiedquire I could. Would mainly be useful for particular things, like updating the IRC links everywhere, or adding contribute stuff.

Haven't made a GitHub bot before, can't find any guides, but I could make a shell script that uses my credentials pretty easy. What would you suggest?

@dignifiedquire
Copy link
Member

@RichardLitt looks like the bot is starting to get around to our other repos: ipld/js-ipld-block#3 :)

@RichardLitt
Copy link
Member

Nice! 💃

@ForbesLindesay
Copy link

You can track the progress of the bot at https://unpkg-bot.herokuapp.com/ (requires sign in with GitHub but only needs read-only access to public data). It scans one user/org at a time in the order they joined GitHub. So far it's scanned about 12 million users.

@RichardLitt
Copy link
Member

@ForbesLindesay Thanks! Do you have the sourcecode for the bot, anywhere? I want to build something similar.

@ForbesLindesay
Copy link

https://github.com/ForbesLindesay/unpkg-bot

The only bits you should need to change are https://github.com/ForbesLindesay/unpkg-bot/blob/master/src/codemod-repo.js

and

https://github.com/ForbesLindesay/unpkg-bot/blob/master/src/get-repos-for-user.js#L7

so that you apply your own choice of update and search for your own choice of keyword.

You do need a lot of people to sign in though so that you have enough access keys to not just keep getting rate limited.

P.S. I was thinking about developing this into a product that would let you say something like "run this codemod on all of GitHub for $30".

@RichardLitt
Copy link
Member

@dignifiedquire Got a good use case for the initial test? Maybe adding Contribute to everything?

@dignifiedquire
Copy link
Member

@ForbesLindesay thank you :)

@RichardLitt we are missing correct installation instructions on many repos (the browser, node things) and it would be great to do a check if all badges are present and have the correct links (with all the move between orgs there are probably still some with the wrong urls.

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

Successfully merging this pull request may close these issues.

None yet

4 participants