diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-12 13:10:25 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-12 15:09:48 -0700 |
commit | 02734a5b4ffc555a47c5029422ae4015b59c138f (patch) | |
tree | 0e1a358114bfd9b0e4a0d36a0d0e363d6485e924 /tools/govanity/Dockerfile | |
parent | build: convert to go module (diff) | |
download | world-02734a5b4ffc555a47c5029422ae4015b59c138f.tar.gz |
vanity: rewrite with templates and external config
Rewrite the program to use external templates and load the configuration from an external source. We don't want to blindly send all the requests to some SCM since we want to support only some modules / program that way. There's two templates, one for requests coming from a browser, which list all the supported modules, and one for the `go get` command. For requests coming from `go get`, we generate a template that indicates where the repository is. The external configuration is in YAML, and list all the supported repositories, and the URL of the repository. It assumes a default VCS for all the modules (git in our case).
Diffstat (limited to 'tools/govanity/Dockerfile')
0 files changed, 0 insertions, 0 deletions