Re: Aur git - missing .SRCINFO hook declined to update refs/heads/master - help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxx/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.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux