Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Sorcery improvement

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
  • To: shivaken <shivaken AT jcom.home.ne.jp>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Sorcery improvement
  • Date: Fri, 27 Jun 2003 22:56:20 -0400

Sounds like a great idea! Have you thought of possible problems with this approach?

shivaken wrote:

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
_______________________________________________
SM-Discuss mailing list
SM-Discuss AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-discuss






Archive powered by MHonArc 2.6.24.

Top of Page