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

New version available Info message doesn't state current version. #1502

Closed
peterdrier opened this issue Jul 30, 2021 · 1 comment · Fixed by #1969
Closed

New version available Info message doesn't state current version. #1502

peterdrier opened this issue Jul 30, 2021 · 1 comment · Fixed by #1969
Assignees

Comments

@peterdrier
Copy link

I don't know enough GO to change this myself, but this seems to be the line in question:

glcm.Info(executableName + ": A newer version " + remoteVersion + " is available to download\n")

Background: Trying to debug a problem with AzureFileCopy@4 Task on Devops. log is littered with messages stating a newer version is available, but there's no mention of the current version, so I'm left to guess if the problem we're having has been fixed in a newer version of azcopy.exe which the AzureFileCopy task needs to incorporate, or if it's a new problem.

Which version of the AzCopy was used?

Unknown - this is the problem.

Which platform are you using? (ex: Windows, Mac, Linux)

Azure DevOps - AzureFileCopy@4 task

What problem was encountered?

azcopy provides a message stating a new version is available, but that message doesn't indicate the current version. e.g. :

INFO: AzCopy.exe: A newer version 10.11.0 is available to download

How can we reproduce the problem in the simplest way?

Run any old version of azcopy.exe I'd presume, and check the relevant log.

Have you found a mitigation/solution?

no.

Ideally from my perspective, this INFO message would be improved to state the current version, and possibly a link to the release notes. Something like:

INFO: AzCopy.exe: A newer version 10.11.0 is available to download, currently 10.9.2, release notes: https://github.com/Azure/azure-storage-azcopy/releases

@gapra-msft
Copy link
Member

Hi @peterdrier this has been fixed in a release from AzCopy. I will go ahead and close this issue. Thanks for the request!

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

Successfully merging a pull request may close this issue.

3 participants