[mirror] Command-line application for uploading a site to a git-pages server
commits
Author
Commit
Message
Date
This makes its use in Forgejo Action more difficult for no benefit.
This follows a git-pages change. A small grace period will be provided
where both headers are sent.
This is currently feature-gated in git-pages, and so may fail when
used against servers not configured with this feature.
This both speeds up the uploads and eliminates possibility of running
out of memory for large sites.
The version is sent via `User-Agent:` because it may be useful at
some point to work around bugs server-side (or prompt the user to
update). If undesired, build with `-buildvcs=false`.
Packagers building without a full git checkout should override version
in the `version.go` file.
Use the same algorithm as https://grebedoc.dev (a random UUID).