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 ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts #1983

Closed
mkevenaar opened this issue Jan 7, 2020 · 2 comments
Assignees
Milestone

Comments

@mkevenaar
Copy link
Contributor

Inside a package I want to verify if the user uses the exit-on-reboot-detected flag / setting. Currently there is no env variable for it. Is there a way to detect if a user has enabled that feature?

mkevenaar added a commit to mkevenaar/choco that referenced this issue Jan 7, 2020
These changes would allow a package to validate if the user
has set the exit-on-reboot-detected flag or is using the feature
exitOnRebootDetected. This allows a package maintainer to
provide a warning when this is not set.
@ferventcoder ferventcoder changed the title exit-on-reboot-detected environment variable Environment: Add ChocolateyExitOnRebootDetected feature setting to environment variables for packages to inspect May 16, 2020
@ferventcoder ferventcoder added this to the 0.10.16 milestone May 16, 2020
@ferventcoder
Copy link
Member

This is completed for 0.10.16.

@ferventcoder
Copy link
Member

Thank you @mkevenaar!!

ferventcoder pushed a commit that referenced this issue May 16, 2020
These changes would allow a package to validate if the user
has set the exit-on-reboot-detected flag or is using the feature
exitOnRebootDetected. This allows a package maintainer to
provide a warning when this is not set.
ferventcoder added a commit that referenced this issue May 16, 2020
* pr1984:
  (GH-1983) exit-on-reboot-detected environment variable
ferventcoder added a commit that referenced this issue May 16, 2020
* stable:
  (GH-2051) Fix: workingDirectory always replaced w/cacheLocation
  (GH-1983) exit-on-reboot-detected environment variable
  (maint) update resharper settings
  (maint) formatting
johnstevenson added a commit to johnstevenson/choco that referenced this issue Jun 20, 2020
* upstream/master: (21 commits)
  (doc) Changed cla links from clahub to cla-assistant
  (chocolateyGH-2055) remove logs/config folder in nupkg
  (version) 0.10.16-beta
  (chocolateyGH-2023) Install git in the docker container
  (chocolateyGH-1859) Fix error message for missing 32-bit URL
  (chocolateyGH-1859) Fix error message for missing 32-bit URL
  (chocolateyGH-2051) Fix: workingDirectory always replaced w/cacheLocation
  (chocolateyGH-1983) exit-on-reboot-detected environment variable
  (maint) update resharper settings
  (maint) formatting
  (chocolateyGH-1843) Fix: search exact all versions returns 1
  (chocolateyGH-1020) fix build
  (chocolateyGH-1020) Direct platform only for windows tests
  (chocolateyGH-1020) WindowsOnly tests by platform, not ignore
  (chocolateyGH-1020) Docker add ChocolateyInstall Env Var
  (chocolateyGH-1020) Docker use code_drop instead of build_output
  (doc) Update mono installation instructions in README
  (chocolateyGH-1020) Dockerfile and Travis to Mono 5.20.1
  (chocolateyGH-1020) Add mono-4.5 configuration
  Add missing start of comment block
  ...
@gep13 gep13 changed the title Environment: Add ChocolateyExitOnRebootDetected feature setting to environment variables for packages to inspect Add ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts May 18, 2021
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