133 Commits

Author SHA1 Message Date
tomleb
c8fd9190e1
Allow configuring cache folder (#2357)
* Set all clients to dev_download for make get-music

* Use multiple TranscodingCache instances in tests

This fixes flaky tests. The issue is that the TranscodingCache object
was being reused in tests from media_stream_Internal_test.go and
media_stream_test.go. If tests from the former was run first, the cache
would be filled up, so that when running tests from the latter, the `NON
seekable` test would fail.

* Allow configuring cache folder

This commit introduces a new configuration option to configure the cache
folder. This allows the cache to be in a separate folder such as
/var/cache/navidrome on Linux distributions.

* Fix tests

* Removed unused test setup code

---------

Co-authored-by: Deluan <deluan@deluan.com>
Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 20:27:26 +00:00
Deluan
232f6fcf69
Add help msg for JS formatting errors 2026-01-02 20:25:45 +00:00
Deluan
407d21d31e
Upgrade to Go 1.20.3 and GoRelease 1.16.1 2026-01-02 20:25:45 +00:00
Deluan
7b326f0b21
Use Go 1.20 for local cross-compilation 2026-01-02 20:25:45 +00:00
Deluan
55c1d95376
Enable SQL migrations 2026-01-02 20:25:44 +00:00
Deluan
145bed52c5
Upgrade goose 2026-01-02 20:25:44 +00:00
Deluan
8be77a4c93
Remove some tools from dependencies, reducing the modules dependencies 2026-01-02 20:25:42 +00:00
Julien Voisin
b890fa0cb6
Shuffle the tests, just in case (#2272) 2026-01-02 20:25:18 +00:00
Deluan
87d3638ed4
Upgrade to Go 1.19.5 2026-01-02 20:20:21 +00:00
Deluan
b2ac58070a
Fix race conditions in tests 2026-01-02 20:17:21 +00:00
Deluan
3476e73043
Fix ARM v5 and v6 builds, by going back to armel.
Also upgrades Go to 1.19.3. Closes #1968
2026-01-02 20:16:00 +00:00
Deluan
180d23eb5c
Add make target to download some music for development purposes. Closes #1703 2026-01-02 20:15:58 +00:00
Deluan
3cfe1753f4
Reduce go mod download verbosity 2026-01-02 20:15:57 +00:00
Deluan
a1506402aa
Use armhf for ARM builds 2026-01-02 20:15:29 +00:00
Deluan
0ab1d0d3d0
Fix Linux 32 bits build 2026-01-02 20:15:29 +00:00
Deluan
8dfbf37548
Upgrade to GoLang 1.19 and bump golangci-lint version 2026-01-02 20:15:27 +00:00
Deluan
90bc1981d8
Upgrade Ginkgo to V2 2026-01-02 20:14:21 +00:00
Deluan
4b60d2af8f
Build with GoLang 1.18.4 2026-01-02 20:12:40 +00:00
Deluan
5d114aa55b
Upgrade to GoLang 1.18 2026-01-02 20:12:38 +00:00
whorfin
ba82ccee3b
Improve git-vs-tarball detection (#1423)
* Extract version from directory name if .git dir is missing

* Avoid using shell

* Remove .gitinfo build from pipeline

* Fix git-detecting rule to be robust in presence of setup-git
2026-01-02 20:09:00 +00:00
Deluan
8d97486708
Bump GoLang to 1.17.2 2026-01-02 20:08:57 +00:00
Deluan
dcaa478b7c
Upgrade to GoLang 1.17.1 2026-01-02 20:06:54 +00:00
Deluan Quintão
e8c6807f7e
Update GoLang to 1.17 (#1295)
* Update GoLang to 1.17

* Rename pipeline jobs
2026-01-02 20:06:53 +00:00
whorfin
a3499067a3
Extract version from directory name if .git dir is missing (#1327)
* Extract version from directory name if .git dir is missing

* Avoid using shell

* Remove .gitinfo build from pipeline
2026-01-02 20:06:33 +00:00
Deluan
3055240950
Give a warning on commands that do not build the frontend.
This is to avoid confusions like this:
https://github.com/navidrome/navidrome/issues/1297#issuecomment-913007331
2026-01-02 20:06:33 +00:00
Deluan
9fde6b8834
Setup git hooks when running make setup 2026-01-02 20:06:12 +00:00
Deluan Quintão
313639d522
Add git version info to release source (#1250) 2026-01-02 20:06:07 +00:00
Deluan
422d72f016
Reorder Makefile dev targets 2026-01-02 19:31:10 +00:00
Deluan
fbfe1af318
Upgrade TagLib to 1.12 2026-01-02 19:31:10 +00:00
Deluan
3e56e834a4
Upgrade to go-chi 5 2026-01-02 19:31:07 +00:00
Deluan
357f57cbe7
Revert "Better way to invoke make single"
This reverts commit 73efbd90
2026-01-02 19:26:43 +00:00
Deluan
c692dca897
Better way to invoke make single 2026-01-02 19:26:43 +00:00
Deluan
5fe1997a62
Clean-up Makefile, add help 2026-01-02 19:26:42 +00:00
Deluan
f64e27dcae
Simplify build targets 2026-01-02 19:26:42 +00:00
Deluan
13f18a819d
Clean up some make targets 2026-01-02 19:26:41 +00:00
Deluan
c4047d5254
Uses GoLang 1.16.3
Also add a target to build snapshots for a single platform
2026-01-02 19:26:40 +00:00
Deluan
7663bda06d
Increase golangci-lint timeout. Fix #1001 2026-01-02 19:26:37 +00:00
Deluan
f14f435191
Add 'lint to pre-push git hook 2026-01-02 19:23:03 +00:00
Deluan
3fa95064c3
Show go mod download commands 2026-01-02 19:22:07 +00:00
Ketan Gupta
aa30a5a902
improved makefile message to developer 2026-01-02 19:22:07 +00:00
Deluan
9e33a545bf
Call go mod tidy after go mod download to undo any changes to go.sum 2026-01-02 19:22:07 +00:00
Deluan
5543c56061
Bump GoLang to 1.16.2 for releases 2026-01-02 19:22:06 +00:00
Deluan Quintão
165af5b850
Remove dependency of go-bindata (#818)
* Use new embed functionality for serving UI assets

* Use new embed functionality for serving resources. Remove dependency on go-bindata

* Remove Go 1.15
2026-01-02 19:22:04 +00:00
Nelyah
9076cc3e9b
Accept more recent node and Go versions when building dev or server
This will allow developers to experiment with different versions of Go.
2026-01-02 19:21:29 +00:00
Deluan
c1ab2e0fea
Upgrade to GoLang 1.16.0 2026-01-02 19:21:29 +00:00
Deluan
10cf2372f8
Move project to Navidrome GitHub organization 2026-01-02 19:20:16 +00:00
Deluan
f708686485
Use tools.go commands without installing 2026-01-02 19:20:14 +00:00
Deluan
0030e1f118
Bump github.com/golangci/golangci-lint from 1.33.0 to 1.36.0 2026-01-02 19:20:13 +00:00
Deluan
76dccf2ae8
Use netgo (instead of C bindings). Fix #700 2026-01-02 19:20:12 +00:00
Deluan
c2d5f061ad
Docker run does not need to be interactive for building snapshots 2026-01-02 19:20:10 +00:00