Skip to content

Conversation

@soraxas
Copy link

@soraxas soraxas commented Jan 2, 2024

This PR pretty much unified the location of declaring all SSH config value that are simply passthrough.

This is achieved by reflection on struct field name and its datatype, plus custom struct tag to denote how to handle some of the range fields.

So that when there are new ssh config value, you only need to add a new line accordingly in the struct Host {...}

@soraxas soraxas requested a review from moul as a code owner January 2, 2024 02:30
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Jan 2, 2024
@soraxas soraxas force-pushed the feat-unified-ssh-conf branch 2 times, most recently from a1b8200 to fc322a8 Compare January 2, 2024 02:50
@soraxas soraxas force-pushed the feat-unified-ssh-conf branch from fc322a8 to a1f29b9 Compare January 2, 2024 02:50
@soraxas
Copy link
Author

soraxas commented Jun 24, 2024

@moul Can we review this?

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

Labels

🔍 Ready for Review Pull Request is not reviewed yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant