Commit Graph

539 Commits (5fcfe177af58385f373fe3f8515e5cf7f3c02d30)

Author SHA1 Message Date
Oleg Nenashev 649bb96222 Issue #176 - Attach allOptions sample as a reference config to the NuGet package (#177)
* Issue #176 - Attach allOptions sample as a reference config to the NuGet package

* Issue #176 - Fix the file format
2016-12-29 14:02:23 +01:00
Oleg Nenashev 71dfc0b291 Merge pull request #175 from oleg-nenashev/TimeSpan_settings_parsing
Fix #159 - Time span settings parsing
2016-12-29 14:02:08 +01:00
Oleg Nenashev 9399544ef5 Fix #159 - Streamline TimeSpan parsing logic, get rid of the buggy code 2016-12-29 11:02:24 +01:00
Oleg Nenashev fca428d351 Issue #159 - reproduce issue in tests 2016-12-29 10:49:42 +01:00
Oleg Nenashev 806c945d65 Issue #159 - Add tests for TimeSpan fields 2016-12-29 00:13:56 +01:00
Oleg Nenashev 9181894e52 Add A ConfigXmlBuilder test utility class 2016-12-29 00:13:17 +01:00
Oleg Nenashev 098046c8e1 Merge pull request #173 from oleg-nenashev/bug/Issue_54_EnvVars_IN_EventLog
Fixes #54. Do not dump WinSW environment variables to the Event log
2016-12-27 17:16:59 +01:00
Oleg Nenashev 852b8b61e1 Merge pull request #172 from oleg-nenashev/Issue_59_SystemShutdownOnProcessKill
Issue #59 - Prevent failure when Child processes cannot be retrieved due to the system shutdown
2016-12-27 17:16:50 +01:00
Oleg Nenashev ece313e28e Merge pull request #170 from oleg-nenashev/sample-config-file
Provide WinSW configuration samples
2016-12-27 17:16:38 +01:00
Oleg Nenashev d702f9eefe Fixes #54. Do not dump WinSW environment variables to the Event log 2016-12-24 21:56:51 +01:00
Oleg Nenashev 10bcbde081 Issue #59 - Prevent failure when Child processes cannot be retrieved due to the system shutdown 2016-12-24 21:40:57 +01:00
Oleg Nenashev 5622dfb175 Issue #170 - Add reference to the configuration samples to the XML Config page 2016-12-23 22:51:46 +01:00
Oleg Nenashev d28e6f3c60 Issue #170: Enable publishing of samples as AppVeyor artifacts 2016-12-23 22:47:05 +01:00
Oleg Nenashev 47716160d9 Issue #170 - Also provide a minimal configuration file 2016-12-23 22:43:40 +01:00
Oleg Nenashev ef0d9f6aca Issue #170 - Adjust the configuration example file name 2016-12-23 22:34:02 +01:00
Oleg Nenashev c0d2d0b6e3 Tests: Add ExamplesTests and fix the issues in the code 2016-12-23 22:30:15 +01:00
Oleg Nenashev 4db3266125 Tests: Add the ServiceDescriptorAssert class.
The class provides basic logic for analyzing parameters
2016-12-23 22:29:24 +01:00
Oleg Nenashev 67bfc6bcd2 Fix #171 - Handle stopexecutable as an optional property in ServiceDescriptor
Tests will be pushed later
2016-12-23 22:24:24 +01:00
Oleg Nenashev 14f32cd309 Decouple Default Settings to a separate publicly accessible class.
Required for tests.
2016-12-23 21:18:59 +01:00
Oleg Nenashev 413e24ebeb Remove the obsolete configuration sample from the ServiceWrapper project 2016-12-23 12:54:59 +01:00
Oleg Nenashev db8c6ec6f2 Issue #154 - Provide a sample configuration file with all options and documentation 2016-12-23 12:53:33 +01:00
Oleg Nenashev ab51b50d85 Issue #85 - Get rid of the deprecated FileHandle API (#167) 2016-12-22 23:40:44 +01:00
Oleg Nenashev 0c8a5e6ee0 Changelog: Noting #165, #166, and #162 towards 2.0 2016-12-21 00:06:09 +01:00
iforapsy 28917c44d6 Do not propagate exceptions from Process.Kill() if the process actually exits (#166)
* Ignore more exceptions from Process.Kill()

Sometimes we get an InvalidOperationException when we kill a process that is already dead and other times we get a Win32Exception. Let's ignore all exceptions from killing a process if it has exited.

* Fix key name typo in README.md

The name of the key has an underscore, not a hyphen.
2016-12-20 15:20:08 +01:00
Oleg Nenashev 099c41f19d Merge pull request #165 from oleg-nenashev/bug/Issue164_UninstallLogging
Issue #146 - Improve logging of the Uninstall Operation.
2016-12-17 17:13:01 +01:00
Oleg Nenashev 3c6d8e2765 Issue #146 - Improve logging of the Uninstall Operation.
This change does not change the behavior (return code, etc.) of the WinSW logic, but on the other hand it provides diagnostic information.
2016-12-14 18:16:56 +01:00
Oleg Nenashev e18207cdd6 Merge pull request #160 from oleg-nenashev/master
Documentation updates towards 2.0
2016-12-11 20:17:47 +01:00
Oleg Nenashev c55d33b046 Issue #65 - Add NuGet packaging (#161)
* NuGet: Add simple NuGet packaging PoC

* Fix the version definition

* Run PS instead of CMD

* Fix the .NET4 binary reference in the spec

* Publish the NuGet package directly to the root

* Covert ID to uppercase just to follow the common notation

* Use a fixed artifact name to enable the deployment

* NuGet does not support multi-line paragraphs

* Add the NuGet badge
2016-12-11 20:11:16 +01:00
Oleg Nenashev 98f32e1b51 Merge pull request #162 from oleg-nenashev/Maven-POM
Maven POM update towards 2.0
2016-12-11 11:41:18 +01:00
Oleg Nenashev 9c13374d53 Issue #80 - Maven builds now picks releases from GitHub and verifies WinSW versions 2016-12-10 02:35:21 +01:00
Oleg Nenashev 6c44bfe28b POM.xml: Add project URL and information about the maintainer and CI 2016-12-10 02:15:34 +01:00
Oleg Nenashev e0668a2530 Move pom.xml to the top level, use GitHub releases as a source 2016-12-10 02:07:42 +01:00
Oleg Nenashev 19268c61fe Slightly update the release source mentions, reference NuGet 2016-12-10 01:43:04 +01:00
Oleg Nenashev 76ff00b7da Fixes #152 - Add disclaimer about Strong name security 2016-12-10 01:40:04 +01:00
Oleg Nenashev 37d95b725b Improve formatting of the help layout for the status command 2016-12-10 01:31:00 +01:00
Oleg Nenashev 49b5189511 Reference GitHub as a release source 2016-12-09 23:58:28 +01:00
Oleg Nenashev 41dd37f5db Amend the installation guide - patching for .NET4 is no longer required 2016-12-09 22:46:28 +01:00
Oleg Nenashev dd0188a1d4 Add compatibility notes to the documentation 2016-12-09 22:41:06 +01:00
Oleg Nenashev 91cf156fb8 Changelog: some text polishing 2016-12-09 12:45:51 +01:00
Oleg Nenashev ed74b87b9f Changelog: Reflect the current state of the 2.0 release 2016-12-09 12:41:08 +01:00
Oleg Nenashev 56883225eb Update .gitignore and remove the old repositories.config 2016-12-09 02:08:19 +01:00
Oleg Nenashev 12c16e40a7 Logging subsystem refactoring - use log4net (#145)
* Save the progress

* Add log4net Log appender for Windows service events

* Get rid of the IEventLogger API, we use log4net now
2016-12-09 01:41:20 +01:00
Oleg Nenashev 2db4fb2c31 Merge pull request #157 from oleg-nenashev/builder-generalization
AppVeyor Builder generalization
2016-12-09 01:20:21 +01:00
Oleg Nenashev 5041de60a1 Merge pull request #143 from oleg-nenashev/config-error-handling
Improve handling of initialization errors
2016-12-09 01:19:55 +01:00
Oleg Nenashev 1e393f96bc AppVeyor: use relative paths to NUnit test DLLs 2016-12-09 01:16:16 +01:00
Oleg Nenashev bf52683c6c AppVeyor: Do not build feature branches in the PR builder 2016-12-09 01:14:55 +01:00
Oleg Nenashev 8bf6720f7d Merge pull request #155 from beatcracker/patch-1
How to use (Group) Managed Service Accounts
2016-12-09 01:04:44 +01:00
Oleg Nenashev 00d42c4536 Handover Version control to AppVeyor jobs (#156)
In order to maintain Release and Snapshot versions on AppVeyor, I had to create two separate jobs on it. These jobs utilise the same config, but actually they only specify different version formats.

* Release job: `2.0.{build}`
* Snapshot & PR builder: 2.0-SNAPSHOT-build{build}

Maybe it's not the best practice
2016-12-09 01:03:16 +01:00
beatcracker 738ce95804 How to use (Group) Managed Service Accounts 2016-12-08 19:10:20 +03:00
Oleg Nenashev ab4a5c512e Use a SNAPSHOT build version by default 2016-12-07 00:02:54 +01:00