Package Details: brittany 0.13.1.1-1

Git Clone URL: https://aur.archlinux.org/brittany.git (read-only, click to copy)
Package Base: brittany
Description: Haskell source code formatter
Upstream URL: https://github.com/lspitzner/brittany
Keywords: code format formatter haskell style
Licenses: AGPL3
Submitter: damien.flament
Maintainer: None
Last Packager: xyproto
Votes: 4
Popularity: 0.000002
First Submitted: 2017-12-11 11:39 (UTC)
Last Updated: 2021-05-04 11:02 (UTC)

Latest Comments

xyproto commented on 2021-05-25 08:26 (UTC) (edited on 2021-06-28 13:28 (UTC) by xyproto)

@gesh because the git commit hash can be trusted to result in the same files to a larger degree than the git tag name.

Also, I prefer git clones over tarballs. Humans packaging code into a tar file is an extra step that is not needed. More steps means more room for errors and more room for security-issues on the way.

gesh commented on 2021-05-05 18:17 (UTC)

Unclear why, in changing the source url from the tarball to a checkout, you didn't maintain the pkgver coupling:

diff --git a/PKGBUILD b/PKGBUILD
index 6e6cbac..772761c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ arch=(x86_64)
 url='https://github.com/lspitzner/brittany'
 license=(AGPL3)
 makedepends=(git stack)
-source=("git+$url#commit=4d064db674203626fe5011d10874fcbc335ec9b1") # tag: 0.13.1.1
+source=("git+$url#commit=${pkgver}")
 b2sums=('SKIP')

 build() {

(also unclear why the url was changed from tarball to checkout, considering this isn't a vcs package)