You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
828 B

4 years ago
  1. cd node_modules
  2. GHUSER=johnmclear; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | grep /ep_ | xargs -L1 git clone
  3. GHUSER=johnmclear; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000&page=2" | grep -o 'git@[^"]*' | grep /ep_ | xargs -L1 git clone
  4. GHUSER=johnmclear; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000&page=3" | grep -o 'git@[^"]*' | grep /ep_ | xargs -L1 git clone
  5. GHUSER=johnmclear; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000&page=4" | grep -o 'git@[^"]*' | grep /ep_ | xargs -L1 git clone
  6. cd ..
  7. for dir in `ls node_modules`;
  8. do
  9. # echo $0
  10. if [[ $dir == *"ep_"* ]]; then
  11. if [[ $dir != "ep_etherpad-lite" ]]; then
  12. node bin/plugins/checkPlugin.js $dir autofix autocommit autoupdate
  13. fi
  14. fi
  15. # echo $dir
  16. done