-
Notifications
You must be signed in to change notification settings - Fork 14
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
Rename DevFile to Devfile everywhere in the code. #18
Conversation
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Signed-off-by: thepetk <thepetk@gmail.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #18 +/- ##
=======================================
Coverage 66.56% 66.56%
=======================================
Files 10 10
Lines 1358 1358
=======================================
Hits 904 904
Misses 394 394
Partials 60 60
☔ View full report in Codecov by Sentry. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mike-hoang, thepetk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As the PR is not introducing any new features is good to be merged. For the code coverage warnings I've added a new issue here: devfile/api#1218 |
FYI, this PR introduced breaking changes by renaming the exported
As such, this PR should have been released as a major version, I think. Not a big deal that said, but just for awareness. |
Yes I think this should be a major release in the future. Back then, we had only a bunch of releases of alizer. Now I think the situation is better, but for sure we need to treat breaking changes as major releases. |
What does this PR do?
This PR ensures that every variable having the name devfile does not contain a capital F for the devfile word. The only two exceptions are the
func SelectDevFileFromTypes
andfunc SelectDevfilesFromTypes
which remain the same. A deprecation warning has been added in the code. Soon they will have to be removed in favor ofrecognizer.MatchDevfiles
which additionally includesdevfileFilters
in order to filter the fetched stacks from the registry.Along with code updates, changes were made in the tests and in the documentation.
Which issue(s) does this PR fix
fixes devfile/api#1173
PR acceptance criteria
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.
Unit/Functional tests
Documentation
How to test changes / Special notes to the reviewer