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

Add the source URL where the package was downloaded from, to the output of the choco install and choco upgrade commands #1485

Closed
bcurran3 opened this issue Feb 12, 2018 · 2 comments · Fixed by #3267
Assignees
Labels
5 - Released Improvement Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library.
Milestone

Comments

@bcurran3
Copy link

(from chocolatey-community/simple-server#26)

What You Are Seeing?

Nothing :)

What is Expected?

In the case of multiple source feeds in chocolatey.config, i.e. packages installed via Chocolatey community feed and possibly a local Chocolatey Simple Server/MyGet/etc. ...

Chocolatey v0.10.8 Professional
Installing the following packages:
vlc - from https://chocolatey.org/api/v2/ <- requested new information
By installing you accept licenses for the packages.

In the instance of a sole source, no additional information needs to be displayed.

@TheCakeIsNaOH TheCakeIsNaOH added Improvement 0 - _Triaging Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library. labels Jul 30, 2022
@TheCakeIsNaOH
Copy link
Member

The install counterpart to #1486

Should be super easy to implement once the the NuGet library exposes this information.

TheCakeIsNaOH added a commit to TheCakeIsNaOH/choco that referenced this issue Jul 15, 2023
This logs the package source uri to info before downloading nupkgs
during both install and upgrade. Additionally, it debug logs the
download URI that the nupkg available at.

The information outputs for both individual package installs/upgrades,
and for dependencies that get installed/upgraded by their parent
package. This information is especially useful when multiple sources
are in play, so the user can determine where individual packages
are coming from.
@gep13 gep13 added this to the 2.3.0 milestone Dec 14, 2023
TheCakeIsNaOH added a commit to TheCakeIsNaOH/choco that referenced this issue Jan 9, 2024
This logs the package source uri to info before downloading nupkgs
during both install and upgrade. Additionally, it debug logs the
download URI that the nupkg available at.

The information outputs for both individual package installs/upgrades,
and for dependencies that get installed/upgraded by their parent
package. This information is especially useful when multiple sources
are in play, so the user can determine where individual packages
are coming from.
@TheCakeIsNaOH TheCakeIsNaOH self-assigned this Jan 9, 2024
gep13 pushed a commit to TheCakeIsNaOH/choco that referenced this issue Apr 24, 2024
This logs the package source uri to info before downloading nupkgs
during both install and upgrade. Additionally, it debug logs the
download URI that the nupkg available at.

The information outputs for both individual package installs/upgrades,
and for dependencies that get installed/upgraded by their parent
package. This information is especially useful when multiple sources
are in play, so the user can determine where individual packages
are coming from.
gep13 added a commit that referenced this issue Apr 24, 2024
…play

(#1485) Display package source during install/upgrade
@gep13 gep13 added 4 - Done and removed 3 - Review labels Apr 24, 2024
gep13 added a commit that referenced this issue Apr 30, 2024
This commit adds the attributes to make the tests only execute on
Windows.  Given the usage of file:// which is a Windows only construct,
these tests will never work on non-Windows.  The check that is being
done is a simple sanity check that the output is being created, so
running this only for Windows is enough.
@gep13 gep13 changed the title FEATURE REQUEST: display source URL on package dl when multiple sources detected Display URL of source used to download package during install/upgrade May 24, 2024
@pauby pauby changed the title Display URL of source used to download package during install/upgrade Add the source URL where the package was downloaded from, to the output of the install, and upgrade command May 28, 2024
@gep13 gep13 changed the title Add the source URL where the package was downloaded from, to the output of the install, and upgrade command Add the source URL where the package was downloaded from, to the output of the choco install and choco upgrade commands May 30, 2024
@choco-bot
Copy link

🎉 This issue has been resolved in version 2.3.0 🎉

The release is available on:

Your GitReleaseManager bot 📦 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Released Improvement Requires NuGet.Client Change This issue requires a modification to something in referenced NuGet.Client library.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants