Commit Graph

176 Commits (e8f9564275c4fa4bcc941116fcffb398fed281ab)

Author SHA1 Message Date
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 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 62b495f088 Merge pull request #133 from oleg-nenashev/processTerminationOnStartup
[Issue #125] Runaway process termination on startup
2016-12-01 08:03:27 +01:00
Oleg Nenashev 92367f44ef RunawayProcessKillerExtension: Check if the environment variable refers service Id before terminating it 2016-11-30 12:37:07 +01:00
Oleg Nenashev 5e835479ae Generalize usage of System environment variables for processes 2016-11-30 12:36:03 +01:00
Oleg Nenashev 2a07f6af5d Address another Milliseconds misusage (similar to #124) 2016-11-26 23:18:03 +01:00
Oleg Nenashev dfafc2790d [Issue #124] - Prevent the CPU overutilization due to the usage of Milliseconds instead of TotalMsec 2016-11-26 23:16:33 +01:00
Oleg Nenashev 0a59da5f98 [Issue #125] - Introduce the RunawayProcessKiller extension 2016-11-26 22:35:34 +01:00
Oleg Nenashev 24a5e93b67 Decouple Some process management logic to a standalone ProcessHelper class 2016-11-26 21:37:53 +01:00
Oleg Nenashev 535e8429e0 Add extension point for tracking process startup and termination in extensions 2016-11-26 20:43:39 +01:00
Oleg Nenashev 80295db8d7 Merge branch 'master' into winsw-2.0
Conflicts:
	winsw.csproj
2016-11-10 13:25:42 +01:00
Oleg Nenashev e24ef76aa0 Fixed the extension classname in the SharedDirectoryMapper example 2015-06-25 15:38:35 +01:00
Oleg Nenashev 53ba5810a6 Strong name signing of merged assemblies.
The initial implementation was generating unsigned assemblies. ServiceWrapper/winsw.csproj has been reworked to sign merged all assemblies automatically.
The current implementation requires winsw_key.snk instead of the encrypted key with a password.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-08 14:28:16 +03:00
Oleg Nenashev fb8dd8a15f Merge log4net.dll into the output DLL
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-08 14:28:15 +03:00
Oleg Nenashev 1f6542e171 saved the progress
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-08 14:28:15 +03:00
Oleg Nenashev 8a5a1dd10d Integrate log4net dependency into WinSWCore
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-08 14:28:15 +03:00
Oleg Nenashev 3af1f72658 Support merging plugins into winsw.exe executable
* Decouple Core components into WinSWCore projects.
* Use ILMerge to merge everything (inc. Plugins) into a single executable

TODO: API Should be refactored before the publishing
TODO: check signing procedure

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

Conflicts:
	src/Core/ServiceWrapper/winsw.csproj

Conflicts:
	src/Core/ServiceWrapper/Main.cs
	src/winsw.sln
2015-02-08 14:28:15 +03:00
Oleg Nenashev 2546168ed3 Integrate changes in WinSW core and SharedDirectoryMapper from #42
The code is compilable, the SharedDirectoryMapper won't be included into WinSW

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

Conflicts:
	src/Core/ServiceWrapper/Main.cs

Conflicts:
	src/Core/ServiceWrapper/ServiceDescriptor.cs
	src/Test/winswTests/winswTests.csproj
	src/winsw.sln
2015-02-08 13:53:26 +03:00
Oleg Nenashev 4a2249d30c Merge branch 'master' into winsw-2.0
Conflicts:
	src/Core/ServiceWrapper/Main.cs
	src/Test/winswTests/winswTests.csproj

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-08 13:44:30 +03:00
Oleg Nenashev 98268b24cc Integrate log4net into WinSW, migrate wrapper.log engine
TODOs:
    Migrate EventLogs to log4net
    Delegate exceptions handling to log4net
    Allows setting up log levels from ServiceDescriptor
    (?) Migrate STDERR/STDOUT logs to log4net
    (?) Support XML configurations of log4net loggers

Related to #69

Signed-off-by: Oleg Nenashev o.v.nenashev@gmail.com
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-02 10:41:54 +03:00
Oleg Nenashev 912e6ddd4f [FIXED #72] - Rework the solution to use NuGet package manager
* Use NuGet to retrieve package dependencies. Resolves #72
* Get rid of the built-in NUnit library in winswTests

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 15:12:46 +03:00
Oleg Nenashev 51d1a8e8af Rework the project structure.
* move WinSW core to a separate folder
* create scr on the top level to store all the stuff inside
Related to #66

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 14:40:52 +03:00