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

Introduce the Download#FailOnError option. #195

Merged

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Feb 26, 2017

This change allows preventing the executable start if the requested file cannot be downloaded. It also adds logging of download operations to the wrapper log.

  • Code
  • Test
  • Documentation

The approach still needs to be finalized, because FailOnError does not propagate errors to the start command (as all other similar commands)

CC @nightman68 I just decided to write it in order to provide an example. If you want, I can integrate your auth proposals in the same way.

The change also adds logging of download operations to the wrapper log
@nightman68
Copy link
Contributor

Hi Oleg,

I updated the pull request. Have a look to it and give me a hint how to proceed.

Conflicts:
	src/Core/WinSWCore/Download.cs
	src/Test/winswTests/Util/ConfigXmlBuilder.cs
@oleg-nenashev
Copy link
Member Author

@nightman68 FYI will merge it to the master and then refactor and finalize both changes

@oleg-nenashev oleg-nenashev merged commit f0770a0 into winsw:master Apr 11, 2017
@nightman68
Copy link
Contributor

Sounds good 👍

Waiting that it is integrated in Jenkins LTS.

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

Successfully merging this pull request may close these issues.

3 participants