-
Notifications
You must be signed in to change notification settings - Fork 130
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
feat!: change 'version' to 'specVersion' #1086
Conversation
Converting to draft so I can figure out why other migration tests fail. |
Codecov Report
@@ Coverage Diff @@
## main #1086 +/- ##
==========================================
- Coverage 47.25% 47.25% -0.01%
==========================================
Files 59 59
Lines 8028 8039 +11
==========================================
+ Hits 3794 3799 +5
- Misses 3853 3857 +4
- Partials 381 383 +2
Continue to review full report at Codecov.
|
Changes `func create` to write the last migration value to func.yaml when a new function is created, and modifies the name in the func.yaml file to be 'specVersion' instead of 'version' to help reduce confusion. Adds a migration, and a LastMigration() utility function. Fixes: knative#861 Signed-off-by: Lance Ball <lball@redhat.com>
305d5e6
to
55b61af
Compare
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>
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.
Sorry to be pain in the ass, but there are a few nits that needs to be renamed.
Other than that it is looking great!
Signed-off-by: Lance Ball <lball@redhat.com>
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.
/lgtm !
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.
/lgtm
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance, lkingland, zroubalik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
func create
to write the last migration value to func.yaml when a new function is created, and modifies the name in the func.yaml file to be 'specVersion' instead of 'version' to help reduce confusion.Adds a migration, and a LastMigration() utility function.
Fixes: #861
Signed-off-by: Lance Ball lball@redhat.com