[aur-general] Adding a git package to AUR4

Harley W harleyw at hotmail.com
Tue Jun 9 21:36:17 UTC 2015



Thank you very much. I will try this when I get a chance, and if that doesn't work ill try out your script.


Sent from my Samsung device

-------- Original message --------
From: Ido Rosen <ido at kernel.org>
Date: 06-09-2015  5:05 PM  (GMT-05:00)
To: "Discussion about the Arch User Repository (AUR)" <aur-general at archlinux.org>
Subject: Re: [aur-general] Adding a git package to AUR4

On Tue, Jun 9, 2015 at 5:00 PM, Harley W <harleyw at hotmail.com> wrote:
> Hello,I'm having a lot of trouble transferring my package to AUR4. It is a git package, so after trying for about an hour to get it to work the way that is described on the wiki page, I thought I could try to push it to a separate remote repository (the aur4 repository). Is there a way to do this? I tried
> $ git add remote aur4 aur4.archlinux.org/savant-git.git$ git add *$ git commit -m "Initial upload to aur4"$ git push aur4 master
> Which said, as I expected, that aur4.archlinux.org/savant-git.git does not appear to be a git repository. Is there a way to accomplish it this way?
> If not, the issue I was having in the method described in the wiki was that it would keep telling me:remote: error: missing .SRCINFOEven though I committed it and I copied it into pretty much every directory, I don't understand this at all.
> Sorry about this question, I am still quite new to git and I've never dealt with SSH before.Thanks for any help.
Try:
  pacman -Sy pkgbuild-introspection
  git filter-branch -f --tree-filter "test -f .SRCINFO || mksrcinfo"

This will go through the current branch and, if no .SRCINFO exists in
a commit, create one and edit the commit (rewriting history).  This is
part of what my script[1] does.

Ido

[1] https://github.com/ido/packages-archlinux/blob/master/bin/import-to-aur4.sh


More information about the aur-general mailing list