Gagan Nagaraj
c00c0e941b
Throw error when task config write is unsuccessfully ( #3620 )
2024-09-11 10:20:22 -04:00
Gagan Nagaraj
6a24510473
Exclude attributes starting with tag_ ( #3619 )
...
* Exclude attributes starting with tag_
* Check only for tag_*
2024-09-09 08:12:19 -04:00
Tobias Predel
72f9cd91a5
Refine INSTALL file ( #3615 )
...
Update INSTALL file
CMake can also abstract the install procedure from the underlying Makefile
2024-09-02 18:22:33 -04:00
Dustin J. Mitchell
44d443a8d6
Update INSTALL file ( #3606 )
2024-09-02 12:53:50 +00:00
Dustin J. Mitchell
2e3badbf99
Add some instructions to the MSRV ( #3604 )
...
There is no easy way to determine the MSRV for TaskChampion, other than
somehow pulling the right version of the source and grepping for it. In
practice, if we update the `taskchampion` dependency to one that has a
higher MSRV, we'll get a build error and find this comment. And if we
get an error building Taskwarrior due to an old MSRV (for example if
something changes on `crates.io`) then we will also find this comment.
This also removes some superfluous dependency versions from the root
workspace. `src/taskchampion-cpp/Cargo.toml` specifies versions
directly.
2024-08-26 21:45:19 -04:00
dependabot[bot]
6cfbb16966
Bump docker/build-push-action from 6.6.1 to 6.7.0 ( #3602 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.6.1 to 6.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.6.1...v6.7.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-08-19 09:22:41 -04:00
Dustin J. Mitchell
70632b088e
Do not count undo operations in the 'would be reverted..' message ( #3598 )
2024-08-14 08:35:34 -04:00
dependabot[bot]
d46e5eca58
Bump docker/build-push-action from 6.5.0 to 6.6.1 ( #3595 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.5.0 to 6.6.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.5.0...v6.6.1 )
---
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-08-12 08:23:45 -04:00
dependabot[bot]
05da133eb6
Bump sigstore/cosign-installer from 3.5.0 to 3.6.0 ( #3594 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.5.0...v3.6.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-08-12 08:22:36 -04:00
Dustin J. Mitchell
c719cce4f1
Run all C++ tests from a single executable ( #3582 )
2024-08-12 00:20:17 +00:00
Dustin J. Mitchell
4ff63a7960
Use TaskChampion 0.7.0, now via cxx instead of hand-rolled FFI ( #3588 )
...
TC 0.7.0 introduces a new `TaskData` type that maps to Taskwarrior's
`Task` type more cleanly. It also introduces the idea of gathering lists
of operations and "committing" them to a replica.
A consequence of this change is that TaskChampion no longer
automatically maintains dependency information, so Taskwarrior must do
so, with its `TDB2::dependency_sync` method. This method does a very
similar thing to what TaskChampion had been doing, so this is a shift of
responsibility but not a major performance difference.
Cxx is .. not great. It is missing a lot of useful things that make a
general-purpose bridge impractical:
- no support for trait objects
- no support for `Option<T>` (https://github.com/dtolnay/cxx/issues/87 )
- no support for `Vec<Box<..>>`
As a result, some creativity is required in writing the bridge, for
example returning a `Vec<OptionTaskData>` from `all_task_data` to allow
individual `TaskData` values to be "taken" from the vector.
That said, Cxx is the current state-of-the-art, and does a good job of
ensuring memory safety, at the cost of some slightly awkward APIs.
Subsequent work can remove the "TDB2" layer and allow commands and other
parts of Taskwarrior to interface directly with the `Replica`.
2024-08-11 02:06:00 +00:00
Jan Christian Grünhage
0f96fd31bf
Update google-cloud-auth to drop ring@0.16.20 ( #3591 )
...
* Update google-cloud-auth to drop ring@0.16.20
ring@0.16.20 doesn't build on ppc and risc-v, and updating
google-cloud-auth pulls in a newer version of jsonwebtoken,
which in turn depends on a newer version of ring that we depend on
already either way.
This necessitated an MSRV bump to 1.73.0
2024-08-09 21:24:12 -04:00
Jan Christian Grünhage
3d30f2ac46
Optionally use system provided corrosion ( #3590 )
2024-08-09 13:05:19 -04:00
Dustin J. Mitchell
49e09a9783
Remove accidentally-included sqlite3 file ( #3589 )
2024-08-08 03:11:56 +00:00
Dustin J. Mitchell
17889a3f25
Actually run shell tests ( #3583 )
...
Two of these used EXPFAIL which, because nothing is interpreting the TAP
output, does not work. So, that functionality is removed, and the
expected-to-fail bits are commented out or removed.
There was a conditional on the filename in `bash_tap.sh` which caused it
to not actually do anything and just run the test as a simple shell
script. That, too, has been removed.
2024-08-07 00:44:12 +00:00
pre-commit-ci[bot]
c0b708d1f3
[pre-commit.ci] pre-commit autoupdate ( #3587 )
...
updates:
- [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-05 14:20:35 -04:00
Dustin J. Mitchell
5c6cc3e522
Release 3.1.0 ( #3574 )
2024-08-04 16:51:11 +00:00
Dustin J. Mitchell
160be69852
Update to docker compose v2 ( #3577 )
2024-08-04 16:37:18 +00:00
Dustin J. Mitchell
70714e8ca0
Merge pull request #3566 from felixschurk/add-clang-format
...
Add clang-format to enforce style guide
2024-07-29 17:45:36 -04:00
Felix Schurk
4d058a5c5a
add .git-blame-ignore-revs file to hide formating changes in git blame
2024-07-29 22:36:03 +02:00
Felix Schurk
93356b39c3
add initial bulk run from pre-commit over all files
2024-07-29 22:34:51 +02:00
Felix Schurk
665aeeef61
reflect updated code-style and workflow in documentation
2024-07-29 22:33:17 +02:00
Felix Schurk
954d3f5058
add blank line between cmake.h header include to prevent sorting
...
* add required comment in the line below cmake.h include header
2024-07-29 22:33:17 +02:00
Felix Schurk
dfc3566796
add .cache from clang-format to .gitignore
2024-07-29 22:33:17 +02:00
Felix Schurk
a40ead9c60
add pre-commit-config.yaml file
...
Includes default tools, as well as clang-format and black.
2024-07-29 22:33:17 +02:00
Felix Schurk
5406772b66
add clang-format initial version
2024-07-29 22:33:16 +02:00
dependabot[bot]
234fac40c6
Bump docker/build-push-action from 6.4.1 to 6.5.0 ( #3570 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.4.1...v6.5.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-07-29 08:50:15 -04:00
dependabot[bot]
9de339e087
Bump docker/login-action from 3.2.0 to 3.3.0 ( #3569 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3.2.0...v3.3.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-07-29 08:49:13 -04:00
Adrian Sadłocha
bb72ea6169
Remove encoding declaration in Python files ( #3568 )
...
As per
https://docs.python.org/3.11/reference/lexical_analysis.html#encoding-declarations ,
the default encoding of Python files is UTF-8. In fact, it's been the
default encoding since Python 3.0 (released in 2008).
2024-07-26 23:36:23 -04:00
dependabot[bot]
3a07f70253
Bump docker/build-push-action from 6.3.0 to 6.4.1 ( #3562 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.1 )
---
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-07-26 23:35:18 -04:00
Adrian Sadłocha
9c49863795
Make task news
nag configurable and deterministic ( #3567 )
...
This patch fixes #3497 .
2024-07-26 20:30:54 -04:00
Adrian Sadłocha
9dde68f918
Remove unused variables in task history
implementation ( #3564 )
2024-07-24 19:54:56 -04:00
Adrian Sadłocha
4dc3093b22
Update a comment to match the code ( #3565 )
2024-07-24 19:52:25 -04:00
Adrian Sadłocha
40ea3f2f54
Fix conversion from TCStatus::Unknown
( #3561 )
...
Before this patch, the messsage would be "unknown TCStatus 4294967295"
(i.e. `u32::MAX`) instead of "unknown TCStatus -1".
2024-07-20 06:46:06 -04:00
Adrian Sadłocha
7ea4baed77
Warn if an import contains multiple occurrences of the same UUID ( #3560 )
2024-07-19 22:27:16 -04:00
Dustin J. Mitchell
0650fe509f
Fix formatting in task-sync manpage ( #3535 )
2024-07-15 14:50:01 +02:00
Dustin J. Mitchell
7d79b9e516
Rename 'expiration.on-sync' to 'purge.on-sync' ( #3556 )
...
Taskwarrior uses "expire" to refer to deletion of tasks past their
"until" date, so let's use `purge` to link this semantically to the
`task purge` command.
2024-07-14 15:45:26 -04:00
Dustin J. Mitchell
1304d6361c
Restore 'task purge' functionality ( #3540 )
...
Co-authored-by: ryneeverett <ryneeverett@gmail.com>
2024-07-14 15:59:00 +00:00
Sebastian Carlos
e156efae7d
Note in taskrc(5) that "undo" configurations are not currently supported ( #3518 )
2024-07-13 22:54:35 -04:00
Dustin J. Mitchell
d4649dd210
Revert "Do not create recurring tasks before today ( #3542 )" ( #3555 )
...
This reverts commit 6d3519419e
.
2024-07-13 19:12:49 -04:00
Dustin J. Mitchell
9db275fedb
Fix link in issue template ( #3554 )
2024-07-12 21:27:11 -04:00
Dustin J. Mitchell
c477b2b59c
Do not claim that Taskwarrior automatically syncs ( #3537 )
...
Taskwarrior only syncs when `task sync` is run.
2024-07-12 21:23:20 -04:00
Dustin J. Mitchell
213b9d3aee
Add support for task expiration ( #3546 )
2024-07-09 16:39:39 -04:00
Will R S Hansen
2bd609afe3
Export tasks in a deterministic order ( #3549 )
...
fix issue #3527
2024-07-09 03:22:14 +00:00
dependabot[bot]
61c9b48664
Bump docker/build-push-action from 6.2.0 to 6.3.0 ( #3547 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6.2.0...v6.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-07-08 07:49:05 -04:00
Felix Schurk
4a04275266
add faketime and change to apt-get in devcontainer ( #3543 )
...
We require faketime to be installed for running the tests, therefore its added.
Further for non-interactive usage apt-get is recommended, therefore the change.
2024-07-07 23:04:09 +02:00
koleesch
847c482c25
Remove duplicate check from task diag ( #3545 )
2024-07-07 13:19:54 -04:00
Dustin J. Mitchell
6d3519419e
Do not create recurring tasks before today ( #3542 )
...
Tasks can be due "today", as `task add foo due:today ..` is a common
form. However, recurrences before that are just not created.
This avoids a lengthy "hang" when recurrences are updated on an old task
database, as many tasks in the past are created.
2024-07-07 08:51:09 -04:00
Sebastian Carlos
d1a3573c5f
Replace "gc" with "rebuild" in man pages. ( #3533 )
...
Replace "gc" with "rebuild" in man page.
Also, explain IDs in the context of the working set of tasks.
2024-07-04 22:32:22 -04:00
Hector Dearman
fa5604ea8d
Relax sync.server.origin to allow paths ( #3423 )
2024-07-04 23:17:52 +00:00