Whamcloud - gitweb
remove b1_6 aliases in anticipation of 1.8 landing
[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
24     # Note these are "specials" -- branches using lnet HEAD don't need an
25     # entry here.
26
27     b1_2)
28         portalstag="b1_2"
29         lnettag=""
30         libsysiotag=""
31         snmptag=""
32         ;;
33
34     b1_4_atime_update)
35         portalstag="b_hd_newconfig"
36         ;;
37
38     b1_4_join)
39         portalstag="b_hd_newconfig"
40         ;;
41
42     b1_4_lfs_df)
43         portalstag="b_hd_newconfig"
44         ;;
45
46     b1_4_lov_lvb_cleanup)
47         portalstag="b_hd_newconfig"
48         ;;
49
50     b1_4_next_recovery_transno)
51         portalstag="b_hd_newconfig"
52         ;;
53
54     b_new_cmd)
55         portalstag="b_new_portals"
56         # lnettag="b_lnet_tmp"
57         ;;
58
59     b_cmd*)
60         portalstag="$lustretag"
61         ;;
62
63     b_iam*)
64         portalstag="b_hd_newconfig"
65         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
66         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
67         ;;
68
69     b_ioprovement)
70         portalstag="b_ioprovement"
71         ;;
72
73     b_newconfig_rdmarouting)
74         portalstag="b_hd_newconfig"
75         lnettag="b_newconfig_rdmarouting"
76         lustretag="b1_4"
77         ;;
78
79     b_port_ahead)
80         portalstag="b_port_ahead"
81         ;;
82
83     b_port_netid)
84         portalstag="b_port_netid"
85         ;;
86
87     # b_port_step is only for portals
88     b_port_step)
89         portalstag="b_port_step"
90         lustretag="HEAD"
91         ;;
92
93     b_port_test)
94         portalstag="b_port_test"
95         ;;
96
97     b_ptl_smallfix)
98         portalstag="b_ptl_smallfix"
99         lustretag="b1_4"
100         ;;
101
102     b_ptlrpc_cleanup)
103         portalstag="b_ptlrpc_cleanup"
104         ;;
105
106     b_self_test)
107         # lnet self test development branch
108         lnettag="b_self_test"
109         lustretag="HEAD"
110         ;;
111
112     # before 1_4_6, we didn't have lnet or snmp
113     b_release_1_2_*|b_release_1_4_[0-5])
114         portalstag="$lustretag"
115         lnettag=""
116         libsysiotag="$lustretag"
117         snmptag=""
118         ;;
119
120     b_release_1_4_6-patchless)
121         portalstag=b_release_1_4_6
122         lnettag=b_release_1_4_6-patchless
123         libsysiotag=b_release_1_4_6
124         snmptag=b_release_1_4_6
125         ;;
126
127     b_release_1_4_6)
128         portalstag="$lustretag"
129         lnettag="$lustretag"
130         libsysiotag="$lustretag"
131         snmptag="$lustretag"
132         ;;
133
134     # all later b_release_* tags
135     b_release_*)
136         lnettag="$lustretag"
137         libsysiotag="$lustretag"
138         snmptag="$lustretag"
139         ;;
140
141     # uOSS
142     b_uoss)
143         lnettag="b_uoss"
144         ;;
145
146     # v1.0-v1.3, v1.4.0-v1.4.2
147     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
148         portalstag="$lustretag"
149         lnettag=""
150         libsysiotag="$lustretag"
151         snmptag=""
152         ;;
153
154     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
155     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
156         portalstag="$lustretag"
157         lnettag=""
158         libsysiotag="$lustretag"
159         snmptag="$lustretag"
160         ;;
161
162     # v1.4.6, v1.4.6.[1-91]
163     v1_4_6_[1-9]|v1_4_6_9[01])
164         portalstag="$lustretag"
165         lnettag=""
166         libsysiotag="$lustretag"
167         snmptag="$lustretag"
168         ;;
169
170     # all later v* tags
171     v[1-9]*)
172         lnettag="$lustretag"
173         libsysiotag="$lustretag"
174         snmptag="$lustretag"
175         ;;
176 esac
177
178 cvs_cmd libsysio libsysio "$libsysiotag"
179 cvs_cmd portals portals "$portalstag"
180 cvs_cmd lnet lnet "$lnettag"
181 cvs_cmd snmp lustre-snmp "$snmptag"
182 cvs_cmd lustre lustre-core "$lustretag"