Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S strip-nondeterminism
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • strip-nondeterminism
  • Issues
  • #18
Closed
Open
Issue created May 03, 2021 by Bernhard M. Wiedemann@bmwiedemann-guestDeveloper

cannot handle python zip archives

strip-nondeterminism cannot handle executable python zip archives that are used in openSUSE's opae package.

Here is a sample __main__.py

#!/usr/bin/python3
# zip pyzip.zip __main__.py ; head -1 __main__.py | cat - pyzip.zip > pyzip ; chmod a+x pyzip
print("Hello World")

I also tried using strip-nondeterminism -t zip and it did normalize timestamps, but lost the shebang in the process.

Edited May 03, 2021 by Bernhard M. Wiedemann
Assignee
Assign to
Time tracking