Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 477830

Summary: dev-vcs/subversion-1.7.10 - bash-completion files installed using wrong name (for bashcomp-2.1-r1)
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: [OLD] DevelopmentAssignee: Thomas Sachau <tommy>
Status: RESOLVED FIXED    
Severity: normal CC: tdalman
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

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.