Add an init command
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
- 35/100
Hướng nghiên cứu
Start with the upgrade-packages documentation linked in the issue and trace the existing plonecli command entry points and registry handling. Implement plonecli init [directory] so it writes a root bobtemplate.cfg using a selected global template name, and update configure.zcml with the required placeholder lines; verify both current-directory and named-directory usage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To allow people to use plonecli command like build and serve in existing packages, we could provide an init command which will prepare a directory for plonecli.
What it needs is documented here:
https://bobtemplatesplone.readthedocs.io/en/latest/upgrade-packages.html#bobtemplate-cfg
We basically need a bobtemplate.cfg in the root directory of a package or buildout.
We should ask for a bobtemplate name like addon and write it to the bobtemplate.cfg.
The template name should be a list of existing templates, comming from the plonecli registry.
It has to be the global name, 'plone_addon' not just 'addon'.
Because the configuration is for mrbob and not only for bobtemplates.pone.
The command can be used then like:
plonecli init mybuildout
or just without a directory, for the current directory
plonecli init
also we need to update configure.zcml files to have the placeholder lines, where we inject config.
- Ngôn ngữ chính
- Python
- Star
- 20
- Fork
- 12
- Merge trung bình
- 11 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plone/plonecli
-
01 type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
uvx plonecli --helpCó thể đã có người làm @Anu13lol đã nhận 161 ngày trước. Đang mở01 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Add a migrate package commandĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
01 type: bug 21 status: confirmed
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của plone/plonecli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google-agentic-commerce/AP2#388 ·
-
area:codegen backend:cuda backend:hip bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CrossGL/crosstl#3061 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
rlaope/oh-my-hermes#2304 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
mochan-tk/agentic-dev-kit-for-codex#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows ARM memory-leakĐang mởbug docs performance
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 3 ngày