Blob


1 .\"
2 .\" Copyright (c) 2023 Benjamin Stürz
3 .\"
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
7 .\"
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 .\"
16 .Dd $Mdocdate$
17 .Dt GOT-ARCHIVE-ALL 1
18 .Os
19 .Sh NAME
20 .Nm got-archive-all
21 .Nd run got-archive(1) on all repositories
22 .Sh SYNOPSIS
23 .Nm got-archive-all
24 .Op Fl fsV
25 .Op Fl o Ar outdir
26 .Op Fl t Ar tmpdir
27 .Ar directory
28 .Sh DESCRIPTION
29 .Nm
30 runs
31 .Xr got-archive 1
32 on all repositories in
33 .Ar directory .
34 .Pp
35 The options are as follows:
36 .Bl -tag -width -Ds
37 .It Fl f
38 Don't skip already existing tarballs.
39 .It Fl o Ar outdir
40 An existing directory in which the tarball will be created.
41 By default, this will be the current working directory.
42 .It Fl s
43 Strip a preceding "v" from the
44 .Ar branch/tag .
45 .It Fl t Ar tmpdir
46 A temporary directory used for the checkout.
47 By default, this will be
48 .Ar /tmp/got-archive .
49 .It Fl V
50 Print the version of got-archive(1) and exit.
51 .Sh EXIT STATUS
52 .Ex -std got-archive-all
53 .Sh EXAMPLES
54 Create tarballs for all repositories in
55 .Pa /var/git
56 and put them into
57 .Pa /mnt .
58 .Pp
59 .Dl $ got-archive-all -s -o /mnt /var/git
60 .Sh SEE ALSO
61 .Xr got-archive 1
62 .Sh AUTHORS
63 .An Benjamin Stürz Aq Mt benni@stuerz.xyz