Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#17197 - Submit: Unknown file format for uploaded file.
Attached to Project:
AUR web interface
Opened by Gergely (imrehg) - Thursday, 19 November 2009, 01:10 GMT
Last edited by Loui Chang (louipc) - Sunday, 22 November 2009, 08:35 GMT
Opened by Gergely (imrehg) - Thursday, 19 November 2009, 01:10 GMT
Last edited by Loui Chang (louipc) - Sunday, 22 November 2009, 08:35 GMT
|
DetailsPackage submission fails if trying to upload PKGBUILD, .src.tar.gz of the same things works fine.
1) Expected: Normal package submission, no error on properly formed PKGBUILDS 2) What I get: For a while now, whenever I try to upload a PKGBUILD to AUR, I get the following error message on an almost completely empty screen: Submit Unknown file format for uploaded file. This is for any new and also for any already successfully submitted packages. A workaround is preparing the package with makepkg --source, and submitting the .src.tar.gz, which works as intended. Not sure if relevant: Browser: Firefox 3.5.5 |
This task depends upon
Also: I don't think "makepkg --source" modifies the PKGBUILD, so it is the same on its own and in the tar.gz, so why the difference?
To close this report, can there be (pertty please) a proper notice and announcement somewhere? And on the submit page, not call it "package file" because it's not self-explanatory, neither is the error message.... It would be better to spell it out that one needs to submit a "makepkg --source" prepared tar.gz
[1] http://projects.archlinux.org/aur.git/commit/?id=6ee8b88c58c984489e13eb26f8509fe1ddb1510a
[2] http://projects.archlinux.org/aur.git/commit/?id=4ac945a87e5c7e71831377bc95563aa53e7f1eaa
[1] Yeah, more like it. That has some instruction, even if it's still in the "cooker", meaning not in the deployed version. It would be better, though, to remove more ambiguity (e.g. adding "Upload compressed package file").
My reasoning for me would be, that everywhere else PKGBUILD feels the "unit" of a package, so many of them can be done in a single file, and abs & yaourt will get you the PKGBUILD not an .src.tar.gz, thus requiring that for an upload even for a single file feels unnatural. I see the reason, and hack, I can even endorse it, but everything that is out of the "usual ways" should be noted a bit (lot) more. Then you wouldn't have such shallow bug reports as this one. :P
[A] http://projects.archlinux.org/aur.git/tree/web/html/pkgsubmit.php?id=6ee8b88c58c984489e13eb26f8509fe1ddb1510a#n39