aboutsummaryrefslogtreecommitdiff
path: root/man/reposync.8
blob: bed67c30a3a49c7cfcbf9a9722a09c366e68a517 (plain)
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
.\" -*- mode: troff; coding: utf-8 -*-
.TH REPOSYNC 8
.SH NAME
reposync \- synchronize git-based package repositories
.SH DESCRIPTION
.LP
\fBreposync\fR synchronizes git-based package repositories using environment
variables for configuration. It does not depend on an \fIapkg.conf\fR file.
.SH OPTIONS
.TP
\fB-n\fR
Dry-run: print actions without executing them.
.TP
\fB-l\fR
Enable logging to \fI/var/log/reposync.log\fR.
.TP
\fB-f\fR
Force sync: remove existing repo directories before cloning fresh.
.TP
\fB-h\fR
Print usage message.
.SH ENVIRONMENT VARIABLES
.LP
Repository configuration is provided via variables with the \fBREPOSYNC_\fR prefix.
Each variable's value uses the pipe-delimited format:
\fI<url>|<branch>|<local-path>\fR.
.PP
For example:
.PP
\f(CRREPOSYNC_CORE="https://codeberg.org/emmett1/alicelinux.git|main|/var/lib/alicelinux"\fR
.PP
\f(CRREPOSYNC_EXTRA="https://codeberg.org/emmett1/alicelinux.git|extra|/var/lib/alicelinux/extra"\fR
.SH EXAMPLES
.LP
\f(CRreposync\fR - Sync all repos configured via REPOSYNC_* variables.
.PP
\f(CRreposync -n\fR - Dry-run to see what actions would be taken.
.PP
\f(CRreposync -l\fR - Sync with logging enabled.
.PP
\f(CRreposync -f\fR - Force fresh clones of all repositories.
.SH AUTHORS
.LP
emmett1 \c
.MT me@emmett1.my
.ME
.SH REPORTING BUGS
.LP
Please report bugs and issues in the project issue tracker: \c
.UR https://codeberg.org/emmett1/autils/issues
.UE