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 <jakob@kastelo.net >
2026-05-12 07:59:47 +02:00
Jakob Borg
658ea62052
build: fix draft/published status for new releases
...
Signed-off-by: Jakob Borg <jakob@kastelo.net >
2026-05-12 07:34:50 +02:00
Jakob Borg
531d7f1a9a
build: create GH release as draft, then publish
...
Signed-off-by: Jakob Borg <jakob@kastelo.net >
2026-04-26 12:43:45 +02:00
Jakob Borg and GitHub
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 <jakob@kastelo.net >
2026-04-24 13:16:12 +02:00
dagecko and GitHub
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 <cnyhuis@vigilantnow.com >
2026-04-07 16:55:54 +02:00
dagecko and GitHub
f234a61fb4
build: extract github.ref_name expression to env mapping ( #10624 )
...
Signed-off-by: Chris Nyhuis <cnyhuis@vigilantnow.com >
2026-04-06 15:24:12 +00:00
Jakob Borg and GitHub
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 <jakob@kastelo.net >
2026-02-11 10:41:38 +00:00
Jakob Borg and GitHub
0735c25c92
build: add build attestation step at release ( #10540 )
...
Signed-off-by: Jakob Borg <jakob@kastelo.net >
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 and GitHub
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 <jakob@kastelo.net >
2025-12-22 19:28:16 +00:00
Jakob Borg and GitHub
fd9dcbb8c2
build: fix docker build by ensuring qemu ( #10492 )
...
Signed-off-by: Jakob Borg <jakob@kastelo.net >
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
mrclmr and GitHub
b3e3ca7294
build: update GitHub actions ( #10399 )
2025-09-22 08:50:09 +03:00
Jakob Borg
3c9e87d994
build: exclude illumos from cross building
...
Now that we have a native build for it.
Signed-off-by: Jakob Borg <jakob@kastelo.net >
2025-09-05 11:51:15 +02:00
8d8adae310
build: package for illumos using vmactions/omnios-vm ( #10328 )
...
Use GitHub Actions to build illumos/amd64 package.
Signed-off-by: Albert Lee <trisk@forkgnu.org >
Co-authored-by: Jakob Borg <jakob@kastelo.net >
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 and GitHub
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 and GitHub
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
Jakob Borg and GitHub
ffb30392e8
build: remove netgo and osusergo build tags ( fixes #10251 ) ( #10256 )
...
I added these tags as part of the big database PR, but I forget why. I
think it came from an attempt at a static binary using the Go-based
SQLite packages, but that's not the primary build anymore anyway. We can
remove this and go back to the standard resolvers, which gives better
support for primarily Windows and macOS special resolution methods...
2025-08-14 21:32:06 +02:00
Ross Smith II and GitHub
bbf48ae334
fix(all): various typos ( #10242 )
2025-08-12 20:05:10 +02:00
Jakob Borg
3da84804b6
build: just special case stable-v2 for Debian for now
2025-08-11 19:17:33 +02:00
Jakob Borg
5b75c6ddcb
build: split apt archive into major version generations
2025-08-11 18:57:18 +02:00
Jakob Borg
4d92855d76
build: release job needs full checkout with tags
2025-06-15 10:37:37 +02:00
Jakob Borg and GitHub
b6a7beca1f
build: build both Debian armel and armhf (though they are the same for us) ( #10159 )
...
Current "arm" is wrong
2025-06-07 16:04:28 +02:00
Jakob Borg
7b83e7403e
build: limit golangci-lint to pull requests
...
Since all the existing code isn't clean
2025-06-07 15:04:30 +02:00
Jakob Borg and GitHub
5381178c46
build: streamline gathering of facts, checkouts ( #10158 )
2025-06-07 13:11:52 +02:00
Jakob Borg
e7f4f8306c
Merge branch 'main' into v2
...
* main:
build: more resilient pushes to releases
2025-06-07 09:35:00 +02:00
Jakob Borg
9922a3abd9
build: more resilient pushes to releases
2025-06-07 09:34:49 +02:00
Jakob Borg
3c92999406
build: allow v2 into APT candidate channel
2025-06-06 11:00:55 +02:00
Jakob Borg
706409d2f3
Merge branch 'main' into v2
...
* main:
docs: link to Docker image, APT, in release notes
build: also create relaysrv and discosrv releases
fix(stupgrades): return latest stable & pre for each major
fix(syncthing): avoid writing panic log to nil fd (#10154 )
2025-06-05 19:19:34 +02:00
Jakob Borg
67ba20d777
build: also create relaysrv and discosrv releases
2025-06-05 19:19:05 +02:00
Jakob Borg
d49df1e44c
build: refactor builds for forks/PRs
...
Make sure as much as possible runs for forks and PRs as well, while
keeping the release specific stuff out of the way.
2025-05-31 09:52:27 +02:00
Jakob Borg
bb91f53641
Merge branch 'main' into v2
...
* main:
refactor: use slices package for sorting (#10136 )
build: handle multiple general release notes
build: no need to build on the branches that just trigger tags
2025-05-26 21:40:54 +02:00
Jakob Borg
4075b886d0
build: no need to build on the branches that just trigger tags
2025-05-26 15:21:21 +02:00
Jakob Borg and GitHub
46d2c59b24
build: upgrade setup-zig action ( #10134 )
2025-05-26 12:53:47 +00:00
Jakob Borg
54f6b5c2ee
Merge branch 'main' into v2
...
* main:
build: use specific token for pushing release tags
fix(gui): update `uncamel()` to handle strings like 'IDs' (fixes #10128 ) (#10131 )
refactor: use slices package for sort (#10132 )
build: process for automatic release tags (#10133 )
chore(gui, man, authors): update docs, translations, and contributors
2025-05-26 14:22:30 +02:00
Jakob Borg and GitHub
58c85fc9db
build: process for automatic release tags ( #10133 )
...
Make the release tagging consistent. Push to release branch to create a
stable release; push to release-rc to release a new candidate.
2025-05-26 13:33:53 +02:00
Jakob Borg
1b8a8032f0
build: target ARMv6 for linux-arm builds
2025-05-22 12:27:35 +02:00
Jakob Borg
3423de24ea
Revert "build: use Go 1.24.2 specifically"
...
This reverts commit 4bc17bc588 .
2025-05-22 12:03:41 +02:00
Jakob Borg
832fa094a3
Merge branch 'main' into v2
...
* main:
chore: move golangci-lint & meta to separate PR-only workflow (#10119 )
2025-05-21 08:35:12 +02:00
Jakob Borg and GitHub
bcd30ceaec
chore: move golangci-lint & meta to separate PR-only workflow ( #10119 )
...
For now. Existing code is not golangci-lint clean, but new PRs should
be, ideally.
2025-05-21 08:32:49 +02:00
Jakob Borg and GitHub
085455d72e
feat: add syncthing debug database-statistics command ( #10117 )
...
This adds a command that shows database statistics. Currently it
requires a fork of the sqlite package to add the dbstats virtual table;
the modernc variant already has it.
This also provides the canonical mapping between folder ID and database
file, for tinkerers...
```
% ./bin/syncthing debug database-statistics
DATABASE FOLDER ID TABLE SIZE FILL
======== ====== == ===== ==== ====
main.db - folders 4 KiB 8.4 %
main.db - folders_database_name 4 KiB 6.0 %
main.db - kv 4 KiB 41.1 %
main.db - schemamigrations 4 KiB 3.9 %
main.db - sqlite_autoindex_folders_1 4 KiB 3.7 %
...
folder.0007-txpxsvyd.db w3ejt-fn4dm indexids 4 KiB 1.5 %
folder.0007-txpxsvyd.db w3ejt-fn4dm kv 4 KiB 0.8 %
folder.0007-txpxsvyd.db w3ejt-fn4dm mtimes 608 KiB 81.5 %
folder.0007-txpxsvyd.db w3ejt-fn4dm schemamigrations 4 KiB 3.9 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_autoindex_blocklists_1 4108 KiB 89.5 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_autoindex_blocks_1 700020 KiB 88.1 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_autoindex_devices_1 4 KiB 3.6 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_autoindex_kv_1 4 KiB 0.6 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_schema 12 KiB 45.9 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_sequence 4 KiB 1.0 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_stat1 4 KiB 12.2 %
folder.0007-txpxsvyd.db w3ejt-fn4dm sqlite_stat4 4 KiB 0.2 %
folder.0007-txpxsvyd.db w3ejt-fn4dm (total) 1906020 KiB 92.8 %
main.db + children - (total) 2205888 KiB 92.0 %
```
2025-05-20 14:27:08 +02:00
Jakob Borg
f09cca52f2
Merge branch 'main' into v2
...
* main:
build: reactivate golangci-lint (#10118 )
chore(gui): add Serbian (sr) translation template (#10116 )
chore(gui, man, authors): update docs, translations, and contributors
2025-05-20 14:05:29 +02:00
Jakob Borg and GitHub
9a3493c2f4
build: reactivate golangci-lint ( #10118 )
...
With DeepSource becoming (imho) less and less useful, let's get this one
back on track. It will likely require adjusting over time.
2025-05-20 14:03:43 +02:00
Jakob Borg
4bc17bc588
build: use Go 1.24.2 specifically
...
https://github.com/golang/go/issues/73617
2025-05-17 00:37:36 +02:00
Jakob Borg
2159dfd27d
Merge branch 'main' into v2
...
* main:
fix(strelaysrv): make the session limiter session-dependent (fixes #10072 ) (#10073 )
build: artifact uploads destination OCI
chore(gui, man, authors): update docs, translations, and contributors
chore(gui): use go list --deps for dependency list (#10071 )
2025-04-30 10:11:33 -05:00
Jakob Borg
f61843ef2e
build: artifact uploads destination OCI
2025-04-29 14:01:25 -05:00
Jakob Borg
95b39a791d
Merge branch 'main' into v2
...
* main:
fix(gui): fix previous commit
fix(gui): mark unseen disconnected devices as inactive (#10048 )
fix(strings): differentiate setup(n) and set(v) up (#10024 )
chore(fs): changes to allow Filesystem to be implemented externally (#10040 )
chore(config): resolve primary STUN servers via SRV record (fixes #10029 ) (#10031 )
build: push artifacts to Azure (#10044 )
chore(gui, man, authors): update docs, translations, and contributors
2025-04-09 15:40:25 +02:00
Jakob Borg and GitHub
e48be98cd5
build: push artifacts to Azure ( #10044 )
...
Provider migration
2025-04-08 09:43:19 +02:00