From: "Gábor Boskovits" <boskovits@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: proposal: with-file-writeable
Date: Thu, 15 Feb 2018 14:53:52 +0100 [thread overview]
Message-ID: <CAE4v=pi=cH++SO03v0CaWgrFx1=c584k6wx=NVm9oQArxu5jhw@mail.gmail.com> (raw)
In-Reply-To: <87bmgqbd5s.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]
2018-02-15 14:22 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:
> Gábor Boskovits <boskovits@gmail.com> skribis:
>
> > Ok, the keep it this way. Another question, this came up, as
> > I was trying to find a nice solution to reset-gzip-timestamps failing.
> > I got different pieces of advice if I should reset the permissions after
> > resetting the timestamp, but I'm still not sure. It seems that the
> easiest
> > way to this would be to just add a call to make-file-writable to the
> phase
> > at the beginning, as we finally end up with a read-only one in the store
> > anyway. I feel that reseting the permissions is unneccesary additional
> > complexity. WDYT?
>
> I don’t know, is this (read-only permission on installed files) a common
> problem?
>
> As you can see I’m fairly conservative when it comes to changing (guix
> build utils). :-)
>
> The reason for this is that changing it entails full rebuilds. Thus,
> the approach so far is to try to make the procedures in there fairly
> generic (with keyword/optional parameters, etc.) so that they are
> applicable to a wide range of use cases. At the same time, we try to
> make changes there only when we’d have to repeat ourselves in package
> recipes. If a problem shows up in just one package, we adjust the
> package definition and leave (guix build utils) unchanged.
>
>
I've seen this mostly with packages coming from git checkout in the python
world.
I've seen at least two packages in the last three month. It is mostly test
data.
It actually seems to be common there, but usually it is not a problem when
we
can use pypi. I don't know how common it is in other areas.
I also don't know if we have any other phase where these kind of permission
problems can lead to errors, but it would be nice, if we could check that,
and
fix all of them with one commit. It should be based on core-updates, of
course,
and not in this round, I guess.
Ludo’.
>
[-- Attachment #2: Type: text/html, Size: 2643 bytes --]
next prev parent reply other threads:[~2018-02-15 13:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-10 21:50 proposal: with-file-writeable Gábor Boskovits
2018-02-14 13:51 ` Ludovic Courtès
2018-02-14 19:13 ` Leo Famulari
2018-02-14 19:38 ` Gábor Boskovits
2018-02-14 23:28 ` Ludovic Courtès
2018-02-15 7:25 ` Gábor Boskovits
2018-02-15 13:22 ` Ludovic Courtès
2018-02-15 13:53 ` Gábor Boskovits [this message]
2018-02-15 14:16 ` Marius Bakke
2018-02-16 6:35 ` Gábor Boskovits
2018-02-16 8:40 ` 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='CAE4v=pi=cH++SO03v0CaWgrFx1=c584k6wx=NVm9oQArxu5jhw@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@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 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.