From 221fa725deb03a65308864d812d3f8eddec6c930 Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Sat, 27 Apr 2024 15:29:47 +0200 Subject: zipfile: Add an example to portage(5) Signed-off-by: Alexey Gladkov Closes: https://github.com/gentoo/portage/pull/1264 Signed-off-by: Sam James --- man/portage.5 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad