Victor Shyba
441b06169f
add fixedpeer middleware
2022-04-13 17:37:28 -03:00
Jimmy Zelinskie
7455c2ad4a
Merge pull request #555 from jzelinskie/deps
...
gomod: bump all deps (mostly redis)
2022-01-19 11:49:06 -05:00
Jimmy Zelinskie
bb5460fccc
gomod: bump all deps (mostly redis)
2022-01-18 22:00:57 -05:00
Jimmy Zelinskie
828edb8fd8
Merge pull request #549 from jzelinskie/fix-vet
...
.github: split workflows into build/lint, add new linters
2022-01-18 13:49:14 -05:00
Jimmy Zelinskie
07e4db8baf
golangci-lint: include golint docstring exceptions
2022-01-18 13:33:46 -05:00
Jimmy Zelinskie
4b5e39f83c
bittorrent: rename qp.Uint64 to qp.Uint
2022-01-17 15:54:56 -05:00
Jimmy Zelinskie
301dd22f15
lint: actually lint all go files
2022-01-15 23:28:52 -05:00
Jimmy Zelinskie
7166c1da17
storage/memory: avoid overflow in shard counts
2022-01-15 14:33:45 -05:00
Jimmy Zelinskie
f3468edf19
frontend/http: avoid overflows parsing queryparams
2022-01-15 14:25:39 -05:00
Jimmy Zelinskie
d1b90c0139
lint: gofumpt files
2022-01-15 14:01:23 -05:00
Jimmy Zelinskie
b81a310eea
bytepool: store *[]byte
...
This avoids allocations for the slice metadata.
For more details, see:
https://staticcheck.io/docs/checks#SA6002
2022-01-15 13:58:06 -05:00
Jimmy Zelinskie
65ce7c7c6b
lint: lint files with golangci-lint
2022-01-15 13:31:14 -05:00
Jimmy Zelinskie
e2991d59e4
lint: lint yaml files
2022-01-15 13:13:21 -05:00
Jimmy Zelinskie
c28d7ad788
lint: lint markdown files
2022-01-15 13:03:41 -05:00
Jimmy Zelinskie
6e2c095ce4
.github: separate CI into two workflows build/lint
...
This adds lots of new linting steps and fixes older ones.
2022-01-15 12:56:15 -05:00
Jimmy Zelinskie
129aac230a
cmd: use os.SignalContext for signal management
...
This fixes a `go vet` failure for using an unbuffered channel with
os.Signal. This also simplifies platform-specific code.
GoFmt added new forward-compatible build tags.
2022-01-02 15:26:05 -05:00
Jimmy Zelinskie
dc34044973
Merge pull request #544 from chihaya/dependabot/go_modules/github.com/spf13/cobra-1.2.1
...
build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
2022-01-02 14:54:27 -05:00
Jimmy Zelinskie
d57c348b6c
Merge pull request #545 from jzelinskie/dependabot-labels
...
.github: specify labels for dependabot PRs
2021-08-23 18:00:12 -04:00
Jimmy Zelinskie
9c44135610
.github: specify labels for dependabot PRs
2021-08-20 01:04:26 -04:00
dependabot[bot]
8bf717fa4e
build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 08:16:10 +00:00
Jimmy Zelinskie
c1f523e855
Merge pull request #539 from chihaya/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
...
build(deps): bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-07-02 13:16:32 -04:00
dependabot[bot]
7498ef3f4a
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 08:16:57 +00:00
Jimmy Zelinskie
035e66f155
Merge pull request #537 from jzelinskie/libera-badge
...
README: refresh badges & move release disclaimer
2021-06-23 14:54:28 -04:00
Jimmy Zelinskie
5c58456d9f
README: refresh badges & move release disclaimer
...
Fixes #536 .
2021-06-22 20:43:12 -04:00
Jimmy Zelinskie
057f7afefc
Merge pull request #535 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.28.0
...
build(deps): bump github.com/anacrolix/torrent from 1.26.1 to 1.28.0
2021-06-01 21:12:27 -04:00
dependabot[bot]
2d747cfac4
build(deps): bump github.com/anacrolix/torrent from 1.26.1 to 1.28.0
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.26.1 to 1.28.0.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.26.1...v1.28.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 06:09:28 +00:00
Jimmy Zelinskie
205694d901
Merge pull request #533 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.26.1
...
build(deps): bump github.com/anacrolix/torrent from 1.26.0 to 1.26.1
2021-05-12 16:25:02 -04:00
Jimmy Zelinskie
7c888a171e
Merge pull request #532 from chihaya/dependabot/github_actions/Jerome1337/gofmt-action-v1.0.4
...
build(deps): bump Jerome1337/gofmt-action from v1.0.2 to v1.0.4
2021-05-12 16:24:44 -04:00
Jimmy Zelinskie
b9572c1770
Merge pull request #531 from chihaya/dependabot/github_actions/Jerome1337/goimports-action-v1.0.3
...
build(deps): bump Jerome1337/goimports-action from v1.0.2 to v1.0.3
2021-05-12 16:24:26 -04:00
dependabot[bot]
5f8229ad12
build(deps): bump github.com/anacrolix/torrent from 1.26.0 to 1.26.1
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.26.0...v1.26.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 00:35:54 +00:00
dependabot[bot]
b70ddbef91
build(deps): bump Jerome1337/gofmt-action from v1.0.2 to v1.0.4
...
Bumps [Jerome1337/gofmt-action](https://github.com/Jerome1337/gofmt-action ) from v1.0.2 to v1.0.4.
- [Release notes](https://github.com/Jerome1337/gofmt-action/releases )
- [Commits](https://github.com/Jerome1337/gofmt-action/compare/v1.0.2...4899d680cd7d4a959becfe74f97170c5847f859c )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 00:29:09 +00:00
dependabot[bot]
9fbf669fcd
build(deps): bump Jerome1337/goimports-action from v1.0.2 to v1.0.3
...
Bumps [Jerome1337/goimports-action](https://github.com/Jerome1337/goimports-action ) from v1.0.2 to v1.0.3.
- [Release notes](https://github.com/Jerome1337/goimports-action/releases )
- [Commits](https://github.com/Jerome1337/goimports-action/compare/v1.0.2...cdf3ff946ea5f2c631af978819e8ce567c12dcaa )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 00:29:06 +00:00
Jimmy Zelinskie
d998ce556e
Merge pull request #530 from jzelinskie/fix-indent
...
.github: fix yaml indentation
2021-05-10 20:28:12 -04:00
Jimmy Zelinskie
6375e7c735
.github: fix yaml indentation
2021-05-10 14:26:49 -04:00
Jimmy Zelinskie
313db5027b
Merge pull request #529 from jzelinskie/explicit-dependabot
...
.github: add explicit dependabot
2021-05-10 14:25:41 -04:00
Jimmy Zelinskie
4224e1ac6b
.github: add explicit dependabot
...
This also updates the existing dependencies.
2021-05-06 15:26:11 -04:00
dependabot-preview[bot]
e7f43ee924
Merge pull request #518 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.25.0
2021-03-04 17:14:00 +00:00
dependabot-preview[bot]
3b330213ad
build(deps): bump github.com/anacrolix/torrent from 1.22.0 to 1.25.0
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.22.0 to 1.25.0.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.22.0...v1.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 07:21:51 +00:00
dependabot-preview[bot]
696a5e51bb
Merge pull request #516 from chihaya/dependabot/go_modules/github.com/sirupsen/logrus-1.8.0
2021-03-04 07:11:53 +00:00
dependabot-preview[bot]
592d487a67
build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.7.0...v1.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 04:46:45 +00:00
dependabot-preview[bot]
dfcda607fc
Merge pull request #517 from chihaya/dependabot/go_modules/github.com/spf13/cobra-1.1.3
2021-03-04 04:37:15 +00:00
dependabot-preview[bot]
8c7a4fd117
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 11:30:03 +00:00
Jimmy Zelinskie
89c83d2e3c
Merge pull request #515 from jzelinskie/http-profiles
...
Move profiling into the metrics server
2021-02-28 21:46:10 -05:00
Jimmy Zelinskie
425662fa93
.github: add a job for testing helm
2021-02-28 14:38:39 -05:00
Jimmy Zelinskie
0f2cfb2fdd
gomod: bump to go1.16
2021-02-28 14:26:24 -05:00
Jimmy Zelinskie
456f9de190
pkg/metrics: move profiles into the metrics server
...
This change:
- renames pkg/prometheus into pkg/metrics
- renames the prometheus_addr config to metrics_addr
- adds pprof endpoints to the metrics server
- removes profile/trace cli flags
- adds endpoints for profiling to the metrics server
2021-02-27 12:49:24 -05:00
dependabot-preview[bot]
cf30ad8b6a
Merge pull request #513 from chihaya/dependabot/go_modules/github.com/stretchr/testify-1.7.0
2021-02-03 18:42:46 +00:00
dependabot-preview[bot]
6f65feef4b
Merge pull request #512 from chihaya/dependabot/go_modules/github.com/anacrolix/torrent-1.22.0
2021-02-03 18:42:14 +00:00
dependabot-preview[bot]
7be396d299
build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 08:58:03 +00:00
dependabot-preview[bot]
606361d9c1
build(deps): bump github.com/anacrolix/torrent from 1.19.2 to 1.22.0
...
Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent ) from 1.19.2 to 1.22.0.
- [Release notes](https://github.com/anacrolix/torrent/releases )
- [Commits](https://github.com/anacrolix/torrent/compare/v1.19.2...v1.22.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 08:57:16 +00:00