Commit Graph

324 Commits

Author SHA1 Message Date
Lynne Megido 22f1f280d7
added `-X` for excluding sets of extensions. `-X` is to `-E` as `-x` is to `-e`. 2021-04-28 16:16:32 +10:00
Lynne Megido b3ce5d3d46
numerous CI improvements =u=
- run clippy before all other tasks
- deny on clippy warnings when running in CI
- build and test both xdg and infer backends
- make sure "fif -V" actually works
2021-04-28 16:11:11 +10:00
Lynne Megido b12c42adbb
publish my fork of mime_guess so it can be used w/ crates.io
crates.io doesn't allow you to use path or git dependencies - you can only depend on published crates. i didn't really want to publish my mime_guess fork, since i don't really see anyone besides myself using it (and i don't really want my fork to "dethrone" the original or whatever), but unless i want `cargo install fif` to give you a version of fif that tells you XML files should have the extension ".asa", i kind of have to do this :c
2021-04-28 15:17:40 +10:00
Lynne Megido fc51f8128a
rustfmt 2021-04-27 20:26:01 +10:00
Lynne Megido 7e3efbed5c
added exclude flag for excluding extensions
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-27 20:25:41 +10:00
Lynne Megido aad70ee13b
update exclude list & dependencies 2021-04-27 18:34:01 +10:00
Lynne Megido af9968947c
release v0.2.13 0u0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-26 22:36:02 +10:00
Lynne Megido b864b4b388
test.py: exit on non-zero exit code 2021-04-26 22:34:32 +10:00
Lynne Megido 40bdac274f
minor cleanup 2021-04-26 22:32:43 +10:00
Lynne Megido 889b2e2316
move ExtensionSet stuff into parameters.rs 2021-04-26 22:17:57 +10:00
Lynne Megido 2ceafb7acf
added -v/--verbose 2021-04-26 22:15:14 +10:00
Lynne Megido 7a315e9cf6
run clippy with all features/targets enabled 2021-04-26 21:01:49 +10:00
Lynne Megido 475998fd22
use Cargo.lock w/ CI 2021-04-26 21:01:35 +10:00
Lynne Megido 0753c7c948
update readme badge links 2021-04-26 20:52:14 +10:00
Lynne Megido b80c510d48
gitlab ci improvements: cache `target` & `.cargo`, separate test and build
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 20:40:26 +10:00
Lynne Megido d6974b4959
writables!, windows newlines, sorted changelog, always quote paths
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-26 20:19:58 +10:00
Lynne Megido 6a7577d874
Merge remote-tracking branch 'origin/master'
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-21 17:29:25 +10:00
Lynne Megido e9acdd7751
replaced gitea URL with gitlab 2021-04-21 17:29:13 +10:00
Lynne Megido 4e37e184ec better gitlab CI
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-21 07:06:56 +00:00
Lynne Megido 430a4b9ab4
added gitlab CI 2021-04-21 16:57:57 +10:00
Lynne Megido 6837a73672
consider lynne/lynnesbian to be the same author 2021-04-21 16:35:30 +10:00
Lynne Megido bbe1d25681
readme badge tweaks, removed mention of nonexistent manpage 2021-04-21 16:09:55 +10:00
Lynne Megido 4d553587aa
fixed powershell output
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-20 19:00:56 +10:00
Lynne Megido 255665cae0
output is now sorted 0u0
sort order: files that couldn't be read, then files with no known mimetype, then files with no known extensions, then files with the wrong extension
2021-04-20 18:52:49 +10:00
Lynne Megido b877d7d65e
xdg-mime no longer uses git version 0u0 2021-04-20 17:26:31 +10:00
Lynne Megido dc2ac7b002
reformatting/reordering 2021-04-20 15:20:10 +10:00
Lynne Megido 83091c754d
removed duplicate Archives pattern in extension_set.rs 2021-04-14 19:17:41 +10:00
petra-fied 2713083a82 updated CHANGELOG.md
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 19:10:07 +10:00
petra-fied 48632a471a Merge branch 'master' of https://git.bune.city/lynnesbian/fif
 Conflicts:
	Cargo.lock
2021-04-14 19:08:52 +10:00
petra-fied 59a3042ebc added .rpa format support, new system extension set 2021-04-14 19:08:18 +10:00
Lynne Megido 7f87f59670
updated changelog
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 18:43:39 +10:00
Lynne Megido e7637013eb
documented and cleaned up tests, renamed "Script" to "Shell", etc
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 18:25:46 +10:00
Lynne Megido 9c8be183d9
new release! 0u0
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
also i increased BUF_SIZE to 8192 bytes
2021-04-14 17:27:44 +10:00
Lynne Megido 383f6a30f2
improved pre-OOXML office mime detection
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 16:49:14 +10:00
Lynne Megido 21dfe93a05
better DLL/EXE support, fixed weird symlink semidemihemibug
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-14 16:29:38 +10:00
Lynne Megido d54cc8d6da
added text extension set, more test coverage, cargo update
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-08 23:33:33 +10:00
Lynne Megido 0f2f408c09
added architectures test to test.py, PKGBUILD for arch distros 2021-04-07 05:20:49 +10:00
Lynne Megido e83ac778d6
update changelog 2021-04-07 01:48:46 +10:00
Lynne Megido be37b24705
better documentation for parameters, renamed Script to Sh 2021-04-07 01:47:40 +10:00
Lynne Megido cb2a30f455
much better README 2021-04-07 01:47:12 +10:00
Lynne Megido fb67c11eb6
add option for following symlinks, make extensions optional, new version!!
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-04 23:52:16 +10:00
Lynne Megido 12d9001bb8
better mime type detection
- consider some/x-thing and some/thing to be identical
- use a patched version of mime_guess with many more extension/type mappings
2021-04-04 22:44:48 +10:00
Lynne Megido 55f73d8a9a
added a changelog 0u0 2021-04-04 22:41:37 +10:00
Lynne Megido 25c9efa2f1
fixed compilation on some obscurish architectures (e.g. powerpc), more clippy lints 2021-04-03 03:52:28 +10:00
Lynne Megido 7115692f9d
fixed tests
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-26 05:11:21 +10:00
Lynne Megido 129aa83ade
lots of stuff! and a version bump!! 0u0
All checks were successful
continuous-integration/drone/tag Build is passing
- extension_from_path now returns Option<&OsStr>
- two new tests
- Findings uses a Path instead of a PathBuf, reducing allocations
- some unnecessary stuff removed, thanks clippy
- that is all
2021-03-26 04:46:07 +10:00
Lynne Megido 40a90308a5
initial (and somewhat bonked) powershell support, cargo update 2021-03-26 00:28:03 +10:00
Lynne Megido 62562a0b69
i suppose it's time for a version bump =u=
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-17 18:26:27 +10:00
Lynne Megido 67cffcff91
removed python stuff 2021-03-14 21:55:44 +10:00
Lynne Megido c68a88c6b0
don't test on alpine since it's currently broken due to a crate out of my control 0uo
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 04:05:03 +10:00