aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlexey Gladkov <legion@kernel.org>2024-04-27 15:29:47 +0200
committerSam James <sam@gentoo.org>2024-04-28 01:04:10 +0100
commit221fa725deb03a65308864d812d3f8eddec6c930 (patch)
treee276f0ece9f7d5a2c39dcaea2f1fa9c8d1d359a6 /man
parentsync/zipfile: Add testcase for etag (diff)
downloadportage-221fa725deb03a65308864d812d3f8eddec6c930.tar.gz
portage-221fa725deb03a65308864d812d3f8eddec6c930.tar.bz2
portage-221fa725deb03a65308864d812d3f8eddec6c930.zip
zipfile: Add an example to portage(5)
Signed-off-by: Alexey Gladkov <legion@kernel.org> Closes: https://github.com/gentoo/portage/pull/1264 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/portage.511
1 files changed, 10 insertions, 1 deletions
diff --git a/man/portage.5 b/man/portage.5
index d8990bf41..1f717c4cb 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -1140,7 +1140,7 @@ expire while it is in use by a running process.
.B sync\-type
Specifies type of synchronization performed by `emerge \-\-sync`.
.br
-Valid non\-empty values: cvs, git, mercurial, rsync, svn, webrsync
+Valid non\-empty values: cvs, git, mercurial, rsync, zipfile, svn, webrsync
(emerge\-webrsync)
.br
This attribute can be set to empty value to disable synchronization of given
@@ -1165,6 +1165,8 @@ cvs: [cvs://]:access_method:[username@]hostname[:port]:/path
git: (git|git+ssh|http|https)://[username@]hostname[:port]/path
.br
rsync: (rsync|ssh)://[username@]hostname[:port]/(module|path)
+.br
+zipfile: (http|https)://hostname[:port]/path/to/zipfile.zip
.TP
Examples:
.RS
@@ -1327,6 +1329,13 @@ location = /var/lib/layman/voip
sync\-type = laymanator
sync\-uri = git://anongit.gentoo.org/proj/voip.git
auto\-sync = yes
+
+# Overlay with latest ebuild repository snapshot.
+[snapshot]
+location = /var/db/repos/snapshot
+sync\-type = zipfile
+sync\-uri = https://github.com/gentoo/gentoo/archive/refs/heads/master.zip
+auto\-sync = yes
.fi
.RE
.TP