[SSSD] [PATCH] Added sssd --version option

Stephen Gallagher sgallagh at redhat.com
Thu Sep 8 19:59:04 UTC 2011


On Thu, 2011-09-08 at 12:45 -0700, Jeff Schroeder wrote:
> On Thu, Sep 8, 2011 at 12:26 PM, Stephen Gallagher <sgallagh at redhat.com> wrote:
> > On Wed, 2011-09-07 at 10:38 +0200, Pavel Březina wrote:
> >> https://fedorahosted.org/sssd/ticket/953
> >
> >
> > Nack.
> >
> > The output of this patch isn't very clean. I think what we really want
> > is just to have a configure flag --with-distro-version that will take an
> > arbitrary string (provided by the packager) for what they'd like to see
> > as output for the version.
> >
> > So without --with-distro-version:
> >
> > $> sssd --version
> > 1.7.0
> >
> > With ./configure --with-distro-version="-3.fc15"
> > $> sssd --version
> > 1.7.0-3.fc15
> 
> What is the point of this? Hi, my name is rpm -qi sssd
> 
> Not a *bad* feature per-se, but kind of strange for the default. I do
> like the build in the --version output for when you are testing
> scratch builds or cherrypicking fixes from git and testing things.
> 

Well, it's primarily targeted at non-RPM distributions that can't do a
simple 'rpm -q'. It also comes in handy for producing scratch builds (so
you can mark a build as unofficial, for example).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110908/764b6f9d/attachment.sig>


More information about the sssd-devel mailing list