[aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'
Lukas Fleischer
lfleischer at archlinux.org
Mon Jun 8 11:32:26 UTC 2015
On Mon, 08 Jun 2015 at 11:12:36, Florian Bruhin wrote:
> Hi,
>
> I just tried to upload my first package, and I get this:
>
> remote: Traceback (most recent call last):
> remote: File "hooks/update", line 194, in <module>
> remote: if repo[treeobj.id].size > 100000:
> remote: AttributeError: '_pygit2.Tree' object has no attribute 'size'
> remote: error: hook declined to update refs/heads/master
> To ssh+git://aur@aur-dev.archlinux.org:22/agendav.git/
> ! [remote rejected] aur4/agendav -> master (hook declined)
>
Does your Git repository contain subdirectories? Do you need them?
Subdirectories were forbidden in AUR 3.5.1 and they are still not
allowed in Git repositories. I will improve the error message.
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
> GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
> I love long mails! | http://email.is-not-s.ms/
More information about the aur-general
mailing list