unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Adrien Marin <adrien.marin@ensea.fr>
Cc: help-guix@gnu.org
Subject: Re: help for guix pull
Date: Fri, 18 Aug 2017 14:36:57 -0400	[thread overview]
Message-ID: <20170818183657.GA28247@jasmine.lan> (raw)
In-Reply-To: <539879735.19474.1503046450566.JavaMail.zimbra@ensea.fr>

[-- Attachment #1: Type: text/plain, Size: 1943 bytes --]

On Fri, Aug 18, 2017 at 10:54:10AM +0200, Adrien Marin wrote:
> Hi, 
> 
> I've some trouble with guix pull use: 
> 
> i have cloned a guix repo to had my package in gnu/packages in order to have them in 'guix package - A' list. 
> 
> before guix 0.13, I used guix pull like this : 
> 
> > guix pull --url="http://gitlab.com/my-acount/my-repo/repository/archive.tar.gz?ref=master" 
> 
> but know it doesn't work anymore.. guix pull do not use tarball anymore 
> 
> you can see at this commit : http://git.savannah.gnu.org/gitweb/?p=guix.git;a=commit;h=59a16275189f55ddd692b0ea5b415c706fa1fd69 
> 
> The use of guix pull change but it doesn't change in the manual... 

The manual does document the new options, but the copy of the manual on
our webpage corresponds to the 0.13.0 release of Guix, so it doesn't
include the changes.

For any user that has the guix package installed (on a foreign distro,
that's root), you should be able to access the corresponding copy of the
manual with `info guix`.

I've copied the new documentation below:

------
The guix pull command is usually invoked with no arguments, but it supports the following options:

--verbose

    Produce verbose output, writing build logs to the standard error output.
--url=url

    Download Guix from the Git repository at url.

    By default, the source is taken from its canonical Git repository at gnu.org, for the stable branch of Guix.
--commit=commit

    Deploy commit, a valid Git commit ID represented as a hexadecimal string.
--branch=branch

    Deploy the tip of branch, the name of a Git branch available on the repository at url.
--bootstrap

    Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers. 
------

So, you can adjust your command like this:

$ guix pull --url=http://gitlab.com/my-acount/my-repo.git

That is, use the URL you'd use for `git clone`.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2017-08-18 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18  8:54 help for guix pull Adrien Marin
2017-08-18 18:36 ` Leo Famulari [this message]

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=20170818183657.GA28247@jasmine.lan \
    --to=leo@famulari.name \
    --cc=adrien.marin@ensea.fr \
    --cc=help-guix@gnu.org \
    /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.
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).