You are not logged in.
I'm currently trying to submit a PKGBUILD to the AUR.
After following this article, I have...
My git repository containing the PKGBUILD
A public SSH key copied into AUR my profile (this SSH key is only being used for the AUR)
A private SSH key configured for aur.archlinux.org, like so:
~/.ssh/config
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
A git remote labeled aur, pointing to ssh://aur@aur.archlinux.org/daemon-engine.git
After all that is setup, when I run
git fetch aur master
It gives me this error
fatal: couldn't find remote ref master
fatal: the remote end hung up unexpectedly
Some extra potentially relevant information:
My version of openssh is 8.1p1-2
My version of git is 2.24.0-1
Last edited by PopeRigby (2019-12-09 02:50:18)
"I even found myself driving by convenience stores... that weren't on the way home."
Offline
Does git fetch aur work ?
If not, post output of
git remove -v
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Does git fetch aur work ?
Nope, that does nothing. No output either.
If not, post output of
git remove -v
I assume you meant to say remote. The output of that is:
aur ssh://aur@aur.archlinux.org/daemon-engine.git (fetch)
aur ssh://aur@aur.archlinux.org/daemon-engine.git (push)
origin git@gitea.com:PopeRigby/daemon-engine-aur.git (fetch)
origin git@gitea.com:PopeRigby/daemon-engine-aur.git (push)
"I even found myself driving by convenience stores... that weren't on the way home."
Offline
aur.archlinux.org/daemon-engine.git is an empty repository, which is why it can't find remote ref master.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Because of this section of the article, I was under the impression I needed to set an aur remote to a currently empty repository, if I wanted to upload a new package. This part specifically made me think that:
If you already have a package, initialize it as a Git repository if it is not one, and add an AUR remote:
$ git remote add label ssh://aur@aur.archlinux.org/pkgbase.git
Then fetch this remote to initialize it in the AUR.
Did I misread?
Last edited by PopeRigby (2019-12-05 18:52:29)
"I even found myself driving by convenience stores... that weren't on the way home."
Offline
I was able to fix it by cloning
ssh://aur@aur.archlinux.org/pkgbase.git
and adding a .SRCINFO file. I guess I forgot to do that.
"I even found myself driving by convenience stores... that weren't on the way home."
Offline