Commit graph

34 commits

Author SHA1 Message Date
Chris Mayo
38dea6b7f4 Fix install with pip git+https
pip only uses the wheel target.

Save building the metadata twice as a result in GitHub workflows and
update documentation.md.
2022-09-13 19:32:06 +01:00
Chris Mayo
b6a7f2d313 Don't need hatch to build documentation
This is a partial revert of:
47d1015e ("Replace setuptools and setup.py with hatch and pyproject.toml", 2022-09-05)

Also hatch is an option to run tests.
2022-09-13 19:32:06 +01:00
Chris Mayo
af265f3d52 Write all metadata used to _release.py
Enables running without installing.
Removes use of importlib.metadata.
2022-09-13 19:32:06 +01:00
Chris Mayo
a214531030 Remove check-python-versions that needs setup.py 2022-09-05 19:24:01 +01:00
Chris Mayo
1975613b44 Remove MANIFEST.in
All files stored in Git are included in the sdist, unless excluded with
tool.hatch.build.exclude.

Build artifacts listed in tool.hatch.build.artifacts are also included.
2022-09-05 19:24:01 +01:00
Chris Mayo
47d1015e00 Replace setuptools and setup.py with hatch and pyproject.toml 2022-09-05 19:24:01 +01:00
Chris Mayo
75196921e4
Merge pull request #635 from cjmayo/relpages
Publish the documentation when there is a release
2022-08-30 19:28:25 +01:00
Chris Mayo
a520b26885 Publish the documentation when there is a release 2022-08-23 19:27:12 +01:00
Chris Mayo
fbceca5dc9 Remove dependency on pyxdg
Read the environment variables and implement the same fallbacks.
Saves a hardly used dependency and is more explicit.
2022-08-23 19:26:15 +01:00
Chris Mayo
f8c6d45571 Run apt update in build.yml
Avoid Not Found [IP: 52.154.174.208 80] for azure.archive.ubuntu.com.
2022-01-19 19:35:24 +00:00
Chris Mayo
e6788e2e0a Remove GitHub workflow translation checks
Already done by tests/test_po.py.

Added as part of:
d99e600e ("Add translation .po file checks", 2021-11-22)
2022-01-19 19:31:01 +00:00
Chris Mayo
1d10fffde4 Use package metadata 2021-12-30 19:27:04 +00:00
Chris Mayo
5c0d66dd74 Raise minimum Python requirement to 3.7 2021-12-30 19:27:04 +00:00
Chris Mayo
bab99bd945 Log checksums for release distribution files
Logs will be removed. PyPI will calculate and record checksums.
2021-12-22 19:24:54 +00:00
Chris Mayo
abd5a68c27 Use sphinx-sitemap to create a sitemap 2021-12-17 19:25:43 +00:00
Chris Mayo
5cb406a8c3 Reword commit message updating documentation translations 2021-12-16 19:23:53 +00:00
Chris Mayo
dd2fe08ebd Add a manual trigger to publish Docker image 2021-12-15 19:41:20 +00:00
Chris Mayo
3ddc25fd4e Ensure application translations are updated by workflow 2021-12-15 19:41:20 +00:00
Chris Mayo
ef33a61b41 Workflow to automatically add Python distribution files to the release 2021-12-09 19:31:28 +00:00
Chris Mayo
26ed46ad40 Workflow to semi-automate man page and translation updates
Expected to be used form a fork, it will create a branch man-updates,
based on the upstream repository with additional commits with the updates.
Then a pull request would be created to send the updates upstream.
2021-12-09 19:31:28 +00:00
Chris Mayo
7f78acf856 Fetch tag history in publish-pages 2021-12-06 19:27:49 +00:00
Chris Mayo
3eb3a70aab Limit token permissions and pin 3rd-party action in publish-pages 2021-12-06 19:27:49 +00:00
Chris Mayo
454ce0c3a5 Add a yamllint check for workflows 2021-11-30 19:45:17 +00:00
Chris Mayo
edc974e7b9 Tag Docker image using latest, commit checksum and semver
The following tags will be added: latest, 1234567 and 1.2.3
2021-11-28 18:55:46 +00:00
Chris Mayo
99d0d5218b Release new Docker image hosted on GitHub Packages 2021-11-25 19:33:29 +00:00
Chris Mayo
163c44378f Update to latest docker actions
metadata-action v3.6.0
build-push-action v2.7.0
2021-11-23 19:34:27 +00:00
Chris Mayo
fcbd957d16 Add a workflow to publish docker image to ghcr.io 2021-11-23 19:34:27 +00:00
Chris Mayo
d99e600edd Add translation .po file checks 2021-11-22 19:30:33 +00:00
Chris Mayo
a70ff3f78a Test with Python 3.10 2021-10-18 19:46:31 +01:00
Marius Gedminas
d791c39be9 Sacrificing chickens to coveralls gods 2021-05-19 16:50:38 +03:00
Marius Gedminas
163ff725f8 Fix tests? 2021-05-19 16:36:16 +03:00
Marius Gedminas
8b6cb66146 Convert .travis.yml to GitHub Actions
Also add tox -e check-python-versions because it was low-hanging fruit
and I wanted to be sure.
2021-05-19 16:30:02 +03:00
Chris Mayo
a5706e233b Publish documentation to the root of gh-pages 2020-10-14 19:22:59 +01:00
Chris Mayo
a585925d43 Automatically publish documentation on GitHub Pages 2020-10-13 19:28:48 +01:00