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
Package class and declaration of packages in input file #1673
Conversation
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.
This looks pretty good - I think I found the source of your build error.
Co-authored-by: Paul Wilson <paul.wilson@wisc.edu> Signed-off-by: Katie Mummah <radioactivekate@gmail.com>
Downstream Build Status ReportBuild
|
Pull Request Test Coverage Report for Build 7979730040Details
💛 - Coveralls |
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.
Another question, but I think this is nearly ready to go...
I think the |
So you think package class should have the context as a member? As written, package doesn't have a way to access the context, because it doesn't have a manager or anything |
No - I'm not sure the package needs to know about the context. I think a resource will access info about available packages via the context and then store a direct link to their current package. Am I missing something about why/how a package would reference its context? |
Ah ok, so the default will always be passed through the resource. I was thinking of having a version of package where no package type was passed, and then the package would have to get access to the default |
I think that any time we need to know about a package, we'll have access to the context. I'm not sure I can think of a time when a package needs to know about the context without some other code-context to get the info it needs. If we identify something, we'll have to rethink. |
If you convert from draft, I can merge this |
|
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.
This is a great first step on Packaging @nuclearkatie
Sometime soon, coverage will settle down a little and I'll worry about that test, but I'll go ahead now |
Closes #1654, closes #1655
Part of #1620