Skip to content

Commit

Permalink
Merge branch 'release/1.1.0b0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
agates committed Jan 18, 2022
2 parents 61840d8 + 0cf254b commit 79c48f9
Show file tree
Hide file tree
Showing 20 changed files with 575 additions and 309 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
33 changes: 21 additions & 12 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,19 @@ Example with default localhost:9999 settings:
```
podping --hive-account <your-hive-account> --hive-posting-key <your-posting-key> server
2021-08-30T00:38:58-0500 | INFO | podping 1.0.0a0 starting up in server mode
2021-08-30T00:39:00-0500 | INFO | Podping startup sequence initiated, please stand by, full bozo checks in operation...
2021-08-30T00:39:01-0500 | INFO | Testing Account Resource Credits - before 24.88%
2021-08-30T00:39:02-0500 | INFO | Transaction sent: 39c2a396784ba6ba498cee3055900442953bb13f - JSON size: 204
2021-08-30T00:39:02-0500 | INFO | Testing Account Resource Credits.... 5s
2021-08-30T00:39:17-0500 | INFO | Testing Account Resource Credits - after 24.52%
2021-08-30T00:39:17-0500 | INFO | Capacity for further podpings : 68.5
2021-08-30T00:39:19-0500 | INFO | Transaction sent: 39405eaf4a522deb2d965fc9bd8c6b92dca44786 - JSON size: 231
2021-08-30T00:39:19-0500 | INFO | Startup of Podping status: SUCCESS! Hit the BOOST Button.
2021-08-30T00:39:19-0500 | INFO | Hive account: @podping.test
2021-08-30T00:39:19-0500 | INFO | Running ZeroMQ server on 127.0.0.1:9999
2021-08-30T00:39:19-0500 | INFO | Status - Hive Node: <Hive node=https://api.deathwing.me, nobroadcast=False> - Uptime: 0:00:20.175997 - IRIs Received: 0 - IRIs Deduped: 0 - IRIs Sent: 0
2022-01-17T13:16:43+0200 | INFO | podping 1.1.0a1 starting up in server mode
2022-01-17T13:16:44+0200 | INFO | Podping startup sequence initiated, please stand by, full bozo checks in operation...
2022-01-17T13:16:45+0200 | INFO | Testing Account Resource Credits - before 99.73%
2022-01-17T13:16:48+0200 | INFO | Calculating Account Resource Credits for 100 pings: 8.55% | Capacity: 1,169
2022-01-17T13:16:49+0200 | INFO | Configuration override from Podping Hive: hive_operation_period=30 max_url_list_bytes=8000 diagnostic_report_period=180 control_account='podping' control_account_check_period=180 test_nodes=('https://testnet.openhive.network',)
2022-01-17T13:16:51+0200 | INFO | Lighthive Node: https://api.hive.blog
2022-01-17T13:16:51+0200 | INFO | JSON size: 179
2022-01-17T13:16:51+0200 | INFO | Startup of Podping status: SUCCESS! Hit the BOOST Button.
2022-01-17T13:16:53+0200 | INFO | Lighthive Fastest: https://api.deathwing.me
2022-01-17T13:16:53+0200 | INFO | Hive account: @podping.bol
2022-01-17T13:16:53+0200 | INFO | Running ZeroMQ server on 127.0.0.1:9999
2022-01-17T13:16:54+0200 | INFO | Lighthive Fastest: https://api.deathwing.me
2022-01-17T13:16:54+0200 | INFO | Status - Uptime: 0:00:10 | IRIs Received: 0 | IRIs Deduped: 0 | IRIs Sent: 0 | last_node: https://api.deathwing.me
```

**Usage**:
Expand Down Expand Up @@ -79,6 +80,12 @@ podping --hive-account <your-hive-account> --hive-posting-key <your-posting-key>
2021-08-30T00:14:37-0500 | INFO | Transaction sent: c9cbaace76ec365052c11ec4a3726e4ed3a7c54d - JSON size: 170
```

Adding a Medium and Reason:
```
podping --hive-account <your-hive-account> --hive-posting-key <your-posting-key> --no-dry-run --no-sanity-check write https://3speak.tv/rss/podping.xml --medium video --reason update
```


Or add `--dry-run` to test functionality without broadcasting:
```
podping --hive-account <your-hive-account> --hive-posting-key <your-posting-key> --dry-run --no-sanity-check write https://www.example.com/feed.xml
Expand All @@ -101,4 +108,6 @@ $ podping write [OPTIONS] IRI...

**Options**:

* `--medium TEXT`: The medium of the feed being updated. Must be one of the following: audiobook music podcast video newsletter blog film [env var: PODPING_MEDIUM; default: podcast]
* `--reason TEXT`: The reason the feed is being updated. Must be one of the following: update live [env var: PODPING_REASON; default: update]
* `--help`: Show this message and exit.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ def __init__(self, d):

@property
def capnpy_options(self):
return {}
return {
"convert_case": False, # do NOT convert camelCase to camel_case
}

@property
def ext_modules(self):
Expand Down
135 changes: 47 additions & 88 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 79c48f9

Please sign in to comment.