0.1.3 fb536a2

.goreleaser.yaml RawHistoryFolder

1version: 2
2
3before:
4  hooks:
5    - go mod tidy
6release:
7  draft: true
8builds:
9  - id: "gordon"
10    main: ./cmd/cli/main.go
11    goos:
12      - linux
13      - windows
14      - darwin
15    goarch:
16      - amd64
17      - arm64
18    env:
19      - CGO_ENABLED=0
20    ldflags:
21      - -s -w -X main.build={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
22
23dockers:
24  - image_templates:
25      - "ghcr.io/bnema/gordon:{{ .Tag }}-amd64"
26    use: buildx
27    dockerfile: Dockerfile
28    goarch: amd64
29    build_flag_templates:
30      - "--pull"
31      - "--platform=linux/amd64"
32      - "--build-arg=ARCH=amd64"
33      - "--label=org.opencontainers.image.created={{.Date}}"
34      - "--label=org.opencontainers.image.title={{.ProjectName}}"
35      - "--label=org.opencontainers.image.revision={{.FullCommit}}"
36      - "--label=org.opencontainers.image.version={{.Version}}"
37      - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
38  - image_templates:
39      - "ghcr.io/bnema/gordon:{{ .Tag }}-arm64"
40    use: buildx
41    dockerfile: Dockerfile
42    goarch: arm64
43    build_flag_templates:
44      - "--pull"
45      - "--platform=linux/arm64"
46      - "--build-arg=ARCH=arm64"
47      - "--label=org.opencontainers.image.created={{.Date}}"
48      - "--label=org.opencontainers.image.title={{.ProjectName}}"
49      - "--label=org.opencontainers.image.revision={{.FullCommit}}"
50      - "--label=org.opencontainers.image.version={{.Version}}"
51      - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
52
53archives:
54  - format: zip
55    name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
56
57changelog:
58  sort: asc
59  filters:
60    exclude:
61      - "^docs:"
62      - "^test:"

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 7

Tags 106

↑↓ moveenter openesc close