Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce JSON manifests for nightlies #49

Open
alaviss opened this issue Jan 9, 2021 · 0 comments
Open

Produce JSON manifests for nightlies #49

alaviss opened this issue Jan 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@alaviss
Copy link
Contributor

alaviss commented Jan 9, 2021

Problems with the current release system:

  • Github Release API requires pagination and repeated queries will result in throttling
  • Limited in terms of metadata:
    • We can't provide os-arch -> binary mapping, instead the user must parse each asset name, which can be error prone.
    • We can't provide build flavors, for example debug builds for devel.
  • Any changes are likely to cause tooling breakage, even adding metadata can break other tools.
  • latest-* tags requires synchronization: In the future we will want to offload arm builds to Drone CI, which mean the current scheme of "dependent jobs" (update latest jobs depending on build release nightlies to complete) will no longer work as they can not synchronize between different platforms.

A solution would be to produce JSON manifests, exposed via Github Pages so that interested parties can access via https://nim-lang.github.io/nightlies to get links to assets they need.

With JSON manifests:

  • Adding fields are transparent, it won't affect the user if they don't know about it
  • Changing formats can be done without breakage, by providing them at a different location (ie. https://nim-lang.github.io/nightlies/v2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant