Skip to content

downloaded project zipfile uses absolute paths #147

@gordonwoodhull

Description

@gordonwoodhull

Zip files with absolute paths are not good practice and produce stripped absolute path spec warnings.

Downloading and unzipping a project I see

% unzip ~/Downloads/Demo-Playground.zip
Archive:  /Users/gordon/Downloads/Demo-Playground.zip
warning:  stripped absolute path spec from /cscheid/columns.qmd
  inflating: cscheid/columns.qmd     
warning:  stripped absolute path spec from /cscheid/crossrefs.qmd
  inflating: cscheid/crossrefs.qmd   
...

% unzip -l ~/Downloads/Demo-Playground.zip
Archive:  /Users/gordon/Downloads/Demo-Playground.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      941  04-30-2026 14:46   /cscheid/columns.qmd
      327  04-30-2026 14:46   /cscheid/crossrefs.qmd
...

The paths should probably be relative and prefixed with the project name we put in the zip filename, e.g. they should be:

      941  04-30-2026 14:46   Demo-Playground/cscheid/columns.qmd
      327  04-30-2026 14:46   Demo-Playground/cscheid/crossrefs.qmd
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions