Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23226 - [task] installs scripts in wrong location

Attached to Project: Community Packages
Opened by Greg (dolby) - Thursday, 10 March 2011, 16:55 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 10 April 2011, 14:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Peter Lewis (petelewis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The task command-line todo list manager installs zsh, fish and bash completions as well as vim syntax files into /usr/share/doc/task/scripts/. That way the user never takes advantage of them.

Additionally, the package is lacking optional dependency on all three above, as well as perl and ruby, in which the files in /usr/share/doc/task/scripts/add-ons/ as written in.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 10 April 2011, 14:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  task 1.9.4-2
Comment by Greg (dolby) - Thursday, 10 March 2011, 17:00 GMT
One more, thing, it may be worth enabling lua in the build as well.

edit: /usr/share/doc/task/scripts/add-ons/ has scripts in python as well.
edit2: the /usr/share/doc/task/scripts/add-ons/ scripts also seem to require json
probably perl-json, python-cjson and ruby-json ( http://aur.archlinux.org/packages.php?O=0&K=ruby-json&do_Search=Go )
Comment by Peter Lewis (petelewis) - Thursday, 10 March 2011, 20:29 GMT
Hi Greg, thanks for the report.

I had personally always just copied the relevant completion file to my home directory, but yes it's probably easier to install these system wide. Have implemented this. There doesn't need to be a dependency (even optional) on bash/fish/zsh/vim though, at least not simply because they provide completion.

ruby-json is currently in the AUR so can't be a dependency of this. I'll investigate further on this front.

Thanks.
Comment by Peter Lewis (petelewis) - Friday, 11 March 2011, 16:58 GMT
Okay, well the python, perl and ruby scripts in the addons directory are just there as code examples at the moment, in case people want to integrate with taskwarrior through those languages. I think it's safe to leave them out right now.

Regarding lua, that's still experimental and upstream advises against enabling it in official builds.

Did the completion scripts work for you? If so, are you happy for me to close this bug?

Thanks.
Comment by Greg (dolby) - Friday, 11 March 2011, 20:44 GMT
If you think its fine, its fine by me. Thanks.

Loading...