Age | Commit message (Collapse) | Author |
|
Bumps python from 3.11.4-alpine to 3.11.5-alpine.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
Bumps [click](https://github.com/pallets/click) from 8.1.6 to 8.1.7.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.6...8.1.7)
---
updated-dependencies:
- dependency-name: click
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
Fix typo in contrib-title-conventional-commits rule example.
|
|
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.3...8.1.6)
---
updated-dependencies:
- dependency-name: click
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
This is a commit to try out bypassing branch protection rules.
Relates to #467
|
|
Various cleanup and minor tweaks to the devcontainer.
|
|
This will make all rules use re.search() by default.
It's still possible to manually reverse this behavior by setting:
general.regex-style-search=False
Relates to #254
|
|
Implement missing `__repr__` methods where it makes sense.
Not required for dataclasses as they have them already implemented.
Not required for a few classes with only static methods.
This closes #321
|
|
When directly pushing to main, don't try to post a comment on the
releated PR (as no such PR will exist).
|
|
When using github.rest.issues.createComment, context.issue.number
does not work when the notify job is triggered by a push to the 'main'
branch event.
Instead, we manually extract the PR number using the gh CLI.
|
|
Use GHA to leave a comment with on a PR after its merged
with a link to the corresponding dev build on PyPI and instructions
on how to install it.
|
|
Smoke test sdist tarballs (gitlint and gitlint-core) for downstream packaging:
- Upload and re-downloading them in a separate job
- Extract the tarballs and rebuild wheels using pypa/build
- Install the wheels
- Run gitlint to ensure everything its not failing
Closes #468
|
|
Explains to how install gitlint using github archive URLs.
Docs for #464
|
|
Adds a few more type annotations to functions, a lot more to go.
|
|
Unit and integration tests now run on Windows using hatch, removing the
need for this batch file.
|
|
- Adds git user.name and user.email config required for mike to push to
the gh-pages branch.
- Checkout gh-pages branch
- Dynamic run name
|
|
Upgrade hatch: 1.6.3 -> 1.7.0
|
|
- Change incorrect --deploy parameter to --push
- Allow for manual trigger of workflow
- Call publish-docs workflow from ci workflow when committing on main
|
|
Use GHA to automatically publish docs to the dev version when merged to
main.
|
|
Bumps python from 3.11.3-alpine to 3.11.4-alpine.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
tools/create-test-repo.sh will now enter a subshell
immediately inside the temporary git repo directory, and reconfigure
hatch to be able to run from that that directory.
This avoids developers having to manually type the cd command to enter
the correct temp repo after creation and having to reconfigure hatch.
|
|
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
New `docs:validate` hatch script:
- Check whether the docs build correctly
- Validate external URLs in docs using linkchecker.
Runs on every commit in CI.
|
|
Using mike together with Material for Mkdocs to manage multiple
versions of the docs.
|
|
Use table format, distinguish between Package and Development, add few
new badges.
|
|
Maintenance is under control, we can put this message back in the future
if required.
|
|
- Replace old URLs with new doc URLs in code, README, CHANGELOG.
Critical old URLs, for example those printed by gitlint itself in the past,
will keep working and redirect to the new URL.
- Ensure all links are https (no http)
- Fix incorrect top-level doc URL path for user defined rules
(rename getting_started.md to index.md).
- Replace few accidental uses of jorisroovers.com/gitlint with
jorisroovers.github.io/gitlint
- Re-enable strict mode in mkdocs
|
|
Adds an anchor link at the end of each headline.
|
|
- Switches mkdocs theme from read-the-docs to Material for Mkdocs
- Review and rewrite of all documentation pages
|
|
--msg-filename type is now a Path and not a managed click.File.
This makes it easier to control the opening and closing of the file.
Context manager will make sure that the file we use will be refreshed after
edition.
Co-authored-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
|
|
|
|
Replaces ASCII Cinema demo with Termynal, allowing mocking the demo
rather than use a CLI recording which is error prone, slow and difficult to
edit and maintain.
|
|
Replace if statements with ${{ vars.PYPI_TARGET }}, defined in
GHA environments, to select the target PyPI repository when publishing
packages.
Relates to #467
Implements #466
|
|
Replace token based authentication with OIDC for PyPI package
publishing.
Relates to #467
|
|
- Adds mypy for type checking, runs in CI on every commit.
- Configures mypy for gitlint (excludes, ignores, tuned strictness)
- Fixes several typing issues
- Updates contributing docs with how to use mypy
|
|
|
|
The docs were missing important steps on how to test gitlint against
different python versions on the dev container.
Also fixes the Devcontainer's postCreateCommand.sh to install hatch
using pip instead of homebrew.
|
|
Remove the unused `Rule._log_deprecated_regex_style_search` class
variable.
|
|
Converts existing classes to dataclasses where applicable.
Relates to #321
|
|
Before this patch, we didn't run black as part of autofix if `ruff
--fix` returned an error. This patch ensures the exit status of `ruff
--fix` is ignored and black always runs.
|
|
With the removal of the `sh` libary from gitlint, the GITLINT_USE_SH_LIB
environment variable is no longer meaningful and neither has logging its value.
|
|
- Correctly increase dev versions when micro tag versions are present
- Removes the need to maintain dev tags
Relates to #456
|
|
This patch enables the end-users to succeed installing from GitHub
source Git archive URLs, letting `setuptools-scm` calculate the
distribution version correctly, including the exports of non-tagged
commits [[1]]. `setuptools-scm` is the underlying library that
`hatch-vcs` wraps which is why the configuration pre-requisites and
runtime assumptions are inherited.
Resolves #464.
[1]: https://github.com/pypa/setuptools_scm#git-archives
|
|
Removes the dependency on the `sh` library, which has been disabled and
deprecated since 0.18.0.
|
|
This patch switches away from using `hatch publish` to the PyPA GitHub
action that performs distribution publishing using Twine.
Resolves: #465.
Co-authored-by: Joris Roovers <joris.roovers@gmail.com>
|
|
- Fixes and tweaks for the test-docker workflow
- Adds extra docker_image_tag parameter to publish-release workflow. Before
this was hardcoded to "latest_dev" which didn't work for publishing an
non-pre release.
- Triggers the test-docker workflow at the end of the publish-docker workflow
to do a quick smoke test on newly published docker images
|
|
Allows for post-release testing of docker images.
|
|
- Fix issue that prevented homebrew packages from being built (#460)
- Switch to using pypa/build in CI (#463)
Full Release details in CHANGELOG.md.
|
|
This patch switches the CI/CD workflows to use the PyPA-endorsed
PEP 517 build front-end called `build`. It is called without
`--sdist` and `--wheel` CLI options, in which case `build` creates
an sdist from the Git checkout but the following wheel build is made
from that sdist tarball as opposed to using the Git checkout.
This has a side effect of smoke-testing that it's possible to build
wheels from the published sdists. And this is the flow that
`pip install` follows when it's requested to install from an sdist.
Ref: https://github.com/jorisroovers/gitlint/issues/460#issuecomment-1462121899
|