-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: allow for being consumed in a (non-endorsed) form of snapshots
This is meant as a lean, customized policy driven alternative to the original proposal by Jan Friesse <jfriesse@redhat.com> that balances the inherent trade-off in the opposite direction, so that the configure.ac script is practically untouched and more weight and policy is hardcoded in git-version-gen. Problem with that approach stems from (avoidable) effective fork of the respective gnulib's module and imposed maintenance burden. Speaking for libqb in particular, we should nonetheless make it absolutely clear such in-development snapshots are nothing more, nothing binding (not to think of viral injection of these bits into circle of dependent packages upon their rebuilds), since the changes accumulated since the last official release should only be assumed firmly committed at the point the new release is cut (may happen 99% of time with snapshots but no accountability from our side for the complementary inter-release twists...), which is exactly when many possibly unanticipated variables like correct SONAME versions get to reflect what's appropriate. Also, OpenPGP signature constitutes something more eligible for one's trust than (provably) bit/content unstable archives without the possibility of an independent authenticity/integrity verification. Therefore, the only thinkable and upstream-endorsed use cases for such snapshots are development-only purposes (CI et al.)! Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
- Loading branch information
Showing
5 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/configure.ac export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
#!/bin/sh | ||
# Run this to generate all the initial makefiles, etc. | ||
autoreconf -i -v && echo Now run ./configure and make | ||
autoreconf -i -v \ | ||
&& { test -s .snapshot-version \ | ||
&& echo 'USE SNAPSHOT ONLY AT YOUR RISK (official release recommended)' \ | ||
|| :; } \ | ||
&& echo Now run ./configure and make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters