2024-07-23
Add --write
and --force
flags to write directly to a .gitignore
file
instead of piping.
- [
ca0cb9c
] Bump dependencies - [
2420ff6
]old_project_dirs
should use my old name for backwards compatibility - [
324e9b6
] Add rustfmt.toml, update formatting - [
00a75a8
] Update my last name to Aasemoen - [
88d3aaf
] Update README with --write flag - [
27fa1c7
] Upgrade dependencies - [
204c5f6
] Fix changelog links in previous release - [
14aae09
] Add --write and --force to write directly to .gitignore - [
8e1a54b
] Update data for ignore files - [
85c0515
] Bump rustls from 0.22.2 to 0.22.4 - [
dd6471a
] Bump the dependencies group with 1 update - [
cd75a88
] Add aarch64 to publish target list
2024-02-21
Build native aarch64 binaries for macOS.
2024-02-17
Bugfix for miscompilation on Windows.
2024-02-17
Mostly dependency updates and an internal refactor on how the automatic detector works. Now we fetch and parse the starship matchers for their prompt and use those to automatically recognize files, folders and extensions.
- [
62684c2
] Fix stray println that could mess up redirecting output - [
2a4cdeb
] Handle both new and old config existing - [
ff6a284
] Update CONTRIBUTING.md - [
03503a1
] Create detectors at build time - [
eba8aa7
] Warn if using old config path, add migration to init command - [
942df26
] Minor clippy lint fixes - [
af01c72
] Move away from directories, use etcetera instead - [
2a88bc6
] Bump dependencies - [
ad99c31
] Merge Dependabot GA PRs - [
c39e4c8
] Bump actions/upload-artifact from 3 to 4 - [
1bd59fd
] Bump actions/download-artifact from 3 to 4 - [
5b8f177
] Bump webpki from 0.22.0 to 0.22.2 - [
6c6fddf
] Bump actions/checkout from 3 to 4 - [
39b4eac
] Bump bumpalo from 3.11.0 to 3.12.0 - [
f294e79
] Fix clippy lints - [
53d424c
] Update rust-cache action to v2
2022-10-21
Quick bugfix for bash completion panicking when generated from the CLI.
- [
aa96e7a
] Fix completion panicking when generated from binary
2022-10-01
Minor patch release with a single bug fix, with mostly behind the scenes package updates and upgrades.
- [
8d5a8cb
] Upgrade dependencies, clap to v4 - [
214f364
] Move to dtolnay/rust-toolchain for CI - [
7e366f4
] Remove dependabot crates updates, upgrade packages - [
46cc220
] Upgrade packages - [
58a2ab8
] Upgrade packages - [
8b0b4e0
] And release CI copying wrong assets - [
f5d295e
] Add git-ignore AUR package - [
e1c3c78
] Update CI versions - [
79b10e5
] Add clap_mangen to build man pages, update build.rs - [
40e8d11
] Update packages, fix deprecations - [
684c360
] Add dependabot for GitHub Actions, Rust packages - [
25bb013
] Fix wrong extension for Zig - [
6e1d4e0
] Mention @sestrella in CHANGELOG [ci skip] - [
584325b
] Unfuck publish pipeline - [
df3ff6a
] Fix the release action, whoops
2021-12-05
The biggest release yet! From automatically recognizing templates based on files
in your current directory to custom aliases and templates! Huge thanks to
sestrella
for contributing the automatic matching functionality.
- Automatic: When using the
-a/--auto
,git-ignore
will automatically create.gitignore
templates by matching against files in your current directory. - Aliases: Do you use the same templates toghether all the time? Create an alias to combine them.
- Templates: Missing a template from www.gitignore.io? Create your own!
- [
75a40daa25
] - Upgrade to clap v3 RC - [
1d9c331479
] - Add a bunch more languages to detectors - [
688b672d77
] - [#7] Auto detect templates based on existing files - [
33af5b4022
] - Add notice to config_or! macro when config is missing - [
cadc69d516
] - Add visible aliases to subcommands, update man page - [
738deff37d
] - Early exit if updating and not listing any templates - [
7a56a7ebc8
] - Add completions to assets folder - [
1eefbac6b8
] - Remove man crate, create man pages via asciidoctor - [
f8e3c63453
] - Update man page, fix some spelling - [
a3c1124c48
] - Minor error handling refactoring - [
72a72733f9
] - Add anyhow for easier error handling - [
e97aca5ab9
] - Add --simple flag to ignore aliases and templates - [
dc748b2cbc
] - Implement creating and reading templates - [
8f767e9078
] - Simplify and remove unneeded code - [
dc7dacd018
] - Color aliases, templates when listing - [
660e99085a
] - Fix some pedantic lints - [
3b7cbc5072
] - Switch lookup of names from starts_with to contains - [
c9b49eb02d
] - Fetch templates from aliases and list them/print them - [
9ddfa8d2df
] - Refactor Config::from_dir function - [
d558dd1ebc
] - Fix clippy warning - [
2f8cfebcb1
] - Add messages when removing aliases and templates - [
9b3b74714e
] - Fix error where config does not get its own path - [
9a6925357a
] - Simplify config initialization, don't list empty aliases - [
9a91755aae
] - Extract handling of config to a macro - [
5719bfdf05
] - Add methods for listing templates and aliases - [
71c7f1c5a7
] - Extract GitIgnore struct to own file - [
e5f32a119e
] - Extract Config to own file, add methods for adding/removing aliases - [
6751e35588
] - Use Clap from GitHub while waiting for next release - [
ff2248b602
] - Extract CLI, add completions - [
f761896936
] - Initial port of commands from structopt to clap v3 - [
5b2a3b8077
] - Simplify getting config directory - [
4c8746961e
] - Add handling for templates - [
73f5cb59b9
] - Convert config handling to subcommands - [
6ef7eaa0ce
] - Implement adding aliases - [
d5b6793b69
] - Start working on a config file - [
f966329d98
] - Upgrade to Rust 2021 edition, upgrade packages
2021-03-24
No functionality added this release, upgraded dependencies and fixed manpage generation.
- [
7573fe6c2a
] Release 1.1.2 - [
2d4fe00657
] Update all dependencies, format Cargo.toml - [
51afde98be
] Remove test CI pipeline, there are no tests in this project - [
18e5428950
] Fix lint errors - [
a51bfdeb62
] Copy and add man page to release archives - [
b889b975da
] Upgrade dependencies - [
19b2f41e06
] Create a proper man-page out dir - [
f120cd420f
] Update changelog
2020-05-05
A minor bugfix release: we now recursively create the cache directory if it is missing.
- [
01027328b4
] - Reenable publishing to Cargo - [
20c05d42f8
] - Create missing directories recursively
2020-05-04
The first minor release of git-ignore
, this is mostly a behind-the-scenes
upgrade where nothing should really affect you. In the background we've gone
from using reqwest
to using attohtppc
for managing our requests, primarily
to reduce dependencies and binary size. Other than that we've also simplified
some code and moved to using GitHub Actions as our CI instead of a combination
of Travis CI and Appveyor.
- [
0ea4c1d5b1
] - Remove TravisCI, AppVeyor badges, add GitHub Actions badge - [
c88c331f4f
] - Fix clippy warnings - [
3fcabc99cb
] - Move to GitHub Actions for CI - [
e91acece58
] - Move from reqwest to attohttpc, refactor and simplify code - [
47a4686701
] - Fix a new clippy lint - [
367e269b0e
] - Add download instructions for release tab [ci skip]
2019-04-19
First major release of git-ignore
. Workflow stays the same, the major feature
this release is offline caching of templates from
gitignore.io. This is fetched via the JSON API,
parsed and converted by Serde and stored in your OS' cache
location thanks to directories-rs.
Usage stays the same, I've added a new --update
flag for fetching the
templates, updated the code to Rust 2018 and some spring cleaning throughout the
code. Added Travis CI and
Appveyor for automatic testing and releasing of
git-ignore
across Linux, *BSD, Windows and macOS.
- [
94d14f84d5
] - Add installation instructions, release checklist [ci skip] - [
a4c098064c
] - Configure CI properly, do a trial prerelease - [
0e06b44e8f
] - Only add the header when we actually generate a template - [
07b2f23dd9
] - Add notice for update success, print info in green color - [
33c01fe116
] - Remove how to apply GPL, I always forget this comes with the templace [ci skip] - [
94f35830dd
] - Add mentions about--update
[ci skip] - [
f522ca92ec
] - Update documentation [ci skip] - [
cab5907989
] - Add attribution and a newline after info statement - [
af1d85fe4c
] - Disable thinLTO for the moment - [
0075815beb
] - Fix program panicking if ignore file is missing - [
cc4eafd6d0
] - Automatically generate man pages for git-ignore - [
bf29e37f06
] - Sort list of templates - [
bb0a18204f
] - Add a colorful warning message when using cached results - [
7cc2e16cec
] - Compile release versions with thinLTO - [
f4c3782cd2
] - Fix running program without arguments returning nothing - [
f05f2d7cd0
] - Re-implement printing of templates - [
22d291c8a8
] - Re-implement function to find all matching template names - [
cd64d722f6
] - Read ignore.json file and serialize to HashMap<String, Language> - [
dfd0189e3b
] - Extract out ignore file location, will be used later - [
79bddef0a3
] - Fetch all templates at once using JSON - [
c2c8ee441c
] - Fetch and store all templates available on gitignore.io - [
aa68f7506b
] - Implement fetching singular templates, remove unneeded methods - [
24de14f91a
] - Create function to read contents of a file to a vec - [
9e947714d1
] - Extract cache list file to be its own field in GitIgnore struct - [
aef28b85de
] - Write list of templates to cache dir when -u/--update is used - [
20a96d2d36
] - Create cache dir if required, fetch all ignore templates - [
652e19326b
] - Rename App -> GitIgnore, remove config_dir - [
f06bed4bfb
] - Add directories-rs, create app struct for configuring application - [
e224e07251
] - Update git-ignore to Rust 2018 - [
be5db126bc
] - Add shell.nix for building on NixOS [ci skip] - [
3daf562915
] - Deny Clippy warnings, we want things safe and idiomatic
2018-11-23
Minor refactoring of how the command line arguments work, instead of using
subcommands we instead only have a single flag (--list
) to toggle whether
you're listing available templates or getting them. The rest are comments and
behind-the-scenes fixes.
- [
fe802b4888
] - Document all the things! - [
dfd8bbb235
] - Deny stupid things I shouldn't do - [
710779fa05
] - Update README [ci skip] - [
44b49163f2
] - Go from subcommands to flags instead, because it makes more sense - [
2bd95735db
] - Add changelog [ci skip]
2018-11-05
Don't mind the patch release, it's just there cause I goofed up. This is the
initial release of git-ignore
, a small and simple tool that allows you to
quickly and easily list and get all the templates that exists on
www.gitignore.io.
- [
902e94eb61
] - Fix badge displaying the wrong URL on crates.io - [
efc83813aa
] - Don't link to the wrong project, whoops [ci skip] - [
8d363f2b93
] - Add README [ci skip] - [
9389ff9ff8
] - Add LICENSE, update name of package on crates.io and metadata - [
420b4eba87
] - We cannot print stuff we cannot pipe to .gitignore - [
f55376c734
] - Include Cargo.lock since this is an application - [
27ecae60ba
] - Fetch and print gitignore templates - [
93bbd19770
] - Make sure any matches are included - [
3045c6fefd
] - Silence errors - [
edeafa8992
] - Format with rustfmt and fix Clippy lints - [
64e9e21b37
] - List all matches found - [
c7beeb9472
] - List all possible templates from gitignore.io - [
11d66fcf6f
] - Add a very simple CLI interface - [
7c077a87fa
] - Forbid the usage of unsafe, fail on warnings and add Travis config - [
7a65ce7915
] - In the beginning there was darkness...