-
Notifications
You must be signed in to change notification settings - Fork 24
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: .uccignore file is ignoring files specified #382
Conversation
Codecov Report
@@ Coverage Diff @@
## main #382 +/- ##
==========================================
+ Coverage 79.48% 80.06% +0.57%
==========================================
Files 28 28
Lines 1867 1871 +4
==========================================
+ Hits 1484 1498 +14
+ Misses 383 373 -10
Continue to review full report at Codecov.
|
Expected release notes (by @arys-splunk) fixes: others (will not be included in Semantic-Release notes):
|
@arys-splunk I believe this was intended behaviour. Here is the PR: https://github.com/splunk/addonfactory-ucc-generator/pull/36/files. If I remember correctly the discussion I had, the purpose was to not ignore files that are provided in the package folder and only ignore those which are generated by UCC. I will leave the decision of merging this to @rfaircloth-splunk |
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.
More internal discuessions, which is a reminder of the consequences of having undocumented temporary features. The original purpose of this file was to prevent the ucc-gen from using current templates for generated files while we were consolidating code and doing other cleanup activities. The ask here is actually a missing feature that closely resembles this one. Sorry @arys-splunk I lead you astray on this one.
- close the current PR you have add a new PR with similar code as a new function, with the ".uccignorepackage" as the source file instead. Document both where the the current feature is "Trust the developer don't replace template files" and the new feature is "don't include in output"
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.
More internal discuessions, which is a reminder of the consequences of having undocumented temporary features. The original purpose of this file was to prevent the ucc-gen from using current templates for generated files while we were consolidating code and doing other cleanup activities. The ask here is actually a missing feature that closely resembles this one. Sorry @arys-splunk I lead you astray on this one.
- close the current PR you have add a new PR with similar code as a new function, with the ".uccignorepackage" as the source file instead. Document both where the the current feature is "Trust the developer don't replace template files" and the new feature is "don't include in output"
After clarifying one more time with Ryan, we need to have 2 files:
|
Closes #362