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: Update 'import' deprecation warning with a date. #572

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

smoser
Copy link
Contributor

@smoser smoser commented Dec 4, 2023

Putting a date in the deprecation warning message allows users to plan migration more effectively. The date chosen allows for plenty of time for users to migrate existing stacker.yaml files.

#571.

pkg/types/stackerfile.go Show resolved Hide resolved
@rchincha rchincha added this to the v1.0.0 milestone Dec 8, 2023
@smoser smoser force-pushed the fix/formal-deprecation-import branch 3 times, most recently from df405f7 to 2dd1369 Compare December 13, 2023 14:59
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b6996fd) 13.02% compared to head (b60d77f) 57.06%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #572       +/-   ##
===========================================
+ Coverage   13.02%   57.06%   +44.04%     
===========================================
  Files          40       64       +24     
  Lines        6057     7519     +1462     
===========================================
+ Hits          789     4291     +3502     
+ Misses       5136     2485     -2651     
- Partials      132      743      +611     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Putting a date in the deprecation warning message allows users
to plan migration more effectively.  The date chosen allows
for plenty of time for users to migrate existing stacker.yaml files.

Signed-off-by: Scott Moser <smoser@brickies.net>
@smoser smoser force-pushed the fix/formal-deprecation-import branch from 2dd1369 to b60d77f Compare December 14, 2023 18:42
@smoser smoser requested a review from raharper December 14, 2023 21:47
@smoser
Copy link
Contributor Author

smoser commented Dec 14, 2023

i'm not actually sure why df405f7 failed and 2dd1369 succeeded. :-(

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

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

lgtm

@rchincha rchincha merged commit 0a82ed4 into project-stacker:main Dec 14, 2023
11 checks passed
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.

3 participants