Skip to content

Conversation

calmh
Copy link
Member

@calmh calmh commented Sep 11, 2024

This is to add the generation of compat.json as a release artifact. It describes the runtime requirements of the release in question. The next step is to have the upgrade server use this information to filter releases provided to clients. This is per the discussion in #9656

rasa and others added 30 commits August 7, 2024 06:03
1. The build process creates a compatability.json
for the runtime used.
2. The release process adds compatability.json as
a release artifact
3. The upgrade server reads compatability.yaml
and merges it into its /meta.json response.
4. The upgrading client reads the
compatability.json file in the release bundle,
and using the go runtime setting found in it,
looks up the minimum OS versions listed in the
upgrade server's /meta.json response.
5. If the upgrading client's OS version is lower
than the minimum OS version listed, the upgrade
is aborted.
…-smaller

* upstream/main:
  build: use Go 1.23, require minimum 1.22 (syncthing#9651)
  gui, man, authors: Update docs, translations, and contributors
calmh added 7 commits August 20, 2024 11:48
* main:
  lib/protocol: Further interface refactor (syncthing#9396)
  gui: Replace global "Panel padding decrease" style with targeted class (syncthing#9659)
* main:
  gui, man, authors: Update docs, translations, and contributors
  gui: Actually filter scope ID out of IPv6 address when using Remote GUI (ref syncthing#8084) (syncthing#9688)
  Revert "lib/fs: Put the caseFS as the outermost layer (syncthing#9648)"
  lib/api: Correct ordering of Accept-Language codes by weight (fixes syncthing#9670) (syncthing#9671)
  gui, man, authors: Update docs, translations, and contributors
  gui: Fix incorrect UI language auto detection (fixes syncthing#9668) (syncthing#9669)
  lib/model, lib/protocol: Index sending/receiving debugging (syncthing#9657)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  lib/upgrade: Send OS version header to upgrade server (syncthing#9663)
  gui, man, authors: Update docs, translations, and contributors
@calmh calmh merged commit 0ea90dd into syncthing:main Sep 11, 2024
22 checks passed
@calmh calmh added this to the v1.27.13 milestone Sep 11, 2024
@calmh calmh deleted the jb/just-compat-json branch May 26, 2025 13:42
@calmh calmh added the build Issues caused by or requiring changes to the build system (scripts or Docker image) label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues caused by or requiring changes to the build system (scripts or Docker image)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants