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

Re: Location of entities



Mark Johnson <mrj@debian.org> writes:

> On Sun, Feb 15, 2004 at 11:58:21AM -0500, Adam Di Carlo wrote:
>> Should there be a note in the XML policy to this effect?  
>
> I defintely think so. It's becoming clear to me that the XML/SGML docs
> truly needs to contain content regarding problems such as the symlink
> issue. Although adding such content would depart from conventional debian 
> policy content, I beieve that it's worth adding a section that clearly 
> notes the problem areas and how to deal with them.

Well, I would just put in a small sidebar. Something like this:

  Note that dpkg does not support the automatic conversion of
  directories into symlinks during package upgrade.  So, if the directory
  '/usr/share/sgml/frob' becomes a symlink to '/usr/share/xml/frob' as
  you start making use of '/usr/share/xml', you'll need to put in
  logic to handle this conversion.  The simplest method is to do put
  this in your preinst:
   if [ "$1" = upgrade -a -d /usr/share/sgml/frob ]; then
       rm -rf /usr/share/sgml/frob
   fi

> In the short term my concerns are providing clear guidelines for debian
> XML developers/packagers, so that Debian can provide a means to provide 
> robust support for XML and related resources.

Yes.  Well, the point is to give good guidance so we get better
quality packages.

>> Aside: It kinda sucks that dh_link doesn't handle this case.  Blah.
>
> More than kinda sucks. Renders dh_link useless for us debian XML dorks.
>
> It'll all get fixed eventually, and in an intelligent faashion - which 
> is why I'm so dedicated to Debian. 

I filed a debhelper wishlist for this giving an extended meditation on
how it might work.

-- 
...Adam Di Carlo...<adam@onshored.com>.......<URL:http://www.onshored.com/>



Reply to: