-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncthing: 0.12.25 -> 0.13.4 #15730
syncthing: 0.12.25 -> 0.13.4 #15730
Conversation
The Travis build seems to have timed out... I don't imagine my changes are responsible for that? The logs cut off as it's building mesa. |
@pshendry it may be due to a cold package cache; I've restarted the build. |
I cherry-pick this into 16.03 and now run it on my system. Works great. Many thanks! My one concern is that the only binary installed by the new 0.13.4 package seems to be
I've never knowingly used these other binaries but perhaps they are expected by somebody? |
That's a fair point, thanks for noticing. I'll investigate over the weekend if no one else beats me to it. On May 27, 2016 4:26:15 PM EDT, Robert Helgesson notifications@github.com wrote:
|
Also, syncthing doesn't show a version in the log output and the web interface:
|
* Rename v0.12.25 package from 'syncthing' to 'syncthing012' * Remove syncthing011
@rycee: I'm not sure how useful those utilities are either, but I don't want to needlessly regress on functionality here; if someone thinks those utilities are noise and should be removed/optional, they can make another ticket. I added the "all" argument to the build script invocation and changed the install phase to copy "bin/*", and now I'm getting everything you listed in my output. @fpletz: I added a -version flag to the build script invocation which sets the version. I didn't test it in the web GUI but "syncthing --version" shows me the correct version so we ought to be all set there. |
@pshendry, tried it out. I got this:
so for some reason hash of the git download has changed? I changed the hash to 06wy… and it then installs and runs OK. All the old binaries in bin are created and the version string looks fine. If the hash is figured out I would like to see this merged. Many thanks for your work on this @pshendry! |
@joachifm, ah yes! That was it. I was testing by rebasing onto 16.03. When I build on master the hash matches. |
So if I'm understanding it right, we're merge-ready then? :) |
Looks good now, thanks! 🍻 |
Cherry-picked from 8ea1f2d * Rename v0.12.25 package from 'syncthing' to 'syncthing012' * Remove syncthing011
Cherry-picked from 8ea1f2d * Rename v0.12.25 package from 'syncthing' to 'syncthing012' * Remove syncthing011
Motivation for this change
See #15674. This is my attempt (as a nix newbie) to both update syncthing to 0.13.4 and use a less brittle packaging strategy going forward by using the build script from syncthing's official build instructions.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)