public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <miroslav.sulc@startnet.cz>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Gentoo/Java staffing needs
Date: Sat, 29 Jul 2006 12:59:55 +0200	[thread overview]
Message-ID: <44CB3FAB.4030103@startnet.cz> (raw)
In-Reply-To: <44CAE067.5030104@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2553 bytes --]

Joshua Nichols napsal(a):
> Miroslav Šulc wrote:
>   
>> I would also appreciate more information on Java ebuilds development. I
>> don't remember I've seen somewhere slotting "howto" for Java ebuilds,
>> but I may miss something.
>>   
>>     
> For Java specific information, check out the developer guide:
>     http://www.gentoo.org/proj/en/java/java-devel.xml
>
> For general ebuild information:
>     http://devmanual.gentoo.org/
>     http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml
>
> Hope that gives you somewhere to start.
>   
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.

"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.

"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."

This is clear :-)



Could anyone please explain me how does the Java slotting work in
practice? Are there any helper rules?


Miroslav

[-- Attachment #2: miroslav.sulc.vcf --]
[-- Type: text/x-vcard, Size: 349 bytes --]

begin:vcard
fn;quoted-printable:Miroslav =C5=A0ulc
n;quoted-printable:=C5=A0ulc;Miroslav
org:StartNet s.r.o.
adr;quoted-printable;quoted-printable:;;Schodov=C3=A1 309/10;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika
email;internet:miroslav.sulc@startnet.cz
tel;cell:+420 603 711 413
x-mozilla-html:TRUE
url:http://www.startnet.cz
version:2.1
end:vcard


  reply	other threads:[~2006-07-29 11:01 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 [this message]
2006-07-29 14:54       ` Joshua Nichols
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=44CB3FAB.4030103@startnet.cz \
    --to=miroslav.sulc@startnet.cz \
    --cc=gentoo-java@lists.gentoo.org \
    /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