Open m4z opened 2 years ago
Its a non package manager file is all. Its looking for package-info.xml
Funny enough. We could easily slap a package-info.xml that would say copy all the language files to the languages folder and bam, the language is installed.
Thanks for the info, that could indeed be useful.
My main point though was that the error could be less misleading and much more helpful. I don't know much about the package format and less about the related code, but with what you wrote it seems to be easy to detect if a package is invalid (package-info.xml missing in the archive) and display that to the user instead of "something vague or other might have happened".
I have updated my initial post. It seems the error is consistent for the most part, but I still find it misleading.
Description
I've seen several users trying to upload, for example, the install tarball, and I wondered myself if I could upload language packs via this route.
Steps to reproduce
smf_2-1-rc3_german_informal.tar.gz
) via Package Manager → The error will suggest that the file might have been empty, or the permissions are incorrect, but it doesn't say "that wasn't a package I can work with":smf_2-1-1_{install,upgrade}.zip
: Same as above.smf_2-0-15_install.zip
:Environment (complete as necessary)