Dustin J. Mitchell
d6658fe26f
Remove missed handleRecurrence/handleUntil calls ( #3771 )
...
These were missed in #3753 .
2025-02-06 08:31:33 +01:00
Dustin J. Mitchell
7871617e9c
Only handleRecurrence/handleUntil when rc.gc=1 ( #3772 )
2025-02-06 08:30:41 +01:00
Dustin J. Mitchell
fdb7e5e020
Test for unusual task data ( #3770 )
...
* Test for unusual task data
A task might have any combination of keys and values, but Taskwarrior
often assumes that only valid values can occur, and crashes otherwise.
This is highly inconvenient, as it's often impossible to do anything
with the invalid task -- Taskwarrior just fails without modifying it.
So, this is the beginning of some testing for such invalid tasks, with
the goal of making Taskwarrior due something reasonable. In general, an
invalid attribute value is treated as if it was not set. This is not
exhaustive, and there are likely still bugs of this sort, but as we find
them we can fix and add regression tests to this script.
This introduces a new test-only binary that creates a "bare" task using
TaskChampion, avoiding Taskwarrior's efforts to not create "unusual"
tasks.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-05 08:20:35 -05:00
pre-commit-ci[bot]
e1fc283da5
[pre-commit.ci] pre-commit autoupdate ( #3773 )
...
updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-03 13:13:57 -05:00
dependabot[bot]
244513fad7
Bump docker/build-push-action from 6.12.0 to 6.13.0 ( #3766 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.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>
2025-02-01 15:51:35 -05:00
Matthew
3ae7413ebd
Update task.md json lines end with \n (0xA) not \r (0xD) ( #3752 )
...
Update task.md to fix mistake in json format. In the code the json lines end with \n (0xA) not \r (0xD)
2025-02-01 15:37:43 -05:00
dependabot[bot]
8d210b5263
Bump docker/build-push-action from 6.11.0 to 6.12.0 ( #3761 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.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>
2025-01-20 18:00:57 -05:00
pre-commit-ci[bot]
20417b311e
[pre-commit.ci] pre-commit autoupdate ( #3762 )
...
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.6 → v19.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.6...v19.1.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-20 13:27:51 -05:00
Dustin J. Mitchell
aeeec16984
Handle 'until' and 'recur' simiar to handling of 'gc' ( #3753 )
...
This centralizes updates to recurrence and 'until' in Command, instead
of doing so in each individual command implementation.
This is preparatory to opening the TaskChampion replica in read-only
mode.
2025-01-18 02:20:41 -05:00
Dustin J. Mitchell
1c9dddcae7
Remove unused, undefined method TDB2::dump ( #3754 )
2025-01-13 08:33:06 -05:00
dependabot[bot]
ffcd1c0d79
Bump docker/build-push-action from 6.10.0 to 6.11.0 ( #3755 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.10.0 to 6.11.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.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>
2025-01-13 08:32:46 -05:00
Dustin J. Mitchell
2e5177aa7c
Update to TaskChampion 2.0.2 ( #3746 )
2025-01-06 13:29:19 -05:00
pre-commit-ci[bot]
ae3651fd3f
[pre-commit.ci] pre-commit autoupdate ( #3748 )
...
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.5 → v19.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.5...v19.1.6 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-06 12:48:12 -05:00
Dustin J. Mitchell
ddeec3512a
Add more CMake options to INSTALL ( #3743 )
2025-01-01 13:29:17 -05:00
Karl
630585d7b4
Update git log in CMakeLists.txt to not include potential signatures ( #3742 )
2024-12-31 13:51:35 -05:00
jrmarino
9105985c7c
Add offline build notes to INSTALL ( #3705 ) ( #3740 )
...
Document additional steps that have been successful for NixOS and Ravenports.
2024-12-31 17:28:48 +00:00
Tejada-Omar
3bf0200602
Consider news read if news.version
> current version ( #3734 )
...
Avoids two installations of taskwarrior with differing versions from
constantly nagging and rewriting `news.version`
2024-12-23 11:34:51 -05:00
Kalle Kietäväinen
1b9353dccc
Fix suppressing news nag after reading the news ( #3731 )
2024-12-20 13:13:23 +01:00
Dustin J. Mitchell
1ee69ea214
Release 3.3.0 ( #3729 )
...
* Release 3.3.0
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-19 16:57:43 +01:00
Dustin J. Mitchell
dcbe916286
Make test hooks executable ( #3728 )
2024-12-17 19:08:48 -05:00
Dustin J. Mitchell
cc505e4881
Support importing Taskwarrior v2.x data files ( #3724 )
...
This should ease the pain of upgrading from v2.x to v3.x.
2024-12-17 01:24:45 +00:00
Dustin J. Mitchell
758ac8f850
Add support for sync to AWS ( #3723 )
...
This is closely modeled on support for sync to GCP (#3223 ), but with
different authentication options to mirror typical usage of AWS.
2024-12-17 01:08:50 +00:00
pre-commit-ci[bot]
ff325bc19e
[pre-commit.ci] pre-commit autoupdate ( #3725 )
...
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.4 → v19.1.5](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.4...v19.1.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-16 12:59:12 -05:00
dependabot[bot]
ddae5c4ba9
Bump taskchampion from 0.9.0 to 1.0.0 ( #3722 )
...
* Bump taskchampion from 0.9.0 to 1.0.0
Bumps [taskchampion](https://github.com/GothenburgBitFactory/taskchampion ) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/GothenburgBitFactory/taskchampion/releases )
- [Commits](https://github.com/GothenburgBitFactory/taskchampion/compare/v0.9.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: taskchampion
dependency-type: direct:production
update-type: version-update:semver-major
...
* Bump MSRV
* update url to address RUSTSEC-2024-0421
---------
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 <dustin@v.igoro.us>
2024-12-10 13:45:25 +00:00
Dustin J. Mitchell
4add839548
Add instructions for running against customized TaskChampion ( #3719 )
...
This is often useful when doing work that includes changes in both TC
and TW.
2024-12-09 12:05:09 +01:00
Dustin J. Mitchell
3ea726f2bb
Cargo update hashbrown ( #3716 )
2024-12-07 21:56:34 -05:00
Kursat Aktas
ce70a182c1
Introducing Taskwarrior Guru on Gurubase.io ( #3689 )
...
* Introducing Taskwarrior Guru on Gurubase.io
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com>
2024-12-07 11:18:52 -05:00
dependabot[bot]
8de7ff52e7
Bump docker/build-push-action from 6.9.0 to 6.10.0 ( #3715 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.9.0...v6.10.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-12-02 08:13:54 -05:00
David Tolnay
dfc36aefcf
Rely on cxx to enforce matching versions ( #3713 )
2024-12-01 17:12:05 -05:00
Dustin J. Mitchell
c2cb7f36a7
Include cxxbridge-cmd in Cargo.lock, check version consistency ( #3712 )
...
This adds cxxbridge-cmd to Cargo.lock per
https://github.com/dtolnay/cxx/issues/1407#issuecomment-2509136343
It adds an MSRV to `src/taskchampion-cpp/Cargo.toml` so that the
version of `Cargo.lock` is stil compatible with the MSRV.
It additionally adds a check of the Cargo metadata for all of the cxx*
versions agreeing, and for the MSRV's agreeing.
2024-12-01 15:22:26 +00:00
Dustin J. Mitchell
e5ab1bc7a5
Update libshared ( #3711 )
...
This brings in https://github.com/GothenburgBitFactory/libshared/pull/89
2024-11-29 09:35:21 -05:00
Dustin J. Mitchell
4797c4e17e
Check Datetime addition when performing recurrence ( #3708 )
2024-11-29 09:12:20 -05:00
Dustin J. Mitchell
0b286460b6
Update rustls to latest version ( #3704 )
2024-11-27 17:59:31 -05:00
Dustin J. Mitchell
a99b6084e8
Only nag to read news when there's news to read ( #3699 )
2024-11-25 17:48:06 -05:00
pre-commit-ci[bot]
5664182f5e
[pre-commit.ci] pre-commit autoupdate ( #3701 )
...
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.3 → v19.1.4](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.3...v19.1.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-25 20:33:39 +01:00
Felix Schurk
68c63372c1
change fedora39 to fedora41 runner ( #3698 )
...
* change fedora39 to fedora41 runner
* update github workflow runner file
2024-11-25 05:54:43 +01:00
Dustin J. Mitchell
ed3667c19e
Revert "add cpp standard flag to cmake ( #3684 )"
...
This reverts commit 01ced3238e
.
2024-11-22 22:47:29 -05:00
Thomas Lauf
caae3fa37b
Use repository owner instead of actor to log into GitHub CR
2024-11-22 21:18:31 +01:00
geoffpaulsen
066bb3e331
Updating the URL for Migration Documentation ( #3694 )
2024-11-21 21:19:44 -05:00
Kalle Kietäväinen
98204b17a6
Set CMake C++ standard ( #3688 )
...
Instead of setting `-std` compiler flag directly, set the
`CMAKE_CXX_STANDARD` variable. This lets CMake know the required C++
standard and evaluate the final compiler flag correctly, taking into
account compile features set by `target_compile_features()`.
This change preserves the existing behavior, where compiler extensions
are disabled for other targets than Cygwin.
2024-11-17 15:18:28 -05:00
Dustin J. Mitchell
096f94d3d1
Use Signal instead of PGP to contact me securely ( #3685 )
2024-11-16 13:45:44 -05:00
Felix Schurk
01ced3238e
add cpp standard flag to cmake ( #3684 )
...
add DCMAKE_CXX_STANDARD flag
See documentation in CMake.
https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html
2024-11-15 16:32:05 -05:00
Chongyun Lee
8cc4c461d6
Fix compile with libc++ 18 ( #3680 )
2024-11-13 22:09:08 -05:00
Scott Mcdermott
3e8bda6a23
release 3.2.0 links wrong PR for weekstart change ( #3681 )
...
ChangeLog: fix typo in linked PR number for weekstart change
off by 1000
2024-11-13 22:04:25 -05:00
Dustin J. Mitchell
7a092bea03
Release v3.2.0 ( #3679 )
2024-11-12 14:52:22 -05:00
Dustin J. Mitchell
54a94bd18c
include bubblegum-256.theme in default .taskrc ( #3673 )
2024-11-08 13:10:04 +01:00
Dustin J. Mitchell
a2f9b92d6c
Better undo output (and remove undo.style
config) ( #3672 )
2024-11-07 14:56:34 -05:00
Dustin J. Mitchell
dcc8a8cdde
bump libshared for bold 256color support ( #3670 )
...
In particular, commit 47a750c385
.
2024-11-06 07:40:16 -05:00
Dustin J. Mitchell
c9967c20e2
Restore support for task info
journal ( #3671 )
...
This support was removed before Taskwarrior-3.x, and is now restored,
including the original tests removed in
ddd367232e
2024-11-06 07:39:39 -05:00
Dustin J. Mitchell
7da23aee1c
Run cargo test and fix it ( #3663 )
...
run cargo test and fix it
2024-11-05 08:55:10 -05:00