You are not logged in.
I am in the process of trying to move a couple of my packages to the AUR4.
I am trying to do this by hand as a learning exercise and as I only have a couple packages.
It is not clear how to configure the git repository if one is not cloning an existing package. I did try cloning a directory that does not yet exist wondering if the AUR4 site would provide an empty template. No such luck.
If I just use git init, I get a git structure, of course, but it knows nothing about upstream. I did clone dump, and examined its structure. I could divine the information I need by doing that, but it strikes me that that is doing it the hard way.
What is the best practice for setting up the git repository if you do not plan to start from an existing project?
On a tangential subject, do I need to update, reset, or leave alone the pkgver information when I do this?
Last edited by ewaller (2015-07-07 05:07:02)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
If I just use git init, I get a git structure, of course, but it knows nothing about upstream.
from a empty project, just add git adress
git init
git remote add origin aur@aur4.archlinux.org:/YOUR-NEW-PACKAGE.gitand at first push, the package is create on aur4
Last edited by papajoke (2015-07-06 23:14:19)
LTS - Fish - Kde - intel M100 - 16Go RAM - ssd
Online
git remote add origin aur@aur4.archlinux.org:/YOUR-NEW-PACKAGE.gitand at first push, the package is create on aur4
Okay, I'll give that a shot. If it works, I'll probably add that to the AUR wiki page.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yep, that was all it took. Thanks. The wiki states to not change the AUR4 section without going through the discussion page. I'll take that route.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
FYI, I just cloned a non-existent package from aur4 and I got an empty git repo with all the right settings. I don't know if I could fill it and push to aur4, I don't want to try as if it were successful it'd just create junk.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
FYI, I just cloned a non-existent package from aur4 and I got an empty git repo with all the right settings. I don't know if I could fill it and push to aur4, I don't want to try as if it were successful it'd just create junk.
That's exactly what I did. I cloned a non-existent repo, then added the necessary files and pushed it. It seems to have worked fine: https://aur4.archlinux.org/packages/flake8-pep257/
Last edited by CrashLog (2015-07-06 23:49:11)
"There are no problems, only opportunities for solutions."
Offline
that Doh! So it does. I expected the .git to be in the directory from which I ran it. There was not a .git in the directory when I was done. I missed that there was a brand new directory by the name I had chosen (complete with .git structure) because my ls command was only looking for dot files ![]()
Okay, both techniques work. Thanks
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
that Doh! So it does. I expected ...
Noobs ![]()
![]()
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
other soluce use github or gitlab
create normal repositry with github (test-aur4)
in local
git init
git remote add origin https://<login>@github.com/<login>/test-aur4.gitand the magic :
git remote set-url origin --push --add https://<login>@github.com/<login>/test-aur4.git
git remote set-url origin --push --add aur@aur4.archlinux.org:/test-aur4.gitnow you can use push and pull request from github
ps: only branch master is push on aur4
Last edited by papajoke (2015-07-07 11:38:35)
LTS - Fish - Kde - intel M100 - 16Go RAM - ssd
Online
Using ls is noob. mc is 1337.
Offline