Merged
Conversation
This commit implements the entire code-search-mcp-universal-ctags package from scratch according to the blueprint specifications. Key Features: - Cross-platform binary download and installation (Windows, macOS, Linux) - Support for x64 and ARM64 architectures - Automatic postinstall script that downloads appropriate binaries - Comprehensive test suite with platform-specific tests - GitHub Actions workflows for testing and publishing - ESLint 9 configuration with flat config format - Professional README following FlashForgeUI structure Package Structure: - lib/index.js: Main entry point exporting ctagsPath - lib/postinstall.js: Download and extraction logic - lib/util.js: Helper functions for platform detection and file operations - test/basic.test.js: Comprehensive test suite - .github/workflows/: CI/CD workflows for testing and publishing Binary Sources: - Windows: universal-ctags/ctags-win32 releases - Unix: universal-ctags/ctags-nightly-build releases The package is ready to be published to GitHub Package Registry.
This commit fixes the failing platform tests by addressing two issues:
1. GitHub API Rate Limiting (macOS 403 errors):
- Added GITHUB_TOKEN environment variable to all test jobs
- This prevents rate limiting when fetching release information
2. Incorrect Download URLs (Linux/macOS 404 errors):
- Fixed URL format for ctags-nightly-build releases
- Strip git hash from version for filename (use date part only)
- Changed platform name from "darwin" to "macos" with OS version
- Added ".release" suffix before file extension
- Fixed architecture mapping (x86_64 vs arm64 for macOS)
URL format changes:
- Old: uctags-{version+hash}-darwin-{arch}.tar.gz
- New: uctags-{version}-macos-12.0-{arch}.release.tar.gz
- Linux: uctags-{version}-linux-{arch}.release.tar.gz
This should resolve all platform test failures.
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.
No description provided.