Whamcloud - gitweb
Add LNET CVS Repository Support
[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)
28         snmptag="HEAD"
29         ;;
30
31     b1_4_newconfig)     
32         portalstag="b_hd_newconfig"
33         lnettag="b_hd_newconfig"
34         ;;
35
36     b_cmd*)
37         portalstag="$lustretag"
38         ;;
39
40     b_port_ahead)
41         portalstag="b_port_ahead"
42         ;;
43
44     b_port_netid)
45         portalstag="b_port_netid"
46         ;;
47
48     # b_port_step is only for portals
49     b_port_step)
50         portalstag="b_port_step"
51         lustretag="HEAD"
52         ;;
53
54     b_port_test)
55         portalstag="b_port_test"
56         ;;
57
58     b_ptl_smallfix)
59         portalstag="b_ptl_smallfix"
60         lustretag="b1_4"
61         ;;
62
63     b_ptlrpc_cleanup)
64         portalstag="b_ptlrpc_cleanup"
65         ;;
66
67     b_release_*)
68         portalstag=$lustretag
69         ;;
70
71     b_ioprovement)
72         portalstag=b_ioprovement
73         ;;
74
75     v1_[0-3]*|v1_4_*|[A-Z]*)
76         portalstag="$lustretag"
77         ;;
78
79     v[1-9]*|cray_200[5-9]*)
80         portalstag="$lustretag"
81         libsysiotag="$lustretag"
82         ;;
83 esac
84
85 cvs_cmd libsysio libsysio "$libsysiotag"
86 cvs_cmd portals portals "$portalstag"
87 cvs_cmd lnet lnet "$lnettag"
88 cvs_cmd snmp lustre-snmp "$snmptag"
89 cvs_cmd lustre lustre-core "$lustretag"