Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 62090 invoked from network); 21 Feb 2007 19:47:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 19:47:00 -0000 Received: (qmail 89078 invoked by uid 500); 21 Feb 2007 19:47:08 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 89044 invoked by uid 500); 21 Feb 2007 19:47:08 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 89007 invoked by uid 99); 21 Feb 2007 19:47:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 11:47:07 -0800 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.73.179.15] (HELO web61021.mail.yahoo.com) (209.73.179.15) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 21 Feb 2007 11:46:52 -0800 Received: (qmail 67553 invoked by uid 60001); 21 Feb 2007 19:46:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=B7+e9FmbfLn63Xtvj1ngcMSOSIWqIBdOEHF19dpD0uuYA03XBTXjvlYhMmxgV7vxg8naWcLfXJRw81ivGxLCjQ8kkMaB4XPCxVGpmIXYTuVwTAy9Z8jsS9naa9l6RpB7u1hQnBEjrb0O9UEx5nG7sdcwYLaRTN+m7hBeQBfm4/A=; X-YMail-OSG: V059wS4VM1l_8J8LdcBvtIynEocjdbWDwZZUsXz.irQtYXagz3f3yw3Pr2zSauWd.3qPXSuEK8cau1k72dJ3i5lxaWNWRAG4W.Zb53Yqqh0g47fPu5Bz3qLDN_t4J5mUoaPCsKv4xRIor_UEa12UvEZmwps- Received: from [199.3.115.254] by web61021.mail.yahoo.com via HTTP; Wed, 21 Feb 2007 11:46:31 PST Date: Wed, 21 Feb 2007 11:46:31 -0800 (PST) From: Ketan Lamba Subject: RE: Request for feature To: ivy-user@incubator.apache.org In-Reply-To: <006d01c75592$373dc650$3a20a8c0@isabelteam.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-863794609-1172087191=:66893" Content-Transfer-Encoding: 8bit Message-ID: <406576.66893.qm@web61021.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-863794609-1172087191=:66893 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit It is similar in some sense. But there seems to be no decision making done in that case. For example consider case We are trying to build a module A that depends on B and C version 2.0. > B depends on: D [1.2, 1.5] > C depends on: D [1.1, 1.4] The repository has D versions 1.0, 1.1, 1.2, 1.3, 1.5, 1.6 When B 2.0 was built and published D rev 1.5 was used based on latest revision strategy. When C 2.0 was built and published D rev 1.3 was used. But when we are building A we would end up using 1.5 over 1.3 rev of D. This is erroneous because C does not support 1.5. If there was a way for us to have original range info also available in repository ivy.xmls of B and C we could write a conflict manager and resolver that would take the "greatest common" available version, which in this case would be 1.3 I gave bad example in previous post. -ketan Gilles Scokart wrote: It looks like something that has been discussed there: http://www.nabble.com/Dealing-with-deleted-revisions-tf3149671.html Is your concern similar? Gilles > -----Original Message----- > From: Ketan Lamba [mailto:dudeatvtedu@yahoo.com] > Sent: mardi 20 f�vrier 2007 23:50 > To: ivy-user@incubator.apache.org > Subject: Request for feature > > Hi, > > We have been using ivy-1.4.1 and noticed that there is need for important > descriptor to be added to ivy.xml files that are published to repository. > > Since we can use ranges with 1.4 it would be important to add a descriptor > that specifies the original ranges for dependencies in the resolved > ivy.xml. This should be addedto ivy.xml for the module when its published > to repository. > > This would enable decision making like selecting "greatest common version" > of a dependency. > > for example : > We are trying to build a module A that depends on B and C. > B depends on: D [1.0, 2.0[ > C depends on: D [1.2, 1.6[ > Module B asks for any 1.N build of module D while C asks only for the > latest revision of module D's from 1.2 up to 1.5 release. > Result: Build succeeds, and includes greatest "common" version of module > D that satisfies the constraints by both B and C. We notify the builder in > a summarized Ivy report if there is a newer version than 1.5 that we are > prevented > from including here due to C's dependency. > Currently: When module A is being built and dependencies for B and C are > resolved the ivy.xmls from repository only provide 1.N version of D that > was used by B and C versions requested by A. > thanks > -ketan > > > > > --------------------------------- > Don't be flakey. Get Yahoo! Mail for Mobile and > always stay connected to friends. --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --0-863794609-1172087191=:66893--