pschmitt / pia-tools

Shell script to automate privateinternetaccess port forwarding and starting/stopping transmission when connected/disconnected and other stuff
https://aur.archlinux.org/packages/pia-tools
GNU General Public License v3.0
132 stars 23 forks source link

pia-tools no longer in AUR? #22

Closed bits01 closed 7 years ago

bits01 commented 9 years ago

https://aur.archlinux.org/packages/pia-tools/ returns 404 Not Found

ethanmad commented 9 years ago

Try again. I'm now maintaining it. As such, please report issues and submit PRs to my fork: ethanmad/pia-tools.

edit: since @pschmitt has returned, let's use his version.

bits01 commented 9 years ago

Thank you for picking it up.

pschmitt commented 9 years ago

This repo's version is back in the AUR: https://aur.archlinux.org/packages/pia-tools-orig

pschmitt commented 9 years ago

NB: I had to rewrite the entire history in order to be able to use the same repo for both GitHub and the AUR.

ethanmad commented 9 years ago

@pschmitt

  1. I'll transfer pia-tools to you, so we can scrap the -orig suffix.
  2. It's a little confusing how the AUR works, but the souce repo and the AUR repo should be different. The AUR repo is a NEW containing only PKGBUILD, .SRCINFO, and install files (in this case pia-tools.install).
pschmitt commented 9 years ago

Okay, quick update:

  1. I requested the pia-tools-orig to be removed
  2. This is how I decided to do things. As you may have noticed I created a new orphan branch which essentially is a mirror of the AUR git repository. This workflow still is not optimal since you have to work with 2 remotes and 2 branches - but at least the there is only one repository. Each time a commit is made on the (Github) master branch it has to be cherry-picked on the aur branch and pushed to the AUR remote in order to get "live". Beware that AUR does not allow for any branches other than master, hence: git push aur aur:master

EDIT: I added a wiki page for this matter

ethanmad commented 9 years ago

I like this solution. Cherry-picking is a great way to share updates between the two branches/repositories.