No description available
pip install fastpluggy-git-module-manager
pip install fastpluggy-git-module-manager==0.1.0
This plugin is responsible for managing Git operations for FastPluggy modules and plugins. It provides functionality for installing, updating, and checking for updates of plugins from Git repositories.
This document outlines the plan for migrating Git module management functionality from the FastPluggy core to this plugin.
src
directory__init__.py
files[x] Create plugin.py with plugin definition
[x] Move Git tools from core
GitInfo
class from core/tools/git_tools.py
is_git_installed()
functionget_git_versions()
function[x] Move get_git_info_for_module()
function
[x] Move Git installer from core
GitPluginInstaller
class from core/plugin/installer/git_installer.py
[x] Adapt to work as a plugin
[x] Move repository functions
save_or_update_plugin_git_info()
function from core/plugin/repository.py
[x] Move ModuleRepository
class from core/models.py
[x] Create API endpoints in the plugin
[x] Create endpoint for checking for updates
[ ] Update core to use the plugin
PluginInstaller
class to use the plugin instead of direct Git functionalityupdate_plugin_from_git
action to use the plugin[ ] Remove Git-related code from core
[x] Add database models to the plugin
ModuleRepository
class from core/models.py
[x] Ensure compatibility with existing database schema
[ ] Test the migration
The plugin will have the following structure:
git_module_manager/
├── README.md
└── src/
├── __init__.py
├── plugin.py
├── git_tools.py
├── git_installer.py
├── repository.py
├── models.py
└── routers/
├── __init__.py
└── actions.py
The plugin will require the following dependencies:
- GitPython
The plugin will integrate with the core through:
1. Plugin registration
2. API endpoints
3. Dependency injection
To ensure backward compatibility:
1. The plugin will provide the same API as the core Git functionality
2. The core will delegate to the plugin when Git operations are requested
3. Existing database records will be preserved
This plugin does not have a Changelog file or it could not be extracted from the package.
API documentation for this plugin is not available.
Last analysis performed: 2025-07-20 00:30:33
This plugin has a valid entry point:
git_module_manager
= fastpluggy_plugin.git_module_manager.plugin:GitModuleManagerPlugin
Issues were found during analysis, but details are not available.
fastpluggy_plugin.git_module_manager.plugin:GitModuleManagerPlugin