chore(repo): flisk-sh/analytics has no GitHub topics, so it cannot be found in search

Aperta Adatta ai principianti
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, github-actions, javascript

Direzione di ricerca

Inizia eseguendo gh repo view flisk-sh/analytics --json repositoryTopics per confermare che l'elenco è vuoto, poi aggiungi 5-10 topics (linguaggio, piattaforma, scopo, flisk) nelle impostazioni del repository. Per il controllo, esamina i workflow esistenti in .github/workflows/ per rispettare le convenzioni del progetto e aggiungi un passo che elenca i repository pubblici dell'organizzazione tramite gh repo list flisk-sh --json name,repositoryTopics,isPrivate e fallisce in caso di topics mancanti, mantenendo l'elenco dei topics richiesti in un unico file condiviso. Fatto significa che il controllo fallisce su un repository senza topics, passa qui e i test esistenti continuano a passare.

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

Descrizione

agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests

Problem

The flisk-sh/analytics repository has no GitHub topics. Topics are how people find a repository from GitHub search and the topic pages, and how lists such as "awesome" collections and GitHub's own recommendations pick it up. A visitor who searches for a Cloudflare Workers app, an AI chat site or a local-first dev tool will never see this repository.

Reproduce:

  1. Run gh repo view flisk-sh/analytics --json repositoryTopics.
  2. It prints an empty list.

Expected: 5 to 10 topics that say what the project is, its language and its platform.

Root Cause Analysis

Topics are repository settings, not files, so they are not covered by any template or CI check. Several repositories in the organization were created without them and nothing flags the gap.

TDD Fix Plan

  1. RED: Write a small script (or workflow step) that fails when a public repository in the organization has no topics.
    GREEN: Add 5 to 10 topics to this repository (language, platform, what it does, flisk).

  2. RED: Write a check that the topics include flisk.
    GREEN: Add the shared flisk topic so the organization's repositories group together.

REFACTOR: Keep the list of required topics in one place that the org-wide check reads.

Acceptance Criteria

  • The repository has at least 5 topics
  • One topic is flisk
  • A check fails when a public repository has no topics
  • All new tests pass
  • Existing tests still pass
Lingua principale
JavaScript
Stelle
0
Fork
2
Merge medio
1h 33m
PR unite (30g)
7

Preparare l'ambiente

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 flisk-sh/analytics

Tutte le issue di flisk-sh/analytics

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.