Open pirate486743186 opened 2 years ago
Looking at the commit in that error, it looks like the line in question is a comment in the SRCINFO file, and the MPR's SRCINFO parser doesn't know how to handle such comments. You'll probably need to ditch the Git history and regenerate the SRCINFO file with makedeb, then it should upload fine.
Support for those comments could also be added to the parser, but since this is only an issue with AUR SRCINFO files I'm not quite sure if I want to support it yet.
I needed to rewrite the SRCINFO parsing library for some stuff I was needing the library for, so this comment issue should be fixed in the library itself at least. I'm not sure when I'll get to fixing it in the deployed instance, though I'll try to get that done in the next few days if time allows for it.
Is it really necessary to check for compliance inside of git history? In this case, i was hopping to preserve the history from AUR. A lot of packages will be ported from AUR.
Is it really necessary to check for compliance inside of git history?
Probably not, but that'd need to be thought about for a bit before I decided if I wanted to not check for such. It's something inherited from aurweb, so I'm sure there's some kind of logic behind it.
Regardless of if it gets changed it definitely won't be immediate since I'm busy with other makedeb stuff, an immediate solution would definitely just be to ditch the commit history, otherwise you'll probably be stuck waiting for a bit.
Issue
I'm trying to reupload a AUR package. https://aur.archlinux.org/perl-lwp-useragent-cached.git
I kept the git history and it fails with this error.