Package Details: pacoloco-git 1.0.r1.g824e1a8-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: 2
Popularity: 0.000467
First Submitted: 2016-02-26 04:05
Last Updated: 2021-01-15 22:38

Latest Comments

1 2 Next › Last »

anatolik commented on 2020-12-07 17:51

@angellusmortis done

angellusmortis commented on 2020-12-06 16:29

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

@solstice done, thank you for the feedback.

solstice commented on 2020-09-02 19:35

@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

@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.

solstice commented on 2020-04-11 13:21

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

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

wallace11 commented on 2020-02-29 19:18

@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...

anatolik commented on 2020-02-24 04:22

@artodeto pacoloco itself does not know anything about difference between arches. Pacman just proxies downloads for a given URL.

If you need to proxy pacman databases for different arches then you need to have multiple different repos:

repos:
  archlinux_x86_64:
    urls:
      - http://mirror.lty.me/archlinux
      - http://mirrors.kernel.org/archlinux
 archlinux_arm:
    urls:
      - http://foo.bar/archlinux/arm
      - http://bar.foo/another_arch_arm_repo

Then modify pacman.conf to point to the repo with the required architecture http://myserver:9129/repo/archlinux_$arch

anatolik commented on 2020-02-24 04:16

@wallace11 just curious aren't Arm arches should use 'makepkg -A' build command to ignore list of supported archtectures?