[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to uni
From: |
Huang\, Ying |
Subject: |
Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build |
Date: |
Sat, 25 Feb 2017 20:30:39 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Danny Milosavljevic <address@hidden> writes:
> Hi,
>
> yeah, I've looked at it and I see what you are trying to do.
>
> You modified 'union to replicate the directory tree and symlink only the
> non-directory files - in order to be able to add "fonts.dir" in those
> directories.
>
> The previous version symlinked entire directories, too, and you wouldn't have
> been able to add those "fonts.dir" files inside them later.
>
> Your fix seems kinda hacky - but I don't really see a downside.
>
> Thinking about it some more I think it looks good enough to me. I'd like a
> second opinion, though.
>
> Other than that, the name of the new flag "create-all-directory?" is weird.
> I'd like it to be something like "create-all-directories?".
>
> (The non-hacky solution would be to make 'union aware that there are
> "fonts.dir" files to go in there, too. One could do that by adding
> these as an input, too. I'm not sure whether that would be worth the
> added complexity, though - especially since the fonts.dir generator
> needs to have the finished union as input and not just single
> directories one by one. Thoughts?)
union will only be called with create-all-directory? != nil for packages
have share/fonts directories. And for these packages, we plan to remove
the fonts.dir and fonts.scale files, so that we need to create all
directories for them after all. Is this good enough?
Best Regards,
Huang, Ying
- [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, huang_ying_caritas, 2017/02/17
- [PATCH 2/2] guix: profiles: create fonts.dir/scale for all fonts directories, huang_ying_caritas, 2017/02/17
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Andy Wingo, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Danny Milosavljevic, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/24
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build,
Huang\, Ying <=
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, 宋文武, 2017/02/26
- Re: [PATCH 1/2] build: union: Add create-all-directory? parameter to union-build, Huang\, Ying, 2017/02/27