Whamcloud - gitweb
Let's even be specific about the fact that it's the script library that we
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag=""
4 lnettag="HEAD"
5 libsysiotag="HEAD"
6 snmptag="HEAD"
7
8 export LC_COLLATE=C
9
10 case "$lustretag" in
11     '')
12         warn "a lustretag is required."
13         usage >&2
14         exit 1
15         ;;
16     --help | -h)
17         usage
18         exit 0
19         ;;
20
21     # this is the branch table
22     # keep this list sorted alphabetically!
23     b1_2)
24         portalstag="b1_2"
25         lnettag=""
26         libsysiotag=""
27         snmptag=""
28         ;;
29
30     b1_4_atime_update)
31         portalstag="b_hd_newconfig"
32         lnettag="b_hd_newconfig"
33         ;;
34
35     b1_4_join)
36         portalstag="b_hd_newconfig"
37         lnettag="b_hd_newconfig"
38         ;;
39
40     b1_4_lfs_df)
41         portalstag="b_hd_newconfig"
42         lnettag="b_hd_newconfig"
43         ;;
44
45     b1_4_lov_lvb_cleanup)
46         portalstag="b_hd_newconfig"
47         lnettag="b_hd_newconfig"
48         ;;
49
50     b1_4_next_recovery_transno)
51         portalstag="b_hd_newconfig"
52         lnettag="b_hd_newconfig"
53         ;;
54
55     b1_4 | b1_4-patchless | b1_4_*)
56         lnettag="b_hd_newconfig"
57         ;;
58
59     b_new_cmd)
60         portalstag="b_new_portals"
61         lnettag="b_new_lnet"
62         ;;
63
64     b1_5 | b1_5_*)
65         lnettag="b_hd_newconfig"
66         ;;
67
68     b_cmd*)
69         portalstag="$lustretag"
70         ;;
71
72     b_iam*)
73         portalstag="b_hd_newconfig"
74         lnettag="b_hd_newconfig"
75         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
76         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
77         ;;
78
79     b_ioprovement)
80         portalstag="b_ioprovement"
81         ;;
82
83     b_newconfig_rdmarouting)
84         portalstag="b_hd_newconfig"
85         lnettag="b_newconfig_rdmarouting"
86         lustretag="b1_4"
87         ;;
88
89     b_port_ahead)
90         portalstag="b_port_ahead"
91         ;;
92
93     b_port_netid)
94         portalstag="b_port_netid"
95         ;;
96
97     # b_port_step is only for portals
98     b_port_step)
99         portalstag="b_port_step"
100         lustretag="HEAD"
101         ;;
102
103     b_port_test)
104         portalstag="b_port_test"
105         ;;
106
107     b_ptl_smallfix)
108         portalstag="b_ptl_smallfix"
109         lustretag="b1_4"
110         ;;
111
112     b_ptlrpc_cleanup)
113         portalstag="b_ptlrpc_cleanup"
114         ;;
115
116     # before 1_4_6, we didn't have lnet or snmp
117     b_release_1_2_*|b_release_1_4_[0-5])
118         portalstag="$lustretag"
119         lnettag=""
120         libsysiotag="$lustretag"
121         snmptag=""
122         ;;
123
124     b_release_1_4_6-patchless)
125         portalstag=b_release_1_4_6
126         lnettag=b_release_1_4_6-patchless
127         libsysiotag=b_release_1_4_6
128         snmptag=b_release_1_4_6
129         ;;
130
131     b_release_1_4_6)
132         portalstag="$lustretag"
133         lnettag="$lustretag"
134         libsysiotag="$lustretag"
135         snmptag="$lustretag"
136         ;;
137
138     # all later b_release_* tags
139     b_release_*)
140         lnettag="$lustretag"
141         libsysiotag="$lustretag"
142         snmptag="$lustretag"
143         ;;
144
145     # v1.0-v1.3, v1.4.0-v1.4.2
146     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
147         portalstag="$lustretag"
148         lnettag=""
149         libsysiotag="$lustretag"
150         snmptag=""
151         ;;
152
153     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
154     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
155         portalstag="$lustretag"
156         lnettag=""
157         libsysiotag="$lustretag"
158         snmptag="$lustretag"
159         ;;
160
161     # v1.4.6, v1.4.6.[1-91]
162     v1_4_6_[1-9]|v1_4_6_9[01])
163         portalstag="$lustretag"
164         lnettag=""
165         libsysiotag="$lustretag"
166         snmptag="$lustretag"
167         ;;
168
169     # all later v* tags
170     v[1-9]*)
171         lnettag="$lustretag"
172         libsysiotag="$lustretag"
173         snmptag="$lustretag"
174         ;;
175 esac
176
177 cvs_cmd libsysio libsysio "$libsysiotag"
178 cvs_cmd portals portals "$portalstag"
179 cvs_cmd lnet lnet "$lnettag"
180 cvs_cmd snmp lustre-snmp "$snmptag"
181 cvs_cmd lustre lustre-core "$lustretag"