-
Notifications
You must be signed in to change notification settings - Fork 107
Update selectors #828
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
base: master
Are you sure you want to change the base?
Update selectors #828
Conversation
MaxDall
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.
@addie9800 How come we fix this publisher rather than creating a new version?
My train of thought usually is that if the layout changes are minimal, i.e. you don't have to create new selectors and it is enough to replace |
@addie9800 In general, that seems like a solid rule of thumb. I was actually about to ask if you could document this somewhere in our docs, but then another thought occurred to me: does the benefit of having a timestamp for the change (for instance, if we later discover significant changes we couldn’t foresee at the time due to unimplemented features) outweigh the extra work of creating a new version? I’d be really interested in your opinion on that. |
Can you maybe explain your idea a bit more? I can't really imagine what you have in mind at the moment. I think my main concern is that we would probably not notice any issues in backwardcompatibility, no matter if we have a timestamp or not. If we implement a new feature at a later point which is unavailable for the older articles, we wouldn't notice it during testing, since we usually test through forward crawling. Unless of course it triggers the tests for the articles saved at creation of the parser version.
I don't think creating a new version is a significant amount of extra work. My main concern with creating (too many) extra versions is that we might end up spamming extra versions, if we create them too lightly. |
There's no idea on my mind right now. I just wondered if it is worth the extra step of a new version so we have a timestamp for the layout change. My concern was, that it, for now, looks like a minor change to the layout, but we later find out that having a new version and therefore a timestamp would have been beneficial. |
Ah ok, I see. I thought you wanted to introduce some kind of logging system to log the time of the change. While I do see your concern, I think in this specific case, I would assume that the risk is rather low of us having issues at a later point. But maybe, we can discuss it in todays meeting. |
MaxDall
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.
No description provided.