Commit Graph
1168 Commits
Author SHA1 Message Date
Ville Skyttä ec3ffa591c feat: Add Docker pre-commit hook
Mostly as an alternative to the src install, but trading host dependency
on Rust with one on Docker.
2022-12-20 21:06:04 +02:00
Ed Page f268a89d38 chore: Release v1.13.5 2022-12-19 08:47:53 -06:00
Ed Page 822d759e0c docs: Update changelog 2022-12-19 08:06:55 -06:00
Ed Page 51f0b657f7 Merge pull request #639 from scop/feat/docker-entrypoint
feat: Improve Docker image entry
2022-12-19 08:06:08 -06:00
Ed Page 87d223682b Merge pull request #638 from scop/fix/docker-debian-sync
fix: Docker/Debian version sync
2022-12-19 08:04:23 -06:00
Ville Skyttä 7f0e8c7295 chore: Make Debian dist a Docker build argument
Makes it overridable from CLI, and just one place to update.
2022-12-18 16:40:25 +02:00
Ville Skyttä 5737842410 chore: Use rust:bullseye as Docker builder
Use `bullseye` explicitly to make the correspondence with the final
image clear, and remove explicit Rust version as it does not seem that
important, and the final runtime image version is what it is at the time
too.
2022-12-18 16:40:25 +02:00
Ville Skyttä 02ceb04147 fix: Use bullseye-slim as final Docker image base
`rust:1.65.0` is based on Bullseye, and at time of writing the binary
built on it does not work on Buster:

```
$ docker build -t typos . && docker run --rm -it typos typos -V
typos: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found
       (required by typos)
```
2022-12-18 16:40:13 +02:00
Ville Skyttä 75e30c7961 feat: Improve Docker image entry
Make `typos` the `ENTRYPOINT` rather than cmd, and output `--help` by
default.

Provides for better UX when running the image without arguments, and
facilitates just passing args to `typos` instead of having to repeat the
command name.

