Search Criteria
Package Details: todotxt 2.12.0.post2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/todotxt.git (read-only, click to copy) |
---|---|
Package Base: | todotxt |
Description: | Simple and extensible shell script for managing your todo.txt file |
Upstream URL: | https://github.com/todotxt/todo.txt-cli |
Keywords: | todo |
Licenses: | GPL3 |
Submitter: | darose |
Maintainer: | willemw |
Last Packager: | willemw |
Votes: | 137 |
Popularity: | 0.32 |
First Submitted: | 2006-11-28 22:41 (UTC) |
Last Updated: | 2022-05-07 11:34 (UTC) |
Dependencies (2)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- bash-completion (bash-completion-git) (optional) – tab completion
Latest Comments
lbortoli commented on 2022-04-25 19:53 (UTC)
I tried with the latest version and removing the sourcing from my .bashrc file and it's working fine, thanks!
willemw commented on 2022-04-25 19:34 (UTC)
Sourcing the completion file is not necessary with the latest update.
@lbortoli: Thanks for reporting the issue.
lbortoli commented on 2022-04-25 13:10 (UTC)
Thank you guys, I already solved it by sourcing the completion in my .bashrc file.
willemw commented on 2022-04-24 19:28 (UTC)
@lborti: make sure 'bash-completion' is installed. Try this as a test (run as root):
Then start bash again and test todotxt's tab completion.
leonardof commented on 2022-04-24 18:19 (UTC)
@lborti, this helped me with bash tab completion complaining about "function _todo not found"
willemw commented on 2022-04-12 19:28 (UTC)
@lbortoli: assuming that you have version 2.12.0.post1-3 installed and file /usr/share/bash-completion/completions/todo exists, then something on your system is interfering with tab-completion, I think.
lbortoli commented on 2022-04-12 17:45 (UTC)
@willemw: when I do that, I get a list of files and folders, and I'm assuming I'll get the list of commands instead. Also if I do the following:
todo.sh a<TAB><TAB>
nothing happens, where I'd expect theadd
command to appear.willemw commented on 2022-04-12 17:27 (UTC)
@lbortoli: make sure you are running bash. Then the following should display a list:
todo<TAB><TAB><TAB>
ortodo.sh<SPACE><TAB><TAB>
lbortoli commented on 2022-04-12 13:12 (UTC)
Hello! I just installed this package and it seems that bash completion is not working.
willemw commented on 2021-08-08 11:41 (UTC)
@billypilgrim: bash completion now works out-of-the-box again.
willemw commented on 2021-07-29 21:06 (UTC) (edited on 2021-10-04 18:23 (UTC) by willemw)
@dreieck: Thanks. Should be fixed in the next release/update. If you want, you can follow the progress of the github issue (see URL below) and maybe test the fix before the next release, for example, by copying the check() function from todotxt-git's PKGBUILD and run the tests.
dreieck commented on 2021-07-29 15:43 (UTC)
I have added
unser XDG_CONFIG_HOME
in thePKGBUILD
inbuild()
,check()
andpackage()
and I get a failingcheck()
with* FAIL 1: no config file
* FAIL 2: custom action (default location 2)
* FAIL 5: config file (global config file)
It had to do that I have
$TODO
*-variables set.I had to also unset those variables in addition to
$XDG_CONFIG_HOME
incheck()
.check()
succeeds for me if I add to it:Here, for completeness, the error I get in
check()
with onlyunset XDG_CONFIG_HOME
:billypilgrim commented on 2021-07-28 05:27 (UTC)
That seemed to do the trick. Thanks!
willemw commented on 2021-07-27 16:15 (UTC)
Maybe that has changed. According to the current instructions: https://github.com/todotxt/todo.txt-cli/wiki/Quick-Start-Guide#optional
billypilgrim commented on 2021-07-27 16:09 (UTC)
Nope. Is that necessary? I didn't have to do that before...
willemw commented on 2021-07-27 14:06 (UTC) (edited on 2021-07-27 14:12 (UTC) by willemw)
@billypilgrim: it is working for me. Do you "source" the completion file in Bash?
billypilgrim commented on 2021-07-27 08:37 (UTC)
Is bash completion broken for other peeps? I'm not sure which update broke things, but it definitely used to work for me :-(
willemw commented on 2021-07-20 20:04 (UTC)
I did think it had something to do with some environment setting (XDG, for example). Yesterday I made a similar fix for testing the backintime-git package.
serxxx commented on 2021-07-20 19:57 (UTC)
This is being addressed upstream.
serxxx commented on 2021-07-20 09:03 (UTC) (edited on 2021-07-20 09:05 (UTC) by serxxx)
According to https://github.com/todotxt/todo.txt-cli/issues/347#issuecomment-882713620, the failures are caused by:
1, Users having
XDG_CONFIG_HOME
set, and2, having a
$XDG_CONFIG_HOME/todo/config
fileUnsetting
$XDG_CONFIG_HOME
causes the tests to pass. While I don't yet know whether this will be changed upstream, AFAIK that's not an invalid user set-up and seems to cause false failures -- it might be good to have thePKGBUILD
unset the variable before running the tests.willemw commented on 2021-07-19 10:17 (UTC)
Tried the same yay command: all tests pass. Is it downloading the correct version?
Do you get the same result building with makepkg (after git clone) or in a clean chroot environment?
The first test already fails: "FAIL 1: no config file". You can run tests in verbose or debug mode: TEST_OPTIONS=--verbose makepkg
I get this with the first test in verbose mode:
serxxx commented on 2021-07-19 09:29 (UTC) (edited on 2021-07-19 10:05 (UTC) by serxxx)
@willemw, I see the same problem as @dreieck. FWIW, I cloned the upstream repository and get the same test failures with
make test
.Edit: Issue filed upstream: https://github.com/todotxt/todo.txt-cli/issues/347
willemw commented on 2021-07-06 17:24 (UTC)
@dreieck: Cannot reproduce that error. All tests pass. Tried it in a clean chroot, with makepkg and paru.
Try again after removing this package's build cache or try to build with "makepkg -si" and see if that works.
dreieck commented on 2021-07-06 13:36 (UTC) (edited on 2021-07-06 13:38 (UTC) by dreieck)
I get an error in
check()
:Does the test need to be run on a custom provided config file (
FAIL 1: no config file
)?willemw commented on 2021-06-18 18:15 (UTC) (edited on 2021-06-18 18:15 (UTC) by willemw)
@dkaparis: When the next release comes out, this package will follow the releases as normal.
Version 2.12.0.post1 is a one-time in-between release version, at my discretion, that allows me to use the new "make; make install" build procedure. BTW, all the "make test" tests are passing. But if there are objections to this version, then I could change it back to 2.12.0.
dkaparis commented on 2021-06-18 17:56 (UTC)
What is the "2.12.0.post1" version?
I don't see such release at https://github.com/todotxt/todo.txt-cli/releases and we already have a todotxt-git package to track current git.
willemw commented on 2021-06-17 15:31 (UTC)
@abouvier: Thanks. Added.
abouvier commented on 2021-06-17 14:25 (UTC)
git
is now required inmakedepends
Rhinoceros commented on 2021-06-11 08:05 (UTC)
The config file can now be stored in the XDG compliant directory, i.e.
~/.config/todo/config
, so it might be worth modifying the install script to reflect this. IMO it's a better location than the home directory.simona commented on 2020-01-18 18:00 (UTC)
zsh simona@simonapc1 ~ todo.sh add riga 1 [0] /bin/todo.sh: riga 765: /bin/todo.txt: Permesso negato /bin/todo.sh: riga 766: /bin/done.txt: Permesso negato /bin/todo.sh: riga 767: /bin/report.txt: Permesso negato /bin/todo.sh: riga 793: /bin/todo.txt: Permesso negato sed: impossibile leggere /bin/todo.txt: File o directory non esistente
distefam commented on 2019-09-07 22:19 (UTC)
On my system this installed the config file to
/usr/share/todotxt/todo.cfg
. I had to move this to~/.todo/config
for the command to work properly.ginjiro commented on 2017-10-16 00:23 (UTC)
AmadoMartinez commented on 2017-10-14 15:47 (UTC)
ginjiro commented on 2017-08-23 04:38 (UTC)
ad1217 commented on 2017-08-23 03:37 (UTC)
willemw commented on 2016-02-14 14:33 (UTC)
ginjiro commented on 2016-02-14 14:30 (UTC)
willemw commented on 2016-02-14 14:23 (UTC)
ginjiro commented on 2015-11-29 04:21 (UTC)
darose commented on 2014-07-24 00:29 (UTC)
vvo commented on 2014-07-23 08:51 (UTC)
darose commented on 2014-02-10 03:11 (UTC)
Lastebil commented on 2014-02-09 14:23 (UTC)
darose commented on 2014-02-06 16:42 (UTC)
orschiro commented on 2013-09-20 13:32 (UTC)
darose commented on 2013-02-22 20:42 (UTC)
punk_physicist commented on 2013-02-22 20:29 (UTC)
darose commented on 2013-02-21 20:54 (UTC)
frankbe commented on 2013-02-15 17:28 (UTC)
commented on 2013-01-26 21:52 (UTC)
donniezazen commented on 2012-04-16 18:21 (UTC)
darose commented on 2012-04-16 17:43 (UTC)
darose commented on 2012-04-16 14:45 (UTC)
donniezazen commented on 2012-04-14 18:52 (UTC)
darose commented on 2011-10-11 14:14 (UTC)
darose commented on 2011-10-11 02:00 (UTC)
commented on 2011-10-10 23:10 (UTC)
darose commented on 2011-03-10 18:27 (UTC)
commented on 2011-03-10 09:30 (UTC)
darose commented on 2011-03-10 04:04 (UTC)
commented on 2011-03-09 23:15 (UTC)
darose commented on 2010-08-16 15:22 (UTC)
darose commented on 2010-05-13 15:07 (UTC)