chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1093: chicken-uninstall should not interpret the


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1093: chicken-uninstall should not interpret the given egg as a pattern by default
Date: Wed, 30 Jul 2014 07:15:13 -0000

#1093: chicken-uninstall should not interpret the given egg as a pattern by
default
--------------------------+-------------------------------------------------
  Reporter:  mario        |       Owner:                   
      Type:  enhancement  |      Status:  new              
  Priority:  minor        |   Milestone:  someday          
 Component:  core tools   |     Version:  4.8.x            
Resolution:               |    Keywords:  chicken-uninstall
--------------------------+-------------------------------------------------

Comment(by sjamaan):

 This is rather tricky, because several eggs install multiple modules, most
 of which are prefixed with the egg's name. For example, you have 9p which
 installs 9p-client, 9p-lolevel and 9p-server. The utf8 egg installs utf8,
 utf8-lolevel, utf8-srfi-14, utf8-case-map and utf-srfi-13, all of which
 should be uninstalled when performing "chicken-uninstall utf8". But, the
 utf8 egg also installs unicode-char-sets, which is not uninstalled along
 with the egg!

 So all in all this probably requires a rewrite anyway: it should match an
 exact egg name, which then proceeds to uninstall everything the egg
 installs. One problem is that setup-files can invoke arbitrary commands,
 so strictly speaking chicken-install *can't* know what files an egg
 installs. The aforementioned eggs install more than one "extension".
 Apparently an egg can map to multiple extensions, but this mapping is not
 recorded anywhere. Perhaps install-extension can record this, if chicken-
 install parameterises the eggname before LOADing the .setup-file?

 Felix mentioned he wanted to rewrite the setup-api to be more declarative,
 hopefully this will help make these problems go away entirely.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1093#comment:2>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]