Releases: ngirard/lolcate-rs
Releases · ngirard/lolcate-rs
0.10.0
0.9.2
0.9.0
0.8.0
0.7.0
0.6.1
Fixed
- Honor config.ignore_symlinks when walking the directory trees (thanks to BartMassey)
0.6.0
Added
- The new
gitignore
option, when set totrue
inconfig.toml
, enables Lolcate to take into account.gitignore
files and skip the paths that match one of the.gitignore
patterns.
Changed
- Use regex for basename matching instead of splitting the path, leading to a 10% performance improvement
(ec5140f, thanks to @icewind1991). - Added
adoc
(Asciidoc) to thedoc
predefined path type.
Fixed
0.6.0pre6
Pre-release with LTO.
0.6.0pre4
This is a pre-release to test GitHub Actions.
0.5.0
-
Performance improvements.
-
A number of path types come predefined:
img = ".*\\.(jp.?g|png|gif|JP.?G)$" video = ".*\\.(flv|mp4|mp.?g|avi|wmv|mkv|3gp|m4v|asf|webm)$" doc = ".*\\.(pdf|chm|epub|djvu?|mobi|azw3|odf|ods|md|tex|txt)$" audio = ".*\\.(mp3|m4a|flac|ogg)$"
(to be used with e.g.
lolcate --type doc <pattern>
). -
Configuration and data files are now split in separate directories (#5).
This requires migrating your existing files. On Linux, you can use the following script:
migrate_lolcate_data(){ lolcate_data_dir=${XDG_DATA_HOME:-$HOME/.local/share}/lolcate lolcate_conf_dir=${XDG_CONFIG_HOME:-$HOME/.config}/lolcate mkdir ${lolcate_conf_dir} mv ${lolcate_data_dir}/config.toml ${lolcate_conf_dir} ls -d $lolcate_data_dir/*/ | while read db_dir; do db_name=$(basename $db_dir) db_config_dir=${lolcate_conf_dir}/${db_name} mkdir ${db_config_dir} mv ${db_dir}/{config.toml,ignores} ${db_config_dir} done } migrate_lolcate_data