v0.2.17 - Add Python test harness and improve increment_and_push diagnostics and git identity handling

This commit is contained in:
Didactyl User
2026-03-25 09:22:38 -04:00
parent 9a5beac80d
commit faf3edf29f
3 changed files with 19 additions and 8 deletions

View File

@@ -54,11 +54,11 @@ Skills compose by adoption-list order (`10123`) and trigger tags carry runtime e
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers. Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
## Current Status — v0.2.16 ## Current Status — v0.2.17
**Active build — this project is barely working. Experiment at your own risk.** **Active build — this project is barely working. Experiment at your own risk.**
> Last release update: v0.2.16 — Add Python test harness and fix increment script commit identity handling > Last release update: v0.2.17 — Add Python test harness and improve increment_and_push diagnostics and git identity handling
- Connects to configured relays with auto-reconnect and relay state transition logging - Connects to configured relays with auto-reconnect and relay state transition logging
- Publishes configured startup events per relay as each relay becomes connected - Publishes configured startup events per relay as each relay becomes connected

View File

@@ -336,10 +336,14 @@ git_commit_and_push_no_tag() {
current_branch=$(git branch --show-current 2>/dev/null || echo "") current_branch=$(git branch --show-current 2>/dev/null || echo "")
if git rev-parse --abbrev-ref --symbolic-full-name "@{u}" > /dev/null 2>&1; then if git rev-parse --abbrev-ref --symbolic-full-name "@{u}" > /dev/null 2>&1; then
if git push > /dev/null 2>&1; then local push_output
if push_output=$(git push 2>&1); then
print_success "Pushed changes" print_success "Pushed changes"
else else
print_error "Failed to push changes" print_error "Failed to push changes"
print_error "git push output:"
echo "$push_output" >&2
print_warning "If this is an SSH auth error, verify ~/.ssh/config and that the correct private key is available to SSH"
exit 1 exit 1
fi fi
else else
@@ -349,23 +353,30 @@ git_commit_and_push_no_tag() {
fi fi
print_warning "No upstream configured for branch '$current_branch'; setting upstream to origin/$current_branch" print_warning "No upstream configured for branch '$current_branch'; setting upstream to origin/$current_branch"
if git push -u origin "$current_branch" > /dev/null 2>&1; then local push_output
if push_output=$(git push -u origin "$current_branch" 2>&1); then
print_success "Pushed changes and configured upstream" print_success "Pushed changes and configured upstream"
else else
print_error "Failed to push changes while configuring upstream" print_error "Failed to push changes while configuring upstream"
print_error "git push output:"
echo "$push_output" >&2
print_warning "If this is an SSH auth error, verify ~/.ssh/config and that the correct private key is available to SSH"
exit 1 exit 1
fi fi
fi fi
# Push only the new tag to avoid conflicts with existing tags # Push only the new tag to avoid conflicts with existing tags
if git push origin "$NEW_VERSION" > /dev/null 2>&1; then local tag_push_output
if tag_push_output=$(git push origin "$NEW_VERSION" 2>&1); then
print_success "Pushed tag: $NEW_VERSION" print_success "Pushed tag: $NEW_VERSION"
else else
print_warning "Tag push failed, trying force push..." print_warning "Tag push failed, trying force push..."
if git push --force origin "$NEW_VERSION" > /dev/null 2>&1; then if tag_push_output=$(git push --force origin "$NEW_VERSION" 2>&1); then
print_success "Force-pushed updated tag: $NEW_VERSION" print_success "Force-pushed updated tag: $NEW_VERSION"
else else
print_error "Failed to push tag: $NEW_VERSION" print_error "Failed to push tag: $NEW_VERSION"
print_error "git tag push output:"
echo "$tag_push_output" >&2
exit 1 exit 1
fi fi
fi fi

View File

@@ -12,8 +12,8 @@
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros // Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
#define DIDACTYL_VERSION_MAJOR 0 #define DIDACTYL_VERSION_MAJOR 0
#define DIDACTYL_VERSION_MINOR 2 #define DIDACTYL_VERSION_MINOR 2
#define DIDACTYL_VERSION_PATCH 16 #define DIDACTYL_VERSION_PATCH 17
#define DIDACTYL_VERSION "v0.2.16" #define DIDACTYL_VERSION "v0.2.17"
// Agent metadata // Agent metadata
#define DIDACTYL_NAME "Didactyl" #define DIDACTYL_NAME "Didactyl"