Skip to content

Commit 3ec83fb

Browse files
authored
Merge pull request #116 from guydavis/integration
Version 0.4.0
2 parents e86c221 + 3118b12 commit 3ec83fb

File tree

177 files changed

+9230
-1429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+9230
-1429
lines changed

.github/CONTRIBUTING.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
## Help us to help you!
2+
3+
Thank you for taking the time to contribute!
4+
5+
* [Suggesting a feature](#suggesting-a-feature)
6+
* [Filing a bug report](#filing-a-bug-report)
7+
* [Submitting a pull request](#submitting-a-pull-request)
8+
9+
## Suggesting a feature
10+
11+
We can't think of everything. If you've got a good idea for a feature, then please let us know!
12+
13+
Feature suggestions are embraced, but will often be filed for a rainy day. If you require a feature urgently it's best to write it yourself. Don't forget to share ;)
14+
15+
When suggesting a feature, make sure to:
16+
17+
* Check the code on GitHub to make sure it's not already hiding in an unreleased version ;)
18+
* Considered if it's necessary in the library, or is an advanced technique that could be separately explained in wiki documentation.
19+
* Check existing issues, open and closed, to make sure it hasn't already been suggested
20+
21+
## Filing a bug report
22+
23+
If you're having trouble with Machinaris try asking on our Discussions (https://github.com/guydavis/machinaris/discussions) or Discord (https://discord.gg/mX4AtMTt87). Feel free to submit fixes for documentation too, not just bugs!
24+
25+
If all else fails then please raise an Issue to let us know. Be as detailed as possible, and be ready to answer questions when we get back to you. Make sure you include your system setup:
26+
27+
- OS: [e.g. Ubuntu, Windows, MacOS, Unraid, etc]
28+
- Docker version number (output of `docker info`)
29+
- Machinaris branch: main/test/develop (you're probably on main)
30+
- Machinaris version number (see bottom of every Machinaris page)
31+
32+
## Submitting a pull request
33+
34+
If you've decided to fix a bug, even something as small as a single-letter typo then great! Anything that improves the code/documentation for all future users is warmly welcomed.
35+
36+
If you decide to work on a requested feature it's best to let us (and everyone else) know what you're working on to avoid any duplication of effort. You can do this by replying to the original Issue for the request.
37+
38+
If you want to contribute an example; go for it! We might not always be able to accept your code, but there's a lot to be learned from trying anyway and if you're new to GitHub we're willing to guide you on that journey.
39+
40+
When contributing a new example or making a change to a library please keep your code style consistent with ours. We try to stick to the pep8 guidelines for Python (https://www.python.org/dev/peps/pep-0008/).
41+
42+
#### Do
43+
44+
* Do fork the project and work off the `integration` branch.
45+
* Do use pep8 style guidelines
46+
* Do comment your code where necessary
47+
* Do submit only a single example/feature per pull-request
48+
* Do include a description of what your change is expected to do
49+
* Do include the new API calls by updating the Postman collection
50+
51+
#### Don't
52+
53+
* Don't include any separate license information in your change - our repo is Apache licensed
54+
* Don't try to do too much at once - submit one feature/fix at a time, and be receptive to feedback
55+
56+
### Licensing
57+
58+
When you submit code to our libraries, you implicitly and irrevocably agree to adopt the associated licenses. You should be able to find this in the file named `LICENSE`.
59+
60+
We use the Apache license; which permits Commercial Use, Modification, Distribution and Private use of our code, and therefore also your contributions. It also provides good compatibility with other licenses, and is intended to make re-use of our code as painless as possible for all parties.
61+
62+
You can learn more about the Apache license: https://www.apache.org/licenses/LICENSE-2.0
63+
64+
### Submitting your code
65+
66+
Once you're ready to share your contribution with us you should submit it as a Pull Request.
67+
68+
* Be ready to receive and embrace constructive feedback.
69+
* Be prepared for rejection; we can't always accept contributions. If you're unsure, ask first!
70+
71+
## Thank you!
72+
73+
If you have any questions, concerns or comments about these guidelines, please get in touch.
74+
75+
-- Guy Davis - 2021-06-21
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
**Should I file this?**
12+
Use this template to report *observed bugs in current Machinaris*. Do not use this to request tech support or troubleshooting; we are unable to provide that support here, so please use the user channel(s) on Discord, or GitHub Discussions instead.
13+
-->
14+
15+
**Describe the bug**
16+
<!-- A clear and concise description of what the bug is. -->
17+
18+
**To Reproduce**
19+
20+
Steps to reproduce the behavior, e.g.:
21+
1. Set up config with '...'
22+
2. Run other programs '....'
23+
3. Run Machinaris with '....'
24+
4. See error
25+
26+
**Expected behavior**
27+
<!-- A clear and concise description of what you expected to happen, even if it seems obvious. -->
28+
29+
**System setup:**
30+
- OS: [e.g. Ubuntu, Windows, MacOS, Unraid, etc]
31+
- Docker version number (output of `docker info`)
32+
- Machinaris branch: main/test/develop (you're probably on main)
33+
- Machinaris version number (see bottom of every Machinaris page)
34+
35+
**Config**
36+
<details><summary>full configuration</summary>
37+
38+
```
39+
# paste your Docker run or Docker compose here
40+
```
41+
42+
</details>
43+
44+
**Additional context & screenshots**
45+
<!-- Add any other context about the problem here, including full page screenshots. -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
contact_links:
2+
- about: Ask a general question or request support in Discussions
3+
name: Ask for Support
4+
url: >-
5+
https://github.com/guydavis/machinaris/discussions/new
6+
- about: Get support in the Machinaris Discord.
7+
name: Join the Machinaris Discord Server
8+
url: 'https://discord.gg/mX4AtMTt87'

.github/ISSUE_TEMPLATE/request.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Log a request for a new feature or enhancement
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the request**
11+
<!-- A clear and concise description of your suggested enhancement, as well as some basic rationale to allow us to balance the effort/reward for the work, if possible. -->
12+
13+
**Images**
14+
<!-- If applicable (but not required), add diagrams or wireframes to help explain your request if it is UI/UX related. -->
15+
16+
**Additional comments**
17+
<!-- Add any other comments here. -->

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Please develop and target PRs against the integration branch, not main. -->

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [ main, integration ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
19+
branches: [ main, integration ]
2020
schedule:
2121
- cron: '25 23 * * 1'
2222

.github/workflows/develop.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ jobs:
3636
uses: docker/build-push-action@v2
3737
with:
3838
context: .
39-
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6
39+
platforms: linux/amd64
4040
push: true
4141
build-args: |
4242
"CHIA_BRANCH=1.1.7"
43+
"PATCH_CHIAPOS=true"
4344
tags: |
4445
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop
4546
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop

.github/workflows/test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,4 @@ jobs:
4444
"PATCH_CHIAPOS=true"
4545
tags: |
4646
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test
47-
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}
4847
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test
49-
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,8 @@ dmypy.json
129129
.pyre/
130130

131131
# Development only webui launch script
132-
start-webui-dev.sh
133-
keyfile
132+
scripts/start-api-dev.sh
133+
scripts/start-web-dev.sh
134+
135+
# Ignore any local SSH keys
136+
keyfile

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [0.4.0] - 2021-06-25
6+
7+
- Support for [Madmax plotter](https://github.com/madMAx43v3r/chia-plotter), in addition to official [Chia plotter](https://github.com/Chia-Network/chia-blockchain).
8+
- Manage multiple plotters, harvesters, and farmers across your LAN, all from a [single WebUI on one controller system](https://github.com/guydavis/machinaris/wiki/Workers).
9+
10+
511
## [0.3.2] - 2021-06-06
612

713
- Include the just released Chia 1.1.7. For details, see their [changelog](https://github.com/Chia-Network/chia-blockchain/blob/1.1.7/CHANGELOG.md#117-chia-blockchain-2021-06-05).

0 commit comments

Comments
 (0)