Whamcloud - gitweb
Branch: HEAD
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
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_*)
56         portalstag="b_hd_newconfig"
57         lnettag="b_hd_newconfig"
58         ;;
59
60     b1_5 | b1_5_*)
61         portalstag="b_hd_newconfig"
62         lnettag="b_hd_newconfig"
63         # XXX temorary tag until b1_5* is updated from b1_4 liblustre
64         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
65         ;;
66
67     b_cmd*)
68         portalstag="$lustretag"
69         ;;
70
71     b_iam*)
72         portalstag="b_hd_newconfig"
73         lnettag="b_hd_newconfig"
74         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
75         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
76         ;;
77
78     b_ioprovement)
79         portalstag="b_ioprovement"
80         ;;
81
82     b_newconfig_rdmarouting)
83         portalstag="b_hd_newconfig"
84         lnettag="b_newconfig_rdmarouting"
85         lustretag="b1_4"
86         ;;
87
88     b_port_ahead)
89         portalstag="b_port_ahead"
90         ;;
91
92     b_port_netid)
93         portalstag="b_port_netid"
94         ;;
95
96     # b_port_step is only for portals
97     b_port_step)
98         portalstag="b_port_step"
99         lustretag="HEAD"
100         ;;
101
102     b_port_test)
103         portalstag="b_port_test"
104         ;;
105
106     b_ptl_smallfix)
107         portalstag="b_ptl_smallfix"
108         lustretag="b1_4"
109         ;;
110
111     b_ptlrpc_cleanup)
112         portalstag="b_ptlrpc_cleanup"
113         ;;
114
115     # before 1_4_6, we didn't have lnet or snmp
116     b_release_1_2_*|b_release_1_4_[0-5])
117         portalstag="$lustretag"
118         lnettag=""
119         libsysiotag="$lustretag"
120         snmptag=""
121         ;;
122
123     # all later b_release_* tags
124     b_release_*)
125         portalstag="$lustretag"
126         lnettag="$lustretag"
127         libsysiotag="$lustretag"
128         snmptag="$lustretag"
129         ;;
130
131     # v1.0-v1.3, v1.4.0-v1.4.2
132     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
133         portalstag="$lustretag"
134         lnettag=""
135         libsysiotag="$lustretag"
136         snmptag=""
137         ;;
138
139     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
140     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
141         portalstag="$lustretag"
142         lnettag=""
143         libsysiotag="$lustretag"
144         snmptag="$lustretag"
145         ;;
146
147     # all later v* tags
148     v[1-9]*)
149         portalstag="$lustretag"
150         lnettag="$lustretag"
151         libsysiotag="$lustretag"
152         snmptag="$lustretag"
153         ;;
154 esac
155
156 cvs_cmd libsysio libsysio "$libsysiotag"
157 cvs_cmd portals portals "$portalstag"
158 cvs_cmd lnet lnet "$lnettag"
159 cvs_cmd snmp lustre-snmp "$snmptag"
160 cvs_cmd lustre lustre-core "$lustretag"