summaryrefslogtreecommitdiff
path: root/docs/man/sbaz.1
blob: 90e01376f05d45858467e4d886ad7d3a3bd2519a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
.\" ##########################################################################
.\" #                      __                                                #
.\" #      ________ ___   / /  ___     Scala 2 On-line Manual Pages          #
.\" #     / __/ __// _ | / /  / _ |    (c) 2002-2007, LAMP/EPFL              #
.\" #   __\ \/ /__/ __ |/ /__/ __ |                                          #
.\" #  /____/\___/_/ |_/____/_/ | |    http://scala-lang.org/                #
.\" #                           |/                                           #
.\" ##########################################################################
.\"
.\" Process this file with nroff -man scala.1
.\"
.TH sbaz 1  "August 24, 2006" "version 0.3" "USER COMMANDS"
.\"
.\" ############################## NAME ###############################
.\"
.SH NAME
.PP
\fBsbaz\fR \- Scala package sharing tool for the Scala 2 language
.\"
.\" ############################## SYNOPSIS ###############################
.\"
.SH SYNOPSIS
.PP
\fBsbaz\fR  [ <\fIglobal_options\fR> ] <\fIcommand\fR> [ <\fIcommand_options\fR> ]
.\"
.\" ############################## PARAMETERS ###############################
.\"
.SH PARAMETERS
.PP
.TP
<\fIglobal_options\fR>
Command line options. See \fBOPTIONS\fR below.
.TP
<\fIcommand\fR>
Internal \fBsbaz\fR command.
.TP
<\fIcommand_options\fR>
\fBsbaz\fR command options.
.\"
.\" ############################## DESCRIPTION ###############################
.\"
.SH DESCRIPTION
.PP
The \fBsbaz\fR tool is a system used by Scala enthusiasts to share computer files with each other. In particular, it makes it easy to share libraries and applications.
.\"
.\" ############################## OPTIONS ###############################
.\"
.SH OPTIONS
.PP
The \fBsbaz\fR tool has a set of standard options that are supported on the current development environment and will be supported in future releases.
.\"
.\" ############################## Global Options ###############################
.\"
.SS "Global Options"
.PP
.TP
\fB\-d\fR <\fIdir\fR> 
Operate on dir as the local managed directory.
.TP
\fB\-n\fR | \fB\-\-dryrun\fR 
Do not actually do anything.  Only print out what tool would normally do with the following arguments.
.TP
\fB\-v\fR | \fB\-\-verbose\fR 
Output messages about what the \fBsbaz\fR tool is doing
.TP
\fB\-version\fR 
Display the version information
.TP
\fB\--univ\fR <\fIname\fR>
Operate on the named remote universe, selected from those in the local managed directory's universe. Affects the \fBshare\fR and \fBretract\fR commands.
.TP
\fB\--univ-url\fR <\fIurl\fR>
Operate on the universe at the specified URL.  Affects the \fBshare\fR and \fBretract\fR commands.
.\"
.\" ############################## Available Commands ###############################
.\"
.SS "Available Commands"
.PP
.TP
\fBavailable\fR
List the available packages for installation; only display the three most recent versions of each package.
.TP
\fBavailable\fR \fB\-a\fR 
List the available packages for installation; display all shared versions of each package.
.TP
\fBcompact\fR
Clear the download cache to save space.
.TP
\fBhelp\fR
Display a help message.
.TP
\fBinstall\fR
Install a package.
.TP
\fBinstalled\fR
List the packages that are installed.
.TP
\fBkeycreate\fR
Request that a new key be created.
.TP
\fBkeyforget\fR
Forget the specified key.
.TP
\fBkeyknown\fR
List all known keys.
.TP
\fBkeyremember\fR
Remember the specified key for future use.
.TP
\fBkeyremoteknown\fR
List all keys known to the bazaar server.
.TP
\fBkeyrevoke\fR
Request that a specified key be revoked.
.TP
\fBpack\fR <\fIname\fR> <\fIdirectory\fR> [ <\fIoptions\fR> ]
Create an sbaz package and, if a link base is specified, an advertisement file. The package file is named name-version.sbp. The advertisement file is named name-version.advert. The URL is the advertisement file is the URL base with the package filename appended.
.TP
\fBremove\fR
Remove a package.
.TP
\fBretract\fR
Retract a previously shared package.
.TP
\fBsetuniverse\fR
Set the universe for a directory.
.TP
\fBsetup\fR
Initialize a directory to be managed.
.TP
\fBshare\fR <\fIfilename\fR>
Share a package advertisement on a bazaar.
.TP
\fBshare\fR \fB\-i\fR <\fIdescriptor\fR> 
The package advertisement is usually specified in a file, but it may also be specified on the command line with the \fB\-i\fR  option.
.TP
\fBshare\fR \fB\-\-template\fR 
If \fB\-\-template\fR  is specified, then instead of uploading a description, the command prints out a template of a package advertisement.
.TP
\fBshow\fR
Show information about one package.
.TP
\fBupdate\fR
Update the list of available packages.
.TP
\fBupgrade\fR
Upgrade all possible packages.
.\"
.\" ############################## EXAMPLES ###############################
.\"
.SH EXAMPLES
.PP
.TP
Update the list of available packages.
\fBsbaz\fR \fBupdate\fR
.TP
Upload package description for scala-devel-2.5.1 to the universe
\fBsbaz\fR \fBshare\fR scala-devel-2.5.1.advert
.\"
.\" ############################## EXIT STATUS ###############################
.\"
.SH "EXIT STATUS"
.PP
\fBsbaz\fR returns a zero exist status if it succeeds to process the specified input files. Non zero is returned in case of failure.
.\"
.\" ############################## AUTHOR ###############################
.\"
.SH AUTHOR
.PP
Written by Lex Spoon.
.\"
.\" ############################## REPORTING BUGS ###############################
.\"
.SH "REPORTING BUGS"
.PP
Report bugs to <scala@listes.epfl.ch>.
.\"
.\" ############################## COPYRIGHT ###############################
.\"
.SH COPYRIGHT
.PP
This is open-source software, available to you under a BSD-like license. See accomponying "copyright" or "LICENSE" file for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" ############################## SEE ALSO ###############################
.\"
.SH "SEE ALSO"
.PP
\fBfsc\fR(1), \fBscala\fR(1), \fBscalac\fR(1), \fBscaladoc\fR(1), \fBscalap\fR(1)