creativecommons / creativecommons/ccos-scripts

Automate skill label generation

Offen
#86 15 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
🌟 goal: addition 💬 talk: discussion 💻 aspect: code 🤖 aspect: dx 🟩 priority: low 🧹 status: ticket work required
Vorherrschende Sprache
Python
Sterne
20
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Problem
Skill labels need to be manually set up in `skills.json`. This
- increases manual work on the part of repo maintainers to ensure that the skills listed in a different repo (this one) are up to date
- causes redundancy of information that is already present in `cc-metadata.yml` under the `technologies` key in each repo

## Description
The technologies key could be expanded to a more verbose structure to describe languages, libraries and frameworks and then used to eliminate the need for `skills.json` entirely. This presents benefits such as
- richer information about the technological make-up of our projects
- automated sync of labels with technologies

## Alternatives
The improvements to `.cc-metadata.yml` can be a good-to-have part of the feature if there isn't a consensus to proceed with that. But the automation of skill labels is still beneficial. Also it does not have to be binary, a combination of `.cc-metadata.yml` and `skills.json` would also be a fine solution.

## Implementation

- [ ] I would be interested in implementing this feature.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die aktuelle skills.json mit den Technologieeinträgen in der cc-metadata.yml jedes Repositorys zu vergleichen. Ermittle, ob das Feature skills.json ersetzen, die Metadaten erweitern oder beides kombinieren sollte, und definiere anschließend, wie Technologiedaten in synchronisierte Skill-Labels umgewandelt werden. Als erledigt gilt die Aufgabe, wenn Maintainer diese Labels nicht mehr manuell aktuell halten müssen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.