cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

Bring back ds-identify fix

Open holmanb opened this issue 1 year ago • 1 comments

Additional Context

Originally proposed by @smoser, then reverted due to a reported bug that it introduced. This brings back the original proposal by Scott plus the fixes required to resolve the issues it introduced. Also makes some minor shellcheck and test changes.

Merge type

  • [ ] Squash merge using "Proposed Commit Message"
  • [x] Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

holmanb avatar Feb 18 '24 23:02 holmanb

Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.

If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging TheRealFalcon, and he will ensure that someone takes a look soon.

(If the pull request is closed and you would like to continue working on it, please do tag TheRealFalcon to reopen it.)

github-actions[bot] avatar Mar 05 '24 00:03 github-actions[bot]

Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.

If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging TheRealFalcon, and he will ensure that someone takes a look soon.

(If the pull request is closed and you would like to continue working on it, please do tag TheRealFalcon to reopen it.)

github-actions[bot] avatar Mar 20 '24 00:03 github-actions[bot]

Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.

If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging TheRealFalcon, and he will ensure that someone takes a look soon.

(If the pull request is closed and you would like to continue working on it, please do tag TheRealFalcon to reopen it.)

github-actions[bot] avatar Apr 04 '24 00:04 github-actions[bot]

@TheRealFalcon regarding your change request I started to make the tool stricter, and I realized that there were some pretty glaring errors in the previous implementation. The biggest issues were assuming that the user would only use double quotes, and various assumptions about whitespace location and type.

Therefore, in addition to making the check stricter, I also fixed these issues and added a slew of tests to verify correct behavior.

holmanb avatar Apr 24 '24 15:04 holmanb

LGTM! Really nice cleanup!

Thanks!

I just force pushed to merge a couple of related commits and update some commit wording. Will merge once tests pass.

holmanb avatar Apr 24 '24 22:04 holmanb