summaryrefslogtreecommitdiffstats
path: root/build.sh
AgeCommit message (Collapse)Author
2023-02-07gui: Switch to Weblate for translations (#8777)André Colomb
* Normalize EOL before EOF. * Import current Transifex state, only translated. Skip duplicated and completely empty languages. * Re-add untranslated strings to JSON files. These are now treated correctly as untranslated, but present with the original (English) translation key. * Update valid language codes and names. * Refer to Weblate instead of Transifex for translations. * lang-es: Copy untranslated strings from es-ES. * Integrate translation changes from Weblate. Translated using Weblate (Polish) Currently translated at 100.0% (512 of 512 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/pl/ Translated using Weblate (Danish) Currently translated at 98.6% (505 of 512 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/da/ Translated using Weblate (Lithuanian) Currently translated at 85.4% (441 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/lt/ Translated using Weblate (French) Currently translated at 100.0% (516 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/fr/ Translated using Weblate (Danish) Currently translated at 98.6% (509 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/da/ Translated using Weblate (Spanish) Currently translated at 100.0% (516 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/es/ * translation update uses weblate --------- Co-authored-by: Jakob Borg <jakob@kastelo.net>
2020-05-28build: Clean up build.sh, add build.ps1 (#6689)Jakob Borg
2018-07-23authors: Enable auto updates (#5074)Jakob Borg
Removes the manual handling of the AUTHORS file, giving every committer automatic credit for their contribution. Manual tweaks to the file are still accepted and retained by the scripts.
2018-01-08build: Remove ulimit from build.shVladimir Rusinov
Previous "reasonable resource limits" cause test failures with Go 1.9. They were added to protect the previous generation of the build server and no longer needed. Fixes issue #4653. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4656
2017-07-15build: The default build step already includes lintingJakob Borg
2017-07-11build: Support builds outside of GOPATHJakob Borg
This adds support for building with the source placed anywhere and no GOPATH set. The build script handles this by creating a temporary GOPATH in the system temp dir (or another specified location) and mirroring the source there before building. The resulting binaries etc still end up in the same place as usual, meaning at least the "build", "install", "tar", "zip", "deb", "snap", "test", "vet", "lint", "metalint" and "clean" commands work without a GOPATH. To this end these commands internally use fully qualified package paths like "github.com/syncthing/syncthing/cmd/..." instead of "./cmd/..." like before. There is a new command "gopath" that prepares and echoes the directory of the temporary GOPATH. This can be used to run other non-build go commands: export GOPATH=$(go run build.go gopath) // GOPATH is now set go test -v -race github.com/syncthing/syncthing/cmd/... There is a new option "-no-build-gopath" that prevents the check-and-copy step, instead assuming the temporary GOPATH is already created and up to date. This is a performance optimization for build servers running multiple builds commands in sequence: go run build.go gopath // creates a temporary GOPATH go run build.go -no-build-gopath -goos=... tar // reuses GOPATH go run build.go -no-build-gopath -goos=... tar // reuses GOPATH The temporary GOPATH is placed in the system temporary directory (os.TempDir()) unless overridden by the STTMPDIR variable. It is named after the hash of the current directory where build.go is run. The reason for this is that the name should be unique to a source checkout without risk for conflict, but still persistent between runs of build.go. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4253 LGTM: AudriusButkevicius, imsodin
2017-06-02build, jenkins: Move test coverage stuff to jenkins/Lars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4178
2017-06-01build: Update prerelease commandJakob Borg
2016-08-08build, lib: Correct total test coverage calculationJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3483
2016-07-25build: Remove unused docker-* commandsJakob Borg
2016-03-05Use Go 1.5 vendoring instead of GodepsJakob Borg
Change made by: - running "gvt fetch" on each of the packages mentioned in Godeps/Godeps.json - `rm -rf Godeps` - tweaking the build scripts to not mention Godeps - tweaking the build scripts to test `./lib/...`, `./cmd/...` explicitly (to avoid testing vendor) - tweaking the build scripts to not juggle GOPATH for Godeps and instead set GO15VENDOREXPERIMENT. This also results in some updated packages at the same time I bet. Building with Go 1.3 and 1.4 still *works* but won't use our vendored dependencies - the user needs to have the actual packages in their GOPATH then, which they'll get with a normal "go get". Building with Go 1.6+ will get our vendored dependencies by default even when not using our build script, which is nice. By doing this we gain some freedom in that we can pick and choose manually what to include in vendor, as it's not based on just dependency analysis of our own code. This is also a risk as we might pick up dependencies we are unaware of, as the build may work locally with those packages present in GOPATH. On the other hand the build server will detect this as it has no packages in it's GOPATH beyond what is included in the repo. Recommended tool to manage dependencies is github.com/FiloSottile/gvt.
2016-01-30build.sh prerelease should rebuild author credits in about dialogJakob Borg
2016-01-13Fix asset locations in one more placeJakob Borg
2016-01-10Add XUnit compatible test outputJakob Borg
2016-01-01Also build linux-arm64, linux-ppc64, linux-ppc64leJakob Borg
2015-12-08Neater build.sh allJakob Borg
2015-10-28Don't use godep to run testsJakob Borg
2015-10-14Apparently -race adds some stuff gocov doesn't like. Lets try this instead.Jakob Borg
2015-10-14Tests should be run with -raceJakob Borg
2015-08-30Signing is done by stsigtool onlyJakob Borg
2015-08-21Actually map the key into DockerJakob Borg
2015-08-21Pass -sign parameter to build.go from Docker if key is presentJakob Borg
2015-08-13Clean up the scripts a bit (...)Jakob Borg
- Move the Go files into script/ instead of random places - Rewrite check-contrib.sh into check-authors.go and check-copyright.go - Clean up build.sh a little bit
2015-08-09Allow specifying Docker image to use for buildingJakob Borg
2015-08-09mv internal libJakob Borg
2015-08-09Updates for Go 1.5Jakob Borg
2015-07-20Squashed commit of pull request #1875Jakob Borg
commit d60fbce311414f3ade16c7b1f6525b1d02f01699 Author: Jacek Szafarkiewicz <szafar@linux.pl> Date: Mon Jun 1 11:16:36 2015 +0200 Correct order of deb files commit 3b2ecfcc45343701ccb98483a62f70c102a70785 Merge: f4daebb c23a601 Author: Jacek Szafarkiewicz <szafar@linux.pl> Date: Mon Jun 1 11:15:06 2015 +0200 Merge github.com:syncthing/syncthing Conflicts: build.go commit f4daebb8510f0b40b15e404817a7799e0c3b592c Author: Jacek Szafarkiewicz <szafar@linux.pl> Date: Tue May 26 12:58:25 2015 +0200 Add me to AUTHORS commit 9e77f4bea01cc826132a5fbc6ca412cce5327e97 Author: Jacek Szafarkiewicz <szafar@linux.pl> Date: Tue May 26 12:57:40 2015 +0200 Add systemd files to deb packate
2015-05-30Include generated man pagesJakob Borg
2015-05-30Create 'prerelease' step to run before releasesJakob Borg
2015-05-23Run benchmarks in docker-all insteadJakob Borg
2015-05-23Run benchmarks when running testsJakob Borg
2015-04-29Run vet and lint. Make us lint clean.Jakob Borg
2015-03-30Allowed integration test time 60m -> 90mJakob Borg
2015-03-25Silence go vet composites warningJakob Borg
https://code.google.com/p/go/issues/detail?id=6820
2015-03-15Also build darwin/386Jakob Borg
2015-02-26Also build Solaris, NetBSD by defaultJakob Borg
2015-02-26Build binary packages for DragonflyJakob Borg
2015-02-11Use syncthing/build:latest for buildingJakob Borg
2015-01-22Improvements to integration testsAudrius Butkevicius
2015-01-16go1.4.1Jakob Borg
2015-01-09Only build ARMv5 (fixes #1218)Jakob Borg
With this change, the build system only builds one ARM variant - ARMv5. We call the build architecture simply "arm", as this is what runtime.GOARCH says.
2014-12-19Improve and clean up integration tests, benchmark.Jakob Borg
2014-12-13Patch Go for issue #9102 in build env (fixes #1112)Jakob Borg
2014-12-11Use Go 1.4 for buildsJakob Borg
2014-12-08Run vet and lint during buildJakob Borg
2014-12-06Use Go 1.4 build environment (currently 1.4rc2)Jakob Borg
2014-12-04Revert "Merge pull request #1078 from syncthing/go1.4"Jakob Borg
This reverts commit b658afd85773284c71a12a38d7f1eef4deda7b58, reversing changes made to 591c5dabf4cfb892a9d26aa8d1a10506e998373b.
2014-12-04Use Go 1.4 build environment (currently 1.4rc2)Jakob Borg
2014-11-30Increase allowed test runtimes (fixes #1049)Jakob Borg
2014-11-29Silence verbose docker build outputJakob Borg