Whamcloud - gitweb
4ffd09af4b106fcee8ffa2ec848d1f4bcbb77266
[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=""
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         ;;
26
27     b1_4_next_recovery_transno)
28         snmptag="HEAD"
29         portalstag="b_hd_newconfig"
30         lnettag="b_release_1_4_6"
31         libsysiotag="b_release_1_4_6"
32         ;;
33
34     b1_4_lfs_df)
35         snmptag="HEAD"
36         portalstag="b_hd_newconfig"
37         lnettag="b_release_1_4_6"
38         libsysiotag="b_release_1_4_6"
39         ;;
40     
41     b1_4_atime_update)
42         snmptag="HEAD"
43         portalstag="b_hd_newconfig"
44         lnettag="b_release_1_4_6"
45         libsysiotag="b_release_1_4_6"
46         ;;
47
48     b1_4_lov_lvb_cleanup)
49         snmptag="HEAD"
50         portalstag="b_hd_newconfig"
51         lnettag="b_release_1_4_6"
52         libsysiotag="b_release_1_4_6"
53         ;;
54         
55     b1_4_rhel4_22)
56         snmptag="HEAD"
57         portalstag="b_release_1_4_6"
58         lnettag="b_release_1_4_6"
59         ;;
60
61     b1_4 | b1_4_*)
62         snmptag="HEAD"
63         portalstag="b_hd_newconfig"
64         lnettag="b_hd_newconfig"
65         ;;
66
67     b1_4_join)
68         snmptag="HEAD"
69         portalstag="b_hd_newconfig"
70         lnettag="b_hd_newconfig"
71         ;;
72
73     b1_5 | b1_5_*)
74         snmptag="HEAD"
75         portalstag="b_hd_newconfig"
76         lnettag="b_hd_newconfig"
77         ;;
78
79     b_cmd*)
80         portalstag="$lustretag"
81         ;;
82
83     b_ioprovement)
84         portalstag=b_ioprovement
85         ;;
86
87     b_newconfig_rdmarouting)
88         portalstag="b_hd_newconfig"
89         lnettag="b_newconfig_rdmarouting"
90         lustretag="b1_4"
91         ;;
92
93     b_port_ahead)
94         portalstag="b_port_ahead"
95         ;;
96
97     b_port_netid)
98         portalstag="b_port_netid"
99         ;;
100
101     # b_port_step is only for portals
102     b_port_step)
103         portalstag="b_port_step"
104         lustretag="HEAD"
105         ;;
106
107     b_port_test)
108         portalstag="b_port_test"
109         ;;
110
111     b_ptl_smallfix)
112         portalstag="b_ptl_smallfix"
113         lustretag="b1_4"
114         ;;
115
116     b_ptlrpc_cleanup)
117         portalstag="b_ptlrpc_cleanup"
118         ;;
119
120     b_release_*)
121         portalstag=$lustretag
122         ;;
123
124     RELEASE_1_4_6_B1_4_JOIN_LAND_PARENT_20051208_1641)
125         lnettag="b_hd_newconfig"
126         portalstag="b_hd_newconfig"
127         ;;
128
129     # v1.0-v1.3, v1.4.0-v1.4.2
130     v1_[0-3]_*|v1_4_[0-2]*)
131         portalstag="$lustretag"
132         ;;
133
134     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
135     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
136         portalstag="$lustretag"
137         libsysiotag="$lustretag"
138         ;;
139
140     # all later v* tags
141     v[1-9]*)
142         portalstag="$lustretag"
143         lnettag="$lustretag"
144         libsysiotag="$lustretag"
145         ;;
146 esac
147
148 cvs_cmd libsysio libsysio "$libsysiotag"
149 cvs_cmd portals portals "$portalstag"
150 cvs_cmd lnet lnet "$lnettag"
151 cvs_cmd snmp lustre-snmp "$snmptag"
152 cvs_cmd lustre lustre-core "$lustretag"