-
Notifications
You must be signed in to change notification settings - Fork 144
Item#references: initial support of many ref items (Take 3) #423
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
Item#references: initial support of many ref items (Take 3) #423
Conversation
I would generalize this to [...]
[...] A directory reference could be useful if you want to ensure that a directory is completely unmodified, e.g. also no new files. |
Please see my change here. Does it work like this? |
I have reverted the keyword regex change by simply removing that commit.
As of your other change I agree that we should keep the Having this said, I suggest that you guys @sebhub @jacebrowning really give it some time of code review and manual testing to see if the MR makes sense because I think we are very close to merging it. One of the follow-up MRs could be to introduce a deprecation notice for people who might be using the |
|
This pull request is not getting a review which I guess owes to the fact that the changeset is rather large. Unfortunately, I cannot split it further because this is what it takes to have multiple references to work with all of the serialization/deserialization, import and exports. One thing I did, however: I have removed all of the GUI work from this PR which should make it a little bit easier to review. I have preserved a snapshot of the GUI work in a separate branch and since this PR should not affect the behavior of the current 'ref' feature, it should be just fine to first review and (hopefully) merge the logic and then think about the GUI in a separate round. Could I expect a review from you @jacebrowning ? If you have any concerns about the implementation, code style or any other details, please share. I would like to have some resolution on this issue. |
|
@stanislaw I don't have much bandwidth to review changes, but if this responses to all of @sebhub's feedback them I'm good with moving forward on this. |
sebhub
left a comment
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.
Sorry, for the delay. The patch is fine from my point of view. With the type key we have the ability to extend the new references attribute easily on demand.
|
Wow! That's very good news. Thanks @sebhub. @jacebrowning I assume we are good to merge? |
|
@stanislaw Yeah, feel free to merge approved PRs. |
I am opening this as a separate MR again because the previous one received too many comments.
I really need some collaboration from the maintainers because the scope is getting quite big. Unfortunately, I don't see anything meaningful that I could split out to become separate MRs.
Here are major comments:
keywordimplemented as was suggested by @sebhub 👍I don't know how to fit the full
referencesinto the Python GUI given that we also want to track the optionalkeywordthere. How many people actually use the Python GUI and how much should we care about 100% match between the command-line and GUI versions?Do we really need a
type: filepart or just havingpathis enough? Can we imagine anything else except references to single files? I am quite convinced that referencingfolders is not practical and should always be replaced by referencing single files.