Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Sorcery improvement

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: shivaken <shivaken AT jcom.home.ne.jp>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Sorcery improvement
  • Date: Sat, 28 Jun 2003 00:21:48 +0000

Hi all,

I want to propose to a sorcery improvement.

Now almost spell uses "prepare_install" to clean up obsoleted files.
like..
------------
make
prepare_install
make install
-------------
Because of this, at casting glibc, /etc/ld.so.cashe can be removed.
Then that will cause error.

To avoid this, you have to install newer files first, then remove just only
old files. We can find old files with comparing old install log
(/var/log/sorcery/install/$SPELL) with new install log

At that time we have to take care about config files and user data.
For example, mysql spell installs mysql database files. We should not delete
them. So sorcery must know unremoval files and directory to clean up safely.
Fortunately, Spell Writer can recognize those unremoval files.

I want sorcery to be implemented that "install 1st, then clean up".

How do you feel?

--- shivaken
ant command line front end
antshell - www.antshell.org




Archive powered by MHonArc 2.6.24.

Top of Page