From: Tomas Volf <~@wolfsden.cz>
To: 68353@debbugs.gnu.org
Cc: "Tomas Volf" <~@wolfsden.cz>,
"Florian Pelz" <pelzflorian@pelzflorian.de>,
"Ludovic Courtès" <ludo@gnu.org>,
"Matthew Trzcinski" <matt@excalamus.com>
Subject: [bug#68353] [PATCH v2 1/2] doc: Document cvs-fetch and cvs-reference.
Date: Sun, 12 May 2024 11:57:40 +0200 [thread overview]
Message-ID: <82ec854214fad37f82bc18d4424ac61f82da3f1a.1715507861.git.~@wolfsden.cz> (raw)
In-Reply-To: <cover.1704839277.git.~@wolfsden.cz>
For some reason, they were missing from the documentation. This commit adds
them including an example of usage.
* doc/guix.texi (origin Reference): Add cvs-fetch and cvs-reference.
Change-Id: I6622a9f70e6d71ed31fbb3d2689df4a6946f8868
---
doc/guix.texi | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index f20208f94f..bc73942eaf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8302,6 +8302,43 @@ origin Reference
@end table
@end deftp
+For CVS repositories, the module @code{(guix cvs-download)} defines the
+@code{cvs-fetch} origin method and @code{cvs-reference} data type for
+support of the Concurrent Versions System (CVS).
+
+@deffn {Procedure} cvs-fetch ref hash-algo hash [name]
+Return a fixed-output derivation that fetches @var{ref}, a
+@code{<cvs-reference>} object. The output is expected to have recursive
+hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as
+the file name, or a generic name if @code{#f}.
+@end deffn
+
+@deftp {Data Type} cvs-reference
+This data type represents a CVS reference for @code{cvs-fetch} to
+retrieve.
+
+@table @asis
+@item @code{root-directory}
+The CVS root directory.
+
+@item @code{module}
+Module to fetch.
+
+@item @code{revision}
+Revision to fetch.
+@end table
+
+The example below denotes a version of gnu-standards to fetch:
+
+@lisp
+(cvs-reference
+ (root-directory ":pserver:anonymous@@cvs.savannah.gnu.org:/sources/gnustandards")
+ (module "gnustandards")
+ (revision "2020-11-25"))
+@end lisp
+
+@end deftp
+
@node Defining Package Variants
@section Defining Package Variants
--
2.41.0
next prev parent reply other threads:[~2024-05-12 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 22:29 [bug#68353] [PATCH 0/2] Minor improvements to the documentation Tomas Volf
2024-01-09 22:45 ` [bug#68353] [PATCH 1/2] doc: Document cvs-fetch and cvs-reference Tomas Volf
2024-01-09 22:45 ` [bug#68353] [PATCH 2/2] doc: Fix bug in hg-reference documentation Tomas Volf
2024-05-12 9:57 ` Tomas Volf [this message]
2024-05-12 9:57 ` [bug#68353] [PATCH v2 " Tomas Volf
2024-05-13 12:45 ` bug#68353: [PATCH v2 1/2] doc: Document cvs-fetch and cvs-reference Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='82ec854214fad37f82bc18d4424ac61f82da3f1a.1715507861.git.~@wolfsden.cz' \
--to=~@wolfsden.cz \
--cc=68353@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=matt@excalamus.com \
--cc=pelzflorian@pelzflorian.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.