mk-mod utility creates GOPROXY-compatible version of the module in the
current directory:
- mk-mod VCS-URL VCS-PATH MODULE-NAME VERSION
+ mk-mod VCS-URL VCS-PATH MODULE-NAME VERSION [SIGNKEY]
Only Git VCS is supported. Git tag's name must be equal to VERSION.
mk-mods iterates through all tags:
- mk-mods VCS-URL VCS-PATH MODULE-BASE-NAME
+ mk-mods VCS-URL VCS-PATH MODULE-BASE-NAME [SIGNKEY]
+SIGNKEY is optional path to OpenSSH signing key, that will sign the
+.ziphash file.
mk-list utility collects all known versions in current GOPROXY directory
and creates corresponding "list" files.
mk-html creates go-import-compatible static files:
mk-html VCS-WEB-URL MODULE-NAME
+mk-htmls iterates through all tags:
+ mk-htmls VCS-WEB-URL VCS-PATH MODULE-BASE-NAME
For example:
mkdir proxy
mkdir html
cd html
- mk-html "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon
- mk-html "http://www.git.cypherpunks.ru/?p=balloon.git" go.cypherpunks.ru/balloon/v2
+ mk-htmls "http://www.git.cypherpunks.ru/?p=balloon.git" ~w/balloon go.cypherpunks.ru/balloon
+ mk-htmls "http://www.git.cypherpunks.ru/?p=gotai64n.git" ~w/gotai64n go.cypherpunks.ru/balloon/tai64n