You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jordan Orelli
0087101de9
proved that I could manage the protocol with something that was faked, starting to try to serve something for real. The idea is that you would have a directory that contains all of your module zips, and the mir server would serve modules from that directory, and it would query that directory to find out which versions were available and which were latest. I'm not sure about the version list and retractions. It seems like if a module is retracted you still want it to be in the list of available modules, and that a retraction is not signaled by the absence of that version in the list endpoint, but by the module file of the latest version itself. /srv/mir └── modules └── orel.li └── mir@v0.0.0-pre1.zip |
3 years ago | |
---|---|---|
internal | 3 years ago | |
meta/fart | 3 years ago | |
modules/orel.li/fart | 3 years ago | |
.gitignore | 3 years ago | |
auto | 3 years ago | |
devloop | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
handler.go | 3 years ago | |
main.go | 3 years ago | |
modules-index.json | 3 years ago | |
pathflag.go | 3 years ago | |
serve.go | 3 years ago | |
shutdown.go | 3 years ago | |
usage | 3 years ago | |
zip.go | 3 years ago |