Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA87CDD17 for ; Wed, 21 Nov 2012 07:07:43 +0000 (UTC) Received: (qmail 2683 invoked by uid 500); 21 Nov 2012 07:07:43 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 2642 invoked by uid 500); 21 Nov 2012 07:07:43 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 2570 invoked by uid 99); 21 Nov 2012 07:07:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 07:07:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 07:07:34 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6C4CEB064E for ; Wed, 21 Nov 2012 01:07:13 -0600 (CST) Date: Wed, 21 Nov 2012 01:07:13 -0600 (CST) From: "Herve Boutemy (JIRA)" To: issues@maven.apache.org Message-ID: <1835706059.12117.1353481633444.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> In-Reply-To: <450871798.4197.1349051376217.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> Subject: [jira] (MNG-5353) Ignore pre-releases in exclusive upper bound [lw,up) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MNG-5353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314069#comment-314069 ] Herve Boutemy edited comment on MNG-5353 at 11/21/12 1:05 AM: -------------------------------------------------------------- IMHO, not really a filter, since a filter can let "holes" in a mathematical range, but here, there won't be any holes: just the upper bound that is lower than previously for the purpose of demonstration, I'll note [lw,up( the new notion, to look different from [lw,up) given the comparisaon algorithm, [lw,up( = [lw,up-alpha-alpha-alpha-alpha-...infinite...) Since nobody creates the alpha of an alpha, [lw,up( is not that far from [lw,up-alpha-alpha) IMHO, if you simply add "-a-a" to upper bound version and let actual range calculation algorithm, you have the solution for every real world situation: only people knowing the approximation will try with "up-a-a-1" or "up-a-rc-1" and show you the problem (you can add "-a-a-a" to be even more tricky to get fooled) was (Author: hboutemy): IMHO, not really a filter, since a filter can let "holes" in a mathematical range, but here, there won't be holes: just the upper bound that is lower than previously for the purpose of demonstration, I'll not [lw,up( the new notion, to look different from [lw,up) givne the comparisaon algorithm, [lw,up( = [lw,up-alpha-alpha-alpha-alpha-...) Since nobody creates the alpha of an alpha, [lw,up( is not that far from [lw,up-alpha-alpha) IMHO, if you simply add "-a-a" to upper bound version and let actual range calculation algorithm, you have the solution for every real world situation: only people knowing the approximation will try with "up-a-a-1" or "up-a-rc-1" and show you the problem (or take "-a-a-a" to be even more tricky to get fooled) > Ignore pre-releases in exclusive upper bound [lw,up) > ---------------------------------------------------- > > Key: MNG-5353 > URL: https://jira.codehaus.org/browse/MNG-5353 > Project: Maven 2 & 3 > Issue Type: Wish > Components: Dependencies > Affects Versions: 2.0.11, 2.2.1, 3.0.4 > Reporter: Jesse Long > Assignee: Jason van Zyl > Fix For: 3.1.1 > > > Please change the behaviour of exclusive upper bounds to the following: > In a version range, like [1.7.0,1.8.0), 1.8.0-alpha1 should not be included in the range. 1.8.0* should not be included in the range. > This allows for us configure natural ranges for projects using semantic versioning. > Please see: > http://markmail.org/message/4tubas4uok6ahbcp > http://markmail.org/message/s2ry2uru4ibub43q -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira