Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-29 | util.hh: Delete remaining file and clean up headers | Tom Hubrecht | |
Change-Id: Ic1f68e6af658e94ef7922841dd3ad4c69551ef56 | |||
2024-05-29 | util.{hh,cc}: Split out file-system.{hh,cc} | Tom Hubrecht | |
Change-Id: Ifa89a529e7e34e7291eca87d802d2f569cf2493e | |||
2024-03-04 | Merge pull request #9557 from bryanhonof/bryanhonof.fix-apple-double-shenanigans | eldritch horrors | |
Add option to libarchive so it behaves correctly (cherry picked from commit c3827ff6348a4d5199eaddf8dbc2ca2e2ef46ec5) Change-Id: Ib0f928851093f4c644bac071d1c8f8aeec803198 | |||
2023-04-25 | TarArchive: Remove a duplicate constant and increase the buffer size | Eelco Dolstra | |
2022-11-01 | tarfile: set directory mode to at least 0500, don't extract fflags | Yorick van Pelt | |
We don't need SGID, or any ACL's. We also want to keep every dir +rx. | |||
2022-03-24 | Revert "TarArchive: Small refactoring" | Maximilian Bosch | |
This reverts commit 50a35860ee9237d341948437c5f70a7f0987d393. With this change Nix fails to open bzip2 logfiles that were created from builds with no stdout/stderr. | |||
2021-12-10 | extract_archive: fix "Hard-link target '...'" error | Yorick van Pelt | |
Fixes #5741 | |||
2021-12-10 | extract_archive: use copy_pathname instead of set_pathname. | Yorick van Pelt | |
Libarchive documentation mentions that archive_entry_set_pathname expects us to keep the passed string alive, which we don't. | |||
2021-08-30 | TarArchive: Small refactoring | Eelco Dolstra | |
2021-08-30 | Don't segfault if archive_entry_pathname() returns null | Eelco Dolstra | |
Issues #4499. | |||
2021-04-15 | Drop libbz2 / zlib / lzma dependency + style fixes | Eelco Dolstra | |
2021-03-10 | Use libarchive for all compression | Yorick van Pelt | |
2020-12-02 | read(): Use char * instead of unsigned char * | Eelco Dolstra | |
This gets rid of some pointless casts. | |||
2019-12-19 | tarfile.cc: Restore timestamps | Eelco Dolstra | |
This is needed to get the lastModified attribute of GitHub flakes. | |||
2019-12-19 | tarfile.cc: Don't change the cwd | Eelco Dolstra | |
Nix is multithreaded so it's not safe to change the cwd. | |||
2019-12-19 | tarfile.cc: Style fixes | Eelco Dolstra | |
2019-12-09 | further clean up libarchive code | Yorick van Pelt | |
2019-12-07 | Clean up libarchive support | Puck Meerburg | |
2019-12-07 | remove rust unpack_tarfile ffi | Yorick van Pelt | |
2019-12-07 | code 'cleanup' | Yorick van Pelt | |
2019-12-07 | add wrapper function around libarchive to c++ errors | Yorick van Pelt | |
2019-12-07 | fixup! libarchive proof of concept | Yorick van Pelt | |
2019-12-07 | libarchive proof of concept | Yorick van Pelt | |
2019-11-27 | Fix segfault on i686-linux | Eelco Dolstra | |
https://hydra.nixos.org/build/107467517 Seems that on i686-linux, gcc and rustc disagree on how to return 1-word structs: gcc has the caller pass a pointer to the result, while rustc has the callee return the result in a register. Work around this by using a bare pointer. | |||
2019-11-26 | Drop remaining uses of external "tar" | Eelco Dolstra | |
Also, fetchGit now runs in O(1) memory since we pipe the output of 'git archive' directly into unpackTarball() (rather than first reading it all into memory). | |||
2019-11-26 | Move code around | Eelco Dolstra | |