Last active
August 29, 2015 14:11
-
-
Save WardCunningham/f096795d14c80ebf8e4c to your computer and use it in GitHub Desktop.
Clone and Search all FedWiki Plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make a fresh clone of all plugin repos | |
rm -rf all | |
mkdir all | |
for i in `sh listPlugins.sh` | |
do (cd all; git clone [email protected]:fedwiki/$i.git)& | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# search all plugins for code references to wiki | |
grep wiki `ls all/*/client/*.coffee` |\ | |
perl -ne 'print "$2\t$1\n" if /(\S+).*\b(wiki\.\w+)\b/' |\ | |
sort | uniq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list the names of all federated wiki plugins hosted in github.com/fedwiki | |
curl -s https://api.github.com/orgs/fedwiki/repos |\ | |
perl -ne 'print "$1\n" if /"name": "(.+?)"/' |\ | |
grep plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment