Skip to content

Conversation

hieutrtr
Copy link
Collaborator

No description provided.

toreleon and others added 11 commits April 13, 2025 14:22
* Add CI/CD workflows for testing, version bumping, and PyPI publishing; enhance README with development and CI/CD details; implement comprehensive tests for MCPHub and MCPServers functionality.

* Enhance CI workflow by installing all extras with Poetry

* Refactor CI workflow to include version bumping and streamline package publishing using Poetry

* Update README to clarify MCPHub installation options with framework-specific dependencies

* Restrict pull request triggers to the release branch only

* Update CI workflow to enable fail-fast strategy and restrict Python versions to 3.12 only

* Refactor CI workflows to remove version bumping from CI and add tagging functionality; update README for clarity on automatic versioning and tagging process.

* Refactor CI workflows to integrate version bumping and ensure proper versioning before publishing; update version-bump workflow to set outputs for new version.

* Bump version to 0.1.6 in pyproject.toml

* Refactor CI workflows: remove version-bump workflow and integrate version extraction and tagging directly in the publish job; update package version to 0.1.7 in pyproject.toml

* Fix test data structure in TestMCPServersParams to match expected format

Updated the mock data in the test for _load_predefined_servers_params to reflect the correct structure, ensuring that the "mcpServers" key wraps the predefined server details. This change enhances the accuracy of the test and aligns it with the actual implementation.
* Add CI/CD workflows for testing, version bumping, and PyPI publishing; enhance README with development and CI/CD details; implement comprehensive tests for MCPHub and MCPServers functionality.

* Enhance CI workflow by installing all extras with Poetry

* Refactor CI workflow to include version bumping and streamline package publishing using Poetry

* Update README to clarify MCPHub installation options with framework-specific dependencies

* Restrict pull request triggers to the release branch only

* Update CI workflow to enable fail-fast strategy and restrict Python versions to 3.12 only

* Refactor CI workflows to remove version bumping from CI and add tagging functionality; update README for clarity on automatic versioning and tagging process.

* Refactor CI workflows to integrate version bumping and ensure proper versioning before publishing; update version-bump workflow to set outputs for new version.

* Bump version to 0.1.6 in pyproject.toml

* Refactor CI workflows: remove version-bump workflow and integrate version extraction and tagging directly in the publish job; update package version to 0.1.7 in pyproject.toml

* Fix test data structure in TestMCPServersParams to match expected format

Updated the mock data in the test for _load_predefined_servers_params to reflect the correct structure, ensuring that the "mcpServers" key wraps the predefined server details. This change enhances the accuracy of the test and aligns it with the actual implementation.

* Add CLI commands and utilities for MCPHub configuration management

- Implemented CLI commands for initializing, adding, removing, and listing MCP servers.
- Created utility functions for loading and saving configuration files.
- Added tests for CLI commands to ensure proper functionality and error handling.
#23)

* Enhance test for 'init' command to skip config creation when it exists

* Update tests/test_cli.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enhance test for 'init' command to skip config creation when it exists

* Refactor dependencies in pyproject.toml to separate optional dependencies and clean up main dependencies section
* solve test

* remove legacy functions
@hieutrtr hieutrtr requested a review from toreleon April 14, 2025 06:31
Copy link
Contributor

@toreleon toreleon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done review

@toreleon toreleon assigned toreleon and unassigned toreleon Apr 14, 2025
Copy link
Contributor

@toreleon toreleon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@toreleon toreleon self-requested a review April 14, 2025 06:39
@toreleon toreleon merged commit 0104477 into release Apr 14, 2025
4 checks passed
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.

2 participants