Skip to content
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

fix: npt atSign handling #1332

Merged
merged 8 commits into from
Sep 17, 2024
Merged

fix: npt atSign handling #1332

merged 8 commits into from
Sep 17, 2024

Conversation

gkc
Copy link
Contributor

@gkc gkc commented Sep 9, 2024

- What I did

- How I did it

  • added atSign parameter checking (via AtUtils.fixAtSign method) to bin/npt.dart and to the NptParams constructor
  • Note: did not modify SshnpParams nor the shared superclass ClientParamsBase because of the complication of --list-devices which should allow blank daemon and relay atSigns

- How to verify it
Tests pass

@gkc gkc requested a review from XavierChanth September 9, 2024 11:02
Copy link
Member

@XavierChanth XavierChanth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enforcing lowercase is a breaking change.

@gkc
Copy link
Contributor Author

gkc commented Sep 11, 2024

Enforcing lowercase is a breaking change.

Yes this is technically a breaking change re the noports programs - however, atSigns may only ever include lowercase, so this should never break anyone's installation. Nevertheless I'll remove the strict validation and just do the coercion to lowercase silently.

@gkc gkc requested a review from XavierChanth September 16, 2024 10:56
@gkc gkc merged commit ba11a4c into trunk Sep 17, 2024
8 checks passed
@gkc gkc deleted the fix-1331 branch September 17, 2024 12:16
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.

npt atSign handling
2 participants