On 06/04/2018 03:52 AM, Bennett Piater wrote:
On 06/04/2018 10:49 AM, Tinu Weber wrote:
$ git commit -am "console-blanking-0.0.1-2"
On Mon, Jun 04, 2018 at 03:38:08 -0500, David C. Rankin wrote:
It appears you've committed also the built package files into the repo.>
never git commit -a.
always manually track files using git add - in your case, git add .SRCINFO PKGBUILD LICENSE *.service and then commit without the a.
That way, you will always only push what is needed.
Cheers, Bennett
Well I tried without `-a` and no changes to .SRCINFO or PKGBUILD were incorporated. I also removed the package and signature files. The push is trying to push exactly what it should, e.g.: $ tar -tzf console-blanking-0.0.1-4.src.tar.gz tar: Ignoring unknown extended header keyword 'SCHILY.fflags' console-blanking/ tar: Ignoring unknown extended header keyword 'SCHILY.fflags' console-blanking/PKGBUILD tar: Ignoring unknown extended header keyword 'SCHILY.fflags' console-blanking/LICENSE tar: Ignoring unknown extended header keyword 'SCHILY.fflags' console-blanking/.SRCINFO tar: Ignoring unknown extended header keyword 'SCHILY.fflags' console-blanking/console-blanking.service But git still throws the error: $ git push -u origin master Counting objects: 36, done. Delta compression using up to 8 threads. Compressing objects: 100% (36/36), done. Writing objects: 100% (36/36), 43.60 KiB | 10.90 MiB/s, done. Total 36 (delta 14), reused 0 (delta 0) remote: error: The following error occurred when parsing commit remote: error: 93a539f81d7d0f001dd5522781ebeabf7cf73f9d: remote: error: missing source file: LICENSE remote: error: hook declined to update refs/heads/master To ssh://aur.archlinux.org/console-blanking.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'ssh://aur@aur.archlinux.org/console-blanking.git' I'll have to play with this more tomorrow. I've not had any other problems with my other 3 packages, and I followed the same archwiki Aur page to clone the empty repository and then attempt to create the .SRCINFO, sign, commit and push. Strange I welcome any other thoughts. -- David C. Rankin, J.D.,P.E.