Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow machine-readable import & export #173

Closed
savchenko opened this issue Mar 28, 2021 · 5 comments
Closed

Allow machine-readable import & export #173

savchenko opened this issue Mar 28, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@savchenko
Copy link
Collaborator

Based on https://github.com/djmitche/taskchampion/issues/159, shall we narrow-down the scope to a single machine-readable export that can be passed to an arbitrary tool?

As an example:

  • ta export tasks — dumps all tasks into stdout wrapped in JSON.
@savchenko savchenko added the enhancement New feature or request label Mar 28, 2021
@djmitche
Copy link
Collaborator

Yeah, that seems reasonable. More sophisticated uses should use their own Replica, but lots of simpler uses can be accomplished with an export.

@savchenko
Copy link
Collaborator Author

@dbr / @djmitche , is this a "tick" (large change) or "tock" (lesser thing)? Judging by the amount of work necessary.

@savchenko savchenko added the TBD label Apr 27, 2021
@dbr
Copy link
Collaborator

dbr commented Apr 27, 2021

I would suspect more towards the largest side of things - the actual output of tasks as JSON or whatever is easy (tasks are already serializable as JSON), but making sure the output is as we want, documented, and tested to ensure stability of output will take a bit of time and thought

@savchenko savchenko added this to the v0.9.0 milestone Apr 27, 2021
@savchenko savchenko removed the TBD label Apr 27, 2021
@savchenko
Copy link
Collaborator Author

Thanks. Moved under v0.9.0 which translates into "aiming to get it done before the release, but without any particular urgency".

@djmitche
Copy link
Collaborator

Per discussion in #162, let's include an ta import tasks at the same time that will import the same format. Then users can transform or generate that format.

@savchenko savchenko changed the title Allow machine-readable export Allow machine-readable import & export Apr 28, 2021
@djmitche djmitche added the cli label Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants