I'm a bit confused about the versions of the Luci packages in 24.10.0.
If I do an 'opkg update' and 'opkg list-upgradable' on a virgin 24.10.0 install, there are 13 luci packages that are already out of date. One of them, luci-mod-admin-full, is version 19.253.48496~3f93650 from 2019. If I go look at https://github.com/openwrt/luci/tree/master/modules/luci-mod-admin-full I see that the last commit there is indeed from 6 years ago. And yet 'opkg list-upgradable' says there's a new, much more recent version, 25.035.62793~4f7a183. I can install it with opkg with no apparent problems.
I tried compiling locally and the same outdated versions are included in the image. Is there something I'm missing?
You are mistaken. That warning was there mostly for routers with limited disk space, where installing many updates on the squashfs would fill up all available space. It literally warns against 'blindly upgrading packages.' These days it's fine to upgrade most packages, except for some core packages.
Besides that, like @Vorpal said, it wouldn't answer my question. Why is opkg showing newer versions than there are in a freshly compiled image? One of them is sixyears out of date.
Actually, regarding that, the explanation is likely a bit more complicated, and depends on the style of the feeds repo cloning. If buildbot clones a shallow copy with no history, the automatic versioning in LuCI will pick up a too new version.
If your own feed clone has a more full history, the versioning for that module is calculated from the correct old commit of that module.
Right, that makes sense. I'll play around a bit here with my local feed, to see if I can get a better understanding of how the versioning works exactly. Thanks!