Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • diffoscope diffoscope
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • diffoscopediffoscope
  • Issues
  • #283
Closed
Open
Issue created Oct 26, 2021 by Vagrant Cascadian@vagrantOwner

Alternate name for dumppdf tool

Guix includes the python-pdfminer-six package, which includes a "dumppdf.py" script which appears to be from the same upstream as Debian's python3-pdfminer package, which ships it as "dumppdf". I suspect upstream actually ships this as "dumppdf.py" too...

It seems like the ideal approach would be to support the tool as either name, though it wasn't obvious to me if that should involve conditional logic in tool_requires to support either, or allow tool_requires to take either of N arguments as a tool, or what should be listed in external_tools.py (e.g. one entry with for "dumppdf" and one for "dumppdf.py"? assume without the .py extension but optionally add it?)

Workarounds for guix are pretty simple; patch diffoscope to use dumppdf.py instead, or to add symlinks in the python-pdfminer-six package so that either work... but this would have to be done in each distribution that has dumppdf.py rather than dumppdf.

Edited Oct 26, 2021 by Vagrant Cascadian
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking