Commit Graph

187 Commits

Author SHA1 Message Date
Jason Thompson
7912cb1f84 Adding remove_obsidian_comments postprocessor to remove obsidian format comments. 2024-07-22 21:18:28 -04:00
renovate[bot]
1ed641e520 Lock file maintenance 2024-07-22 03:52:01 +00:00
renovate[bot]
179a83b85a Lock file maintenance 2024-07-15 04:35:38 +00:00
renovate[bot]
5bf550352b Lock file maintenance 2024-07-08 04:02:58 +00:00
renovate[bot]
f9821c5929 Lock file maintenance 2024-07-01 03:53:48 +00:00
renovate[bot]
2e76243932 Lock file maintenance 2024-06-24 05:16:13 +00:00
renovate[bot]
6a68c52706 Update actions/cache action to v4 2024-06-23 23:33:36 +02:00
renovate[bot]
2a1c9aefac Update Rust crate rstest to 0.21.0 2024-06-23 17:29:20 +00:00
renovate[bot]
a89da43af4 Update actions/upload-artifact action to v4 2024-06-23 15:28:49 +02:00
renovate[bot]
7cbf1e5a84 Update mozilla-actions/sccache-action action to v0.0.5 2024-06-23 15:28:26 +02:00
Nick Groenen
3ba8d7ad21
Upgrade dependencies
name                  old req compatible latest new req
====                  ======= ========== ====== =======
eyre                  0.6.9   0.6.12     0.6.12 0.6.12
ignore                0.4.21  0.4.22     0.4.22 0.4.22
lazy_static           1.4.0   1.5.0      1.5.0  1.5.0
regex                 1.10.2  1.10.5     1.10.5 1.10.5
snafu                 0.8.2   0.8.3      0.8.3  0.8.3
unicode-normalization 0.1.22  0.1.23     0.1.23 0.1.23
tempfile              3.8.1   3.10.1     3.10.1 3.10.1
2024-06-23 15:25:35 +02:00
dependabot[bot]
bf2f0311c3 Bump snafu from 0.7.5 to 0.8.2
Bumps [snafu](https://github.com/shepmaster/snafu) from 0.7.5 to 0.8.2.
- [Changelog](https://github.com/shepmaster/snafu/blob/main/CHANGELOG.md)
- [Commits](https://github.com/shepmaster/snafu/compare/0.7.5...0.8.2)

---
updated-dependencies:
- dependency-name: snafu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:15:01 +02:00
dependabot[bot]
e4d30da112 Bump rayon from 1.8.0 to 1.10.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.8.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.10.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:53 +02:00
dependabot[bot]
dc6c6fbf94 Bump serde_yaml from 0.9.27 to 0.9.34+deprecated
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.27 to 0.9.34+deprecated.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.34)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:46 +02:00
dependabot[bot]
b370433925 Bump walkdir from 2.4.0 to 2.5.0
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: walkdir
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-23 15:14:39 +02:00
renovate[bot]
1b1efffe7e Pin dependencies 2024-06-23 15:08:59 +02:00
Nick Groenen
cda79d7fca
Switch from Dependabot to Renovate 2024-06-23 14:57:07 +02:00
dependabot[bot]
a7517106e8 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 23:36:36 +01:00
Nick Groenen
dba05d0e9c
Fix license specifier in Cargo metadata 2023-12-03 17:44:41 +01:00
Nick Groenen
82b6e597c6
Release v23.12.0 2023-12-03 17:38:24 +01:00
Nick Groenen
90d7dc3cf4
Update make-new-release.sh 2023-12-03 17:35:56 +01:00
Nick Groenen
7bbd211732
Remove leftover --ignore-frontmatter-keyword docs reference
An earlier iteration of #163 included this flag, but the final version
only uses `--skip-tags` and `--only-tags`.
2023-12-03 17:21:44 +01:00
Nick Groenen
d6f8b4e692
Use cargo-dist to create release artifacts
This will create binaries for more platforms (including ARM builds for
MacOS) and installer scripts in addition to just the binaries themselves.
2023-12-03 17:06:31 +01:00
Nick Groenen
ab3fe66d5c
Replace gitchangelog with git-cliff
gitchangelog doesn't look very maintained anymore. Git cliff makes for a
more modern replacement that is a little easier to install as well.
2023-12-03 13:26:35 +01:00
Nick Groenen
151679788a
Fix: trim filenames while resolving wikilinks
Obsidian trims the filename part in a [[WikiLink|label]], so each of
these are equivalent:

[[wikilink]]
[[ wikilink ]]
[[ wikilink |wikilink]]

Obsidian-export now behaves similarly.

Fixes #188
2023-12-02 12:19:16 +01:00
dependabot[bot]
4b88ad2b51 Bump serde_yaml from 0.9.25 to 0.9.27
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.25 to 0.9.27.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.25...0.9.27)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:42:43 +01:00
dependabot[bot]
c7e0196fbe Bump eyre from 0.6.8 to 0.6.9
Bumps [eyre](https://github.com/eyre-rs/eyre) from 0.6.8 to 0.6.9.
- [Commits](https://github.com/eyre-rs/eyre/compare/v0.6.8...eyre@0.6.9)

---
updated-dependencies:
- dependency-name: eyre
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:42:31 +01:00
dependabot[bot]
ede7a06c24 Bump tempfile from 3.8.0 to 3.8.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.8.0 to 3.8.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:31:39 +01:00
dependabot[bot]
f3d063aab4 Bump slug from 0.1.4 to 0.1.5
Bumps [slug](https://github.com/Stebalien/slug-rs) from 0.1.4 to 0.1.5.
- [Commits](https://github.com/Stebalien/slug-rs/compare/v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: slug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:31:24 +01:00
dependabot[bot]
06b2a3d6a4 Bump ignore from 0.4.20 to 0.4.21
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.20 to 0.4.21.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/commits)

---
updated-dependencies:
- dependency-name: ignore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:30:54 +01:00
dependabot[bot]
0606eca6de Bump pulldown-cmark-to-cmark from 11.0.0 to 11.0.2
Bumps [pulldown-cmark-to-cmark](https://github.com/Byron/pulldown-cmark-to-cmark) from 11.0.0 to 11.0.2.
- [Release notes](https://github.com/Byron/pulldown-cmark-to-cmark/releases)
- [Changelog](https://github.com/Byron/pulldown-cmark-to-cmark/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/pulldown-cmark-to-cmark/compare/v11.0.0...v11.0.2)

---
updated-dependencies:
- dependency-name: pulldown-cmark-to-cmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:30:44 +01:00
dependabot[bot]
d3b1bd412e Bump percent-encoding from 2.3.0 to 2.3.1
Bumps [percent-encoding](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: percent-encoding
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-02 11:30:31 +01:00
Martin Heuschober
018c9606a6
Implement frontmatter based filtering (#163)
This allows limiting the notes that will be exported using `--skip-tags` and `--only-tags`

---------

Co-authored-by: Martin Heuschober <martin.heuschober@posteo.net>
Co-authored-by: Nick Groenen <nick@groenen.me>
Co-authored-by: Martin Heuschober <martin_heuschober@trimble.com>
2023-12-02 11:29:29 +01:00
dependabot[bot]
eb4c009207 Bump rustix from 0.38.14 to 0.38.19
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.14 to 0.38.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.14...v0.38.19)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 15:53:51 +02:00
dependabot[bot]
4e99f03a1f Bump regex from 1.9.6 to 1.10.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.6 to 1.10.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.6...1.10.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 09:47:38 +02:00
dependabot[bot]
a791273d12 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 16:49:13 +02:00
dependabot[bot]
97958f81c5 Bump regex from 1.9.5 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.5 to 1.9.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.5...1.9.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-06 16:48:57 +02:00
Nick Groenen
8ace49ded3
Merge branch 'pre-commit' 2023-09-26 09:13:16 +02:00
Nick Groenen
4c74371b9e
Use /bin/bash when generating README
set -o pipefail is a bashism that not all shells support. Notably, this
fails with the default /bin/sh on GitHub Actions Linux runners
2023-09-26 09:08:56 +02:00
Nick Groenen
5985ad70d6
Run pre-commit on GitHub Actions 2023-09-26 09:06:19 +02:00
Nick Groenen
3d98d65403
Add additional common pre-commit-hooks
I have these hooks enabled on many of my projects, but for some reason
forgot them here which led to the issue described in
https://github.com/zoni/obsidian-export/pull/181

This should help prevent that from happening again.
2023-09-26 08:48:06 +02:00
Nick Groenen
06191eb66e
Regenerate README 2023-09-26 08:45:14 +02:00
Robert Sesek
43d90d7879 Rename docs/contibuting.md to docs/contribute.md
On case-insensitive filesystems, the part file conflicts with the
docs/CONTRIBUTING.md symlink.
2023-09-26 08:42:16 +02:00
Robert Sesek
cd5dbf6c3b Add a lifetime annotation to the Postprocesor type
This lets the compiler reason about the lifetimes of objects used by the
postprocessor, if the callback captures variables.

See zoni/obsidian-export#175
2023-09-25 21:50:34 +02:00
Nick Groenen
c27d7b96b6
Optimize GitHub Actions workflows
Most notably:

- Stop using unmaintained setup-rust action
- Cache cargo and target directories
- Use sccache (https://github.com/mozilla/sccache/)
2023-09-24 12:15:18 +02:00
Nick Groenen
b38e4d53b5
Remove changelog from main README file 2023-09-24 12:14:47 +02:00
Nick Groenen
b28e4913ee
Relicense to BSD-2-Clause Plus Patent License
This license achieves everything that dual-licensing under MIT + Apache
aims for, but without the weirdness of being under two licenses.

Having checked external contributions, I feel pretty confident that I
can unilaterally make this license change, as people have only
contributed a handful of one-line changes of no significance towards
copyrighted work up to this point.
2023-09-24 12:05:15 +02:00
Nick Groenen
f72ef651c0
Update transient dependencies
crates.io index
    crossbeam-deque v0.8.1 -> v0.8.3
    crossbeam-epoch v0.9.5 -> v0.9.15
    crossbeam-utils v0.8.12 -> v0.8.16
    deunicode v0.4.3 -> v0.4.4
    diff v0.1.12 -> v0.1.13
    either v1.6.1 -> v1.9.0
    futures v0.3.25 -> v0.3.28
    futures-channel v0.3.25 -> v0.3.28
    futures-core v0.3.25 -> v0.3.28
    futures-executor v0.3.25 -> v0.3.28
    futures-io v0.3.25 -> v0.3.28
    futures-macro v0.3.25 -> v0.3.28
    futures-sink v0.3.25 -> v0.3.28
    futures-task v0.3.25 -> v0.3.28
    futures-util v0.3.25 -> v0.3.28
    heck v0.4.0 -> v0.4.1
    itoa v1.0.4 -> v1.0.9
    log v0.4.14 -> v0.4.20
    memoffset v0.6.5 -> v0.9.0
    once_cell v1.9.0 -> v1.18.0
    pin-project-lite v0.2.9 -> v0.2.13
    ryu v1.0.11 -> v1.0.15
    scopeguard v1.1.0 -> v1.2.0
    semver v1.0.14 -> v1.0.19
    serde v1.0.147 -> v1.0.188
    serde_derive v1.0.188
    slab v0.4.7 -> v0.4.9
    syn v1.0.104 -> v1.0.109
    thread_local v1.1.4 -> v1.1.7
    tinyvec_macros v0.1.0 -> v0.1.1
    unicase v2.6.0 -> v2.7.0
    unicode-ident v1.0.5 -> v1.0.12
    unicode-width v0.1.10 -> v0.1.11
    winapi-util v0.1.5 -> v0.1.6
2023-09-23 10:42:07 +02:00
dependabot[bot]
143f4fe1cd
Bump rayon from 1.6.0 to 1.8.0 (#174) 2023-09-23 08:23:09 +00:00
dependabot[bot]
33707d67a5
Bump walkdir from 2.3.2 to 2.4.0 (#173) 2023-09-23 08:22:38 +00:00