[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62153] [PATCH 1/2] guix: docker: Build layered image.
From: |
Ricardo Wurmus |
Subject: |
[bug#62153] [PATCH 1/2] guix: docker: Build layered image. |
Date: |
Tue, 14 Mar 2023 10:15:49 +0100 |
User-agent: |
mu4e 1.8.13; emacs 28.2 |
Simon Tournier <zimon.toutoune@gmail.com> writes:
>>> Instead of Python, would it possible to implement in Guile? I mean,
>>> does Python have something that is missing in Guile?
>>>
>>> The facility for manipulating Tar? Something else?
>>
>> I think nothing else. As I understand Python implemented Tar inside the
>> language itself in 2500 lines of code by manipulating binary data.
>>
>> /gnu/store/...-python-3.9.9/lib/python3.9/tarfile.py
>>
>> Technically it's probably possible to use tar utility with --append flag
>> instead of opening a new file and streaming to it as the Python script
>> does. To be honest I would like not to write it in this way if the
>> Python script does not block current patch for merge.
>
> Ok, thanks for explaining.
>
>> Also I don't see myself writing Tar implementation in Guile, yet. ;-)
>
> Maybe not reimplementing Tar in Guile, maybe just enough for working.
> Or maybe some Guile bindings. Or maybe something is already around for
> the bootstrap story.
gash-utils has (gash ustar); it’s about 620 lines of code.
--
Ricardo
- [bug#62153] [PATCH 0/2] Add Docker layered image for pack and system, Oleg Pykhalov, 2023/03/12
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Simon Tournier, 2023/03/13
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Oleg Pykhalov, 2023/03/13
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Simon Tournier, 2023/03/14
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image.,
Ricardo Wurmus <=
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Ludovic Courtès, 2023/03/16
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Oleg Pykhalov, 2023/03/20
- [bug#62153] [PATCH 0/2] Disarchive vs Gash-Utils for docker-layered, Oleg Pykhalov, 2023/03/20
- [bug#62153] [PATCH 1/2] guix: docker: Build layered image., Christopher Baines, 2023/03/14
[bug#62153] Cover lever typo in guix pack format example, Oleg Pykhalov, 2023/03/12
[bug#62153] Missing diff in cover lever for v2 patch, Oleg Pykhalov, 2023/03/13