From: Luis Felipe via Guix-patches via <guix-patches@gnu.org>
To: "31285@debbugs.gnu.org" <31285@debbugs.gnu.org>
Subject: [bug#31285] [PATCH 0/1] guix: Add git-fetch/impure.
Date: Thu, 22 Oct 2020 00:44:37 +0000 [thread overview]
Message-ID: <W3s1Sh57IvY4C8ohKgv7HotKerWbKjuqVV9ZzG1H_CgookWFqoPB7KqfMjUV8lnG8rHkxCtLEoFL_jrOVQDmDVYlerox39SEzq1iAfCKxUw=@protonmail.com> (raw)
In-Reply-To: <20180427081520.28645-1-cmmarusich@gmail.com>
> Sometimes, a Git repository may only be available via an authenticatedSSH connection. Even in the case of repositories that only containfree software, this situation can arise for administrative orcompliance-related reasons. How can one define a package in such asituation?
Correct me if I'm wrong, but I think this is possible now. All you have to do is pass a git-checkout record to the package source field instead of an origin (see the (guix git) module). For example:
(source
(git-checkout
(url "git@gitlab.com:luis-felipe/guile-lab.git")
(commit (string-append "v" version))))
I'm using this for my private packages, and it seems to work.
next prev parent reply other threads:[~2020-10-22 0:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-27 8:15 [bug#31285] [PATCH 0/1] guix: Add git-fetch/impure Chris Marusich
2018-04-27 8:26 ` [bug#31285] [PATCH 1/1] " Chris Marusich
2018-04-30 2:49 ` Chris Marusich
2020-12-01 18:06 ` zimoun
2020-04-18 15:54 ` [bug#31285] [PATCH 0/1] " sirgazil via Guix-patches via
2020-10-22 0:44 ` Luis Felipe via Guix-patches via [this message]
2021-07-14 9:23 ` bug#31285: " Chris Marusich
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='W3s1Sh57IvY4C8ohKgv7HotKerWbKjuqVV9ZzG1H_CgookWFqoPB7KqfMjUV8lnG8rHkxCtLEoFL_jrOVQDmDVYlerox39SEzq1iAfCKxUw=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=31285@debbugs.gnu.org \
--cc=luis.felipe.la@protonmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).