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 <jakob@kastelo.net >
2025-12-22 19:28:16 +00:00
Jakob Borg
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
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 <info@aminvakil.com >
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 <jakob@kastelo.net >
2025-09-05 11:51:15 +02:00
Albert Lee
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
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
Jakob Borg
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
bbf48ae334
fix(all): various typos ( #10242 )
2025-08-12 20:05:10 +02:00
Jakob Borg
5d8033343f
chore: repo mirror job
2025-08-11 22:16: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
1c6f542cb7
build: use proper ref for build action
2025-06-15 10:21:03 +02:00
Jakob Borg
b28066c85d
build: use access token to trigger release builds
2025-06-15 10:14:13 +02:00
Jakob Borg
1903da569b
build: explicitly trigger build after pushing release tag ( #10160 )
...
Because just pushing the tag with a non-Actions token doesn't suffice,
apparently
2025-06-07 14:22:39 +00:00
Jakob Borg
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
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
ac3f390afa
Merge branch 'main' into v2
...
* main:
build: use own script instead of svu
chore(gui, man, authors): update docs, translations, and contributors
2025-06-02 19:50:34 +02:00
Jakob Borg
0e560486db
build: use own script instead of svu
...
We use a slightly different handling of features between prereleases.
2025-06-02 19:49:23 +02:00
Jakob Borg
8d37e8f307
Merge branch 'main' into v2
...
* main:
feat(config): expose folder and device info as metrics (fixes #9519 ) (#10148 )
chore: add issue types to GitHub issue templates
build: remove schedule from PR metadata job
chore(protocol): only allow enc. password changes on cluster config (#10145 )
chore(protocol): don't start connection routines a second time (#10146 )
2025-05-31 17:10:00 +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
50480f6ccb
build: use same GitHub token for releases as for translation etc pushes
2025-05-31 08:50:42 +02:00
Jakob Borg
8094b459e4
build: remove schedule from PR metadata job
...
It shouldn't have touched non-PR issues, but it did
2025-05-30 11:57:27 +02:00
Jakob Borg
79bac43800
Merge branch 'main' into v2
...
* main:
build: properly propagate build tags to Debian build (#10144 )
fix(protocol): avoid deadlock with concurrent connection start and close (#10140 )
build: add labeler workflow for PRs (#10143 )
build(deps): update our notify package from upstream (#10142 )
build(deps): update dependencies (#10141 )
docs: general notes about v2 coming (#10135 )
2025-05-29 17:10:03 +02:00
Jakob Borg
40660c5fb7
build: add labeler workflow for PRs ( #10143 )
...
Use labels to categorise release notes
2025-05-29 10:04:08 +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
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
cade790198
build: use specific token for pushing release tags
2025-05-26 14:13:02 +02:00
Jakob Borg
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
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
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