Releases: jmjava/embabel-learning
Releases · jmjava/embabel-learning
Release 0.3: Discord Sync Functionality
Release 0.3: Discord Sync Functionality
This release adds comprehensive Discord message export and summarization capabilities.
Features Added
Discord Sync Tool
- Location:
discord-sync/sync-discord.sh - Alias:
ediscord(after runningsetup-aliases.sh) - Filtering Options:
- Date range (
--after,--before) - Username filtering (
--username, supports multiple) - Topic/keyword filtering (
--topic, supports multiple)
- Date range (
- Output Formats: JSON (default), TXT, HTML
- Automatic Summaries: Statistics, top contributors, recent messages, topic analysis
Testing
- 32 new tests for Discord sync functionality
- Fixed 4 pre-existing test failures:
- test-config-loader.sh: Proper TEST_UPSTREAM_ORG handling
- test-safety-checks.sh: Use config system instead of hardcoding
- All 51 tests now passing ✅
Documentation
- Comprehensive README in
discord-sync/ - Test architecture documentation (
test/ARCHITECTURE.md) - Updated main README with usage examples
- Token generation instructions (user token method)
Configuration
- Updated
.env-templatewith Discord token configuration - Updated
.gitignoreto excludeexports/discord/
Usage
# Export today's messages
ediscord --channel YOUR_CHANNEL_ID --after "2026-01-25"
# With filters
ediscord --channel YOUR_CHANNEL_ID \
--after "2026-01-25" \
--username "alice" \
--topic "embabel"See discord-sync/README.md for complete documentation.
Testing
All tests pass:
- test-config-loader.sh: 13/13 ✅
- test-safety-checks.sh: 6/6 ✅
- test-sync-discord.sh: 32/32 ✅
Total: 51/51 tests passing ✅
v0.2 - Test Suite Restored and Improvements
Release v0.2
🧪 Test Suite Restored
- ✅ Restored all test files (README.md, VERIFICATION.md, test-framework.sh, unit tests)
- ✅ Restored missing
config-loader.shscript - ✅ All 19 tests now passing (13 config-loader + 6 safety-checks)
🔧 Improvements
- safety-checks.sh: Now configurable using
UPSTREAM_ORGandYOUR_GITHUB_USERvariables instead of hardcoded values - safety-checks.sh: Added backward compatibility aliases (
block_upstream_*,check_upstream_repo) - sync-upstream.sh: Fixed to skip push prompt when branch is already up-to-date with origin
📊 Test Results
- Config-loader tests: 13/13 passing ✅
- Safety-checks tests: 6/6 passing ✅
- Total: 19/19 passing ✅
🔄 Changes Since v0.1
- Restored accidentally removed test suite
- Made safety checks work with any organization (not just embabel)
- Improved user experience with sync script (no more unnecessary prompts)
Usage
Run tests with:
cd test
./run-tests.shv0.1 - Improved embabel-hub startup
Release v0.1
Features
- ✅ Automatic .env file sourcing for easier configuration
- ✅ Better error handling and startup verification
- ✅ Comprehensive documentation in STARTUP.md
- ✅ All security checks passing
Changes
- starthub.sh: Now automatically sources .env files from
embabel-hub/.envor parent directory - STARTUP.md: Complete startup guide with configuration options and troubleshooting
- Improved diagnostics for common issues (401 errors, startup timeouts)
- All pre-commit hooks passing (ggshield, detect-secrets, shellcheck, etc.)
Usage
See STARTUP.md for detailed instructions on starting the embabel-hub container.