Content-Length: 271646 | pFad | http://github.com/haskell/cabal/issues/10973

E0 With internal libraries, documentation tar file contains Windows-invalid filename for hoogle description · Issue #10973 · haskell/cabal · GitHub
Skip to content

With internal libraries, documentation tar file contains Windows-invalid filename for hoogle description #10973

Open
@andreasabel

Description

@andreasabel

I get my hackage documentation upload for the hackage-cli package rejected because of a filename with a : in the generated documentation tar bundle:

$ tar tf dist-newstyle/hackage-cli-0.1.0.3-docs.tar.gz
hackage-cli-0.1.0.3-docs/
hackage-cli-0.1.0.3-docs/Distribution-Server-Util-CabalRevisions.html
...
hackage-cli-0.1.0.3-docs/hackage-cli.txt
...
hackage-cli-0.1.0.3-docs/quick-jump.min.js
hackage-cli-0.1.0.3-docs/cabal-revisions/
hackage-cli-0.1.0.3-docs/cabal-revisions/Distribution-Server-Util-CabalRevisions.html
...
hackage-cli-0.1.0.3-docs/cabal-revisions/hackage-cli:cabal-revisions.txt
...

The last file in this list contains a :. As a consequence, Hackage rejects this doc bundle:

Error uploading documentation dist-newstyle/hackage-cli-0.1.0.3-docs.tar.gz:
http code 400
Error: Invalid documentation tarball

Invalid windows file name in tar archive:
"hackage-cli-0.1.0.3-docs\\cabal-revisions\\hackage-cli:cabal-revisions.txt"

This is the first time I see this problem, probably because the hackage server has stricter checks now.

To reproduce:

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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/haskell/cabal/issues/10973

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy