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

Implement git-clone-all #10

Open
mrakitin opened this issue Oct 4, 2019 · 0 comments
Open

Implement git-clone-all #10

mrakitin opened this issue Oct 4, 2019 · 0 comments

Comments

@mrakitin
Copy link
Member

mrakitin commented Oct 4, 2019

Here is a one-liner:

for org in $(curl https://raw.githubusercontent.com/NSLS-II/docs/master/source/gh-orgs-list.rst | grep https://github.com/ | cut -d'<' -f2 | cut -d'>' -f1); do for repo_name in profile_collection ipython_ophyd .ipython xf23id1_profiles; do git clone ${org}/${repo_name} ${repo_name}-$(echo $org | cut -d- -f3-| awk '{print tolower($0)}'); done; done

We need better checks and smarter cloning procedure.

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

1 participant