-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathinit-repos.sh
executable file
·48 lines (38 loc) · 1.34 KB
/
init-repos.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
36
37
38
39
40
41
42
43
44
45
46
47
# Init all of the required repos
# Requires a ~/.netrc file present with valid credentials
# Assume we're running in the zap-mgmt-scripts directory
cd ..
# Clone the repos we dont need to update
# Clone forks of the repos we need to update
# and update the to sync with the originals
# change zapbot to your user if required
# zap-admin
git clone https://github.com/zapbot/zap-admin.git
cd zap-admin
git remote add upstream https://github.com/zaproxy/zap-admin.git
cd ..
# zaproxy
git clone https://github.com/zapbot/zaproxy.git
cd zaproxy
git remote add upstream https://github.com/zaproxy/zaproxy.git
cd ..
# zap-extensions
git clone https://github.com/zapbot/zap-extensions.git
cd zap-extensions
git remote add upstream https://github.com/zaproxy/zap-extensions.git
cd ..
# zap-extensions beta
git clone --branch beta https://github.com/zapbot/zap-extensions.git zap-extensions_beta
cd zap-extensions_beta
git remote add upstream https://github.com/zaproxy/zap-extensions.git
cd ..
# zap-extensions alpha
git clone --branch alpha https://github.com/zapbot/zap-extensions.git zap-extensions_alpha
cd zap-extensions_alpha
git remote add upstream https://github.com/zaproxy/zap-extensions.git
cd ..
# zap-core-help
git clone https://github.com/zapbot/zap-core-help.git
cd zap-core-help
git remote add upstream https://github.com/zaproxy/zap-core-help.git
cd ..