Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(RFC) Add Git commit hash (if available) to .status all #1727

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Jan 6, 2025

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Adds Git commit hash (if available) to .status all

Additional description (if needed):
Think of this as additional version information, good for bug reports / debugging.

Please run misc/runautotools when testing / merging this PR

Test cases demonstrating functionality (if applicable):

.status all
[01:38:07] tcl: builtin dcc call: *dcc:status -HQ 1 all
[01:38:07] #-HQ# status all
I am BotA, running eggdrop v1.10.0+pythonfixes: 23 users (mem: 276k).
Online for 00:00 (terminal mode) - CPU: 00:00.01 - Cache hit: 66.7%
Configured with: 
Admin: Lamer <email: [email protected]>
Config file: BotA.conf
OS: Linux 6.12.8-arch1-1
Process ID: 253975 (parent 191282)
Tcl library: /usr/lib/tcl8.6
Tcl version: 8.6.16 (header version 8.6.16)
Tcl is threaded.
TLS support is enabled.
TLS library: OpenSSL 3.4.0 22 Oct 2024 (header version OpenSSL 3.4.0 22 Oct 2024)
IPv6 support is enabled.
Threaded DNS core is enabled.
Socket table: 20/100

Git commit: 4e5db356baa1b85a9e314988b06ebe844697c8e8
[...]

@michaelortmann michaelortmann changed the title (RFC) set EGG_PATCH to short commit hash (RFC) Add Git commit hash (if available) to .status all Jan 7, 2025
@michaelortmann
Copy link
Member Author

If we had the commit hash in version info, it would show up in https://www.eggheads.org/uptime/, wouldnt that be nice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant