-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Make transport version comments parsable #134733
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
Conversation
Pinging @elastic/es-core-infra (Team:Core/Infra) |
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.
LGTM, one nit
} | ||
} | ||
} | ||
if (idsLine != null) { |
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.
if idsLine is null doesn't that mean we have an empty file (which should be an error)?
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 was preserving how this already was, but happy to change it. WDYT?
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.
Yeah I think it should be an error. Having an empty file isn't ever valid.
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 want comments available, so I will follow up and add better error coverage to both these methods in a follow up. There's a few more things to look for in the parsing that we do in ES, but not gradle still.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330 HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5 Branch=main
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330 HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5 Branch=main
BASE=d662314b371d340e211d70e3b61cbe8b0bd42330 HEAD=21d04e11bb80b116384ce2bbf4943d1bed47ccc5 Branch=main
This adds the ability to filter comments from transport version internal state files during parsing in gradle tasks.