From: Jason Zaman <perfinion@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFD: Replacement for versionator.eclass in PMS (for EAPI 7?)
Date: Mon, 7 Dec 2015 13:37:50 +0800 [thread overview]
Message-ID: <20151207053750.GA23517@meriadoc> (raw)
In-Reply-To: <22106.6463.805834.391338@a1i15.kph.uni-mainz.de>
On Sat, Nov 28, 2015 at 10:14:39PM +0100, Ulrich Mueller wrote:
> Questions:
> 1. Will these three functions be sufficient, or have we overlooked
> anything important?
Can we also have get_version_component_count() in there?
I have a package that likes to change the number of parts so I need to
know how many parts before I can split it up.
Basically this:
if [[ $(get_version_component_count) -eq 6 ]]; then
STUDIO_V=$(get_version_component_range 1-4)
BUILD_V=$(get_version_component_range 5-6)
else
STUDIO_V=$(get_version_component_range 1-3)
BUILD_V=$(get_version_component_range 4-5)
fi
-- Jason
next prev parent reply other threads:[~2015-12-07 5:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-28 21:14 [gentoo-dev] RFD: Replacement for versionator.eclass in PMS (for EAPI 7?) Ulrich Mueller
2015-11-29 23:23 ` Peter Stuge
2015-11-30 6:28 ` Michał Górny
2015-12-02 11:03 ` Alexis Ballier
2015-12-02 12:04 ` Ulrich Mueller
2015-12-02 12:18 ` Alexis Ballier
2015-12-07 5:37 ` Jason Zaman [this message]
2015-12-07 7:00 ` Michał Górny
2015-12-07 7:41 ` Ulrich Mueller
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=20151207053750.GA23517@meriadoc \
--to=perfinion@gentoo.org \
--cc=gentoo-dev@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