Skip to content

Commit

Permalink
Even more deterministic zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Sep 8, 2024
1 parent 487a48b commit f21a50e
Show file tree
Hide file tree
Showing 31 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .utils/ext/ziparch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@


def zip_sanitizer_filter(zipinfo: zipfile.ZipInfo):
zipinfo.date_time = (1980, 1, 1, 0, 0, 0)
zipinfo.date_time = (1980, 1, 1, 0, 0, 0) # Minimum date
if zipinfo.is_dir():
zipinfo.external_attr = 0o40775 << 16 # drwxrwxr-x
zipinfo.external_attr |= 0x10 # MS-DOS directory flag
else:
zipinfo.external_attr = 0o664 << 16 # ?rw-rw-r--
zipinfo.create_system = 0 # Unix-like
return zipinfo


Expand Down
Binary file modified akira-passport/download/akira-passport.zip
Binary file not shown.
Binary file modified anbu/download/anbu.zip
Binary file not shown.
Binary file modified androids/download/androids.zip
Binary file not shown.
Binary file modified baba-is-you/download/baba-is-you.zip
Binary file not shown.
Binary file modified betterpet/download/betterpet.zip
Binary file not shown.
Binary file modified black-flags/download/black-flags.zip
Binary file not shown.
Binary file modified bmo/download/bmo.zip
Binary file not shown.
Binary file modified cp77-corp-logos/download/cp77-corp-logos.zip
Binary file not shown.
Binary file modified cyberschizo/download/cyberschizo.zip
Binary file not shown.
Binary file modified dokkaebi/download/dokkaebi.zip
Binary file not shown.
Binary file modified dos-viruses/download/dos-viruses.zip
Binary file not shown.
Binary file modified dpm/download/dpm.zip
Binary file not shown.
Binary file modified fallout-passport/download/fallout-passport.zip
Binary file not shown.
Binary file modified football-stars/download/football-stars.zip
Binary file not shown.
Binary file modified gamma/download/gamma.zip
Binary file not shown.
Binary file modified gits/download/gits.zip
Binary file not shown.
Binary file modified haseo-misc/download/haseo-misc.zip
Binary file not shown.
Binary file modified haunter/download/haunter.zip
Binary file not shown.
Binary file modified japanimation/download/japanimation.zip
Binary file not shown.
Binary file modified jellyfish/download/jellyfish.zip
Binary file not shown.
Binary file modified lotr/download/lotr.zip
Binary file not shown.
Binary file modified pikachu-enfadao/download/pikachu-enfadao.zip
Binary file not shown.
Binary file modified pirates/download/pirates.zip
Binary file not shown.
Binary file modified pokemon/download/pokemon.zip
Binary file not shown.
Binary file modified psyduck/download/psyduck.zip
Binary file not shown.
Binary file modified scifi-corp-logos/download/scifi-corp-logos.zip
Binary file not shown.
Binary file modified space-cobra/download/space-cobra.zip
Binary file not shown.
Binary file modified starwars/download/starwars.zip
Binary file not shown.
Binary file modified swirl/download/swirl.zip
Binary file not shown.
Binary file modified videogames/download/videogames.zip
Binary file not shown.

0 comments on commit f21a50e

Please sign in to comment.