mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[PR #134] [MERGED] Add Files tools #190
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/proxmoxer/proxmoxer/pull/134
Author: @jhollowe
Created: 2/20/2023
Status: ✅ Merged
Merged: 4/1/2023
Merged by: @jhollowe
Base:
develop← Head:tools-files📝 Commits (7)
9c69d8bAdd start of Files tools (checksum gather)d6af694Adjust Tasks polling_interval3bd428dComplete Files file and fix pre-commit631564aAdd tests for Files toolse9c09c4Set devcontainer to oldest supported py version (3.7)958e63fAdd upload function to Files toolsd89c5caAdd tests for upload Files tools📊 Changes
14 files changed (+900 additions, -17 deletions)
View changed files
📝
.devcontainer/devcontainer.json(+1 -1)📝
.pre-commit-config.yaml(+1 -1)📝
proxmoxer/backends/https.py(+5 -1)📝
proxmoxer/tools/__init__.py(+1 -0)➕
proxmoxer/tools/files.py(+276 -0)📝
proxmoxer/tools/tasks.py(+2 -2)📝
tests/api_mock.py(+97 -3)➕
tests/files_mock.py(+127 -0)📝
tests/test_command_base.py(+0 -1)📝
tests/test_core.py(+0 -1)📝
tests/test_https.py(+3 -5)📝
tests/test_imports.py(+17 -0)➕
tests/tools/test_files.py(+368 -0)📝
tests/tools/test_tasks.py(+2 -2)📄 Description
Add tooling to simplify uploading/downloading files to PVE.
download_file_to_storageto download a ISO/template from a URLupload_local_file_to_storageto calculate a checksum and upload a local ISO/template🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.