Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477830 - dev-vcs/subversion-1.7.10 - bash-completion files installed using wrong name (for bashcomp-2.1-r1)
Summary: dev-vcs/subversion-1.7.10 - bash-completion files installed using wrong name ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2013-07-22 23:38 UTC by Alexander Tsoy
Modified: 2014-10-11 09:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2013-07-22 23:38:15 UTC
Please add support for bash-completion-2.1-r1:
1. Install bash completion as 'svn', not 'subversion'.
2. Create symlinks for all supported commands:

$ egrep '^[[:space:]]*complete' /usr/share/bash-completion/completions/subversion | awk '{print $NF}' | grep -v '^svn$'
svnadmin
svndumpfilter
svnlook
svnsync
svnversion
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 18:38:40 UTC
What Alexander said.

$ ./get-completions /usr/share/bash-completion | ./completion-qa-check.py | grep subversion
subversion: does not declare completion for subversion
svndumpfilter: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)
svnversion: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)
svnsync: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)
svn: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)
svnadmin: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)
svnlook: missing completion symlink for command (declared in /usr/share/bash-completion/subversion)

So $completionsdir should look like:

  svn
  svnadmin -> svn
  svnlook -> svn
  ...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-11 09:08:33 UTC
+*subversion-1.8.10-r1 (11 Oct 2014)
+
+  11 Oct 2014; Michał Górny <mgorny@gentoo.org> +subversion-1.8.10-r1.ebuild:
+  Fix compatibility with bash-completion autoloading, bug #477830.

I've p.masked it along with new bashcomp to avoid unnecessary rebuild in case another verbump happens first.