-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ddns-scripts: fix regression added by version 2.8.0 #13509
Conversation
…vices Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
…vies package Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This is not needed. The file get installed on demand with the new ddns script. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
What problem do you have with the deps?
|
I was thinking of renaming the 'services' dir to 'default'. This would make it more clear that in that dir there are json installed by the opkg and should not be touched... |
Sounds good 👍. I will change that.
This should fit. I have only removed the installation call and the file is still in the repo
forget it. That has been cleared up I have rebuilt and then it worked. But thanks |
Didn't notice... Will update the luci app pr with the default dir so we can merge both... What do you think? |
If we install ddns-scripts we also install the default ddns-scripts-services package. So the behabviour for the user does not change. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
c1b7f9f
to
4144307
Compare
Since we can also install custom ddns services, the name for the default services is not optimally chosen. To emphasize this the folder with the standard services for the package feed will be renamed to default. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4144307
to
c24dfd8
Compare
@Ansuel I have to update this P/R with another commit to read also the custom json values. But we could not read the custom directory if we have installed a provider in this directory for now. My suggestions are:
An if we find no json then we gave up? I would use the second suggest. So we have always use the newest json information if we try to read first the custom directory. |
Yes the default json should be the fallback if custom is not provided. Maybe add a comment somewhere to make this clear (that any custom json have priority than default?) |
644de0a
to
d4983a5
Compare
The provider could also be read from the custom directory. To get always the latest version of the provider config json file, we read first the custom directory and after that we also check the default directory, if we could not find the provider file Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
d4983a5
to
42eb5cc
Compare
|
@neheb Thanks for your advice. But I don't want to deal with the shellcheck things in this PR. Now I have to make sure that the JSONs work properly. I want to update some other things in the package. The restructuring of the package is not yet complete. There is still a lot to be done. |
@Ansuel I would merge the changes now. If it works for you, too. |
Sorry for the delay... I tested now and it seems to work all correctly. Did you test the luci app? |
Not sure how but this bricks my edgerouterx, had to recovery via tftp. When I remove this commit from packages repo it works fine |
@ivanich That are only script changes. So what did you exactly do. This changes were recently committed so i do not think this has already picked up by the buildbot and that this package are available in the snapshot for installation. |
@feckert I make my own builds from master for 3 routers including edgerouter for a quite long time. As I said before build with this commit reverted works fine. I even tried to disable all ddns staff in the config but it still wont boot. |
@ivanich sorry i can not help you. I need more information what did you exactly do. |
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn openwrt#13509 renamed manu ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well.
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn openwrt#13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well.
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn openwrt#13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn #13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz> (cherry picked from commit dbe79e4) Signed-off-by: Florian Eckert <fe@dev.tdt.de> Remove PKG_RELEASE version bump
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn #13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz> (cherry picked from commit dbe79e4) Signed-off-by: Florian Eckert <fe@dev.tdt.de> Remove PKG_RELEASE version bump
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn openwrt#13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn openwrt#13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz> (cherry picked from commit dbe79e4) Signed-off-by: Florian Eckert <fe@dev.tdt.de> Remove PKG_RELEASE version bump
Maintainer: me / @Ansuel
Compile tested: not needed only script changes
Run tested: x86_64, APU3, openwrt master
Description:
The following issues should get resolved with this P/R.
#13495
https://lists.openwrt.org/pipermail/openwrt-devel/2020-September/031507.html
@Ansuel I have not add the dependency ddns-scripts-services to ddns-scripts for now. When I do that the menuconfig does not look clean! Could you verify this.