[Bug] 插件市场不会重新解析仓库的 metadata.yaml

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

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
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
yaml
Lĩnh vực
backend

Hướng nghiên cứu

The payload is an issue tracker with no source files, so the code that reads metadata.yaml during publish lives in another repository and is not named here. Start by finding where the marketplace parses that file and caches the plugin's author and description, then check whether re-publishing or refreshing a version re-reads it. Done means the reproduction steps show the new author and description after a re-publish, or the maintainers have documented that deletion is required. The maintainers have not yet chosen between a re-sync feature and a docs change, so confirm that choice first.

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

Mô tả

bug
问题概述 / Summary

插件市场不会重新解析仓库的 metadata.yaml:作者名和简介停留在首次发布时,改仓库、刷新页面、重新发布都改不掉。

复现步骤 / Steps to reproduce
  1. 发布插件(v0.2.0),metadata.yaml 里 author: A、旧 desc
  2. 修改仓库 metadata.yaml:
    -author: c1overzz & Alterssss (AstrBot port)
    +author: momo-OwO-qwq
    
    同时更新 short_desc / desc,新增 support_platforms,版本号升到 0.2.0
  3. 合并到 main,确认 GitHub 上的 metadata.yaml 已是新值
  4. 打开 https://cloud.astrbot.app/profile/momo-owo-qwq → 插件卡片仍显示旧作者 c1overzz & Alterssss (AstrBot port) 和旧简介
  5. 刷新页面、清缓存、重新发布都不生效
期望行为 / Expected behavior

仓库 main 的 metadata.yaml 变更后,插件市场展示的 author / desc / short_desc / support_platforms 应该同步更新(至少重新发布或刷新版本后生效)。

如果设计上元数据只在首次发布时读取,希望:

  • 发布页提供「重新同步元数据」能力,或者
  • 在文档里明确写出「修改 author/desc 必须删除插件后重新发布」,避免作者卡在旧名字上
实际行为 / Actual behavior

作者名永远停留在第一次发布时的值,无法通过任何界面操作更正。

相关页面或资源链接 / Related URL

No response

AstrBot Cloud 版本或环境 / Version or environment

No response

日志、截图或其他上下文 / Logs, screenshots, or context

No response

提交前确认 / Checklist
  • 我已搜索现有 issue,确认没有重复反馈。 / I searched existing issues and found no duplicate.
  • 我已移除反馈中的密码、Token、Cookie 等敏感信息。 / I removed passwords, tokens, cookies, and other sensitive information.
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
6
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 AstrBotDevs/astrbot-cloud-issues

Tất cả issue của AstrBotDevs/astrbot-cloud-issues

Issue tương tự

Thêm issue về Backend & API Design

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.