posit-dev / posit-dev/rsconnect-python

write-manifest quarto doesn't support Shiny Quarto documents

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

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

Ngôn ngữ chính
Python
Star
37
Fork
28
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
7

Mô tả

Summary

rsconnect write-manifest quarto always creates a static document manifest, even for Quarto documents that use server: shiny in their YAML front matter. There's no way to generate a quarto-shiny manifest via the CLI.

Details

The codebase has support for AppModes.SHINY_QUARTO internally, but the CLI doesn't expose this functionality:

  • No --shiny flag on write-manifest quarto
  • No auto-detection of server: shiny in the Quarto document's YAML front matter
  • write-manifest shiny doesn't recognize .qmd files as valid entry points

Current workarounds

  1. Use quarto publish connect instead (which does handle this correctly)
  2. Manually create a manifest.json with "appmode": "quarto-shiny"

Expected behavior

Either:

  • write-manifest quarto should detect server: shiny in the document and create a quarto-shiny manifest automatically, OR
  • A --shiny flag should be added to explicitly request a Shiny Quarto manifest

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu tại các điểm vào CLI write-manifest quartowrite-manifest shiny, sau đó lần theo phần hỗ trợ hiện có cho AppModes.SHINY_QUARTO. Kiểm tra cách xử lý Quarto YAML front matter và các điểm vào hợp lệ. Công việc được hoàn thành khi CLI có thể tạo manifest quarto-shiny cho một tài liệu .qmd sử dụng server: shiny, thông qua việc phát hiện hoặc một flag rõ ràng.

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

Đánh giá

Công nghệ
python
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

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.