unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Sam Halliday <sam.halliday@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
Subject: Re: some questions about GUIX
Date: Tue, 29 Dec 2015 23:35:09 +0000	[thread overview]
Message-ID: <87si2k25hu.fsf@gmail.com> (raw)
In-Reply-To: <87a8otax38.fsf@elephly.net>

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

Thanks Ricardo,


[-- Attachment #2.1: Type: text/plain, Size: 2723 bytes --]

Ricardo Wurmus writes:
> I’m not sure I understand what you mean here. I have been packaging a
> couple of Java things and the reliance on prebuilt jars and Maven
> causes quite a few problems. This is the single most important reason
> why there isn’t much of Java to be found in Guix yet.

If the GUIX-SD goal is to build every package from source, then I can
see why you're doing it this way. It is possible to achieve this noble
goal, but you are embarking on an absolutely *gigantic* mission.


> Building a full non-trivial Java application from source without
> resorting to some black box jars along the way is very difficult. I’m
> still working on slowly packaging the dependencies of log4j, one jar
> at a time, ... and I even forgot why I’m working on log4j because the
> dependency graph for an arbitrary Java package is overwhelmingly
> large.

I'm not sure I would refer to Maven Central binaries as "black box". The
jars on Maven Central are digitally signed by the distributors and the
source jars are available beside them, with meta data such as license
and homepages available in the pom file.

It should not be difficult to set up Maven and Ivy to only use a
GUIX-hosted repository (many organisations do this), or a local
repository, but it will involve an incredible amount of effort to
actually *rebuild* everything, as you are discovering.

What practical benefit does rebuilding on the GUIX farm actually bring?
Is there a claim that the binary build can be traced directly to a
"trusted" machine and source code?


In the Scala community, there is an attempt to rebuild a range of free
software projects as part of the continuous integration of the scala
compiler itself:

  https://github.com/scala/community-builds

It may be worthwhile collaborating with the authors in order to avoid
duplicating efforts.


> We are building library for library as individual packages in Guix. We
> certainly won’t bundle prebuilt jars from Maven if it can be avoided
> at all.

As a Java / Scala developer, I consider the maven / ivy dependency
tracking to be the environment where I define the exact and definitive
versions of dependencies that I require and I would not be happy
depending on the GUIX-SD jars. Although, I would not object to using
GUIX-SD jars as a user, if the installation was easier than self-managed
and I did not experience and bugs as a result of the re-packaging.

I would be very interested if you had a way of integrating with Maven
Central artefacts in order to install applications, as it would make it
significantly easier for me, as a developer, to produce packages for
GUIX-SD.


-- 
Best regards,
Sam

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

  parent reply	other threads:[~2015-12-29 23:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 15:36 some questions about GUIX Sam Halliday
2015-12-29 15:00 ` Ludovic Courtès
2015-12-29 15:40   ` Sam Halliday
2015-12-29 19:11     ` Ricardo Wurmus
2015-12-29 19:46       ` Leo Famulari
2015-12-29 23:10       ` Ludovic Courtès
2015-12-29 23:35       ` Sam Halliday [this message]
2015-12-31  9:50         ` Ricardo Wurmus
2015-12-30 13:36       ` Sam Halliday
2015-12-31  2:02         ` Leo Famulari
2015-12-31  2:17           ` Leo Famulari
2015-12-31 12:46           ` Sam Halliday
2016-01-01 14:45             ` Ludovic Courtès
2015-12-31  9:30         ` Ricardo Wurmus

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=87si2k25hu.fsf@gmail.com \
    --to=sam.halliday@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /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).