apk index will fail if pkgdesc is insanely long
To reproude: create a package with an insanely long pkgdesc (more than 300 chars?) and run apk index thepackage.apk.
It will trigger an error:
ERROR: Index generation failed: Success
(from redmine: issue id 1476, created on 2012-11-22, closed on 2013-10-02)
- relates #1477
- Revision 447b194b by Timo Teräs on 2013-05-30T09:22:35Z:
index: add sensible error message if metadata is too long fixes #1476 Instead of: ERROR: Index generation failed: Success The following is now printed: ERROR: Metadata for package timo-1.0-r0 is too long. ERROR: Index generation failed: No buffer space available