]> pd.if.org Git - zpackage/blob - doc/zpm-repo.8
remove stray debug fprintf
[zpackage] / doc / zpm-repo.8
1 .TH zpm-repo 8 2018-11-30 "ZPM 0.2"
2 .SH NAME
3 zpm-repo \- manage remote package repositories
4 .SH SYNOPSIS
5 .B zpm repo
6 [
7 .BI -R " path"
8 ]
9 [
10 .BI -d " path"
11 ]
12 [
13 .I subcommand ...
14 ]
15 .SH DESCRIPTION
16 zpm-repo manages remote repositories
17 .PP
18 zpm-repo operates in several modes: list, add, del(ete), url,
19 .SS list
20 lists each defined remote repository, along with its priority, url,
21 and a unix timestamp of the last time it was refreshed.
22 .SS add
23 zpm-repo add \fIname url\fR
24 .PP
25 add a new repository.  The name is arbitrary.
26 .SS del
27 zpm-repo del \fIname\fR
28 .PP
29 Delete the named repository.  Also delete any cached packages downloaded
30 from this repository.
31 .SS url
32 zpm-repo url \fIname [ newurl ]\fR
33 .PP
34 Print or set the url of a given repository.
35 .SS pri
36 zpm-repo pri \fIname [ newurl ]\fR
37 .PP
38 Print or set the priority of a given repository.
39 .SS fetch
40 zpm-repo fetch \fIname downloadargs\fR
41 .PP
42 download a given package, download is an alias for fetch.
43 .SS update
44 zpm-repo update \fIname\fR
45 .PP
46 Update repository metadata.  Pull is an alias for update.
47 .SS packages
48 zpm-repo packages \fIname\fR
49 .PP
50 List packages contained in a repo.
51 .SS contents
52 zpm-repo contents \fIname package\fR
53 .PP
54 List files contained in a given package of a repo.
55 .SS purge
56 zpm-repo purge \fIname purgeinfo\fR
57 .PP
58 Deletes packages from the repository package cache.  Deletes
59 all packages if purgeinfo is not given.
60 .SH OPTIONS
61 .TP
62 \-R
63 specify a root directory for packages
64 .TP
65 \-d
66 specify a zpm database where repository information is stored.
67 .SH EXAMPLES
68 zpm repo 
69 .SH EXIT STATUS
70 0 on success non zero on failure
71 .SH FILES
72 /var/lib/zpm/local.db
73 .SH ENVIRONMENT
74 ZPMDB
75 .SH AUTHOR
76 Nathan Wagner
77 .SH SEE ALSO
78 .BR zpm (8)
79 .BR zpm-fetchurl (8)