Apache License 2.0

项目介绍

morganstanley/winss 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前获得 54 个 Star、5 次 Fork。

仓库全名
morganstanley/winss
开源许可证
Apache License 2.0
Star 数
54
Fork 数
5

README 摘要

Windows Supervision Suite (winss) winss is a small suite of tools for Windows that is designed to be as close to its counterpart S6 as possible using native Windows features. It's core function is to allow process supervision but it provides tools to supervise a collection of processes, handle logging, and also administration. Using this framework it is simple to handle complex scenarios with little code such as…

完整内容见 GitHub 原始 README 或本页 。

常见问题

winss 用什么语言开发?

主要使用 C++ 编写,采用 Apache License 2.0 许可证,目前有 54 个 Star。

winss 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 winss 的源码?

可以直接克隆仓库:git clone https://github.com/morganstanley/winss.git,默认分支为 main;安装与运行步骤见仓库 README。

winss 最近还在维护吗?

仓库最近一次更新为 2022年9月26日,当前没有未关闭的 Issue;Star 数为 54,可作为社区活跃度的参考。

关于

A supervision suite for Windows

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
65
价值分
34
活跃状态
归档

语言占比

C
C++
Lua
PowerShell

Release

README

Windows Supervision Suite (winss)

Lifecycle Archived License

winss is a small suite of tools for Windows that is designed to be as close to its counterpart S6 as possible using native Windows features. It’s core function is to allow process supervision but it provides tools to supervise a collection of processes, handle logging, and also administration.

Using this framework it is simple to handle complex scenarios with little code such as adding/removing services and starting/stopping services in a particular sequence. There is no requirement to change an application to handle events like traditional Windows services. winss can handle simple console applications the way it should have been.

Documentation

You will find documentation for using winss on the Read the Docs site.

Getting Started for Developers

These instructions will get you a copy of winss up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy winss on a live system.

Prerequisites

The following are required to build and test winss.

Installing

A step by step guide for getting winss development environment running.

  1. Fork the winss repo.
  2. Clone the forked copy using git clone https://github.com/username/winss.git
  3. Run premake5 vs2015 in the src folder.
  4. Open The WindowsSupervisionSuite.sln in Visual Studio.
  5. Build Debug or Release.
Optional

Using an elevated command prompt:

  1. choco install opencppcoverage
  2. pip install cpplint

Running the tests

In the build\bin\x64\Debug directory there will be a winss-test.exe. Details on the command line options can be found here.

With code coverage

To run with code coverage then use OpenCppCoverage.exe installed as part of the optional prerequisites.

OpenCppCoverage.exe --modules=winss --sources=lib\winss\* --export_type=cobertura:build\coverage.xml -q -- build\bin\x64\Debug\winss-test.exe --gtest_output=xml:build\testresults.xml

There is a powershell script that can automate this for you:

powershell .\tools\Run-Tests.ps1

Check code style

winss follows the Google C++ Style Guide. To check then use cpplint

cpplint --extension=hpp,cpp --headers=hpp --filter=-build/c++11 <filename>

Or use the powershell script with an optional filename:

powershell  .\tools\Run-Lint.ps1 [FILENAME]

Deployment

These instructions will get you a copy of winss up and running on your local machine using a production version.

Prerequisites

  1. Visual C++ Redistributable for Visual Studio 2015 needs to be installed.

Installing

Download the latest Release build to your local system and add the directory to the %PATH%.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the Apache License - see the LICENSE.md file for details

评论

暂无评论