On 6/07/2006 1:32 AM, jerome lacoste wrote:
- they typically use a versionning similar to x.y.z-n sometimes
adding. -n can be used to fix packaging issues (POM in the case of
maven). Vendor fixes are also accepted and version names reflect the
vendor name.
Yep, already have that for that very reason (calling it build number in
hindsight was not the greatest choice :)
- the distributions with the best repositories typically require the
package to be buildable from source. The build is tested in a separate
environment where all the required build dependencies are listed, to
make sure that the dependency list is accepted. Something similar
should maybe be done before accepting a project on a POM, setting up a
build environment based on the given pom.
This seems like a good idea in theory, but our situation is different
for the following reasons:
- we may not always have the source
- this assumes that the dependency list is used to build the project
(which assumes they build with m2). We could take a stab at anything
using ant by doing what gump does, though, so it's worth a shot.
- we are actually distributing the originally released artifact rather
than rebuilding and repackaging like most distros. They also go ahead to
test their repackaging, something we can't afford to do.
- number of versions of a particular package in a repo is reduced to a
minimum. users are adviced to upgrade to the latest & greatest to make
sure that fixes are always present in the last released versions
And it is almost impossible to build stuff that targetted older releases
of the OS (look what happened with the various incompatible
autoconf/automake releases, gcc2 -> 3 -> 4, etc).
Makes sense for a stable OS, not so much a build system.
- responsibilities of preparing packages is spread around 10s of
people. Packages are orphaned when no one is taking care of them.
People can reuse tricks/scripts learned by former packagers to go on
with the job.
I think we are already on the way to this. Better docs and tooling needed.
- use of provides and various other dependency markers (that's coming
in m2 2.1 if I got it right)
Yup.
- Brett
--
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]