]> Cypherpunks.ru repositories - prepro.git/blob - USAGE
Separate .zip and .ziphash.sig steps for assurrance
[prepro.git] / USAGE
1 mk-mod utility creates GOPROXY-compatible version of the module in the
2 current directory:
3     mk-mod VCS-URL VCS-PATH MODULE-NAME VERSION [SIGNKEY]
4 Only Git VCS is supported. Git tag's name must be equal to VERSION.
5 mk-mods iterates through all tags:
6     mk-mods VCS-URL VCS-PATH MODULE-BASE-NAME [SIGNKEY]
7 SIGNKEY is optional path to OpenSSH signing key, that will sign the
8 .ziphash file.
9
10 mk-list utility collects all known versions in current GOPROXY directory
11 and creates corresponding "list" files.
12
13 mk-html creates go-import-compatible static files:
14     mk-html VCS-WEB-URL MODULE-NAME
15 mk-htmls iterates through all tags:
16     mk-htmls VCS-WEB-URL VCS-PATH MODULE-BASE-NAME
17
18 For example:
19     mkdir proxy
20     cd proxy
21     mk-mods https://git.cypherpunks.ru/balloon.git ~w/balloon go.cypherpunks.ru/balloon
22     mk-mods https://git.cypherpunks.ru/gotai64n.git ~w/gotai64n go.cypherpunks.ru/balloon/tai64n
23     mk-list
24     cd ..
25
26     mkdir html
27     cd html
28     mk-htmls "http://www.git.cypherpunks.ru/?p=balloon.git" ~w/balloon go.cypherpunks.ru/balloon
29     mk-htmls "http://www.git.cypherpunks.ru/?p=gotai64n.git" ~w/gotai64n go.cypherpunks.ru/balloon/tai64n