-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitclone.sh
executable file
·35 lines (33 loc) · 1.01 KB
/
gitclone.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
URLS=(
# Kernel/VM
"git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
"git://git.qemu.org/qemu.git"
"git://git.fedorahosted.org/virt-manager.git"
"git://libvirt.org/libvirt.git"
# DataBase
"https://github.com/basho/riak.git"
"https://github.com/mongodb/mongo.git"
"git://git.postgresql.org/git/postgresql.git"
"https://github.com/apache/couchdb.git"
"https://github.com/antirez/redis.git"
# Language
"https://github.com/python/cpython.git"
"https://github.com/erlang/otp.git"
"https://github.com/ocaml/ocaml.git"
"git://perl5.git.perl.org/perl.git"
"https://github.com/php/php-src.git"
# Web
"https://github.com/apache/httpd.git"
"https://github.com/joyent/node.git"
# OpenStack
"https://github.com/openstack/nova.git"
"https://github.com/openstack/neutron.git"
"https://github.com/openstack/swift.git"
)
for url in ${URLS[@]}
do
BASE=$(basename $url)
DIR=$(echo $BASE | sed -e "s/\.git//")
git clone $url repos/$DIR
done