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

Stephen Gallagher sgallagh at redhat.com
Wed Sep 21 11:32:25 UTC 2011


On Wed, 2011-09-21 at 08:40 +0200, Jan Zelený wrote:
> I don't quite understand. Could you please elaborate what's wrong with the 
> original approach you suggested? That means one configure argument allowing to 
> specify the version with a default version string if no such argument is 
> provided.


Well, for one thing what I asked for in the first place was
impossible :-/

We can't have multi-line version strings in a configure option; autoconf
can't handle it. (All that happens is that the config.h is broken)

So I was trying to think of an alternative that would serve our needs
better. Though admittedly, at this point I'm starting to wonder at the
usefulness of this feature at all.


So my new thought was that we should default to displaying a version
that includes build-time information. Then if we wanted to display just
an official version (or a distro-specific build) we could do so by using
a --release argument.

This way at least, we would be able to identify work-in-progress builds
easily as compared to official release builds.
-------------- 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/20110921/6c4529c3/attachment.sig>


More information about the sssd-devel mailing list