Compare commits

..

138 Commits

Author SHA1 Message Date
0ee2958b99 Modify prerun script
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Build and Push (push) Successful in 3m44s
2025-05-01 15:29:23 +02:00
4e42c8eb61 Merge remote-tracking branch 'aur/master' 2025-05-01 15:29:15 +02:00
golangci-releaser
d8a6e4c1ac Update to v2.1.5 2025-04-24 19:54:59 +00:00
golangci-releaser
6310d9e986 Update to v2.1.4 2025-04-24 18:02:37 +00:00
golangci-releaser
9e5ecca85d Update to v2.1.3 2025-04-24 17:18:01 +00:00
golangci-releaser
841aedb6d6 Update to v2.1.2 2025-04-15 13:53:58 +00:00
golangci-releaser
33b57c548e Update to v2.1.1 2025-04-12 18:45:02 +00:00
golangci-releaser
b8a4e20d1c Update to v2.0.2 2025-03-25 22:01:04 +00:00
golangci-releaser
08a19889bc Update to v2.0.1 2025-03-24 20:59:58 +00:00
golangci-releaser
c6a1bdd96b Update to v2.0.0 2025-03-24 12:38:15 +00:00
golangci-releaser
431394426f Update to v1.64.8 2025-03-17 21:06:29 +00:00
golangci-releaser
a8caa26ea0 Update to v1.64.7 2025-03-11 23:51:21 +00:00
golangci-releaser
5f86aca698 Update to v1.64.6 2025-03-02 23:51:39 +00:00
golangci-releaser
a99c9dd691 Update to v1.64.5 2025-02-13 21:45:13 +00:00
golangci-releaser
09cd482e78 Update to v1.64.4 2025-02-12 22:22:59 +00:00
golangci-releaser
7e9319ec80 Update to v1.64.3 2025-02-12 20:07:04 +00:00
golangci-releaser
573b9dc524 Update to v1.64.2 2025-02-11 22:10:01 +00:00
golangci-releaser
4a39e37060 Update to v1.63.4 2025-01-03 20:11:31 +00:00
golangci-releaser
018c1d9c76 Update to v1.63.3 2025-01-02 19:26:38 +00:00
Fernandez Ludovic
b1402524ee fix: PKGBUILD 2025-01-02 14:20:56 +01:00
golangci-releaser
548802ae22 Update to v1.63.2 2025-01-02 13:05:07 +00:00
Fernandez Ludovic
4b89b18292 fix: PKGBUILD 2025-01-01 23:06:47 +01:00
golangci-releaser
90441737f8 Update to v1.63.1 2025-01-01 21:32:55 +00:00
Fernandez Ludovic
5b3a90ad4f fix: PKGBUILD 2025-01-01 18:07:38 +01:00
Fernandez Ludovic
76eff6bada fix: PKGBUILD 2025-01-01 14:37:31 +01:00
golangci-releaser
2c0b650bb6 Update to v1.63.0 2025-01-01 13:34:14 +00:00
Fernandez Ludovic
7da6e53d38 feat: v1.62.2 2024-11-25 15:54:45 +01:00
Fernandez Ludovic
9354ddd72d feat: v1.62.0 2024-11-10 20:38:16 +01:00
Fernandez Ludovic
8c443d03c0 feat: v1.61.0 2024-09-09 23:56:18 +02:00
Fernandez Ludovic
e90a9697ba feat: v1.60.3 2024-08-23 00:22:06 +02:00
Fernandez Ludovic
26b997104a feat: v1.60.2 2024-08-20 22:37:03 +02:00
Fernandez Ludovic
d69dfa80fb feat: v1.60.1 2024-08-14 03:46:44 +02:00
Fernandez Ludovic
2dda3e5324 feat: v1.59.1 2024-06-11 00:02:53 +02:00
Fernandez Ludovic
b507c14a95 feat: v1.59.0 2024-05-26 21:21:42 +02:00
Fernandez Ludovic
e12840d164 feat: v1.58.2 2024-05-20 14:30:56 +02:00
Fernandez Ludovic
a510b7c7be feat: v1.58.1 2024-05-09 20:19:59 +02:00
Fernandez Ludovic
07b53a6474 feat: v1.58.0 2024-05-03 21:09:34 +02:00
Fernandez Ludovic
5f1f63cfab feat: v1.57.2 2024-03-28 23:49:04 +01:00
Fernandez Ludovic
346e910492 feat: v1.57.1 2024-03-20 18:48:25 +01:00
Fernandez Ludovic
a01b9014ad feat: v1.57.0 2024-03-20 01:27:59 +01:00
Fernandez Ludovic
70a9cdcfe8 feat: 1.56.2 2024-02-18 00:31:40 +01:00
Fernandez Ludovic
f842358065 feat: 1.56.1 2024-02-08 19:42:31 +01:00
Fernandez Ludovic
f5ef9bfcbd feat: 1.56.0 2024-02-07 17:25:18 +01:00
Fernandez Ludovic
5fd6eb0472 feat: 1.55.2 2023-11-05 18:17:06 +01:00
Fernandez Ludovic
c18b50ef4d feat: v1.55.1 2023-10-25 18:36:28 +02:00
Fernandez Ludovic
8a22d31629 feat: v1.55.0 2023-10-21 11:35:43 +02:00
Fernandez Ludovic
7032c6e2b4 feat: 1.54.2 2023-08-21 14:32:26 +02:00
Fernandez Ludovic
7eeadce1f0 feat: 1.54.1 2023-08-11 15:22:03 +02:00
Fernandez Ludovic
6cee5c73e6 feat: 1.54.0 2023-08-09 16:11:40 +02:00
Fernandez Ludovic
b90fecae55 feat: v1.53.3 2023-06-15 14:38:11 +02:00
Fernandez Ludovic
ea3f04939d feat: v1.53.2 2023-06-03 17:28:35 +02:00
Fernandez Ludovic
164f995dd7 feat: v1.53.1 2023-06-02 14:14:39 +02:00
Fernandez Ludovic
d6306e3dfc feat: v1.53.0 2023-06-02 02:35:10 +02:00
Fernandez Ludovic
b4e68e489a feat: v1.52.2 2023-03-25 19:32:54 +01:00
Fernandez Ludovic
f869753dd7 feat: v1.52.1 2023-03-21 21:19:10 +01:00
Fernandez Ludovic
3fa97540fe feat: v1.52.0 2023-03-19 13:36:31 +01:00
ml
6f0f27c74b upgpkg: golangci-lint 1.51.2-1
upstream release
2023-02-22 23:36:13 +01:00
Matthias Lisin
7b7a9011aa upgpkg: golangci-lint 1.51.1-1
upstream release
2023-02-07 11:20:04 +01:00
Matthias Lisin
669f207218 upgpkg: golangci-lint 1.51.0-1
upstream release
2023-02-02 14:33:05 +01:00
ml
1d1057b43d upgpkg: golangci-lint 1.50.1-1
upstream release
2022-10-22 14:20:20 +02:00
ml
82f8796988 upgpkg: golangci-lint 1.50.0-1
upstream release
2022-10-04 14:32:50 +02:00
ml
bc4403f034 Merge subtree 'golangci-lint' 2022-10-04 14:31:21 +02:00
Matthias Lisin
a58b06740c upgpkg: golangci-lint 1.49.0-1
upstream release
2022-09-07 12:38:39 +02:00
Matthias Lisin
29377ebcc8 upgpkg: golangci-lint 1.49.0-1
upstream release
2022-08-24 22:48:40 +02:00
Matthias Lisin
527dd5665c upgpkg: golangci-lint 1.48.0-1
upstream release
2022-08-09 19:31:15 +02:00
Matthias Lisin
2a09bf5c94 upgpkg: golangci-lint 1.47.3-1
upstream release
2022-08-03 13:18:01 +02:00
Matthias Lisin
06665ddb1f upgpkg: golangci-lint 1.47.2-1
upstream release
2022-07-21 18:37:04 +02:00
Matthias Lisin
20bf301548 upgpkg: golangci-lint 1.47.1-1
upstream release
2022-07-20 00:16:55 +02:00
Matthias Lisin
c3f58c06c1 upgpkg: golangci-lint 1.47.0-2 2022-07-18 16:26:27 +02:00
Matthias Lisin
6faaf1210e updpkg: golangci-lint 1.46.2-2 2022-06-02 16:19:54 +02:00
Matthias Lisin
f250bad00e updpkg: golangci-lint 1.46.2-1 2022-05-24 03:51:02 +02:00
Matthias Lisin
d808ab8ea9 updpkg: golangci-lint 1.46.1-1 2022-05-12 20:35:52 +02:00
Matthias Lisin
2f46b5b8a0 updpkg: golangci-lint 1.46.0-1 2022-05-10 00:33:21 +02:00
Matthias Lisin
1f03a50aef updpkg: golangci-lint 1.45.2-1 2022-03-24 15:15:54 +01:00
Matthias Lisin
93d4940c67 updpkg: golangci-lint 1.45.1-1 2022-03-24 12:24:21 +01:00
Matthias Lisin
4240d4fc29 updpkg: golangci-lint 1.45.0-2 2022-03-19 05:31:35 +01:00
Matthias Lisin
5b49af84d7 updpkg: golangci-lint 1.45.0-1 2022-03-18 16:55:32 +01:00
Matthias Lisin
2db3e840d2 updpkg: golangci-lint 1.44.2-1 2022-02-18 19:41:11 +01:00
ml
d4b6f34939 updpkg: golangci-lint 1.44.0-1 2022-01-25 13:51:33 +01:00
ml
fa6bdee752 updpkg: golangci-lint 1.43.0-1 2021-11-03 14:29:29 +01:00
ml
605c1263a4 updpkg: golangci-lint 1.42.1-1 2021-09-06 22:07:55 +02:00
ml
29d27e77db updpkg: golangci-lint 1.42.0-1 2021-08-18 14:02:30 +02:00
ml
ec0d9de3ca updpkg: golangci-lint 1.41.1-1 2021-06-19 20:32:05 +02:00
ml
683a76b639 updpkg: golangci-lint 1.41.0-1 2021-06-16 22:19:54 +02:00
ml
c4313a0ae9 updpkg: golangci-lint 1.40.1-1 2021-05-14 16:18:45 +02:00
ml
2717320f13 updpkg: golangci-lint 1.40.0-1 2021-05-12 15:25:05 +02:00
ml
d942d2b74d updpkg: golangci-lint 1.39.0-1 2021-03-27 10:54:56 +01:00
ml
53b833ea31 updpkg: golangci-lint 1.38.0-1 2021-03-03 23:32:06 +01:00
ml
e839ed5a30 updpkg: golangci-lint 1.37.1-1 2021-02-20 13:23:05 +01:00
ml
ea484e5637 updpkg: golangci-lint 1.37.0-1 2021-02-17 16:04:21 +01:00
ml
821a362b59 updpkg: golangci-lint 1.36.0-1 2021-01-26 21:55:31 +01:00
ml
05c9741536 updpkg: golangci-lint 1.35.2-1 2021-01-11 13:40:45 +01:00
ml
0a3fbf1406 updpkg: golangci-lint 1.35.0-1 2021-01-08 12:03:54 +01:00
ml
6398bfa768 updpkg: golangci-lint 1.34.1-1 2020-12-29 19:49:45 +01:00
ml
806395b19c updpkg: golangci-lint 1.34.0-1 2020-12-28 21:05:26 +01:00
ml
7a3f03feb7 updpkg: golangci-lint 1.33.0-2
Implicitly fetch dependencies with on `go build'.
`go mod download' fetches full modules which is a waste of
disk space (~500M). `go get -d' would be the better way to prefetch
dependencies in prepare(), however does not work for golangci-lint.
Upstream doesn't seem to care about this inconsistency. No point
in punishing users not having access to a fast internet connection
or have little disk space.
2020-11-27 01:00:43 +01:00
ml
9b48de4ac3 updpkg: golangci-lint 1.33.0-1 2020-11-23 22:59:41 +01:00
ml
d3fa975847 updpkg: golangci-lint 1.32.2-1 2020-11-03 04:47:03 +01:00
ml
b466b29a0f updpkg: golangci-lint 1.32.1-1 2020-10-31 06:18:37 +01:00
ml
84c41e9634 updpkg: golangci-lint 1.32.0-1 2020-10-26 14:13:49 +01:00
ml
3fab64c95b updpkg: golangci-lint 1.31.0-1 2020-09-08 12:47:27 +02:00
ml
65cd102603 updpkg: golangci-lint 1.30.0-1 2020-08-03 23:50:41 +02:00
ml
d6324b0d0d upgpkg: golangci-lint 1.29.0-2 2020-07-31 15:53:29 +02:00
ml
8746cc5b6c updpkg: golangci-lint 1.29.0-1 2020-07-20 17:34:44 +02:00
Matthias Lisin
0a081804ad updpkg: golangci-lint 1.28.3-1 2020-07-12 01:43:43 +02:00
Matthias Lisin
991b7d17c0 updpkg: golangci-lint 1.28.2-2 2020-07-10 12:40:22 +02:00
Matthias Lisin
3a5cea5fa3 updpkg: golangci-lint 1.28.1-2 2020-07-07 21:59:56 +02:00
Matthias Lisin
62b16a362c upgpkg: golangci-lint 1.28.1-1 2020-07-07 19:47:04 +02:00
Matthias Lisin
68974820d3 updpkg: golangci-lint 1.28.0-1 2020-07-05 20:10:55 +02:00
ml
3968694a14 upgpkg: golangci-lint 1.27.0-1 2020-05-14 03:14:21 +02:00
Matthias Lisin
2be7b6399e upgpkg: golangci-lint 1.26.0-1 2020-05-01 19:15:15 +02:00
ml
a3b9ef71e7 Last update before serious selfharm 2020-04-29 03:49:01 +02:00
ml
55b82ddbd1 oops 2020-04-29 03:39:06 +02:00
ml
79446bf0d6 upgpkg: golangci-lint 1.25.1-4
Another one
2020-04-29 03:36:51 +02:00
ml
7833fe0937 upgpkg: golangci-lint 1.25.1-3 2020-04-29 03:04:53 +02:00
ml
ee274e5abb updpkg: golangci-lint 1.25.1-2
Attempt to fix weird test failure
2020-04-29 00:50:38 +02:00
ml
946b5abf96 upgpkg: golangci-lint 1.25.1-1 2020-04-28 17:42:02 +02:00
Matthias Lisin
9d04284bbd upgpkg: golangci-lint 1.25.0-1 2020-04-23 23:42:23 +02:00
ml
2df57bcb4e upgpkg: golangci-lint 1.24.0-1 2020-03-16 08:56:47 +01:00
Matthias Lisin
1a6a8fa6da upgpkg: golangci-lint 1.23.8-1 2020-03-06 11:16:54 +01:00
ml
6c629d96b7 upgpkg: golangci-lint 1.23.7-1 2020-02-29 03:06:33 +01:00
ml
dc693f0f6c upgpkg: golangci-lint 1.23.6-1 2020-02-10 21:00:50 +01:00
Matthias Lisin
4ebac44821 upgpkg: golangci-lint 1.23.3-1 2020-02-04 11:52:16 +01:00
ml
e4053ba53e upgpkg: golangci-lint 1.23.2-1 2020-02-03 18:43:02 +01:00
Matthias Lisin
56bb7990ea upgpkg: golangci-lint 1.23.1-1 2020-01-20 11:40:34 +01:00
ml
e041e565d6 upgpkg: golangci-lint 1.23.0-1 2020-01-19 20:45:27 +01:00
ml
a6d2a15c1d upgpkg: golangci-lint 1.22.2-1 2019-12-30 23:44:12 +01:00
ml
15a3afd28d upgpkg: golangci-lint 1.22.0-1 2019-12-30 14:18:33 +01:00
Matthias Lisin
6d1bd86873 upgpkg: golangci-lint 1.21.0-1 2019-10-15 21:12:57 +02:00
Matthias Lisin
de1b482794 upgpkg: golangci-lint 1.20.0-1 2019-10-08 21:29:27 +02:00
Matthias Lisin
3dca9aea09 upgpkg: golangci-litn 1.19.1-1 2019-09-25 19:49:12 +02:00
ml
e8d77b496b upgpkg: golangci-lint 1.19.0-1 2019-09-24 10:10:40 +02:00
Matthias Lisin
c73b6459e4 upgpkg: golangci-lint 1.18.0-1 2019-09-10 13:49:04 +02:00
Matthias Lisin
a67ae6f0d3 updpkg: golangci-lint 1.17.1-1 2019-06-10 11:44:39 +02:00
Matthias Lisin
3bb4e94bbf upgpkg: golangci-lint 1.16.0-4 2019-05-05 14:48:35 +02:00
Matthias Lisin
3f7d586c58 updpkg: golangci-lint 1.16.0-3
Make reproducible! (hopefully)
2019-05-04 22:37:01 +02:00
Matthias Lisin
88fa7c0677 upgpkg: golangci-lint 1.16.0-2
Fix --version output
2019-05-04 21:17:23 +02:00
Matthias Lisin
1c550849d8 newpkg: golangci-lint 1.16.0-1 2019-05-04 20:38:12 +02:00
4 changed files with 64 additions and 1 deletions

17
.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = golangci-lint
pkgdesc = Fast linters runner for Go.
pkgver = 2.1.5
pkgrel = 1
url = https://golangci.com
arch = aarch64
arch = x86_64
license = GPL-3.0
makedepends = go
makedepends = git
conflicts = golangci-lint
provides = golangci-lint
source = https://github.com/golangci/golangci-lint/releases/download/v2.1.5/golangci-lint-2.1.5-source.tar.gz
sha256sums = ce1c278925456af76f487c726a395984966fc6cc2adcaaad469f6488b7c3fff6
pkgname = golangci-lint

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*
!.gitignore
!PKGBUILD
!.SRCINFO

42
PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
pkgname='golangci-lint'
pkgver=2.1.5
pkgrel=1
pkgdesc='Fast linters runner for Go.'
url='https://golangci.com'
arch=('aarch64' 'x86_64')
license=('GPL-3.0')
provides=('golangci-lint')
conflicts=('golangci-lint')
makedepends=('go' 'git')
source=("${pkgname}_${pkgver}.tar.gz::https://github.com/golangci/golangci-lint/releases/download/v2.1.5/golangci-lint-2.1.5-source.tar.gz")
sha256sums=('ce1c278925456af76f487c726a395984966fc6cc2adcaaad469f6488b7c3fff6')
build() {
local _commit _flags
_commit=$(bsdcat "${pkgname}_${pkgver}.tar.gz" | git get-tar-commit-id)
_flags=(
-X=main.version="$pkgver"
-X=main.commit="${_commit::7}"
-X=main.date="$(date -u -d "@${SOURCE_DATE_EPOCH}" +'%FT%TZ')"
-linkmode=external
)
export CGO_ENABLED=1
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS='-buildmode=pie -trimpath -modcacherw'
go build -o "$pkgname" -ldflags="${_flags[*]}" ./cmd/"$pkgname"
./"$pkgname" completion bash > completion.bash
./"$pkgname" completion zsh > completion.zsh
./"$pkgname" completion fish > completion.fish
}
package() {
install -Dm755 "$pkgname" -t "$pkgdir"/usr/bin
install -Dm644 completion.bash "$pkgdir"/usr/share/bash-completion/completions/"$pkgname"
install -Dm644 completion.zsh "$pkgdir"/usr/share/zsh/site-functions/_"$pkgname"
install -Dm644 completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/"$pkgname".fish
}

2
prerun.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
git remote add aur https://aur.archlinux.org/REPO_NAME.git
git remote add aur https://aur.archlinux.org/golangci-lint.git
git fetch aur
git merge -X theirs --no-edit aur/master