frappe / frappe/press

[Enhancement] Revamp VM and Volume Management

Open
#6,071 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
563
Forks
410
Avg merge
22h 15m
Merged PRs (30d)
197

Description

The [virtual_machine.py](https://github.com/frappe/press/blob/develop/press/press/doctype/virtual_machine/virtual_machine.py) became too large and tough to add new provider integration.

- Move the doctype to **infrastructure** module
- Refactor to have provider specific implementations (i.e vm.py, aws.py, hetzner.py)
- New provider integration should be easier also

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with press/press/doctype/virtual_machine/virtual_machine.py and map its current VM and volume responsibilities. Move the doctype to the infrastructure module, then review the provider-specific separation requested for vm.py, aws.py, and hetzner.py. Done means the refactor supports easier addition of new provider integrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.