Provide a single script for Git-based version with configure and nut_version.h contexts#2554
Merged
jimklimov merged 29 commits intonetworkupstools:masterfrom Jul 27, 2024
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
…uctured version from Git (if available) [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…version.sh for version info [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…and URL, and IS_RELEASE [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…R_GIT toggle [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…INIT without hacks [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…leases [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…AULT file [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…stools#1949] Signed-off-by: Jim Klimov <[email protected]>
…iendly versioning scheme [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…ort [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…ITREV_SEMVER [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…CRO and NUT_VERSION_IS_RELEASE [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…ERSION_SEMVER_MACRO when printing version [networkupstools#1949] Note this is a custom printer, separate from common.c Signed-off-by: Jim Klimov <[email protected]>
… behavior with NUT_VERSION_IS_RELEASE flag and NUT_VERSION_SEMVER_MACRO string [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…etworkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…not know how to --exclude [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…s() [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…with NUT_VERSION_IS_RELEASE macro decisions [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…able code paths with NUT_VERSION_IS_RELEASE macro decisions [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
… a git workspace [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…stools#1949] Per suggestion from NixOS/nix#5832 Signed-off-by: Jim Klimov <[email protected]>
…#1949] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…N_* namespace [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…istros [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…tros [networkupstools#1949] Test: :; ./clients/upsmon -DDV Network UPS Tools upsmon 2.8.2.404.365-769-g96f0c9cb3 0.000000 [D1] Network UPS Tools version 2.8.2.404.365-769-g96f0c9cb3 (development iteration after 1.1.1) built with clang version 16.0.6... Signed-off-by: Jim Klimov <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also move to 4/5-digit version (for development iterations).
Exploring issue #1949