-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> One issue I can't really figure out is the very different naming all the
> distributions use for the different packages, even core packages. RPM
> also can specify a dependency on files (like "/bin/sh has to be
> present"). Your thoughs on this would be nice.

I do NOT beliefe that we will be able to solve the problem about
normalized package names. There is no rules for that and the only
cache is to build and maintain a huge "database" for that.
Some other OSS projects have already tried this but all failed.
I would give up on this and rather let the users allow a way
to optinally specify a package-name per package format that
overrides the default.
Why normalizing this at all?
Simply because users will often define relationships to their
own packages if they build many for the project.
What if a project wants to build and provide their packages
for debian, SLES, etc.
Generally if I decide between structured or unstructured
data I always prefer structured data. It is easy to build
the comma-separated list with brackets, etc. from the stuctured
data but difficult vice versa.
Just think if a maven pom.xml was like this:

<dependencies>org.springframework:spring-core:2.5.6,xalan:xalan:2.7.1:exclude[:xalan:serializer]</dependencies>

However for advanced features there might also be a way to
configure a string that goes directly into the
relationship metadata of the package (appended
with the stuff from the structured relations-ships).
Maybe the latter idea would also address features
such as depend on files that is not supported
by some package-formats.

> 
>> Does everyone agree that
>> RPM-requires is equivalent
>> to Debian-Pre-Depends rather
>> than Debian-Depends?
> 
> I'm not sure about that exact example, but there probably isn't much
> harm in defining them as such from what I can read on the different
> definitions.

- From my experience in debian if a relationship is missing
at it is only "Depends" then the package is installed but not
configured while "Pre-Depends" will cause the complete
installation to fail.

This is what happens in RPM with "requires".

> 
> -- 
> Trygve

Regards
  Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkphCMQACgkQmPuec2Dcv/95pQCfesMYQiPD6SDhMF+VVhWT78W2
b5wAnj8zNuMo7EG0WPqGDKIdK7b91ZXZ
=Hkd3
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to