Skip to content
Snippets Groups Projects
  • Ludovic Courtès's avatar
    ff6638d1
    publish: Handle '/file' URLs, for content-addressed files. · ff6638d1
    Ludovic Courtès authored
    * guix/scripts/publish.scm (render-content-addressed-file): New procedure.
    (http-write): Add 'application/octet-stream' case.
    (make-request-handler): Add /file/NAME/sha256/HASH URLs.
    * tests/publish.scm ("/file/NAME/sha256/HASH")
    ("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
    ("/file/NAME/sha256/INVALID-HASH"): New tests.
    * doc/guix.texi (Invoking guix publish): Mention the /file URLs.
    publish: Handle '/file' URLs, for content-addressed files.
    Ludovic Courtès authored
    * guix/scripts/publish.scm (render-content-addressed-file): New procedure.
    (http-write): Add 'application/octet-stream' case.
    (make-request-handler): Add /file/NAME/sha256/HASH URLs.
    * tests/publish.scm ("/file/NAME/sha256/HASH")
    ("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
    ("/file/NAME/sha256/INVALID-HASH"): New tests.
    * doc/guix.texi (Invoking guix publish): Mention the /file URLs.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.