-
Notifications
You must be signed in to change notification settings - Fork 77
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
Upgrade command #1314
Upgrade command #1314
Conversation
for more information, see https://pre-commit.ci
…to upgrade-command
Co-authored-by: Jake Witz <74574233+jwitz@users.noreply.github.com>
Co-authored-by: Jake Witz <74574233+jwitz@users.noreply.github.com>
Co-authored-by: Jake Witz <74574233+jwitz@users.noreply.github.com>
…to upgrade-command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor nit on cleaning up the gitignore file. Also might want to check if we could improve the test coverage, LGTM otherwise
} | ||
|
||
// add upgrade-test* to the gitignore | ||
err = fileutil.AddLineToFile("./.gitignore", "upgrade-test*", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we remove this line before this function end as part of defer, else we might end up adding this line to the file each time the command is executed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is only added if it isn't already in the file
Co-authored-by: Neel Dalsania <neel.dalsania@astronomer.io>
Description
astro dev upgrade-test
PRD: https://www.notion.so/astronomerio/Astro-CLI-Upgrade-Check-Command-7d74a6e67a2e447ca38bd00258e429d0
🎟 Issue(s)
Related: #1306
🧪 Functional Testing
manual testing
📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft