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/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/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/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/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/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/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/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/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.0MoulMoulhttps://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/189#326: Integrate coverage in GitLab coverage feature2021-06-22T19:18:57+02:00Moul#326: Integrate coverage in GitLab coverage feature- Display coverage summary for GitLab to catch with a regex the coverage sum/total to generate a chart and a badge
- Remove `coverage-badge` usage
- Update coverage badge in the readme
The [generated coverage badge can be checked here](...- Display coverage summary for GitLab to catch with a regex the coverage sum/total to generate a chart and a badge
- Remove `coverage-badge` usage
- Update coverage badge in the readme
The [generated coverage badge can be checked here](https://git.duniter.org/clients/python/silkaj/badges/326_gitlab_coverage/coverage.svg) for this branch.
Close #326.0.10.0matograinematograinehttps://git.duniter.org/clients/python/silkaj/-/merge_requests/188#177: Remove no longer used network f()2021-06-07T19:06:33+02:00Moul#177: Remove no longer used network f()Close #177.Close #177.0.10.0matograinematograinehttps://git.duniter.org/clients/python/silkaj/-/merge_requests/187#364: Introduce insert-license pre-commit-hook and fix license headers2021-06-07T19:00:27+02:00Moul#364: Introduce insert-license pre-commit-hook and fix license headers- Introduce `insert-license` pre-commit-hook
- Change license header's comments from docstring to `#`
- Get rid of `update_copyright_year.sh` which becomes useless
- Document how to update the copyright year- Introduce `insert-license` pre-commit-hook
- Change license header's comments from docstring to `#`
- Get rid of `update_copyright_year.sh` which becomes useless
- Document how to update the copyright year0.10.0matograinematograinehttps://git.duniter.org/clients/python/silkaj/-/merge_requests/186#177, #264: Remove remaining parse_endpoint(s)()2021-05-24T17:54:53+02:00Moul#177, #264: Remove remaining parse_endpoint(s)()Follow up of !178.Follow up of !178.0.10.0matograinematograine