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

Aperta
#23 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
yaml
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Nessun dato sulla lingua
Stelle
6
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AstrBotDevs/astrbot-cloud-issues

Tutte le issue di AstrBotDevs/astrbot-cloud-issues

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.