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

Bug 934179

Summary: app-portage/gentoolkit-0.6.7 eclean-dist --deep --pretend outputs full pathes for VCS directories
Product: Gentoo Linux Reporter: Manuel Mommertz <2kmm>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel Mommertz 2024-06-13 05:07:28 UTC
When calling eclean-dist --deep --pretend, VCS directories are shown as full pathes, while for other distfiles only the filename is printed.

eclean-dist -dp
 * Building file list for distfiles cleaning...
 * Here are the distfiles that would be deleted:
 [   34.6 M ] /usr/local/distfiles/git3-src/mesonbuild_meson.git
 [   13.5 K ] CPAN-Meta-Check-0.017.tar.gz
[..]

I think it would be better to either just print basename for VCS dirs, too, or to print them relative to the distfiles directory. So with mesonbuild above, it should be printed in either of this two forms:

 [   34.6 M ] mesonbuild_meson.git
 [   34.6 M ] git3-src/mesonbuild_meson.git

Reproducible: Always