Skip to content
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

Installing latest.release Nextflow with grape installs edge prerelease #3672

Open
SamStudio8 opened this issue Feb 22, 2023 · 2 comments
Open
Labels

Comments

@SamStudio8
Copy link

Bug report

Expected behavior and actual behaviour

I have some Groovy scripts that use parts of the Nextflow library and specify the dependency with @Grab directives to use the Grape dependency manager. I expected that requesting the latest.release of Nextflow with Grape would install the release that is currently served by get.nextflow.io (22.10.7), but instead Grape installs the 23.02.0-edge prerelease.

% grape install io.nextflow nextflow latest.release
:: resolving dependencies :: caller#all-caller;working33
        confs: [default]
        found io.nextflow#nextflow;23.02.0-edge in ibiblio

The latest.release Ivy matcher returns the newest module revision with "at least release" status (https://ant.apache.org/ivy/history/2.1.0/settings/version-matchers.html). Is it expected that these prereleases are marked as a release? Is there another status I could be using?

Program output

NA

Environment

  • Nextflow version: NA
  • Java version: OpenJDK Runtime Environment Homebrew (build 17.0.3+0)
  • Operating system: macOS
  • Bash version: zsh 5.8

Additional context

NA

@SamStudio8
Copy link
Author

SamStudio8 commented Feb 22, 2023

Ah. Looking at the Maven metadata model and the Nextflow maven-metadata.xml, it seems this "status" is not part of the Maven metadata spec. But perhaps the versioning.release in Nextflow's Maven metadata should be set to whatever you consider the latest supported release (and not a prerelease)?

<versioning>
<latest>23.02.0-edge</latest>
<release>23.02.0-edge</release>

@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant