You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2014/11/11 19:47:34 UTC

[jira] [Updated] (CASSANDRA-8046) Set base C* version in debs and strip -N, ~textN, +textN

     [ https://issues.apache.org/jira/browse/CASSANDRA-8046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Shuler updated CASSANDRA-8046:
--------------------------------------
    Labels: qa-resolved  (was: )

> Set base C* version in debs and strip -N, ~textN, +textN
> --------------------------------------------------------
>
>                 Key: CASSANDRA-8046
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8046
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Michael Shuler
>            Assignee: Michael Shuler
>            Priority: Trivial
>              Labels: qa-resolved
>             Fix For: 2.0.11, 2.1.1, 3.0
>
>         Attachments: dpkg-parsechangelog_fix_2.1.txt
>
>
> Patch is for 2.1 and please, backport the line to the 2.0 branch.
> In the 2.1/trunk branches, debian/rules has a line to strip -N from the changelog version.
> I'm working on Ubuntu PPA rebuilds using x.x.x~textN so that the Apache Cassandra repository packages are higher versions ( x.x~something is always a lower version than x.x)
> Using this works for all the deb version possibilities (including the use of +snapN as a higher version tool) to set just the base version when building the Cassandra jars:
> {noformat}
> mshuler@hana:~$ echo "Version: 2.1.1" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p'
> 2.1.1
> mshuler@hana:~$ echo "Version: 2.1.1-9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p'
> 2.1.1
> mshuler@hana:~$ echo "Version: 2.1.1~ppa9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p'
> 2.1.1
> mshuler@hana:~$ echo "Version: 2.1.1+snap9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p'
> 2.1.1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)