[Staging] Update dataset repos automatically on the Hub
MEMBER
do keep us updated on how it's going in staging! cc @SBrandeis 
2021-12-20T17:18:24Z
https://github.com/huggingface/datasets/pull/3451#issuecomment-998122796
https://api.github.com/repos/huggingface/datasets/issues/3451
IC_kwDODunzps47fiUs
https://api.github.com/repos/huggingface/datasets/issues/comments/998122796/reactions
2021-12-20T17:18:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/998122796
https://avatars.githubusercontent.com/u/326577?v=4
https://api.github.com/users/julien-c/events{/privacy}
https://api.github.com/users/julien-c/followers
https://api.github.com/users/julien-c/following{/other_user}
https://api.github.com/users/julien-c/gists{/gist_id}
https://github.com/julien-c
julien-c
MDQ6VXNlcjMyNjU3Nw==
https://api.github.com/users/julien-c/orgs
https://api.github.com/users/julien-c/received_events
https://api.github.com/users/julien-c/repos
https://api.github.com/users/julien-c/starred{/owner}{/repo}
https://api.github.com/users/julien-c/subscriptions
User
https://api.github.com/users/julien-c
public
MEMBER
Sure ! For now it works smoothly. We'll also do a new release today.

I can send you some repos to explore on staging, in case you want to see how they look like after being updated.
For example [swahili_news](https://moon-staging.huggingface.co/datasets/swahili_news/tree/main)
2021-12-21T10:25:46Z
https://github.com/huggingface/datasets/pull/3451#issuecomment-998658690
https://api.github.com/repos/huggingface/datasets/issues/3451
IC_kwDODunzps47hlKC
https://api.github.com/repos/huggingface/datasets/issues/comments/998658690/reactions
2021-12-21T10:25:46Z
https://api.github.com/repos/huggingface/datasets/issues/comments/998658690
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Let's have a script that updates the dataset repositories on staging for now. This way we can make sure it works fine before going in prod.

Related to https://github.com/huggingface/datasets/issues/3341

The script runs on each commit on `master`. It checks the datasets that were changed, and it pushes the changes to the corresponding repositories on the Hub.

If there's a new dataset, then a new repository is created.

If the commit is a new release of `datasets`, it also pushes the tag to all the repositories.