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

(#886) added support for force and timeout in packages.config file #2187

Merged

Conversation

boussaffawalid
Copy link
Contributor

@boussaffawalid boussaffawalid commented Jan 27, 2021

Added support to timeout and force in packages.config

This is now supported

<package id="packagename" timeout="1000" force="true" />

Relates to #886.

Other PR's will be required to bring in the other options that can then be controlled via the packages.config file.

@CLAassistant
Copy link

CLAassistant commented Jan 27, 2021

CLA assistant check
All committers have signed the CLA.

@ferventcoder
Copy link
Member

Hi @boussaffawalid! Thanks so much for taking the time to improve Chocolatey. It looks like a really good start!

Note that @AdmiringWorm dropped a note in on some work to be done with the code, I'll note that the commit message/body needs to talk about the why of the change. If you haven't read over CONTRIBUTING, please take a look at that to allow this to be easier for us to incorporate the change without a lot of back and forth - especially this section: https://github.com/chocolatey/choco/blob/master/CONTRIBUTING.md#prepare-commits.

Once you've fixed up those sections, also take a look at the rest of the document as it details how to push back the changes on the same branch/commit. Let us know if you have any questions. 👍

docs/generated/CommandsInstall.md Outdated Show resolved Hide resolved
@boussaffawalid boussaffawalid force-pushed the support-more-switches-packages.config branch 2 times, most recently from 3b36038 to 5083bed Compare March 1, 2021 04:14
@gep13 gep13 changed the title (GH-886) added support for force and timeout in packages.config file (#886) added support for force and timeout in packages.config file Oct 14, 2021
@gep13 gep13 linked an issue Oct 15, 2021 that may be closed by this pull request
@TheCakeIsNaOH TheCakeIsNaOH mentioned this pull request Mar 6, 2022
7 tasks
@gep13 gep13 force-pushed the support-more-switches-packages.config branch from 5083bed to 2a08972 Compare August 11, 2022 20:13
@gep13 gep13 changed the base branch from master to develop August 11, 2022 20:13
@coveralls
Copy link

coveralls commented Aug 11, 2022

Coverage Status

Coverage increased (+0.1%) to 28.539% when pulling 867403b on boussaffawalid:support-more-switches-packages.config into 67190e5 on chocolatey:develop.

@gep13 gep13 force-pushed the support-more-switches-packages.config branch from 2a08972 to 09e5826 Compare August 11, 2022 20:26
This commit adds the force and the commandExecutionTimeoutSeconds
attributes to the package element within the packages.config file. These
additional properties will mean that a user will be able to control
these options via the packages.config file when running choco install
packages.config.

Follow up commits will add other attributes to the package element so
that all aspects of the installation can be controlled via the
packages.config file.
@gep13 gep13 force-pushed the support-more-switches-packages.config branch from 09e5826 to 867403b Compare August 11, 2022 20:29
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gep13
Copy link
Member

gep13 commented Aug 11, 2022

The failing build here is due to a known issue with the build running on Ubuntu, so for now, I am going to move forward with the merge.

@gep13
Copy link
Member

gep13 commented Aug 11, 2022

@boussaffawalid thank you for taking the time to raise this PR, and congratulations on your first time contribution to Chocolatey! We really appreciate your help here!

@gep13 gep13 merged commit 2139d2a into chocolatey:develop Aug 11, 2022
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.

Packages.config should include all options (including ignorechecksums)
6 participants