You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "mdedetrich (via GitHub)" <gi...@apache.org> on 2023/08/06 14:57:22 UTC

[GitHub] [incubator-pekko-http] mdedetrich commented on issue #293: test with pekko 1.1 snapshots as well as pekko 1.0.1

mdedetrich commented on issue #293:
URL: https://github.com/apache/incubator-pekko-http/issues/293#issuecomment-1666887144

   ```scala
   val snapshotVersionR = """href=".*/((\d+)\.(\d+)\.(\d+)(-(M|RC)(\d+))?\+(\d+)-[0-9a-f]+-SNAPSHOT)/""""".r
   ```
   
   Is an updated regex which will work (see https://regex101.com/r/ynvHsT/1), although the code with the groupings i.e. https://github.com/apache/incubator-pekko-http/blob/05bcea79de2fe37f5e687bc85facaf96742dc5c6/project/PekkoDependency.scala#L112 may need to be fixed. 
   
   > I found this - https://github.com/G00fY2/version-compare - I haven't tested it but a small self contained lib might be a nice way to do this.
   
   The version format is determined by sbt-dynver and they actually provide a library that provides methods which lets you query versions/snapshots etc etc, see https://github.com/sbt/sbt-dynver#library-usage so thats another option.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org