Store package filename in database
Currently the filename of packages is automatically generated based on the following structure:
<name>-<version>.apk
In OpenWrt, we currently use the structure below:
<name>_<version>-<arch>.ipk
We even use script for cleaning up outdated packages that specifically look for the underscore (<name>_
) in filenames.
I'm wondering if we could simply store the filename inside the index instead of enforcing a specific structure. For example, if I only provide a single package in multiple architectures, I could just fill a single folder with <package>-<version>-<arch>.apk
instead of maintaining a variety of subfolders.
Thoughts?