Skip to content

Commit 786e4de

Browse files
committed
First version, based on https://github.com/adesutherland/HercControl, simplified and rewritten in Python with no dependencies.
0 parents  commit 786e4de

File tree

10 files changed

+624
-0
lines changed

10 files changed

+624
-0
lines changed

.flake8

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[flake8]
2+
extend-exclude =
3+
.git,
4+
__pycache__,
5+
.venv,
6+
extend-ignore =
7+
E203,
8+
E501,
9+
max-line-length = 120

.github/workflows/on_push.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test PyHercControl
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
# Test the tool
8+
test:
9+
name: Test
10+
runs-on: [ubuntu-latest]
11+
# container: rosspatterson/vm370:builder
12+
services:
13+
vm370:
14+
image: rosspatterson/vm370:latest
15+
ports:
16+
- 8038:8038
17+
steps:
18+
- name: Checkout source
19+
uses: actions/checkout@v4
20+
with:
21+
persist-credentials: false
22+
23+
- name: Run tests
24+
run: |
25+
chmod +x PyHercControl/src/herccontrol PyHercControl/tests/basictest.sh
26+
cp PyHercControl/src/herccontrol .
27+
./herccontrol -v
28+
./herccontrol -h
29+
# (cd /opt/hercules/vm370 ; hercules -f hercules.conf -d &)
30+
# sleep 15
31+
./PyHercControl/tests/basictest.sh
32+
shell: bash

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <https://unlicense.org>

0 commit comments

Comments
 (0)