From: Joshua Nichols <nichoj@gentoo.org>
To: "Miroslav Šulc" <miroslav.sulc@startnet.cz>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Gentoo/Java staffing needs
Date: Sat, 29 Jul 2006 10:54:34 -0400 [thread overview]
Message-ID: <44CB76AA.9060403@gentoo.org> (raw)
In-Reply-To: <44CB3FAB.4030103@startnet.cz>
Miroslav Šulc wrote:
> I've went through the Java resources several times. Here is what I found
> about slotting:
>
> Slotting
>
> "Libraries should be slotted according to the API they provide. If two
> version have the same API, or if a new version is fully compatible with
> the previous version, then they should be in the same SLOT."
>
> I think it is not easy to determine whether an API changed a way that
> would broke something. I think even knowing the package doesn't help the
> dev. And documentation may not cover these changes. And using slot name
> 3 when major version changes to 4 but there is still full compatibility
> with version 3.x might be confusing.
>
Yep, not easy at all. One way would involve trying to compile
everything, and make sure they don't break. Another is to use a tool
used by the gnu-classpath to test source compatibility... the name
escapes me at the moment though. One of our devs, betelgeuse, was
working on automated scripts to test releases using said tool.
> "Java libraries have a tendency to sometimes break API and ABI between
> minor revisions, ie from 2.1.1 to 2.1.2. As a result, it is necessary to
> slot early, and slot often."
>
> I went through /usr/share to see current practice. I can see most of the
> Java libraries I have installed are not slotted at all (probably
> SLOT="0") and in a contrary jdom is slotted on ${PV} so it comes I have
> jdom-1.0_beta9 and jdom-1.0 installed. I code in Java for some time but
> I don't use most of the Java libraries I have installed directly so I
> just know they exist until something brokes and needs attention.
>
>
> For example, I can see batik is slotted as 1.5.1 and 1.6. I don't use
> this one but it's not obvious to me why it is slotted to 1.5.1 and not
> just 1.5. How can one say this slotting is correct. Maybe it would be
> good to have "slot reason" information in the ebuild too to be able to
> make time efficient corrections and updates of the ebuilds.
>
Emphasis is on tendency, and sometimes... the API/ABI doesn't always
break... so in those cases, it's fine not to use SLOTs. The reason for
slotting is almost always due to API breakage for library packages.
> "For applications, it is mostly sufficient to keep only the latest
> version. If the application comes in series, such as Eclipse, we want to
> keep the latest revision in each series. Very old series may eventually
> be dropped completely."
>
>
Eclipse is probably a special case now that I think of it. We like to
package the milestones and RCs as they are released, but they're not
always ready for primetime, or might not work with every plugin yet...
so in this case, it's good to have the brand spanking new release
installed next to the time tested one.
--
Joshua Nichols
Gentoo/Java - Project Lead
--
gentoo-java@gentoo.org mailing list
next prev parent reply other threads:[~2006-07-29 14:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-26 20:46 [gentoo-java] Gentoo/Java staffing needs Joshua Nichols
2006-07-28 8:13 ` [gentoo-java] " Ted Kosan
2006-07-28 9:06 ` Caster
2006-07-29 4:08 ` Joshua Nichols
2006-07-28 9:02 ` [gentoo-java] " Miroslav Šulc
2006-07-29 4:13 ` Joshua Nichols
2006-07-29 10:59 ` Miroslav Šulc
2006-07-29 14:54 ` Joshua Nichols [this message]
2006-07-29 15:12 ` Ernst de Haan
2006-07-29 17:38 ` Miroslav Šulc
2006-07-28 14:17 ` Wiktor Wandachowicz
2006-07-28 14:44 ` Miroslav Šulc
2006-07-28 14:57 ` William L. Thomson Jr.
[not found] ` <15435f760607280751j66736f3epce2736804af29328@mail.gmail.com>
2006-07-28 15:01 ` Miroslav Šulc
2006-07-28 15:13 ` Joshua Nichols
2006-07-28 15:23 ` Miroslav Šulc
2006-07-28 15:34 ` Joshua Nichols
2006-07-28 22:31 ` Caster
2006-07-28 22:55 ` Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44CB76AA.9060403@gentoo.org \
--to=nichoj@gentoo.org \
--cc=gentoo-java@lists.gentoo.org \
--cc=miroslav.sulc@startnet.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox