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

html output - Later dependencies - Latest Version shows the Current Version #420

Closed
bekuno opened this issue Sep 6, 2020 · 5 comments
Closed
Assignees

Comments

@bekuno
Copy link

bekuno commented Sep 6, 2020

Output plain:

The following dependencies have later release versions:
 - com.android.tools.build:gradle [4.0.1 -> 4.2.0-alpha09]
 - com.asamm:locus-api-android [0.3.17 -> 0.9.15]
     https://github.com/asamm/locus-api-android
 - com.getkeepsafe.dexcount:dexcount-gradle-plugin [1.0.3 -> 2.0.0-RC1]

Output html:
grafik

@ben-manes
Copy link
Owner

/cc @jcrokicki

@ben-manes
Copy link
Owner

A quick glance, and are you using revision=release? That seems to be using the current instead of the available version.

private def String getDisplayableVersion(DependencyOutdated item) {
if (getRevision().equalsIgnoreCase("milestone")) {
return item.getAvailable().getMilestone()
} else if (getRevision().equalsIgnoreCase("release")) {
return item.getVersion()
} else if (getRevision().equalsIgnoreCase("integration")) {
return item.getAvailable().getIntegration()
}
return ""
}

@bekuno
Copy link
Author

bekuno commented Sep 6, 2020

Yes, revision = "release".

@jcrokicki
Copy link
Collaborator

Yes, revision = "release".

Could you please provide the entire command line so I know that I am reproducing your issue properly?
thanks!
-john

@jcrokicki jcrokicki self-assigned this Sep 7, 2020
@jcrokicki
Copy link
Collaborator

My bad... getVersion() vs. getAvailable.getRelease(). Will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants