-
Notifications
You must be signed in to change notification settings - Fork 58
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
directory modelling suggestion #130
directory modelling suggestion #130
Conversation
SwiftLint found issues
Code Coverage Report
Generated by 🚫 Danger Swift against 105b104 |
Thanks for this, @entunidotdeb! Can you provide a bit more rationale for this change?
What makes this an improvement over the current API, for example? Also given that this would break the API, it'd technically require a major version bump, so that's at least something to keep in mind. |
@BasThomas so currently for a client to have multiple doc reports of different maxDepth, includeHiddenFiles and other properties, client would have to create multiple instances of DirectoryTreesReporter. Even then client would have no option to specifically set maxDepth for a group out of the nested Group/Directory Tree. How about client has option to customize the Directory specific props instead of the DirectoryTreesReporter props ? multiple DirectoryTreesReporter would lead to multiple DiagnosticsChapter |
Gotcha, thanks! |
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.
Thanks a lot for your contribution! I like the change. I do believe we can improve this implementation by adding a deprecated initializer for the current implementation, so we allow our users to gracefully migrate.
@AvdLee @BasThomas |
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.
Thanks, we're getting closer! Just a few points left 💪
@entunidotdeb the code looks great, but it seems that tests are failing. Did you manage to run tests successfully locally? |
@AvdLee yes sir |
This PR is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days. |
@entunidotdeb our repository requires signed commits. Would it be possible for you to enable signed commits and recommit using the following command:
You can read more about setting up signed commits here. |
5cf5795
to
69fefa1
Compare
@entunidotdeb we're almost there! Your commits are signed but unverified: You can learn more about that here: https://docs.github.com/en/authentication/managing-commit-signature-verification/displaying-verification-statuses-for-all-of-your-commits |
69fefa1
to
105b104
Compare
@AvdLee Done |
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.
Thanks for going over the comments @entunidotdeb! 🚀
|
@entunidotdeb congrats with your successful contribution! Thanks again for setting up signed commits 🙏 |
Thank you @AvdLee for suggestions on PR, approval and merge. |
Congratulations! 🎉 This was released as part of Release 4.3.1 🚀 Generated by GitBuddy |
proposing something like this (or better & complete) to have all properties of directory like includeHiddenFiles, maxDepth etc. ik this is quite a big change and would not be backward compatible but i guess worth to include something similar.
your thoughts on this? @AvdLee