Backups: hold the list of installed plugins and themes, and ask for them again after a restore

Đang mở
#643 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
laravel, php, postgresql
Lĩnh vực
backend, devops

Hướng nghiên cứu

Start with the backup code path and the extensions folder handling, then trace how the admin install request invokes the installer; the operators' guide section 'Backing up the folder' describes the manual copy being replaced. Done means a backup contains composer.json and composer.lock, and a restore re-requests the same versions and lists failed packages on the Status page. No test or entry point is named in the payload, so locate them in the repository first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area/backups area/deploy type/enhancement when/soon

A backup holds the database, the media and the application key, but not the list of plugins and themes installed from the admin. A site restored onto a new server comes back with its plugins' settings and data but not their code, and the operators' guide (Plugins and themes installed from the admin › Backing up the folder) asks the operator to copy composer.json and composer.lock out by hand.

Expected:

  • every backup also holds the extensions folder's composer.json and composer.lock (a few kilobytes; the packages themselves can be fetched again from their sources);
  • after a restore, Teme asks for the same packages at the same versions through the usual install request and installer, and the Status page lists any that couldn't be fetched (a private source without its key, a package removed upstream);
  • the guide's manual step goes away.

🤖 Generated with Claude Code

Ngôn ngữ chính
PHP
Star
1
Fork
1
Merge trung bình
1 giờ 40 phút
Pull request đã merge (30 ngày)
143

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của temecms/teme

Tất cả issue của temecms/teme

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.