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