jeftadlvw / git-nest

Nest external repositories into your project without git being bothered.
https://github.com/jeftadlvw/git-nest
Apache License 2.0
1 stars 1 forks source link

✨ generate machine readable artifact description for release binaries #30

Open jeftadlvw opened 4 months ago

jeftadlvw commented 4 months ago

When compiling release binaries, a file containing all checksums is automatically generated. It's possible to manually parse that file using splitting, trimming and combining strings. But would't it be much nicer if, next to the checksum.txt, there's also a artifacts.json(or something like that) that contains information about the artifacts? Many libraries exist to parse JSON strings so that information could be extracted more easily for different use cases.

Example:

{
   "schema_version": "1",
   "version": "0.0.1",
   "artifacts": [
      {
         "os": "linux",
         "arch": "amd64",
         "name": "git-nest_linux-amd64"
      },
   ]
}
jeftadlvw commented 4 months ago

Could be implemented in combination with #18