Skip to content

Conversation

@cdfmr
Copy link
Contributor

@cdfmr cdfmr commented Feb 7, 2026

Switch XML parser to xmllint because xmlstarlet is not available.

📦 Package Details

Maintainer: @feckert

Description: NameSilo's API supports both JSON and XML response formats, with this script defaulting to JSON. If a user selects the XML format, the script originally calls xmlstarlet for parsing. However, since OpenWrt does not include the xmlstarlet package, it always fallback to grep & sed. In this new commit, it has been switched to use xmllint for XML parsing instead.


🧪 Run Testing Details

  • OpenWrt Version: Snapshot
  • OpenWrt Target/Subtarget: Filogic
  • OpenWrt Device: Cudy TR3000

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@cdfmr cdfmr marked this pull request as draft February 7, 2026 06:45
@cdfmr cdfmr marked this pull request as ready for review February 7, 2026 06:51
@feckert
Copy link
Member

feckert commented Feb 9, 2026

Please rebase agains current master. The PKG_RELEASE of ddns-scripts was updated.

switch xml parser to xmllint because xmlstarlet is not available

Signed-off-by: Lin Fan <im.linfan@gmail.com>
@cdfmr
Copy link
Contributor Author

cdfmr commented Feb 10, 2026

Please rebase agains current master. The PKG_RELEASE of ddns-scripts was updated.

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants