Jakob Borg
07a9fa2dbd
all: Use own automaxprocs package that doesn't log (ref #9436 ) ( #9437 )
...
### Purpose
🤫
2024-02-27 13:05:19 +01:00
Thomas
aa559bf496
all: Use Linux container CPU quota ( fixes #9357 , fixes #9435 ) ( #9436 )
...
Go is not cgroup aware and by default will set GOMAXPROCS to the number
of available threads, regardless of whether it is within the allocated
quota. This behaviour causes high amount of CPU throttling and degraded
application performance.
2024-02-26 12:23:14 +00:00
Jakob Borg
6aecc2622c
cmd/ursrv: Merge ursrv and uraggregate as subcommands
2023-07-10 09:00:57 +02:00
Jakob Borg
c55b205a0b
cmd/ursrv: Remove useless static TLS cert handling
2023-07-10 08:39:30 +02:00
Jakob Borg
2fcf7006e6
cmd/ursrv: Embed static assets
2023-07-10 08:33:09 +02:00
Jakob Borg
bf61e485a6
cmd/ursrv: Refactor to use CLI options, fewer global vars
2023-07-10 08:27:16 +02:00
Jakob Borg
25ec2b63ab
cmd/ursrv: Summarize tiny fraction items into Other
2023-07-05 08:22:10 +02:00
Jakob Borg
c5ab71d7a5
cmd/ursrv: Update distributions list
2023-07-05 08:08:29 +02:00
Dimitri Papadopoulos Orfanos
526e21ae26
all: Fix typos found by codespell ( #8833 )
2023-03-21 08:07:28 +01:00
Jakob Borg
a6c2a5a0ce
cmd/ursrv: The driver import is important, though
2023-01-31 09:57:16 +01:00
Jakob Borg
a5b6199507
cmd/ursrv: Remove old, unused migration code
2023-01-31 09:12:48 +01:00
Jakob Borg
966e9f9a68
cmd/ursrv: Harmonize timespan of charts
2023-01-31 09:11:15 +01:00
Jakob Borg
b10e11abb7
cmd/ursrv: Remove broken and unsustainable join/leave chart
2023-01-31 09:10:52 +01:00
Jakob Borg
5a50de1154
cmd/ursrv: Fix broken block transfer chart
2023-01-31 09:09:36 +01:00
Jakob Borg
79f8bd0f33
all: Minor deprecation updates
2022-07-28 17:54:12 +02:00
Jakob Borg
388e4db9cd
all: Combine sequential appends ( #8461 )
2022-07-28 17:28:24 +02:00
Jakob Borg
f3835122bb
cmd/ursrv: Silence linter with correct regexps ( #8460 )
2022-07-28 17:26:07 +02:00
deepsource-autofix[bot]
5130c414da
all: Unused parameter should be replaced by underscore ( #8464 )
...
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-07-28 17:17:29 +02:00
Jakob Borg
4b750b6dc3
all: Remove usage of deprecated io/ioutil ( #7971 )
...
As of Go 1.16 io/ioutil is deprecated. This replaces usage with the
corresponding functions in package os and package io.
2021-11-22 08:59:47 +01:00
Jakob Borg
8ef504f745
all: Simplify some method calls ( #7499 )
...
strings.Replace(a, b, c, -1) -> strings.ReplaceAll(a, b, c)
(Go 1.12) and who knows what was up with that dialQueue.Sort() thing.
2021-03-17 23:12:26 +01:00
deepsource-autofix[bot]
0930bccf88
cmd/ursrv, lib/scanner: Remove unnecessary slicing of slices ( #7491 )
...
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2021-03-17 21:04:36 +01:00
Simon Frei
9a001051d6
cmd/ursrv, lib/ur: Collect and present encryption usage ( #7448 )
2021-03-10 22:26:56 +00:00
Simon Frei
31559e908b
all: Add untrusted folders behind feature flag (ref #62 ) ( #7055 )
2020-11-09 15:33:32 +01:00
Jakob Borg
67761d8795
cmd/ursrv: Properly sort versions ( fixes #6991 )
2020-09-18 08:11:48 +02:00
Jakob Borg
9f8b01b1b9
cmd/ursrv: Recognize new-style dev versions
2020-09-18 08:11:44 +02:00
Jaroslav Lichtblau
e3e46ec1de
cmd/ursrv: BUILDHOST name changed for Arch ( #6948 )
...
Recognize both old and new.
Co-authored-by: Jakob Borg <jakob@kastelo.net>
2020-09-02 08:20:25 +02:00
Simon Frei
932d8c69de
lib/fs: Properly handle case insensitive systems ( fixes #1787 , fixes #2739 , fixes #5708 )
...
With this change we emulate a case sensitive filesystem on top of
insensitive filesystems. This means we correctly pick up case-only renames
and throw a case conflict error when there would be multiple files differing
only in case.
This safety check has a small performance hit (about 20% more filesystem
operations when scanning for changes). The new advanced folder option
`caseSensitiveFS` can be used to disable the safety checks, retaining the
previous behavior on systems known to be fully case sensitive.
Co-authored-by: Jakob Borg <jakob@kastelo.net>
2020-07-28 11:15:11 +02:00
Jakob Borg
78d294f78c
cmd/ursrv: Skip the duplicate complaints with new index name
2020-06-23 14:18:52 +02:00
Audrius Butkevicius
689cf2a5ee
lib/ur: Normalise contract between syncthing and ursrv ( #6770 )
...
* Fix ui, hide report date
* Undo Goland madness
* UR now web scale
* Fix migration
* Fix marshaling, force tick on start
* Fix tests
* Darwin build
* Split "all" build target, add package name as a tag
* Remove pq and sql dep from syncthing, split build targets
* Empty line
* Revert "Empty line"
This reverts commit f74af2b067dadda8a343714123512bd545a643c3.
* Revert "Remove pq and sql dep from syncthing, split build targets"
This reverts commit 8fc295ad007c5bb7886c557f492dacf51be307ad.
* Revert "Split "all" build target, add package name as a tag"
This reverts commit f4dc88995106d2b06042f30bea781a0feb08e55f.
* Normalise contract types
* Fix build add more logging
2020-06-23 09:47:15 +01:00
Jakob Borg
5373e38ac8
cmd/ursrv: Filter out ancient versions from chart
2020-04-16 09:13:01 +02:00
Jakob Borg
b28899ac07
cmd/ursrv: Provide cached locations.json
2020-03-25 14:19:35 +01:00
Jakob Borg
860ae7f395
cmd/ursrv: Analytics for Synology dist
2020-03-06 07:46:11 +01:00
Jakob Borg
dd92b2b8f4
all: Tweak error creation ( #6391 )
...
- In the few places where we wrap errors, use the new Go 1.13 "%w"
construction instead of %s or %v.
- Where we create errors with constant strings, consistently use
errors.New and not fmt.Errorf.
- Remove capitalization from errors in the few places where we had that.
2020-03-03 22:40:00 +01:00
Jakob Borg
a9e490adfa
cmd/ursrv: Show more architectures ( fixes #6211 )
2019-12-03 21:34:32 +01:00
Jakob Borg
fe50f1a158
cmd/usrv: Use better caching
2019-08-29 19:49:27 +02:00
Jakob Borg
eb8df7f632
cmd/ursrv: Lint fixes
2019-05-18 11:59:32 +02:00
Jakob Borg
8015f3f937
cmd/ursrv: Add F-droid and some third party distributors to the distrubtion summary
2019-05-17 10:18:37 +02:00
Jakob Borg
e16a65bacb
cmd/ursrv: Summarize known distribution channels
...
That is, whether the binary was downloaded from GitHub, from our APT
repository, etc.
2019-05-15 13:42:55 +02:00
Jakob Borg
597cee67d3
cmd/ur*: Updates for 1.0
2019-01-03 21:46:02 +01:00
Jakob Borg
323195be0e
cmd/uraggregate, cmd/ursrv: Add missing copyright headers
2018-09-09 15:52:59 +02:00
Jakob Borg
ae76f1e999
cmd/ursrv: Handle send only / recv only accounting correctly
2018-09-09 15:39:54 +02:00
Simon Frei
0a29fa65ab
cmd/ursrv: Display more relevant data ( #17 )
2018-09-09 14:28:48 +02:00
Simon Frei
69d05a3637
Handle versions as returned from transformVersion ( #16 )
2018-03-24 09:08:58 +01:00
Jakob Borg
c126831108
Add version penetration level stats
2018-02-25 18:04:28 +01:00
Audrius Butkevicius
725baf0971
Add heatmap and per country break down ( #13 )
2017-11-11 15:51:59 +00:00
Audrius Butkevicius
8d95c82d7c
Add new usage reports ( #12 )
2017-11-09 22:22:47 +00:00
Jakob Borg
c3c6ff0093
Various haxery
2017-10-26 15:10:17 +02:00
Jakob Borg
34903c4201
Option to listen on just HTTP (behind reverse proxy)
2017-10-25 09:26:13 +02:00
Audrius Butkevicius
335b08e3a8
Support fs watcher stuff, add missing fields ( #9 )
2017-10-21 21:15:00 +02:00
Simon Frei
c9bb3ba2e4
Remove obsolete UseAPIKey value ( #8 )
2017-10-20 17:24:25 +01:00