Commit Graph

176 Commits (e24ef76aa02bb34c620e99e12042e877c90f6e6d)

Author SHA1 Message Date
Oleg Nenashev e24ef76aa0 Fixed the extension classname in the SharedDirectoryMapper example 2015-06-25 15:38:35 +01:00
Oleg Nenashev 2dc80e57b4 Merge pull request #74 from oleg-nenashev/winsw-2.0-extensions
[WiP] - WinSW Extensions Engine
2015-02-16 21:50:40 +03: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 1b0fd89f10 Added some info about the project status 2015-02-04 15:18:01 +03:00
Oleg Nenashev 0c20961c21 Merge pull request #82 from oleg-nenashev/issue-55
Better diagnosis in install and uninstall commands
2015-02-03 00:07:59 +03:00
Oleg Nenashev 95c9c23f59 Merge pull request #81 from oleg-nenashev/winsw-help-commands
Add "version" and "help", handle unsupported commands
2015-02-03 00:07:40 +03:00
Oleg Nenashev 3ae6ffaa47 Add "version" and "help", handle unsupported commands (PR #81)
Changes summary:
* Add "version" and "help" commands
* Return error on the unsupported command
* Add CLITestHelper to simplify the testing of the service CLI
* Add unit-tests for the new functionality

Resolves #78 and #46
Related to #80

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-03 00:05:56 +03:00
Oleg Nenashev 11c98da4d6 Merge pull request #73 from oleg-nenashev/winsw-2.0-logging
Migration of logging handlers to log4net (#69)
2015-02-02 10:43:57 +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 f33ecb1788 Merge pull request #86 from oleg-nenashev/issue-84
Get rid of extra configurations, fix output destinations
2015-02-02 10:15:30 +03:00
Oleg Nenashev c5fd4a7a05 Get rid of extra configurations, fix output destinations
* Win32 is the only supported configurationdue to Win32 API dependencies
* Debug and Release now output the data to different folders

Fixes #84

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-01 17:31:13 +03:00
Oleg Nenashev d430642769 Merge pull request #77 from ebsco/configfilesearchfix3
Fix null exception and throw a FileNotFoundException if xml file is neve...
2015-02-01 15:55:09 +03:00
Oleg Nenashev 804691e95f Better diagnosis in install and uninstall commands
* install - Fail the installation if the service exists
* uninstall - Print warning if the service does not exist

Resolves #55

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-02-01 15:10:00 +03:00
Oleg Nenashev 51e64d1deb Merge pull request #76 from ebsco/pathingfix
Fix needing to call install command from same directory.
2015-02-01 14:55:33 +03:00
Oleg Nenashev 072af36998 Merge pull request #75 from ebsco/FixStartupMode
Add ability to set startup type to XML file
2015-02-01 14:53:55 +03:00
Nicholas Carpenter 91ed4b3184 Fix null exception and throw a FileNotFoundException if xml file is never found 2015-01-31 23:33:27 -05:00
Nicholas Carpenter 76de18b744 Fix needing to call install command from same directory. 2015-01-31 22:51:44 -05:00
Nicholas Carpenter 57b6d2ad48 Add ability to set startup type to XML file 2015-01-31 22:26:03 -05: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
Oleg Nenashev f4c11569cb .gitignore - All user settings
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:51:12 +03:00
Oleg Nenashev b95f6f6d5c Refactoring: Null checks for getters in ServiceDescriptor (broken XmlDocument)
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:38:48 +03:00
Oleg Nenashev 9291ac911c Refactoring - minor cleanup of Main.cs
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 12:18:25 +03:00
Oleg Nenashev 6fcebfa0e2 Refactoring: cleanup the codestyle, convert vars to properties, etc.
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-31 02:26:28 +03:00
Oleg Nenashev 0105fe5214 Merge pull request #70 from ebsco/LogonAsAService
Adding logon as a service right to user account specified in configuration
2015-01-30 23:16:39 +03:00
Nicholas Carpenter 4ce20f5533 Adding logon as a service right to user account specified in configuration 2015-01-30 14:32:10 -05:00
Oleg Nenashev 92459d72dd Descibe the build environment
Follow-up to #62
Also resolves #5
2015-01-28 16:40:12 +03:00
Oleg Nenashev e2246877b0 Merge pull request #62 from kohsuke/MVS2013_Port
Port WinSW to Visual Studio Community 2013
2015-01-26 12:52:50 +03:00
Oleg Nenashev 9f9ad24b16 Next version is 1.17 2015-01-24 01:34:08 +03:00
Oleg Nenashev 005a1fd5b5 Use Release version instead of Debug one.
Resolves https://github.com/kohsuke/winsw/issues/63

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-24 01:23:54 +03:00
Oleg Nenashev 99fb13d41a Switch to the built-in signing procedure.
Each developer will have to specify his own winsw_cert.pfx in the project root.

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-23 15:24:38 +03:00
Oleg Nenashev 45fba7f974 Migrate the project to http://meetings.jenkins-ci.org/jenkins/2015/jenkins.2015-01-21-19.01.log.html
Related to #56

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2015-01-22 10:14:43 +03:00
Oleg Nenashev 67aa8a143c Merge branch 'XmlFix' of https://github.com/PunMaster/winsw
Conflicts:
	ServiceDescriptor.cs

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-29 18:04:50 +03:00
Oleg Nenashev b93e08ee8b Merge pull request #53 from oleg-nenashev/PR_47_refactoring
PR #47 - merged version
2014-11-21 13:17:52 +03:00
Oleg Demchenko a2f4c7fc5b Unit tests for PR #47 and minor refactoring
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:59:29 +03:00
Oleg Demchenko 9a09af2c17 Properly read StopTimeout from configuration.
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:58:52 +03:00
Oleg Demchenko 350fa99749 New option to shutdown parent process first.
Option name = stopparentprocessfirst

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2014-11-02 14:57:25 +03:00
Oleg Nenashev c4336a4713 Merge pull request #48 from BernhardBerbuir/master
Fixed issue #40
2014-11-02 14:28:12 +03:00
Oleg Nenashev 57ba48100f Merge pull request #50 from eel/fix-failure-reset-period
Use total seconds of TimeSpan for reset period
2014-10-09 22:33:44 +04:00
Ryan Finley 60817bcd7a Fixed XML parsing of TimeSpan elements 2014-10-07 08:50:01 -05:00
Stephen Booher bb847a45f7 Use total seconds of TimeSpan for reset period 2014-10-03 13:46:05 -06:00
Kohsuke Kawaguchi 6080007e82 Merge pull request #49 from daniel-beck/JENKINS-10547
[FIXED JENKINS-10547] Don't fail fatally when unable to log event
2014-10-01 11:47:03 -07:00
Daniel Beck 220eff2ac3 [FIXED JENKINS-10547] Don't fail fatally when unable to log event 2014-09-07 01:45:26 +02:00
BernhardBerbuir 13ef886a6e Fixed issue #40 2014-07-08 13:13:45 +02:00