Hello,
I have read both the submission guideline and also aur packages, but I am a little confused on how to actually create the repository.
Does cloning a pkgbase (whatever name you want to call the package) automatically create the remote repository?
What if you have got a local repository already (using git init) and want to push it to a AUR remote, but it does not yet exist?
Thank you, Polarian
On Wed, 14 Dec 2022 10:23:49 +0000 Polarian polarian@polarian.dev wrote:
Does cloning a pkgbase (whatever name you want to call the package) automatically create the remote repository?
Yes.
What if you have got a local repository already (using git init) and want to push it to a AUR remote, but it does not yet exist?
git remote add origin ssh://aur@aur.archlinux.org/packagename.git
Hello,
So just to understand this fully, cloning a non-existing package will create the remote repository.
If you push to a non-existing package, it will also create the repository and push to the remote?
Thanks, Polarian
On Wed, 14 Dec 2022 10:33:35 +0000 Polarian polarian@polarian.dev wrote:
Hello,
So just to understand this fully, cloning a non-existing package will create the remote repository.
If you push to a non-existing package, it will also create the repository and push to the remote?
Thanks, Polarian
Yes.
Note that the AUR website will not be updated until you push a .SRCINFO file.
Hello,
So as soon as the .SRCINFO is pushed to the remote, the aur website will contain the package?
Thank you, Polarian
Hello,
I am unsure whether it is just me getting confused based on language due to autism, but I find the AUR submission page very difficult to understand.
Is it possible for these steps to create packages to be more explicit, as I personally find it quite confusing :/
Thanks for the help however, Polarian
On Wed, 14 Dec 2022 10:58:43 +0000 Polarian polarian@polarian.dev wrote:
Hello,
I am unsure whether it is just me getting confused based on language due to autism, but I find the AUR submission page very difficult to understand.
Is it possible for these steps to create packages to be more explicit, as I personally find it quite confusing :/
Thanks for the help however, Polarian
You can create a discussion about this on the wiki discussion page of the article [0]. If you feel confident you can also make adjustments to the article itself.
Our wiki is a community effort, everyone can edit :)
[0] https://wiki.archlinux.org/title/Talk:AUR_submission_guidelines
Hello,
I have made this suggestion on the ArchWiki, if others agree I will add it to the page and attempt to make it easier to understand.
However as I am not sure if this is just be being an idiot when it comes to interpreting language, I will wait to see if anyone agrees with me.
Thanks for the help, Polarian
On Wed, 14 Dec 2022 10:53:07 +0000 Polarian polarian@polarian.dev wrote:
So as soon as the .SRCINFO is pushed to the remote, the aur website will contain the package?
Yes. Same goes for updates – changes to files beside .SRCINFO are not displayed.
Hi,
I have read both the submission guideline and also aur packages, but I am a little confused on how to actually create the repository.
Does cloning a pkgbase (whatever name you want to call the package) automatically create the remote repository?
Yes, `git clone ssh://aur@aur.archlinux.org/pkgbase.git` (where "pkgbase" is the package name) will create the associated remote repository, warning you that it is empty (for now), but this is expected.
What if you have got a local repository already (using git init) and want to push it to a AUR remote, but it does not yet exist?
You could just add an AUR remote label like `git remote add label ssh://aur@aur.archlinux.org/pkgbase.git`, or you could eventually copy ressources to your freshly created AUR git repo.
All of this is explained in the "AUR Submission guidelines" wiki's 1.3 chapter [1].
[1] https://wiki.archlinux.org/title/AUR_submission_guidelines
--
Regards, Antiz (Robin C.)
aur-general@lists.archlinux.org