-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preparations to switch to APK package manager #7007
Comments
Below packages that would cause trouble. Please bear in mind that PKG_RELEASE is soonish prefixed with an Naughty list:
|
@aparcar I can pre-emptively add r to the revisions, I just wanted to confirm that it will not break opkg upgrade logic. For example, would opkg consider 1.1.1-r6 higher version than 1.1.1-5? Same question for 2023.11.19-r2 and 2023-11-19-1. |
Easiest is to bump the main version to 1.1.2 at the same time (not sure about the date comparison with a changed separator) |
Does opkg even do that? I'm under the impression that it does not compare versions. See parse_version and compare You could do away with 1.1.1-r6 altogether and just let git handle semantic versioning (at least for the time being), or use dates instead. For devs, the tip of the master branch is latest, for users, if it is updated, it will show as update available. |
@feckert: date format here makes most sense. We won't be updating lua apps (this app is lua) any more so this change should be OK. Alt: update at source? https://github.com/lisaac/luci-app-dockerman
|
BTW:
|
@stangri I added a multi arch container here |
|
Thank you @aparcar @hnyman @jow-! PRs with fixes:
|
@feckert - how is dockerman update coming along? |
Status of dockerman will this be ready on 24.x |
@stangri latest luci-app-advanced-reboot fails to build with
|
@aparcar One challenge will be that our apk seems to produce rather small amount of information for available packages with "apk list -a" (and for installed ones with "apk list -I") In style of
Trouble starts already with package name and version being shown in combined form. I have not yet figured a way to have those listed separately by apk list. We might need to assume some regexp like Ps. Is there any support for OpenWrt specific definitions like essential, hold, etc.? "apk info -a" for an individual package shows more details, but so far I have not seen any OpenWrt specific attributes. |
I haven't seen any news about it but do we know if 24.x will default to using APK? In that case we still need to fix |
This seems to be unmaintained for more than a year. |
Thanks @hnyman for this fix 174e861 as I do use that package. @dannil in regards to a larger effort, #7313 perhaps it stalled out. |
This comment was marked as resolved.
This comment was marked as resolved.
Maybe there's a different reason, but I'm guessing apk sets the @AzimsTech if you can verify that the theme apk binaries contain the uci-defaults scripts that would be a good start. |
@stangri I get it now. I just need to reboot for the configuration to apply. I was not aware on how it works at first. I'm sorry for the false alarm. 🙏 |
Nothing to do with apk. Just define correctly the sensors in your system that actually do provide temperature info. |
I can pick just one zone and those images are still not valid. |
The icons get created if there is old/incompatible RRD files. |
Hi all, some fellow developers and me worked for some time now on making APK the new package manager for OpenWrt, replacing the unmaintained OPKG fork we've been using for the longest time.
APK is actively developed and used in multiple other distributions, e.g. Alpine Linux 🎉
While there is till some work ahead, I'd like to prepare everyone who maintains a package to verify that the
PKG_VERSION
followsSemantic Versioning<major>.<minor>.<fixup>[.<sub1>...]
. APK uses a deterministic algorithm to compare versions and does not like random strings, except a valid hash prefixed with a~
.If in doubt, please use the Docker container below to verify the used version is valid:
It will print whatever version is not valid, if you get a zero exit code, you're fine.
Please feel free to reach out for assistance and have a look at the core migration of versions.
The text was updated successfully, but these errors were encountered: