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

Feature Proposal : Fetcher Configuration #996

Closed
wants to merge 1 commit into from

Conversation

xjrc
Copy link
Member

@xjrc xjrc commented May 27, 2016

The changes in this pull request add preliminary support for configuring the utilities that Spack uses in order to fetch archives from the web. This preliminary support includes the following features:

  • The addition of fetchers.yaml as the recognized configuration file for Spack fetchers.
  • The show_status configuration option, which can be used to specify whether or not Spack displays a progress bar when downloading archives (useful since the progress bar for curl is broken in many environments).

I'm hoping to extend this set of configuration options sometime soon to make it possible to configure Spack's default archive fetcher (i.e. adding an option like fetcher: (curl|wget|...)). Other configuration options could also be added to solve the problems discussed in #69 and #895.

Please let me know if there are any problems with this implementation or any improvements that I can make to it!

Implemented the 'show_status' fetcher flag, which allows the user to customize the appearance of the status bar when fetching packages (defaults to true).
@xjrc
Copy link
Member Author

xjrc commented Sep 2, 2016

Oddly, upgrading the major version of my OS seems to have solved the problems I was having with the curl fetcher. Since it looks like workarounds for this type of problem are going to be very different than this solution anyway, I'm going to close this PR.

@xjrc xjrc closed this Sep 2, 2016
olupton pushed a commit to olupton/spack that referenced this pull request Feb 7, 2022
Co-authored-by: Jaquier Aurélien Tristan <aurelien.jaquier@epfl.ch>
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

Successfully merging this pull request may close these issues.

None yet

1 participant