Skip to content
Permalink
Browse files

Add release code name

I figured we're missing out on being cool and awesome by not having an
alphabetically based release code name like the big guys. This commit
fixes that. I've unilaterally decided on a theme of "$metal $bug"
because metals are kind of cool, and bugs, well, ...
  • Loading branch information...
calmh committed Aug 18, 2015
1 parent 0ee1233 commit 283c91548aa4a444cfee0d37d6792c59559e5c33
Showing with 12 additions and 4 deletions.
  1. +1 −0 cmd/syncthing/gui.go
  2. +2 −1 cmd/syncthing/main.go
  3. +7 −1 gui/syncthing/core/aboutModalView.html
  4. +2 −2 lib/auto/gui.files.go
@@ -355,6 +355,7 @@ func (s *apiSvc) getSystemVersion(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=utf-8")
json.NewEncoder(w).Encode(map[string]string{
"version": Version,
"codename": Codename,
"longVersion": LongVersion,
"os": runtime.GOOS,
"arch": runtime.GOARCH,
@@ -45,6 +45,7 @@ import (

var (
Version = "unknown-dev"
Codename = "Aluminium Ant"
BuildEnv = "default"
BuildStamp = "0"
BuildDate time.Time
@@ -93,7 +94,7 @@ func init() {
BuildDate = time.Unix(int64(stamp), 0)

date := BuildDate.UTC().Format("2006-01-02 15:04:05 MST")
LongVersion = fmt.Sprintf("syncthing %s (%s %s-%s %s) %s@%s %s", Version, runtime.Version(), runtime.GOOS, runtime.GOARCH, BuildEnv, BuildUser, BuildHost, date)
LongVersion = fmt.Sprintf(`syncthing %s "%s" (%s %s-%s %s) %s@%s %s`, Version, Codename, runtime.Version(), runtime.GOOS, runtime.GOARCH, BuildEnv, BuildUser, BuildHost, date)

if os.Getenv("STTRACE") != "" {
logFlags = log.Ltime | log.Ldate | log.Lmicroseconds | log.Lshortfile
@@ -1,5 +1,11 @@
<modal id="about" status="info" icon="heart-o" title="{{'About' | translate}}" large="yes" close="yes">
<h1 class="text-center"><img alt="Syncthing" title="Syncthing" src="assets/img/logo-horizontal.svg" style="vertical-align: -16px" height="100" width="366"/><br/><small>{{versionString()}}</small></h1>
<h1 class="text-center">
<img alt="Syncthing" title="Syncthing" src="assets/img/logo-horizontal.svg" style="vertical-align: -16px" height="100" width="366"/>
<br/>
<small>{{versionString()}}</small>
<br/>
<small><i>"{{version.codename}}"</i></small>
</h1>
<hr/>

<p translate>Copyright &copy; 2015 the following Contributors:</p>
@@ -5,7 +5,7 @@ import (
)

const (
AssetsBuildDate = "Sun, 16 Aug 2015 13:29:13 GMT"
AssetsBuildDate = "Tue, 18 Aug 2015 11:29:36 GMT"
)

func Assets() map[string][]byte {
@@ -54,7 +54,7 @@ func Assets() map[string][]byte {
assets["modal.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/3RST0/cPhC9/z7F/HLogkQ2gDjRXaoWqVIlKiHBpceJPUlcHDuyJ9BtlO/eibNNYbUcEv97783Mm9lo8wzKYozbrPUaLVSoKQPG0jhNv7ZZfpGBq3NkDrlGxrxE9aSD77bZMAjVR4JPwKEnuIZVZGSjVjCOB6wn2pUeg06sL95bQneS2KcT+OY/gM3/eS5LUcCt73bB1A3Dye0pXJ5fXMFjQ/Cwc4ob42r43HPjQ1wn+Mx5bEyEB98HRcLXBF99aEHuYl/+JMXAHlhEmEIbwVfp8N3/NtYi3PelNWoWujOKXKQzeF7D5fp8Dd8qQFCS0sK6v4MXjOA8gzaRgyl7Jg0vhhsBSMzKWDqb5X74HhQ68CWjkcURIEPD3F0XRTvHX/tQF6JaSLxiKirPkyGHzcm1QevrZO3+fljNL7ZeXYPFUNNs5jG28o7J8f79GKIh6X4AtBR4/ufDMPW0j+O48ITZXL0lsmFLrwACiZ1ULYmaapsZCZ39ZVQoQya60+Wkuikm6GvuMCS9cfwXsGiulrQLyfv9Gkqvd8khDuiisr2m95n7/NIgZm91Ku9lVl4XLV1m74B3HW2z+bBwSnYgX66pwt5y2sc2gzT8MiStWZSP2PTGGTYtxcWWD66M3ccZliqyyHRzOyV8aNymmJM6Uu6y3W/2yx8AAAD//wEAAP//qvxG6f8DAAA=")
assets["syncthing/app.js"], _ = base64.StdEncoding.DecodeString("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AAA//8BAAD//49TxqiCEQAA")
assets["syncthing/core/aboutModalDirective.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/1SOMQ7CMAxF954im1upSnc6cQBG2ENqWktOglwHhFDvTgpSgT/+/yw/F8fMTmxIQ2asYX5ErxPF0fokCE1lSuxAgl7pVgB3TlkPaXAMrbnkQlOKpm7M842uEdQs8af4lLMKed0Z2EP7NymGKzvFo3BZN4NuNei+/06EdztpYNiul75amr56AQAA//8BAAD//xLf4CHFAAAA")
assets["syncthing/core/aboutModalView.html"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/5xYzVIbSRK++yky+rDejaBp8N/BKxQhwMaWwUEgFu811Z3qTlRdpa2qlhAsjzSnuc7NMe81WZLAxmFw1VwUXT9fZVZW/n3qtaZCBVztZTg2nc/AefSd28tYT0wGXBq9lzWE1ucy9OwV7WU3N88HYfdz+D94i9op9HR7m4FCW8v6klwGpTJu891/BtBrdmUKnRzt6crnJWlPNuv3uK0Bld/LRktd+oZ1fS/nuxlnS1HROfKuEEShTG3yxli+Ntqj2nbzsMkvA2xO1nOJKkfFtX4L+e6b2VUGDXHdiJzdnZ0MFlz5Zi97+eZNVvR7Yys/rkWl+jc3Ands9MhbkfzPf93e9or1Uq9odtdXke3Pwsfs2/X7B2a2tEEC/KOUz3/Di53d1+AbgolRyizkMDgQZS2PO2+se9srZqvTKp7fWcaaxcpYD2dLo/K2yndfbNZktVN3i4qdzzu9unol4ixRLoCu1fIG4V3LbzLzsPn+EDlG8d0xKOt5TZqs3KXK+gO0RsM+05hsr1AcB1J0hboiC0cWJ/EwXVlawGGnG2wTUN7oJZygoniM9U1nYXBFCiZn777AqGxa8YT4A7rKcudgv/NTmnMp39HYfQkiOCS4sEwJKNJw0IneZpkGkqt16joNwlVj4l9gX3y/Ei85bVjxLEE7S7pCDcdG1wkgFsjZNuxTOU3wyQPxjzHIr8IFLhNg1nkxyQesqUWtE4ASg0tNcMya9IJwnqJsY9nBB0kW8T69xgwNqXi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WPsv/gIAAP//AQAA//9mg6b6bBUAAA==")
assets["syncthing/core/alwaysNumberFilter.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/2zM0arCMAzG8fs9Re66wWGc+9FX8B3qms5Al0rWIEP67m5TsIrfVeD/I44njU76OXmN2Jpl5TFfiKd+TIKma2BbHyhmlNa4eHPrctL5jGL+IOiGKTG0HdwPuU8wq3AVia+aa7GPwiuAtRaUPQZi9N+sevg/fJTS/DDHx7crz7N0Q/MAAAD//wEAAP//1dg68OkAAAA=")
assets["syncthing/core/basenameFilter.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/2yOTU7DMBCF9z3F0I1tCRx1XXySpgvTjBNLziTyDxIiuTuJg4QNvNVI75tvRlOfnPZynLrkkLPwQY84WOrlY/LIxAm2SGNdRM/Zmw5IekT2DCZtoJ0IuIDPTO3xGJOnorQ0p1gSe6z5LkApBYk6NJawExVU6M7na1W9aw+z9jGAguyRYXY28ubWNm17b8T1z7mng1+WY1E6pD4O8AqX388Vd7O7dq2nf7isvFXiF7jcfzbXY1y3x74AAAD//wEAAP//1ZQ6AXEBAAA=")
assets["syncthing/core/binaryFilter.js"], _ = base64.StdEncoding.DecodeString("H4sIAAAJbogA/6SSTU7DMBCF9z3F7GxDZUrFLjJLWKAewsTjdiR3jFxbokK5O0lTJIMa/jKbRJrvPX+LsbwtwSa9j64ElOJw5DbviLe6jQmFWkA/2lPImKR4JrbpKJbgS49RZJAK3k7MMAlzSVwtiV9KrolhyJ8XYIyBwg49MbqvWFUoViCaT8tuovEeblfrO7iqP5eKR/rGXMCbKYtTRuf4QK/opMOW9jYcxoeXsFYKrkHAI/1H9beOM+U2f5P70WqmztP3Oueujc07nWJ/KB/3NGSrZDf+dqpZvAMAAP//AQAA///Yhw40zwIAAA==")

1 comment on commit 283c915

@ProactiveServices

This comment has been minimized.

Copy link
Member

commented on 283c915 Aug 19, 2015

Finally, a hip file syncing program I can recommend to all the young people I know! ;-)

Please sign in to comment.
You can’t perform that action at this time.