Thread (16 messages) 16 messages, 3 authors, 2016-02-10

Re: [PATCH 2/3] version: adjust printing for new version scheme

From: Mcnamara, John <hidden>
Date: 2016-02-10 14:31:24

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
Sent: Monday, December 28, 2015 10:25 PM
To: Richardson, Bruce <redacted>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 2/3] version: adjust printing for new
version scheme

2015-12-21 13:26, Bruce Richardson:
quoted
Since we are now using a year-month numbering scheme, adjust the
printing of the version to always use 2-digits for YY.MM format.
Hi,

In the interest of getting the version patch in and the release notes renamed
I'm going to drop this part of the patchset and resubmit 1/3 and 3/3. If we 
want to rework the version output we can do it in a separate patch.

I am going to maintain the zero padding of the month so that it appear as 16.04
and not 16.4 in "make showversion" and rte_version().
Shouldn't we take the opportunity to update RTE_VER_PREFIX from "RTE" to
"DPDK"?
I'm also going to make this change "en passant" since it makes sense and is
in the same file. The version outputs now look like this:

    $ make showversion
    16.04.0-rc0

    RTE>> version_autotest
    Version string: 'DPDK 16.04.0-rc0'

Note, if the s/RTE/DPDK/ change breaks anyone's parsing of output for tests
or otherwise, let me know.

John.
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help