Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604688 - app-shells/tmux-bash-completion: bash completion for app-misc/tmux
Summary: app-shells/tmux-bash-completion: bash completion for app-misc/tmux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Shell Tools project
URL: https://github.com/imomaliev/tmux-bas...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-04 19:16 UTC by Gleb
Modified: 2017-08-21 20:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tmux-bash-completion-9999.ebuild (tmux-bash-completion-9999.ebuild,526 bytes, text/plain)
2017-08-07 20:19 UTC, zlg (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb 2017-01-04 19:16:14 UTC
Since tmux-2.2. bash completion files are not provided with the package and not installed by default, upstream has a link to another github repo with bash completion files which probably can be added as additional package to the tree:
https://github.com/imomaliev/tmux-bash-completion
Comment 1 Coacher 2017-01-08 13:28:22 UTC
CC'ing current tmux maintainers.
Comment 2 zlg (RETIRED) gentoo-dev 2017-08-03 20:28:01 UTC
I'm just about ready to put together an ebuild, when I noticed this project doesn't appear to have a license. Since it's based on other scripts (which similarly link to a dead link), have you had any luck determining its license? I can't add this to the tree without a license, and I cannot reach imomaliev without a GitHub account.

I tried to find their appspot.com source on archive.org and turned up with HTTP 404 error pages. Could you get in touch with upstream and ask them to clarify their license so we can add it to the tree?

Thanks for reporting.
Comment 3 Gleb 2017-08-05 03:15:27 UTC
I couldn't find the license, and the original link is dead for me too.

Here's the ticket:
https://github.com/imomaliev/tmux-bash-completion/issues/5
Comment 4 Gleb 2017-08-06 06:36:23 UTC
Maintainer replied to the ticket on Github and claims that this completion script is distributed under GPL2 license.

https://github.com/imomaliev/tmux-bash-completion/blob/master/COPYING
Comment 5 zlg (RETIRED) gentoo-dev 2017-08-07 20:19:40 UTC
Created attachment 488254 [details]
tmux-bash-completion-9999.ebuild

app-shells/tmux-bash-completion-9999.ebuild

Thanks for reporting that issue; I saw upstream's reply on the 5th and tidied up the ebuild. Upstream doesn't have a formal release (aside from the Homebrew-1.0 branch, for OS X) so it'll need to be a live ebuild for now. If you get the chance, go ahead and test the attached ebuild to make sure I didn't miss anything. I'll get a final sanity check on it and push within the next few days.
Comment 6 Gleb 2017-08-09 12:11:37 UTC
ebuild is working fine, completion is also working. Thanks!
Comment 7 Gleb 2017-08-09 12:14:49 UTC
Also, I asked maintainer about versions / tags [1].

[1]: https://github.com/imomaliev/tmux-bash-completion/issues/6
Comment 8 Patrice Clement (RETIRED) gentoo-dev 2017-08-20 15:39:20 UTC
Hey Daniel

Can we go ahead and commit this ebuild? It'd be great! :)
Comment 9 zlg (RETIRED) gentoo-dev 2017-08-21 20:28:23 UTC
commit d37508ec22d73c7c40bf95692a2d39be0ea2fe4e
Author: Daniel Campbell <zlg@gentoo.org>
Date:   Mon Aug 21 13:25:57 2017 -0700

    app-shells/tmux-bash-completion: new package
    
    Gentoo-Bug: 604688
    Gentoo-Bug-URL: https://bugs.gentoo.org/604688
    
    Thanks, Gleb.
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.3