Java Parser: Fixes issue #374 with OS $1 replacement #376
Conversation
@@ -4,7 +4,7 @@ | |||
<groupId>ua_parser</groupId> | |||
<artifactId>ua-parser</artifactId> | |||
<packaging>jar</packaging> | |||
<version>1.3.0-SNAPSHOT</version> | |||
<version>1.3.1-SNAPSHOT</version> |
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.
We're on a snapshot version anyways.
Why do we need to increase the version number?
For your remarks on "*.contains("$1") please check: |
The java part already has seen a version 1.3.0 (see 7239f0b). If you think a separate release for the java version is needed, I'd split that out to separate But is this tiny change worth a version change at all? |
Is any change worth a version change? Please tell me what you want me to do. |
I have no say here, but yes: staying on version 1.3.0-SNAPSHOT would make most sense to me. |
Sorry for this. Now it should have the right version. |
Looks good to me now. Verified that tests now pass. (My inline comments are only nits anyways) |
In terms of version I'd actually suggest it should 1.4.0-SNAPSHOT. According to the Git log, the version in the pom went to 1.3 and then back to 1.3-SNAPSHOT. There's also a tag already for java-1.3.0 so it would seem safest to bump the version up to avoid any issues where people have already picked up 1.3.0 as being "official". |
Yes, and ua-parser has always put the SNAPSHOT version after the release:
ua-parsers approach may be unusual to some, but (as no release plugin etc is in place) it's Trading the x -> x-SNAPSHOT -> (x+1) -> (x+1)-SNAPSHOT scheme for |
I've done so in pull request #380 |
Yes sorry - didn't mean to hijack the pull request! Thanks for putting in #380 - saves me jumping in to do the same. |
#434 I believe handles the same thing. |
This fixes the issue #374 within the java parser.