BREAKING CHANGE: `typos` must no longer given as the first argument
when running the Docker image, as it is the default `ENTRYPOINT` now.
2022-12-18 16:37:03 +02:00
Ed Page 73ed739ad5 Merge pull request #637 from scop/feat/pre-commit-default-stages
feat(pre-commit): Improve (/limit) default set of stages to run in
2022-12-17 16:03:24 -06:00
Ville Skyttä 389612f972 feat: Improve (/limit) default set of stages to run pre-commit hook in
https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
2022-12-17 20:16:47 +02:00
Ed Page 1d8996e205 chore: Release typos-dict-v0.9.13 v1.13.4 2022-12-06 13:54:17 -06:00
Ed Page cecdc529dc docs: Update changelog 2022-12-06 13:51:23 -06:00
Ed Page 9114a2451e Merge pull request #635 from epage/nilable
fix(dict): Remove nilable
2022-12-06 12:21:39 -06:00
Ed Page c963f68083 fix(dict): Remove nilable
See conversation in #613
2022-12-06 10:47:14 -06:00
Ed Page 46839a3bc5 chore(ci): Update renovate 2022-12-05 09:33:56 -06:00
Ed Page b38d05b941 docs: Clarify word vs identifier 2022-12-02 10:05:09 -06:00
Ed Page 4637c964a3 chore: Release v1.13.3 2022-12-01 20:25:20 -06:00
Ed Page 98c3a33cc6 chore: Release typos-vars-v0.8.8 typos-dict-v0.9.12 varcon-v0.6.7 v1.13.2 2022-12-01 20:00:28 -06:00
Ed Page feeef06a33 Merge pull request #629 from crate-ci/renovate/rust-1.x
chore(deps): update rust docker tag to v1.65.0
2022-12-01 19:58:33 -06:00
Ed Page 5482632b41 chore: Upgrade deps 2022-12-01 19:30:30 -06:00
renovate[bot] 5b37da6c15 chore(deps): update rust docker tag to v1.65.0 2022-12-02 01:29:27 +00:00
Ed Page 1e503443a6 Merge pull request #632 from crate-ci/renovate/ubuntu-22.x
chore(deps): update ubuntu docker tag to v22
2022-12-01 19:29:13 -06:00
Ed Page 4f252da2a4 Merge pull request #631 from crate-ci/renovate/swatinem-rust-cache-2.x
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 19:29:07 -06:00
Ed Page 620d476247 Merge pull request #630 from crate-ci/renovate/actions-checkout-3.x
chore(deps): update actions/checkout action to v3
2022-12-01 19:28:50 -06:00
Ed Page 070fd11538 Merge pull request #626 from crate-ci/renovate/actions-upload-release-asset-1.x
chore(deps): update actions/upload-release-asset action to v1.0.2
2022-12-01 19:27:48 -06:00
renovate[bot] aa2789b65f chore(deps): update safe 2022-12-02 00:14:56 +00:00
Ed Page 2af5c34b2d chore: Iterate on renovate 2022-12-01 15:32:14 -06:00
renovate[bot] c54855872f chore(deps): update ubuntu docker tag to v22 2022-12-01 17:54:53 +00:00
renovate[bot] f0d80ae277 chore(deps): update swatinem/rust-cache action to v2 2022-12-01 17:54:48 +00:00
renovate[bot] 6347b7d249 chore(deps): update actions/checkout action to v3 2022-12-01 17:54:42 +00:00
renovate[bot] a61e48a675 chore(deps): update actions/upload-release-asset action to v1.0.2 2022-12-01 17:20:31 +00:00
Ed Page 6c46ab7708 chore: Switch to renovate 2022-12-01 11:20:06 -06:00
Ed Page 6bf2e7c7d7 chore: Release v1.13.1 2022-11-29 23:00:05 -06:00
Ed Page 5d30e70a07 docs: Update changelog 2022-11-29 22:59:55 -06:00
Ed Page 0f9beef18e Merge pull request #615 from epage/crash
fix(cli): Have brief match long behavior
2022-11-29 22:58:55 -06:00
Ed Page 9b2ca187db fix(cli): Report correct column for brief output 2022-11-29 22:25:28 -06:00
Ed Page 2a6c8e9a3a fix(cli): Don't crash on brief output 2022-11-29 22:25:15 -06:00
Ed Page 8b88f9f340 chore: Release v1.13.0 2022-11-21 22:26:08 -06:00
Ed Page 905a150be8 chore: Release typos-dict-v0.9.11 2022-11-21 22:25:30 -06:00
Ed Page 283a4bb2c2 docs: Update changelog 2022-11-21 22:24:01 -06:00
Ed Page db7cf56d24 Merge pull request #613 from NathanBaulch/newtypos
feat(dict): 133 assorted typos
2022-11-21 22:09:38 -06:00
Nathan Baulch d7b3b548f0 feat(dict): 133 assorted typos 2022-11-21 21:48:40 -06:00
Ed Page 50e5278a4d Merge pull request #611 from dtrodrigues/homebrew-install
docs: Add Homebrew installation instructions
2022-11-07 22:18:50 -06:00
Dustin Rodrigues 14b29060e3 docs: Add Homebrew installation instructions 2022-11-07 22:44:35 -05:00
Ed Page 523a197c28 fix(action): Harden releasing of action 2022-11-04 09:56:49 -05:00
Ed Page eff3fe8444 chore: Release v1.12.14 2022-11-04 09:52:20 -05:00
Ed Page 39b28c3010 chore: Release dictgen-v0.2.5 varcon-v0.6.6 varcon-core-v2.2.7 v1.12.13 typos-dict-v0.9.10 typos-vars-v0.8.7 typos-v0.10.6 2022-11-03 22:28:10 -05:00
Ed Page 962a0a67da docs: Update changelog 2022-11-03 22:27:45 -05:00
Ed Page 6c856a008b Merge pull request #609 from epage/locale
fix(cli): Don't crash on --locale
2022-11-03 22:26:55 -05:00