silkaj merge requestshttps://git.duniter.org/clients/python/silkaj/-/merge_requests2022-04-18T16:59:24+02:00https://git.duniter.org/clients/python/silkaj/-/merge_requests/208v0.10.0 stable release2022-04-18T16:59:24+02:00Moulv0.10.0 stable releaseAdd v0.10.0 changelog and announcementAdd v0.10.0 changelog and announcement0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/207#426: Ğ1 monetary license: Drop browser display, languages discovery, class2022-04-06T20:14:52+02:00Moul#426: Ğ1 monetary license: Drop browser display, languages discovery, class- Drop Ğ1 monetary license display in a browser
- Discover available languages of G1 monetary license
- Create `G1MonetaryLicense` class out of existing functions
Close #426.- Drop Ğ1 monetary license display in a browser
- Discover available languages of G1 monetary license
- Create `G1MonetaryLicense` class out of existing functions
Close #426.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/193#409: Improve endpoint determination code layer2022-03-29T20:02:47+02:00Moul#409: Improve endpoint determination code layer- Implement `determine_endpoint()` to replace `Endpoint()`
- It handles custom, default g1 and gtest endpoints
- Read custom endpoints from a regex
- Handle `host`/`ipv4` mixup fix with `ipaddress`
- ipv6 support with brackets
---
- Re...- Implement `determine_endpoint()` to replace `Endpoint()`
- It handles custom, default g1 and gtest endpoints
- Read custom endpoints from a regex
- Handle `host`/`ipv4` mixup fix with `ipaddress`
- ipv6 support with brackets
---
- Rename peer to endpoint:
- option `--peer`/`-p` −> `--endpoint`/`-ep`
- import `sys` and `silkaj.constants` directly
- write tests
Kept the ability of not having click installed
- #354 The tests are difficult to write
Actually, I am not sure if this feature is easy use.
Using Silkaj as lib is kind of difficult since click is
imported in almost every modules
- Introduce `click` context helper
Close #181, #409.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/181Ğ1 monetary license update and license handling refactoring2022-03-28T21:22:24+02:00MoulĞ1 monetary license update and license handling refactoring<!--
> Note: I might still switch back to the packaging with https://git.duniter.org/tools/g1-monetary-license-packager since `subtree` is a bit annoying with all the commits included into Silkaj repository.
-->
- Rename `license-G1` su...<!--
> Note: I might still switch back to the packaging with https://git.duniter.org/tools/g1-monetary-license-packager since `subtree` is a bit annoying with all the commits included into Silkaj repository.
-->
- Rename `license-G1` subtree folder to `g1_monetary_license`
- Update `g1_monetary_license` subtree
- Document g1 monetary license updating process
- Include `g1_monetary_license` files to the package
- Import complete `click` module
- Refactor `license` cmd
Close #221, #308, #392.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/179Bump black to v21.4b2 and allow to install as pre-release2022-03-28T20:03:33+02:00MoulBump black to v21.4b2 and allow to install as pre-releaseotherwise it's not working without the poetry.lockotherwise it's not working without the poetry.lock0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/204#421: wot: Display information for correct identity2022-03-27T10:30:51+02:00Moul#421: wot: Display information for correct identityClose #421.Close #421.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/203Release v0.10.0rc2022-03-21T21:41:42+01:00MoulRelease v0.10.0rc- Add announcement
- Release commit- Add announcement
- Release commit0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/170#89: Implement revocation command2022-03-21T18:48:02+01:00matograine#89: Implement revocation command- create `revocation` command and related `revocation.py` file
- write tests for `revocation.py`
- initiate identity module
- write tests for identity module
Close #89, #413, #416.- create `revocation` command and related `revocation.py` file
- write tests for `revocation.py`
- initiate identity module
- write tests for identity module
Close #89, #413, #416.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/202#134: Add ability to pass a file containing the tx recipients and amounts2022-03-21T08:23:58+01:00Moul#134: Add ability to pass a file containing the tx recipients and amountsIntroduce function to parse the file and compute the values
Comments (#) are ignored
ABSOLUTE/RELATIVE header required to specify the reference
of the specified amounts
Set recipients argument to no longer required, add a check instead...Introduce function to parse the file and compute the values
Comments (#) are ignored
ABSOLUTE/RELATIVE header required to specify the reference
of the specified amounts
Set recipients argument to no longer required, add a check instead
Set file mutuality exclusive with amounts(UD), allsources, and recipients
Update tx cli tests
Add tests
Close #134.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/201#365: Bump copyright to 2022, Bump pre-commit hooks and apply them2022-03-07T20:20:09+01:00Moul#365: Bump copyright to 2022, Bump pre-commit hooks and apply them- Bump copyright to 2022
---
- Specially for insert-license which fixes a bug:
- https://github.com/Lucas-C/pre-commit-hooks/issues/25
- Black is finally released as stable and changes small part of the code
Close #365.- Bump copyright to 2022
---
- Specially for insert-license which fixes a bug:
- https://github.com/Lucas-C/pre-commit-hooks/issues/25
- Black is finally released as stable and changes small part of the code
Close #365.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/200#332: Drop Python v3.6 support, Bump DuniterPy to v1.1.02022-03-07T20:13:19+01:00Moul#332: Drop Python v3.6 support, Bump DuniterPy to v1.1.0- `pyproject`: set minimun Python version to 3.7.0
- Remove `v3.6` test job
- Upgrade pyupgrade to `--py37-plus`
- Bump DuniterPy to v1.1.0
Close #332.- `pyproject`: set minimun Python version to 3.7.0
- Remove `v3.6` test job
- Upgrade pyupgrade to `--py37-plus`
- Bump DuniterPy to v1.1.0
Close #332.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/198#388: Add images generation build automation2021-12-20T19:13:41+01:00Moul#388: Add images generation build automation```bash
Introduce Dockerfiles based on latest Python available
Install silkaj and make it available to the CLI
Two steps: build, copy.
Otherwise, you don’t get Silkaj sources built-in the image
Poetry and pip environment of images build...```bash
Introduce Dockerfiles based on latest Python available
Install silkaj and make it available to the CLI
Two steps: build, copy.
Otherwise, you don’t get Silkaj sources built-in the image
Poetry and pip environment of images builds:
- Pip for direct consumers like DeathReaper
- Poetry for developers, with git in
Manual triggered job to generate the image
Extensible job definition for future usages
Rename stage from `publish` to `package`
Tag images with the commit hash, the branch, and latest
Define python version variable and pass it as an ARG to the builds
Release and `dev` channels and jobs
Tag the image with the git tag when present
```
---
- Set image's timezone to Paris
- For DeathReaper to report the date in Paris timezone and not GMT
- Document Docker images usage
---
Close #388.
---
### Review
If you don’t feel at ease reviewing the CI nor the `Dockerfile`s, you can just test the generated images as documented. That’s fine with me. You can ask questions in the review if you want to learn more how this all works.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/197#374, #414: Introduce Python v3.10 test job, Stop using Poetry lock file2021-11-15T21:57:31+01:00Moul#374, #414: Introduce Python v3.10 test job, Stop using Poetry lock file- Introduce Python v3.10 test job
- Stop using Poetry lock file
Close #374, #414.- Introduce Python v3.10 test job
- Stop using Poetry lock file
Close #374, #414.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/195#194, #376: Use f-string and sys.exit()2021-10-03T09:23:15+02:00Moul#194, #376: Use f-string and sys.exit()- Replace `tools.message_exit()` with `sys.exit()`
- Use `f-string`
Close #194.- Replace `tools.message_exit()` with `sys.exit()`
- Use `f-string`
Close #194.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/196#390: send_document(): Exit the program in case an HTTPError exception is raised2021-10-03T09:08:53+02:00Moul#390: send_document(): Exit the program in case an HTTPError exception is raised- Revert change on `membership` test- Revert change on `membership` test0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/194#410: Remove asyncio2021-09-26T13:31:40+02:00matograine#410: Remove asyncioremove asyncio statements leftovers.
closes #410.remove asyncio statements leftovers.
closes #410.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/182#390, #396, #407: Drop async, send_doc(), Documents BBC2021-08-08T19:06:12+02:00Moul#390, #396, #407: Drop async, send_doc(), Documents BBC- Upgrade to DuniterPy v1.0.0rc0
- Remove `asynctest` and `pytest-asyncio` no longer required dependencies
- Handle DuniterPy v1.0 Documents BBC
- Refactor `test_generate_and_send_transaction()`
- Implement generic `send_document()`
- Re...- Upgrade to DuniterPy v1.0.0rc0
- Remove `asynctest` and `pytest-asyncio` no longer required dependencies
- Handle DuniterPy v1.0 Documents BBC
- Refactor `test_generate_and_send_transaction()`
- Implement generic `send_document()`
- Remove `async`/`await` keywords from `tests/test_*.py`
- Remove `async` kw from `tests/patched`
- `wot`: Handle 404 error not found exception
- Remove `client.close()` now in DuniterPy
- Remove `aiohttp` module usage
- Remove `async`/`await` keywords
Close #3, #260, #390, #396, #407.0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/192#403: Introduce pyupgrade pre-commit hook, Remove dev dep tools2021-07-19T20:25:58+02:00Moul#403: Introduce pyupgrade pre-commit hook, Remove dev dep tools- Introduce `pyupgrade` pre-commit hook
- Apply `pyupgrade`
- Introduce `pyupgrade` job
- `CONTRIBUTING`: Add pyupgrade
- Bump pre-commit tools versions
- Remove `black`, `isort` and `pre-commit` dev dependencies
Close #403.- Introduce `pyupgrade` pre-commit hook
- Apply `pyupgrade`
- Introduce `pyupgrade` job
- `CONTRIBUTING`: Add pyupgrade
- Bump pre-commit tools versions
- Remove `black`, `isort` and `pre-commit` dev dependencies
Close #403.0.10.0matograinematograinehttps://git.duniter.org/clients/python/silkaj/-/merge_requests/190duniterpy#169: Update pre-commit doc. Document CI linter hook usage2021-06-28T18:58:32+02:00Moulduniterpy#169: Update pre-commit doc. Document CI linter hook usageGive the choices to install pre-commit via the distrib or via pipGive the choices to install pre-commit via the distrib or via pip0.10.0MoulMoulhttps://git.duniter.org/clients/python/silkaj/-/merge_requests/191#406: Run pre-commit for black and isort2021-06-28T18:52:15+02:00Moul#406: Run pre-commit for black and isort- Set up cache
- https://pre-commit.com/#usage-in-continuous-integration
- Set Py3.9 as default since pre-commit is installed on Py3.9 image
Close #406.- Set up cache
- https://pre-commit.com/#usage-in-continuous-integration
- Set Py3.9 as default since pre-commit is installed on Py3.9 image
Close #406.0.10.0MoulMoul