sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 13283] New: gather_docs installs source files
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 13283] New: gather_docs installs source files
- Date: 23 Nov 2006 16:33:30 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13283
Summary: gather_docs installs source files
Product: Sorcery
Version: 1.14.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: jakakranjc AT email.si
Default DOCS is defined in /etc/sorcery/config as DOCS='README* FAQ* CHAN*
doc*
DOC* conf SETUP LICENSE COPYING NEWS *rc'.
the *rc also matches the src subdir, which is not so rare.
It seems I have a lot of useless sources installed. Proof:
$ grep -E '\.c(pp|)$' /var/log/sorcery/install/* | wc -l
3858
$ grep -El '\.c(pp|)$' /var/log/sorcery/install/* | wc -l
69 # spell count
One suggestion was to add a check to gather_docs to only copy regular files,
but that would eliminate doc* from the default.
Reading the code I see *rc is copied twice and the second time the code has a
comment asking why that chunk is there. Now it is obvious, the first run uses
cp -r, but the second one, only for *rc, solely cp, so it doesn't copy over
dirs.
The problem is that in the meantime, *rc must have been added to the default
DOCS, resulting in this bug. So I suggest the removal of *rc from DOCS.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 13283] New: gather_docs installs source files, bugzilla-daemon, 11/23/2006
Archive powered by MHonArc 2.6.24.