Skip to content

Instantly share code, notes, and snippets.

@acidtib
Created January 22, 2015 18:23
Show Gist options
  • Select an option

  • Save acidtib/03943d3924802ca60f8d to your computer and use it in GitHub Desktop.

Select an option

Save acidtib/03943d3924802ca60f8d to your computer and use it in GitHub Desktop.
repos = [
{
"repo" => "https://github.com/yairsz/BitVote.git",
"name" => "BitVote"
},
{
"repo" => "https://github.com/xbanegas/bitJuke.git",
"name" => "bitJuke"
},
{
"repo" => "https://github.com/sebastiancoin/BitRocket.git",
"name" => "BitRocket"
},
{
"repo" => "https://github.com/rocketgames/ProjectAbe.git",
"name" => "ProjectAbe"
},
{
"repo" => "https://github.com/priestc/Autotip.git",
"name" => "Autotip"
},
{
"repo" => "https://github.com/Mekki78/bitcoin_42_prestashop.git",
"name" => "bitcoin_42_prestashop"
},
{
"repo" => "https://github.com/mbdhack/Blockchain-Badges.git",
"name" => "Blockchain-Badges"
},
{
"repo" => "https://github.com/gubatron/SellerTrade.git",
"name" => "SellerTrade"
},
{
"repo" => "https://github.com/eighteyes/silverWind.git",
"name" => "silverWind"
},
{
"repo" => "https://github.com/CyberStrike/tombstone.git",
"name" => "tombstone"
},
{
"repo" => "https://github.com/brighton36/opidoki.git",
"name" => "opidoki"
},
{
"repo" => "https://[email protected]/salvipascual/bitbank.git",
"name" => "bitbank"
},
{
"repo" => "http://git.oksoftwr.com/codexsw/blbackend.git",
"name" => "blbackend"
}
]
repos.each do |repo|
system( "git clone #{repo['repo']} #{repo['name']}" )
end
system( "clear" )
repos.each do |repo|
system( "cd #{repo['name']} && git log --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf \"%s\", add, subs, loc }' - && echo \n cd .." )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment