pijul nest
guest [sign in]

#4 A couple of fixes

Opened by Madx on Feb 4, 2026, 2:57 PM
// Madx on Feb 4, 2026, 2:57 PM

Hey,

While toying around with elpe, I had to fix a some issues, mainly:

  • removed some unwraps in favor of more explicit error messages (still a lot of them !)
  • getting a non-200 http answer from an ubuntu server now fails gracefully (instead of trying to decompress a random stream of bytes)
  • implemented gunzip for the extraction process, as some packages actually require it
  • make it so that a hash mismatch is propagated to the user

Cheers, Madx

Madx
~ Madx pushed a change on Feb 4, 2026, 2:58 PM
· Madx · on Feb 2, 2026, 8:53 PM
JCS2SUISCBQVDGEYAU7JQ6US5VVIY75OPA23QVP7E6QOJWYFW2KAC
Madx
~ Madx pushed a change on Feb 4, 2026, 2:58 PM
· Madx · on Feb 4, 2026, 2:53 PM
2GMRXGVB4TIODHNVO53MLMSVTZW4TVWITZAGPFIH5CCHVHLOGHYAC
Madx
~ Madx pushed a change on Feb 4, 2026, 2:58 PM
· Madx · on Feb 4, 2026, 2:58 PM
2LDNJFA5ZUINUQW2ORS2VHCGQDRKB6VSFPJOWTVKVB43YO4U4EJAC
// Madx on Feb 4, 2026, 3:04 PM

goddammit how do I revert adding the *~ files ?

Madx
# Madx closed this discussion on Feb 4, 2026, 3:04 PM
Madx
~ Madx pushed a change on Feb 4, 2026, 3:06 PM
· Madx · on Feb 4, 2026, 3:06 PM
VK2LRA5ED6CWHXT4QZY2VT3KH5CSJTZ6OST2EZLCWQPVEK7LA2CQC
// Madx on Feb 4, 2026, 3:07 PM

Ah that fixes it. For some reason I can’t amend, though.

Madx
# Madx reopened this discussion on Feb 4, 2026, 3:07 PM
Madx
~ Madx pushed a change on Feb 4, 2026, 7:12 PM
· Madx · on Feb 4, 2026, 3:06 PM
NJOCBMW63YOWBM72N44C32BLSVKDL6TMOMGOUCZOLDSZQSENQAJAC
// pmeunier on Feb 17, 2026, 9:22 PM

The last one is great! I would suggest unrecording the bad patches (pijul log tells you the ones, and pijul unrec XXXXX gets rid of them), and recording again.