Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6931] cleanse in v1.10 deletes sources without asking

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6931] cleanse in v1.10 deletes sources without asking
  • Date: Sun, 30 May 2004 14:00:35 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6931





------- Additional Comments From jflatt AT sourcemage.org 2004-05-30 14:00
-------
According to the cleanse help/usage text:
--sweep: clean out old compile/install/md5 log files

According to the intro at the top of the cleanse file:
## --sweep unneeded spool and cache

It seems as though there is a slight discrepancy there.

According to the args function:
--sweep) prune ;;

And, according to the prune function in /var/lib/sorcery/modules/libsorcery
(which I'm assuming is the correct one, since I cannot locate it elsewhere)
(additional code removed for brevity):
message "${MESSAGE_COLOR}Cleaning up source cache
(${DEFAULT_COLOR}$SOURCE_CACHE${MESSAGE_COLOR})...${DEFAULT_COLOR}"

and
message "${MESSAGE_COLOR}Cleaning up install cache
(${DEFAULT_COLOR}$INSTALL_CACHE${MESSAGE_COLOR})...${DEFAULT_COLOR}"

Which tells me that the help/usage text is wrong and the intro text is
correct. Is there a command or option to clean out the log files?

It would be nice to give another (perhaps optional) flag as part of the
--sweep option to specify either cache, spool or both files to be removed.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page