Commit Graph
197 Commits
Author SHA1 Message Date
Jakob Borg f1d74f752c Merge branch 'main' into libp2p
* main:
  build: follow rename of azure/artifact-signing-action
  build(deps): bump the actions group across 1 directory with 15 updates (#10964)
  build(deps): bump the dependencies group with 11 updates (#10963)
  build: skip branch builds for dependabot
  build: add hash references to actions where it was missing (#10962)
  chore(gui, man, authors): update docs, translations, and contributors
  chore(gui): remove empty "az" and "ckb" translation files (#10959)
2026-11-25 11:01:32 +01:00
Jakob Borg 134b625bcb build: follow rename of azure/artifact-signing-action
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 10:58:15 +01:00
dependabot[bot] 82e1f61069 build(deps): bump the actions group across 1 directory with 15 updates (#10964)
Bumps the actions group with 15 updates in the / directory.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-25 09:57:01 +00:00
Jakob Borg 07cb5be512 build: skip branch builds for dependabot
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 10:34:44 +01:00
Jakob Borg 85c92411c7 build: add hash references to actions where it was missing (#10962)
Keeping the current version for now

Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 09:26:15 +00:00
Jakob Borg 5b1d3caf72 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 09:15:07 +01:00
Jakob Borg d2863f6711 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 09:13:15 +01:00
Jakob Borg 0baf36695f wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 08:58:18 +01:00
Jakob Borg f9360cf29a wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-25 07:34:16 +01:00
Jakob Borg f142d23c9f illumos
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 12:29:51 +01:00
Jakob Borg 99bd01d34f Revert "wip"
This reverts commit 792f8ce938.
2026-11-19 12:29:03 +01:00
Jakob Borg f2ed52347e refactor(discover): simplify cache handling by moving to the cachedFinder (#10956)
Where it should have been to begin with

---------

Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:51:57 +01:00
Jakob Borg 792f8ce938 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:48:07 +01:00
Jakob Borg 61bfc7e75f wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:29:35 +01:00
Jakob Borg a60e77eb6b wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:13:32 +01:00
Jakob Borg 3f795834db feat: Peer-to-peer discovery (fixes #3388)
This implements a new peer-to-peer-based discovery protocol.

- The DHT is based on libp2p (of IPFS etc) and constitutes a new,
  separate Syncthing-specific network. It does not piggyback on any
  existing non-Syncthing nodes out there.
- It uses existing device IDs as the keys, and publishes discovery
  documents that include the device certificate and are signed by the
  same. This enables validation that the discovery data is _for_ the
  right device ID, as well as published _by_ that device.
- The DHT runs on the QUIC socket, so it shares UPnP/NAT-PMP whole
  punches and STUN discovery. (Unless the QUIC listener is disabled,
  then it runs on an ephemeral socket and can effectively do only
  queries and not participate as a full DHT node.)
- There is a hardcoded default pointing to three bootstrap nodes hosted
  in the usual manner.
- Currently it's strictly additive -- it runs separately and in
  parallell with the usual global discovery. Once proven and scaled, it
  will gradually take over the duties of the global discovery.
- There is a new command line tool `stdht` which just runs a DHT node to
  assist with discovery (the bootstrap nodes are this).

The diff is large and terrifying, but that's how it is.

Signed-off-by: Jakob Borg <[email protected]>
2026-11-05 22:43:18 +01:00
Jakob Borg 6868119860 build: skip defunct loki sending
Signed-off-by: Jakob Borg <[email protected]>
2026-10-06 10:02:02 +02:00
Jakob Borg 813863cdf4 doc: simplify security reporting note
Signed-off-by: Jakob Borg <[email protected]>
2026-09-12 11:11:28 +02:00
Jakob Borg 2ca95cf149 build: give macos security set-key-partition-list the correct password
Signed-off-by: Jakob Borg <[email protected]>
2026-09-08 08:57:55 +02:00
Jakob Borg 82f3e86424 build: use Go 1.27, minimum version is Go 1.26 (#10864)
### Purpose

🎉

Signed-off-by: Jakob Borg <[email protected]>
2026-08-19 20:23:21 +02:00
Jakob Borg bb9dac4f75 build: sign docker images
Signed-off-by: Jakob Borg <[email protected]>
2026-08-18 11:28:52 +02:00
Jakob Borg 8cc4c4ffb3 build: use Go 1.26 for Windows as well (#10744)
Signed-off-by: Jakob Borg <[email protected]>
2026-06-13 14:01:46 +02:00
Jakob Borg deb1e5b38a Revert "build: temporarily disable illumos for release"
This reverts commit c0c401efeb.
2026-05-23 12:00:07 +02:00
Jakob Borg 05b4f6abda build: let infra containers builds fail individually
Signed-off-by: Jakob Borg <[email protected]>
2026-05-23 09:18:15 +02:00
Jakob Borg 14c4ad3af2 build: remove environment annotations
Signed-off-by: Jakob Borg <[email protected]>
2026-05-12 15:44:51 +02:00
Jakob Borg 08036b1d87 build: be explicit about workflow permissions (#10690)
Signed-off-by: Jakob Borg <[email protected]>
2026-05-12 15:36:20 +02:00
Jakob Borg c0c401efeb build: temporarily disable illumos for release
They let the domain/DNSSEC expire, I need the build to pass.

Signed-off-by: Jakob Borg <[email protected]>
2026-05-12 07:59:47 +02:00
Jakob Borg 658ea62052 build: fix draft/published status for new releases
Signed-off-by: Jakob Borg <[email protected]>
2026-05-12 07:34:50 +02:00
Jakob Borg 1919c89de4 build: only run the periodic build jobs in the syncthing org (#10675) 2026-05-01 05:09:14 +00:00
Jakob Borg 531d7f1a9a build: create GH release as draft, then publish
Signed-off-by: Jakob Borg <[email protected]>
2026-04-26 12:43:45 +02:00
Jakob Borg 124f6979a4 build: parallelise linux builds slightly (#10666)
They currently take like 25 minutes. This reduces that to approximately
a third, wall-clock wise.

Signed-off-by: Jakob Borg <[email protected]>
2026-04-24 13:16:12 +02:00
Jakob Borg 5d877f65f5 build: have dependabot group PRs and use cooldown (#10630)
Signed-off-by: Jakob Borg <[email protected]>
2026-04-07 16:57:42 +02:00
dagecko e36bf6d6b1 build: pin 20 third-party actions to immutable commit SHAs (#10625)
fix: pin 20 third-party actions to immutable commit SHAs

Signed-off-by: Chris Nyhuis <[email protected]>
2026-04-07 16:55:54 +02:00
dagecko f234a61fb4 build: extract github.ref_name expression to env mapping (#10624)
Signed-off-by: Chris Nyhuis <[email protected]>
2026-04-06 15:24:12 +00:00
Jakob Borg dc2a77ab8e chore: build with Go 1.26; use Go 1.25 features (#10570)
WaitGroup.Go and built-in gomaxprocs handling.

Signed-off-by: Jakob Borg <[email protected]>
2026-02-11 10:41:38 +00:00
Jakob Borg 8adcffbb59 build: increase allowed permissions for nightly build
Signed-off-by: Jakob Borg <[email protected]>
2026-01-30 13:17:20 +01:00
Jakob Borg 0735c25c92 build: add build attestation step at release (#10540)
Signed-off-by: Jakob Borg <[email protected]>
2026-01-24 08:39:01 +00:00
Jakob Borg 962b917150 build: handle (ignore) new docker artifacts 2025-12-23 09:10:48 +01:00
Jakob Borg b9ab05af02 build: fix hash failure by limiting globbing (#10505)
The glob in **/go.sum fails in some builds because there are a lot of files in ** due to things like the zig cache directory. We can be more specific. Also, avoid a huge build context sent to Docker for the container builds.

---------

Signed-off-by: Jakob Borg <[email protected]>
2025-12-22 19:28:16 +00:00
Jakob Borg fd9dcbb8c2 build: fix docker build by ensuring qemu (#10492)
Signed-off-by: Jakob Borg <[email protected]>
2025-12-13 12:28:12 +00:00
Jakob Borg c518d99c35 build: do not clobber .deb files when publishing 2025-10-31 11:01:09 +01:00
Jakob Borg 194b59b3ed chore: job for adding org members 2025-10-24 08:10:30 +02:00
mrclmr b3e3ca7294 build: update GitHub actions (#10399) 2025-09-22 08:50:09 +03:00
Amin Vakil a533f453f8 build: trigger nightly build only on syncthing repo (#10375)
Signed-off-by: Amin Vakil <[email protected]>
2025-09-07 14:03:33 +02:00
Jakob Borg 3c9e87d994 build: exclude illumos from cross building
Now that we have a native build for it.

Signed-off-by: Jakob Borg <[email protected]>
2025-09-05 11:51:15 +02:00
Albert LeeandJakob Borg 8d8adae310 build: package for illumos using vmactions/omnios-vm (#10328)
Use GitHub Actions to build illumos/amd64 package.

Signed-off-by: Albert Lee <[email protected]>
Co-authored-by: Jakob Borg <[email protected]>
2025-09-04 08:51:44 +00:00
Jakob Borg e6a9b09527 fix: permissions in moving deb files? 2025-08-20 23:32:32 +02:00
Jakob Borg c8f52ba1bc build: use new apt publisher 2025-08-20 23:05:52 +02:00
Jakob Borg 755daaa7b7 build: set netgo & osusergo tags for Linux build (#10261)
Avoid:

/_/GOROOT/src/os/user/cgo_lookup_cgo.go:45:(.text+0x54): warning: Using
'getgrgid_r' in statically linked applications requires at runtime the
shared libraries from the glibc version used for linking

and

/tmp/go-build/cgo-gcc-prolog:60:(.text+0x40): warning: Using
'getaddrinfo' in statically linked applications requires at runtime the
shared libraries from the glibc version used for linking
2025-08-16 06:33:01 +02:00
Jakob Borg 33b5c3c62e build: bump required language level to 1.24, compiler to 1.25 (#10248)
(After 2.0.1)
2025-08-16 06:02:58 +02:00