mattsmida
ef9613e2d6
Renaming test files according to their language ( #3407 )
2024-05-01 14:28:07 -04:00
Dustin J. Mitchell
43ca74549d
Include the whole error message in errors from Rust ( #3415 )
2024-04-30 14:54:42 -04:00
Felix Schurk
d093ce3d84
Fix test script paths ( #3387 )
...
* fix path to task executable in pyton tests
The current approach would copy the current files into the `build/test`
directory. Updating the paths according to the custom user setup.
By the copy I appended `.py` to have a clear visible distingtion which
ones are the python tests.
As soon as a source file in the normal directory is changed, it is
copied over and the corresponding file is updated.
From now on the python tests would need to get run in the according
build directory.
* reflect the current build instruction in PR template
* update paths and globing in run_all
* add line break for every cpp test
* remove .gitignore in test folder
As now all the auxillary files such as `all.log` as well as the
executables are present in the `build` directory there is no longer a
need to ignore them.
* update paths in python test scripts and enable deactivated
* remove .py extension when copy to build
Further remove glob pattern for `*.t.py` tests.
* remove accidentally added template.t from test files
2024-04-28 15:38:14 -04:00
sleepy_nols
7dba5e7695
update '.data' warning message to '*.data' for better readability ( #3409 )
...
TDB2: update '.data' warning to '*.data' for better readability, closes #3406
2024-04-28 15:24:42 -04:00
Felix Schurk
eaef05ee95
Update fedora 38 docker container to fedora 40 ( #3396 )
2024-04-24 08:31:36 -04:00
Dustin J. Mitchell
bc86a1e53f
Release 3.0.2 ( #3394 )
2024-04-23 00:18:38 +00:00
Dustin J. Mitchell
9b35ab37aa
Remove debug print ( #3389 )
2024-04-22 20:01:26 -04:00
Dustin J. Mitchell
a9995808ec
Update cmake support for git submodules ( #3383 )
2024-04-21 08:55:38 -04:00
Dustin J. Mitchell
0627447a6a
Update for 3.0.1 ( #3382 )
...
update for 3.0.1
2024-04-20 23:18:57 +00:00
Dustin J. Mitchell
f054a4061e
Remove taskchampion-sync-server ( #3380 )
...
This crate has been moved to
https://github.com/GothenburgBitFactory/taskchampion-sync-server .
The integration-tests repo used the sync server to test integration
between taskchampion and the sync-server. We should do that again, but
after taskchampion moves to its own repo (#3209 ). In the interim, the
cross-sync integration test can simply test syncing between local
servers, but the snapshot test is no longer useful as the local server
does not support snapshots.
2024-04-20 12:44:06 +00:00
dependabot[bot]
304b84e4da
Bump rustls from 0.21.7 to 0.21.11 ( #3379 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.7 to 0.21.11.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.7...v/0.21.11 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 19:32:49 -04:00
Dustin J. Mitchell
f86a069faf
Fix paths generated from origin ( #3372 )
...
These mistakenly doubled the initial `/` character. This was broken in #3361 .
2024-04-16 22:05:45 -04:00
ryneeverett
0944c73716
Recommend LSP's in development docs ( #3370 )
...
* Recommend LSP's in development docs
Per conversation in #3338 .
There are already a lot of documented compile options so I think we're
better off suggesting that everybody create a compile_commands.json
whether or not they're using an LSP because it doesn't cost much.
While I was at it it seemed reasonable to mention rust LSP too. Now that
rls is deprecated I'm not sure there is any competitor to rust-analyzer
worth mentioning.
* Export compile commands by default.
Thanks to @felixschurk for the idea and telling me how to do it.
It took me a minute to figure out that this places the
compile_commands.json in the build directory rather than the root of the
project. But clangd still finds it there and that's a better place for
it anyway.
2024-04-16 08:19:58 -04:00
Dustin J. Mitchell
10cec507cb
Check that sync.server.origin is a URL ( #3361 )
2024-04-16 02:11:55 +00:00
Dustin J. Mitchell
4d9bb20bdd
Update task news
to support 3.0.0 ( #3342 )
...
* Introduce Version, use it to check current version in custom reports
* Support multiple versions in 'task news'
2024-04-15 22:04:16 -04:00
dependabot[bot]
d243d000eb
Bump env_logger from 0.10.0 to 0.10.2 ( #3336 )
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.10.2 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 21:49:56 -04:00
Dustin J. Mitchell
9040a7eb79
Throw std::strings on sync server errors ( #3362 )
2024-04-15 21:49:17 -04:00
Dustin J. Mitchell
0a491f36ad
Store all modified tasks for use by on-exit hook ( #3352 )
...
The on-exit hook gets all modified tasks as input, but this was omitted
in the previous release. This adds a test for the desired behavior, and
updates TDB2 to correctly store the required information.
2024-04-15 21:14:25 -04:00
dependabot[bot]
7578768d9b
Bump peaceiris/actions-gh-pages from 3 to 4 ( #3367 )
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 21:12:20 -04:00
dependabot[bot]
cb0d21f96e
Bump peaceiris/actions-mdbook from 1 to 2 ( #3366 )
...
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook ) from 1 to 2.
- [Release notes](https://github.com/peaceiris/actions-mdbook/releases )
- [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-mdbook
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 21:11:17 -04:00
dependabot[bot]
3b414cd9bb
Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 ( #3365 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 21:10:52 -04:00
Dustin J. Mitchell
c90eb8f71d
remove reference to NEWS ( #3357 )
2024-04-12 22:46:09 -04:00
Dustin J. Mitchell
7c465ceb8f
Remove NEWS, as it is redundant to 'task news' ( #3354 )
2024-04-07 21:58:27 -04:00
Dustin J. Mitchell
a6b721853b
Remove 'sync' from default verbose flags ( #3319 )
...
Do not give sync feedback when not doing remote sync
2024-04-08 01:02:07 +00:00
ryneeverett
fd306712b8
Install corrosion as submodule. ( #3348 )
...
This will enable nixpkgs -- and any other distribution that builds in a
network sandbox and/or wants to use their own corrosion package rather
than building another one -- to do so without patching taskwarrior.
Since we're already using submodules for libshared I don't think this
should make the build process any more complicated for anyone else.
See
https://github.com/NixOS/nixpkgs/issues/300679#issuecomment-2041252688
for context.
2024-04-07 12:10:54 -04:00
Felix Schurk
b5aa7c6ae2
change order of hook invocation and setting task id ( #3339 )
...
this prevents that the task id is always returned as zero after a hook
is run on it
closes #3312
2024-04-05 19:45:55 -04:00
Dustin J. Mitchell
933885f21c
Merge pull request #3341 from ryneeverett/sync-config-man-warning
...
sync: Point to manpage if unconfigured
2024-04-05 19:01:50 -04:00
ryneeverett
587f8910ef
sync: Point to manpage if unconfigured
...
See #3340 .
2024-04-05 10:35:15 -04:00
dependabot[bot]
de42c8ba34
Bump strum_macros from 0.25.0 to 0.25.3 ( #3335 )
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.25.0 to 0.25.3.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 18:16:31 +00:00
Dustin J. Mitchell
8a0a98d3ef
Issue a warning if .data files remain ( #3321 )
...
This will help users realize that they have updated to an incompatible
version and must export and import their tasks.
2024-03-31 18:55:30 -04:00
Felix Schurk
5a56cff88b
prefix regex strings to be treated as raw strings ( #3322 )
...
Source for documentation
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals .
Closes #3316 .
2024-03-31 09:08:56 -04:00
Dustin J. Mitchell
c91cef43b0
add note about ENABLE_SYNC to changelog ( #3317 )
2024-03-31 00:59:21 +00:00
Felix Schurk
8c2c629a4d
use CMake project settings ( #3315 )
...
This adds a description as well as the homepage to the CMake settings.
Further it would also now use the numbering cheme as supposed to in
CMake, this way other people could now pin a specific version if
taskwarrior is included in another project.
Documentation from CMake is https://cmake.org/cmake/help/latest/command/project.html
2024-03-30 10:33:49 -04:00
dependabot[bot]
dfaf3dfcb2
Bump tokio from 1.36.0 to 1.37.0 ( #3310 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 09:25:44 -04:00
Dustin J. Mitchell
06fdfc5af3
Edit Cargo.toml
during release ( #3302 )
2024-03-27 22:56:13 +00:00
dependabot[bot]
19f2c0d7b4
Bump uuid from 1.7.0 to 1.8.0 ( #3290 )
...
* Bump uuid from 1.7.0 to 1.8.0
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* use as_bytes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dustin J. Mitchell <djmitche@google.com>
2024-03-24 22:19:27 +00:00
Dustin J. Mitchell
8bb08bf01d
Add releasing docs ( #3292 )
...
add releasing docs
2024-03-24 21:32:38 +00:00
Dustin J. Mitchell
3e41fb604c
Prepare for 3.0.0 release ( #3287 )
2024-03-24 16:13:06 -04:00
dependabot[bot]
d54264f80c
Bump docker/build-push-action from 5.2.0 to 5.3.0 ( #3289 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 19:40:31 -04:00
dependabot[bot]
db60bf6d72
Bump docker/login-action from 3.0.0 to 3.1.0 ( #3288 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 19:40:23 -04:00
dependabot[bot]
0c8edfc50e
Bump docker/build-push-action from 5.1.0 to 5.2.0 ( #3285 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 08:44:18 -04:00
dependabot[bot]
904bece710
Bump mio from 0.8.10 to 0.8.11 ( #3283 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 23:55:44 +00:00
Dustin J. Mitchell
aaff97d878
Use opensuse tumbleweed ( #3282 )
2024-03-04 17:42:27 +00:00
Dustin J. Mitchell
18a8bd2997
Use corrosion instead of CMakeRust ( #3273 )
...
* Use corrosion instead of CMakeRust
* use OpenSUSE tumbleweed (latest) to get newer CMake
2024-03-02 16:21:34 -05:00
Felix Schurk
8dd29e0a8a
Change to out-of source build, Update build instructions ( #3271 )
...
* update build instructions
Usage of "modern" CMake syntax and using specific out of source build.
Further add example on how to build in parallel, build a specific target
and how to change the compiler.
This closes #3236 .
2024-02-25 12:27:52 -05:00
ryneeverett
34c0e67469
show undo diff ( #3213 )
...
Exposes undo operations via the C API, and uses those to show a (new, differently formatted) diff before committing the undo.
2024-02-09 22:11:14 -05:00
dependabot[bot]
89df80c9f0
Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 ( #3267 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.3.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 11:29:42 -05:00
dependabot[bot]
79435b1a03
Bump tokio from 1.35.1 to 1.36.0 ( #3268 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 11:28:21 -05:00
Akash Shanmugaraj
aeb6acf640
added BYOS (Bring Your Own SERVICE_ACCOUNT) for GCS authentication ( #3262 )
2024-01-27 07:57:12 -05:00
Dustin J. Mitchell
83bbe4ec37
Fix invalid imports in [{..}]
form ( #3241 )
...
* Fix invalid imports in `[{..}]` form
Before this change, if an import of data that takes the form of a JSON
array of JSON objects results in an error, the import would be re-tried
assuming that each line of the file is a JSON object (the old format).
However, no check was made that the value actually was an object before
casting it to `json::object`, resulting in a segfault.
This adds the check, and handles the failure with a useful error message
(from the first attempt to parse the file).
2024-01-25 08:01:20 -05:00