[aur-general] How to update .SRCINFO without creating a tarball?

Marcel Korpel marcel.korpel at gmail.com
Thu May 28 11:14:11 UTC 2015


* Νῖκος Θεοδώρου <ntheo1979 at gmail.com> (Thu, 28 May 2015 12:49:07
+0300):
> Since you're at it, why don't you make the "git push" part a bit
> clearer, since many of us are unfamiliar with git?

Good point, but we'll also have to add a default .gitignore file,
otherwise everything in src/ and pkg/ and all downloaded files will be
automatically included in commits.

I think we should wait until [1] gets merged into that project: then
that file could serve as a default .gitignore file for future AUR
packages.

> 1. Create a new (empty) package base foobar, run the following
> command: $ ssh aur-dev.archlinux.org setup-repo foobar
> 2. Clone the (initially empty) package repository via SSH:
> $ git clone ssh+git://aur-dev.archlinux.org/foobar.git/
> 3. Change into the directory:
> $ cd foobar/
> 3. Copy the relevant files from previous AUR folder:
> $ cp ~/AUR/coolvlviewer/* ./
> 4. mksrcinfo from the package blah-blah
> $ mksrcinfo

At this point, a default .gitignore should be placed in .

> 5.
> $ git add .
> 6. 
> $ git commit -m "Initial commit"
> (or whatnot)
> 7. Push:
> $ git push -u origin master

And:

After future changes in PKGBUILDs run these commands again:

$ git add . 
$ git commit -m "Change summary" 
$ git push

Where "Change summary" contains the new package version or a
description of other changes you made.

Something like that?

Best, Marcel

[1] https://github.com/github/gitignore/pull/1534


More information about the aur-general mailing list