-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[CHIA-598] virtual project structure #18616
Conversation
…ll files default to be treated as belonging to chia-blockchain project. No default annotations. no default exclusions.
209a2f2
to
d6c3f8d
Compare
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.
I'd prefer a version still with annotations (that all say chia-blockchain
) so that we are forced to think about it. I also don't really see the point of this step except to add pre-commit & CI overhead when the path forward is uncertain. Those concerns being stated, I won't block this if others care to see it merged.
It's this: "The main point of the tool is of course to prevent people not working on refactoring from undo-ing the refactor-ers' progress" |
5569f6a
to
d6c3f8d
Compare
Yes, except the method with which to refactor has not been established and therefore progress cannot be made to potentially undo. |
Pull Request Test Coverage Report for Build 10994621633Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
you break something off by marking it as belonging to a different project. Then it can not be undone by mistake, only by changing back (or removing) the marking, or by disabling the CI job |
You would still need two steps to make a change. e.g. I might want to add a feature where you can label files based on a glob pattern in the yaml file. I would have to add that feature in a separate repo and (possibly) not be able to demonstrate that it works as intended until I update it in chia-blockchain. |
When you add a feature to |
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.
aok
Purpose:
Slightly modified subset of @Quexington 's virtual project structure tool. #17810
The main differences are:
chia-blockchain
project.This is immediately helpful for someone breaking out a sub-project to prevent other (unrelated) PRs re-introducing dependency cycles.
Current Behavior:
There is no way to "lock in" progress of breaking out sub-projects that should not have dependencies back into the core of chia-blockchain.
New Behavior:
This tool allows you to "lock in" progress of breaking out sub-projects. Once it lands, other PRs cannot re-introduce dependency cycles without CI turning red.
Changes:
Changes from Quexingtons patch (it's not so easy to compare on github because we have different base commits).
Whatever dict-like object
yaml.safe_load()
returns, it doesn't appear itsget()
function accepts a default value. Whith 0 exclusions, it returnedNone
instead of[]
.