[aur-general] Adding a git package to AUR4
ido at kernel.org
Tue Jun 9 21:05:14 UTC 2015
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.
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 does.
More information about the aur-general