unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] Add rubygems updater.
Date: Fri, 1 Jan 2016 12:42:01 +0100	[thread overview]
Message-ID: <20160101114201.GA20141@thebird.nl> (raw)
In-Reply-To: <5686609E.80309@uq.edu.au>

On Fri, Jan 01, 2016 at 09:18:54PM +1000, Ben Woodcroft wrote:
> I think we should update the package definitions so that more have
> tests, and failing that import the library so we know it can at
> least be loaded, like this:
> 
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda _
> +             (zero? (system* "ruby" "-Ilib" "-r" "ansi")))))))

That is a good idea. When gems lack tests, either they don't have
them, or the authors don't add them to gems. We can try and request
upstream or add the tests ourselves.

> I would prefer to do this testing in an environment where only the propagated inputs are loaded, but I'm not sure how to do this. But I digress.
> 
> Do you think it would be a good idea to provide a "bleeding edge" repository so that users can more easily help with testing? Perhaps also a branch that only updates according to semantic versioning?

That may be interesting, at least to a Ruby specific audience.

> 
> >
> >What is useful is to generate (export) an updated package using the
> >old one as an input. Or show a diff of version + SHA. That way it
> >becomes reasonably easy to update packages.
> I'm not sure what you mean. guix refresh has the --update flag,
> which updates the version and source SHA hash in the source code -
> useful.

You just taught me something :)

Pj.

  reply	other threads:[~2016-01-01 11:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01  8:27 [PATCH] Add rubygems updater Ben Woodcroft
2016-01-01  9:28 ` Pjotr Prins
2016-01-01 11:18   ` Ben Woodcroft
2016-01-01 11:42     ` Pjotr Prins [this message]
2016-01-01 18:17     ` Ludovic Courtès
2016-01-02  0:11       ` Ben Woodcroft
2016-01-02 20:54         ` Ludovic Courtès
2016-01-03  0:50           ` Ben Woodcroft
2016-01-03 14:06             ` Ludovic Courtès
2016-01-05 13:57               ` Ben Woodcroft
2016-01-05 14:56                 ` Ricardo Wurmus
2016-01-08 18:18                 ` Ludovic Courtès
2016-01-02  3:43       ` Pjotr Prins

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=20160101114201.GA20141@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@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.
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).