[aur-general] Adding a git package to AUR4
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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello Harley, The .SRCINFO file needs to be present in _every_ commit in the repo. I stumbled over that, too. Mit freundlichen Grüßen/Kind Regards, Noel Kuntze GPG Key ID: 0x63EC6658 Fingerprint: 23CA BB60 2146 05E7 7278 6592 3839 298F 63EC 6658 Am 09.06.2015 um 23:00 schrieb Harley W:
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.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVd1Q/AAoJEDg5KY9j7GZYB8YP+gKcp3t1pyDrlxuqFlw2yaAS hX+olr+clqmcZDiyARSy9BCn95hb6ykYfO2ZIs2x4JdRoiTYOA2Oe9zUZ37nNG2s HULxVRiJR0RJnF+RRcsvKuJp2Wd2aYukw8LjzV0fa1p/ACIE1Tl2dwGqMI4gg88A YNI7OsPu2UXqHeWsDMO5Scz61eNxfYlQLh0MS46WKBWvrtK7Vm0yRALc08Ax7Jpj 2UOx5xj4MRmSEc/D+gmBdQb2VA6kAiO+CxSMgc0Czz8aRxDHstWhe52OODvyFV+b ZbCk10wuw8z9dN7qOfKQd9n/OVsg+76KLdTmdbr6pG33T/pdSa9f/Ko1gVqjt4Ag 6D3kc/KPx11a4p1TDjWmNuR8yMPSNFpwQyYzeLnpiCS5Y4MWn4gXD2EbScqO13Pd LXZlA7ejSmISICnaqsk8PJgkEi+b9unXX6iYCF2F48WT3GB55/Onmp3LPJwlxgaW +dMbectL2cnR+5gCmP688SDAWt50+piCfDuv+aFPBWGkGMxHK09RW0CUOXTMb/kt g9vLGEYb9843+XLbq7E7y1l6tzKc7OYCoW9WLwKOsKkKtWg99BJ7dbM8BpPv631h KSn2w3tehO5sJaFqJdqTtoMTAczVdxgQ8o7k5j/0toILhaUBXYhGo/9WtGug73wk yyTkk/rDOwqR1U5R80zF =T3WY -----END PGP SIGNATURE-----
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:
On Tue, Jun 9, 2015 at 5:00 PM, Harley W <harleyw@hotmail.com> wrote: 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
participants (3)
-
Harley W
-
Ido Rosen
-
Noel Kuntze