detached d0eaf06

chore(build): simplify local cache config and update dependencies

commit
d0eaf06fd3b42533080618b84454f2703c02617c
author
bamen · · 2025-09-20 05:21 UTC
parent
7576372
signature
unsigned
3 files · +7 -11
M Makefile +6 -5
@@ -17,10 +17,11 @@ DIST_DIR=dist
1717 NPROCS?=$(shell nproc 2>/dev/null || echo 1)
1818
1919 # Local caches to avoid $HOME permission issues (override via .env.local)
20-GOMODCACHE?=$(CURDIR)/tmp/go-mod
21-GOCACHE?=$(CURDIR)/tmp/go-cache
22-GOTMPDIR?=$(CURDIR)/tmp
23-GOENV=GOMODCACHE=$(GOMODCACHE) GOCACHE=$(GOCACHE) GOTMPDIR=$(GOTMPDIR)
20+# GOMODCACHE?=$(CURDIR)/tmp/go-mod
21+# GOCACHE?=$(CURDIR)/tmp/go-cache
22+# GOTMPDIR?=$(CURDIR)/tmp
23+# GOENV=GOMODCACHE=$(GOMODCACHE) GOCACHE=$(GOCACHE) GOTMPDIR=$(GOTMPDIR)
24+GOENV=
2425
2526 # Version information from git
2627 VERSION=$(shell git describe --tags --always --dirty 2>/dev/null || echo "v0.0.0-dev")
@@ -120,7 +121,7 @@ clean: ## Clean build artifacts
120121 go clean -cache
121122 go clean -testcache
122123
123-# Project initialization
124+# Project initialization
124125 init: install-tools ## Initialize project dependencies and tools
125126 @echo "Project dependencies and tools installed!"
126127 @echo "Ready for development. Run 'make help' for available commands."
@@ -17,10 +17,11 @@ DIST_DIR=dist
17 NPROCS?=$(shell nproc 2>/dev/null || echo 1)17 NPROCS?=$(shell nproc 2>/dev/null || echo 1)
18 18
19 # Local caches to avoid $HOME permission issues (override via .env.local)19 # Local caches to avoid $HOME permission issues (override via .env.local)
20-GOMODCACHE?=$(CURDIR)/tmp/go-mod20+# GOMODCACHE?=$(CURDIR)/tmp/go-mod
21-GOCACHE?=$(CURDIR)/tmp/go-cache21+# GOCACHE?=$(CURDIR)/tmp/go-cache
22-GOTMPDIR?=$(CURDIR)/tmp22+# GOTMPDIR?=$(CURDIR)/tmp
23-GOENV=GOMODCACHE=$(GOMODCACHE) GOCACHE=$(GOCACHE) GOTMPDIR=$(GOTMPDIR)23+# GOENV=GOMODCACHE=$(GOMODCACHE) GOCACHE=$(GOCACHE) GOTMPDIR=$(GOTMPDIR)
24+GOENV=
24 25
25 # Version information from git26 # Version information from git
26 VERSION=$(shell git describe --tags --always --dirty 2>/dev/null || echo "v0.0.0-dev")27 VERSION=$(shell git describe --tags --always --dirty 2>/dev/null || echo "v0.0.0-dev")
@@ -120,7 +121,7 @@ clean: ## Clean build artifacts
120 go clean -cache121 go clean -cache
121 go clean -testcache122 go clean -testcache
122 123
123-# Project initialization 124+# Project initialization
124 init: install-tools ## Initialize project dependencies and tools125 init: install-tools ## Initialize project dependencies and tools
125 @echo "Project dependencies and tools installed!"126 @echo "Project dependencies and tools installed!"
126 @echo "Ready for development. Run 'make help' for available commands."127 @echo "Ready for development. Run 'make help' for available commands."
M go.mod +1 -2
@@ -6,6 +6,7 @@ require (
66 github.com/fsnotify/fsnotify v1.9.0
77 github.com/golang/mock v1.6.0
88 github.com/ncruces/go-sqlite3 v0.29.0
9+ github.com/sergeymakinen/go-ico v1.0.0-beta.0
910 github.com/spf13/cobra v1.10.1
1011 github.com/spf13/viper v1.21.0
1112 )
@@ -14,13 +15,11 @@ require (
1415 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
1516 github.com/google/go-cmp v0.7.0 // indirect
1617 github.com/inconshreveable/mousetrap v1.1.0 // indirect
17- github.com/mattn/go-sqlite3 v1.14.32 // indirect
1818 github.com/ncruces/julianday v1.0.0 // indirect
1919 github.com/pelletier/go-toml/v2 v2.2.4 // indirect
2020 github.com/rogpeppe/go-internal v1.12.0 // indirect
2121 github.com/sagikazarmark/locafero v0.11.0 // indirect
2222 github.com/sergeymakinen/go-bmp v1.0.0 // indirect
23- github.com/sergeymakinen/go-ico v1.0.0-beta.0 // indirect
2423 github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
2524 github.com/spf13/afero v1.15.0 // indirect
2625 github.com/spf13/cast v1.10.0 // indirect
@@ -6,6 +6,7 @@ require (
6 github.com/fsnotify/fsnotify v1.9.06 github.com/fsnotify/fsnotify v1.9.0
7 github.com/golang/mock v1.6.07 github.com/golang/mock v1.6.0
8 github.com/ncruces/go-sqlite3 v0.29.08 github.com/ncruces/go-sqlite3 v0.29.0
9+ github.com/sergeymakinen/go-ico v1.0.0-beta.0
9 github.com/spf13/cobra v1.10.110 github.com/spf13/cobra v1.10.1
10 github.com/spf13/viper v1.21.011 github.com/spf13/viper v1.21.0
11 )12 )
@@ -14,13 +15,11 @@ require (
14 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect15 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
15 github.com/google/go-cmp v0.7.0 // indirect16 github.com/google/go-cmp v0.7.0 // indirect
16 github.com/inconshreveable/mousetrap v1.1.0 // indirect17 github.com/inconshreveable/mousetrap v1.1.0 // indirect
17- github.com/mattn/go-sqlite3 v1.14.32 // indirect
18 github.com/ncruces/julianday v1.0.0 // indirect18 github.com/ncruces/julianday v1.0.0 // indirect
19 github.com/pelletier/go-toml/v2 v2.2.4 // indirect19 github.com/pelletier/go-toml/v2 v2.2.4 // indirect
20 github.com/rogpeppe/go-internal v1.12.0 // indirect20 github.com/rogpeppe/go-internal v1.12.0 // indirect
21 github.com/sagikazarmark/locafero v0.11.0 // indirect21 github.com/sagikazarmark/locafero v0.11.0 // indirect
22 github.com/sergeymakinen/go-bmp v1.0.0 // indirect22 github.com/sergeymakinen/go-bmp v1.0.0 // indirect
23- github.com/sergeymakinen/go-ico v1.0.0-beta.0 // indirect
24 github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect23 github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
25 github.com/spf13/afero v1.15.0 // indirect24 github.com/spf13/afero v1.15.0 // indirect
26 github.com/spf13/cast v1.10.0 // indirect25 github.com/spf13/cast v1.10.0 // indirect
M go.sum +0 -4 generated file: collapsed

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close