Package Details: pacoloco-git 1.2.r0.g3338566-1

Git Clone URL: https://aur.archlinux.org/pacoloco-git.git (read-only, click to copy)
Package Base: pacoloco-git
Description: Pacman caching proxy server
Upstream URL: https://github.com/anatol/pacoloco
Licenses: MIT
Conflicts: pacoloco
Provides: pacoloco
Submitter: anatolik
Maintainer: anatolik
Last Packager: anatolik
Votes: 3
Popularity: 0.000000
First Submitted: 2016-02-26 04:05 (UTC)
Last Updated: 2022-01-11 03:21 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

anatolik commented on 2022-01-11 03:21 (UTC)

@krathalan, it is fixed now

krathalan commented on 2022-01-11 03:09 (UTC)

I was getting this error when trying to build:

==> Retrieving sources...
  -> Cloning pacoloco git repo...
Cloning into bare repository '/home/anders/aur/pacoloco-git/pacoloco'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
==> ERROR: Failure while downloading pacoloco git repo
    Aborting...
==> ERROR: Could not download sources.

Changing the source() array like so fixed the issue for me:

diff --git a/PKGBUILD b/PKGBUILD
index b6bce66..7f94ca3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=(glibc)
 makedepends=(git go)
 provides=(pacoloco)
 conflicts=(pacoloco)
-source=(git://github.com/anatol/pacoloco)
+source=("${pkgname%-git}::git+${url}")
 sha1sums=('SKIP')

 pkgver() {

anatolik commented on 2020-12-07 17:51 (UTC)

@angellusmortis done

angellusmortis commented on 2020-12-06 16:29 (UTC)

Can you add aarch64 to the PKGBUILD? It works great, it would be nice to not need to manually edit to update.

anatolik commented on 2020-09-02 20:53 (UTC)

@solstice done, thank you for the feedback.

solsticedhiver commented on 2020-09-02 19:35 (UTC) (edited on 2020-09-02 19:35 (UTC) by solsticedhiver)

@anatolik when the git repo has no tag, the wiki suggests to use something like:

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

I find it a little nicer that the mere count

https://wiki.archlinux.org/index.php/VCS_package_guidelines

anatolik commented on 2020-04-11 20:41 (UTC)

@solstice, this idea makes sense. I updated the upstream sample file to point to /var/cache/pacoloco. Or to be exact I commented this config option out and let pacoloco use the default location (/var/cache/pacoloco). Please check it and let me know how it works for you.

solsticedhiver commented on 2020-04-11 13:21 (UTC) (edited on 2020-04-11 15:35 (UTC) by solsticedhiver)

Could you use /var/cache/pacoloco as cache_dir in the /etc/pacoloco.yaml file, please ?

And create that directory in the package too ?

Because /tmp is for transient file, lost after a reboot. Moreover, /tmp is a tmpfs in RAM on archlinux, by default. This is hurting /tmp space available for other apps ,and limit RAM, unless this is swapped to disk.

As you are the dev, may be you can backport that to upstream in pacoloco.yaml.sample, may be ?

anatolik commented on 2020-02-29 19:59 (UTC)

@wallace11 okay let's add armv7h to the list of supported arches.

wallace11 commented on 2020-02-29 19:18 (UTC)

@anatolik I usually ignore arch when building on ARM, yeah. However, I don't know of any AUR guideline preventing package maintainers from adding ARM to the list of supported architectures, even though Arch does not officially support it, so I guess it shouldn't do any harm to include it if it works...