Commit Graph

578 Commits (621ad44ca174f74fe59145d2b4aa43117e42214a)

Author SHA1 Message Date
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
Oleg Nenashev f58b287278 Streamline assembly versions (#153)
* Align all component versions to 2.0.*
* Enable patching of assemblies in AppVeyor

* Fix the slash

* And escaping...
2016-12-06 23:54:37 +01:00
Oleg Nenashev 030536c497 Merge pull request #147 from kohsuke/dotNet4_executable
Provide the new .NET4-compatible executable
2016-12-06 23:25:47 +01:00
Oleg Nenashev f21f82dfc0 Rename executables being generated during the build 2016-12-06 23:21:21 +01:00
Oleg Nenashev 109e34045a Delete app.config from the ServiceWrapper_dotNET4 project 2016-12-04 12:33:06 +01:00
Oleg Nenashev 071afc3e6b .NET4 - Document supported .NET versions in README.md (solves #102) 2016-12-04 12:20:54 +01:00
Oleg Nenashev 3efd86a27f .NET4 - Add the WinSW binary to AppVeyor artifacts 2016-12-04 12:10:02 +01:00
Oleg Nenashev 191040a890 .NET4 - Create a new binary project for the WinSW .NET4 binary 2016-12-04 12:07:48 +01:00
Oleg Nenashev 6c0f6d1f7a Fixes #142 - Deploy the automatic build on Appveyor (#144)
* First configuration stub

* Get rid of the old winsw_cert.pfx references, adjust docs

* Fix the corrupted log4net reference, we use 2.0.3

* Generate stub SNK file

* Signing: Try full SDK path to generate SNKs

* Fix the path

* Signing: Sign all assemblies being packed into WinSW

* Tests: Try enabling tests

* Tests and artifacts: Use absolute paths

* Artifact path must be relative

* The test DLL is the NUnit one

* nunit-console does not require loggers

* NUnit: Try picking all DLLs in the output folder

* NUnit console: No wildcards

* Tests: Fix the test project to make it properly working with the new project structure

* Docs: Clarify the specifics of external extension usage

* Add AppVeyor badge to README.md
2016-12-04 09:34:19 +01:00
Oleg Nenashev 871afa0f2c Generalize top-level logging. All exceptions will be written to loggers 2016-12-03 15:40:20 +01:00
Oleg Nenashev 641adb4e0a Extension configuration failure should be logged as fatal 2016-12-03 15:11:24 +01:00
Oleg Nenashev 449110f87f Docs: fix the link in extensions.md 2016-12-02 15:05:15 +01:00