Commit Graph

83 Commits

Author SHA1 Message Date
3ebc0de61f
ci: introduce 'drone-skip-pipeline' plugin
expectations:
  * speed-up
  * resource preservation (don't needlessly run (full) builds when
    nothing pertinent changed)

caveat: this does not (just yet) work with Gitea (a rewrite underway)

[skip ci]
2022-06-13 13:27:55 +02:00
7121d8f91a
golangci-lint: add custom linter settings...
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
...for:
  * gocritic
  * gocyclo
  * govet
2022-06-12 02:20:13 +02:00
f3e481395e
ci(env): use GOPROXY=direct (follow-up of 14ba7b1)
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-06-11 06:50:21 +02:00
c94b671d9d
go(version): switch from log to fmt for printing
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-09 23:47:05 +02:00
e2b327932e
.gitattributes: register *.starlark with linguist
All checks were successful
continuous-integration/drone/push Build is passing
[skip-ci]
2022-06-05 01:29:54 +02:00
14ba7b18bf
flake,go: use GOPROXY=direct
All checks were successful
continuous-integration/drone/push Build is passing
* both for the flake-provided shell environment and the flake-provided
  go module build env

inspired by:
  https://drewdevault.com/2022/05/25/Google-has-been-DDoSing-sourcehut.html
2022-06-01 16:49:46 +02:00
755a7c07b1
app: use 'latestComic' to set comic fields in UI
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-31 21:21:06 +02:00
0b5559336e
cmd(version): check for more errors in the test
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-31 21:07:44 +02:00
ed72a0db66
go: get latest comic on app start
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-30 18:08:30 +02:00
34936a5f72
ci: run 'govet' with golangci-lint
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-29 23:43:56 +02:00
c09507658a
go: enable running certain tests in parallel
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-29 22:28:17 +02:00
5e6f02a843
flake: comment out patchelf (for now)
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-29 21:19:40 +02:00
9dab23ded7
go: add xkcd package
All checks were successful
continuous-integration/drone/push Build is passing
* utilise the john olheiser's neat xkcd package for comic fetching
  ref: gitea.com/jolheiser/xkcd
* add tests
* nix: bump module hash
2022-05-29 21:05:28 +02:00
53858ccda3
ci: refresh go report card after 'golangci-lint'
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-29 15:22:19 +02:00
c2fab52268
ci: run golangi-lint checks
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-28 21:02:40 +02:00
1f62d3dec6
pre-commit(go): use golangci-lint for most checks
[skip ci]
2022-05-28 20:58:56 +02:00
5e6a8f9001
rename: .vimrc-example -> .example.vimrc
All checks were successful
continuous-integration/drone/push Build is passing
[skip ci]
2022-05-28 19:44:00 +02:00
12c7003570
update .vimrc-example [skip ci] 2022-05-28 18:59:57 +02:00
7540300857
chore(app): fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-28 16:54:45 +02:00
f26701d416
add .golangci.yml [skip ci] 2022-05-27 23:11:12 +02:00
31f475acb6
fix(app): implement wsl's formatting suggestions
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-27 23:08:17 +02:00
b28dae3bd0
fix(app): format using gofumpt
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-27 23:03:09 +02:00
c79f4e811b
fix: implement forbidigo's suggestion fmt.Println
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-27 22:28:43 +02:00
6a2470db54
fix: implement godot's suggestions on app comments
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-27 22:14:29 +02:00
d32b44aedd
app(main_test): log success
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-27 22:06:30 +02:00
c190f3f6f2
app: mark first window as the main one
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-05-27 17:43:35 +02:00
100b961494
app: add a way to get images (from FS for now)
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-26 20:42:35 +02:00
53be19912a
app: add stuff to 'browse' tab
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 23:33:27 +02:00
37bdd08e41
app: move 'search tab' creation to search.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 22:31:09 +02:00
bd58ca6608
pre-commit: alter when 'nix build' runs
All checks were successful
continuous-integration/drone/push Build is passing
* do not run 'nix build' on arbitrary go src file changes, instead
  (except for nix and flake related changes) only run on module-wide
  changes, i.e. when sum,mod files change as these require flake
  vendorSha256 updates or else they would fail to build.
2022-05-25 19:39:31 +02:00
6372fd93fd
app: mv 'search' to a tab
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 19:33:13 +02:00
325a1ca50d
app: use buttons with icons
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 18:59:13 +02:00
a859916f1c
ci: trigger goreportcard refresh
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-25 16:50:29 +02:00
fdabd847c6
app: add 'about' page
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 23:27:39 +02:00
654ef05e0b
fix modelines [skip ci] 2022-05-24 14:13:03 +02:00
c3d18b5250
pre-commit: optimise local hook triggers
All checks were successful
continuous-integration/drone/push Build is passing
* rm 'require_serial = false' occurences as that's the default value,
  which makes it redundant here.
* do not "always_run" hooks
* only run relevant local hooks when pertaining files/file groups have
  changed, e.g. there is no need to run statix linter when no nix files
  have changed or equally it is not necessary to run 'nix build' when
  none of the flake files (flake.{nix,lock}), any '*.nix' or go source,
  mod or sum files have changed.
  all of the above results in much faster pre-commit runs, i.e. shorter
  feedback loops, i.e. faster iteration cycles.
2022-05-24 12:20:52 +02:00
dabb229e07
pre-commit(golang): rm go-lint, add revive,go-sec
[skip ci]
2022-05-24 11:44:55 +02:00
5cb040b7a8
app(xkcdreader): init,get fyne.App from anywhere
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 17:56:24 +02:00
8c72ee9443
app: add a basic browse tab UI
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 17:04:56 +02:00
86f9ea5a28
app: chore(readability): spread the args over m...
All checks were successful
continuous-integration/drone/push Build is passing
...ultiple lines
2022-05-23 16:54:31 +02:00
8142ed8cfe
app: add basic tabs
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 01:23:03 +02:00
e669770871
app: create a toolbar
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-23 00:49:04 +02:00
2e13ad9faf
flake: add 'add-license' command
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 22:05:36 +02:00
105e9efeeb
ci(nix): run nixpkgs-fmt asap
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 21:47:27 +02:00
b7e81edbbe
ci(nix): set up cachix earlier
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 21:04:22 +02:00
269ead9d22
ci: rename: pre-build -> set up cachix
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 20:32:15 +02:00
9f37caad91
flake: add 'upcache' command
All checks were successful
continuous-integration/drone/push Build is passing
easy way to push dev env to cachix
2022-05-21 19:41:43 +02:00
d0350962e9
ci: merge go {vet|test} steps for fedora,arch
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 16:10:49 +02:00
3839735dc8
app: start building up a layout
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 01:18:06 +02:00
9d29017860
add copyright headers+enforce w/ addlicense
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 00:49:13 +02:00