Skip to content

hal: add validation for UCI section types to support hyphens#265

Draft
rslater-cs wants to merge 4 commits into
migration-basefrom
wifi-uci-fix
Draft

hal: add validation for UCI section types to support hyphens#265
rslater-cs wants to merge 4 commits into
migration-basefrom
wifi-uci-fix

Conversation

@rslater-cs
Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Description

Previously section names were given the same validation as uci identifiers, this was causing issues as section were using hypens in their names which is valid with uci usage but being flagged as invalid. I have made a seperate validation path for sections.

Manual test

  • 👍 yes
  • 🙅 no

Manual test description

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

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.

1 participant