NFDI4Energy / NFDI4Energy/SMECS

Improve suggestion lists for License and Programming Languages

Open
#232 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

front end short-term
Dominant language
Python
Stars
13
Forks
1
Avg merge
22h 24m
Merged PRs (30d)
1

Description

Currently, predefined suggestion lists for License and Programming Languages are shown to the user for selection. Users cannot choose values outside these lists. This creates two problems:

  1. License value mismatch:
    Extracted metadata may provide an SPDX license URL (e.g., https://spdx.org/licenses/MIT.html), which we display on the extraction page as a tag. In the license suggestion list, however, the available options are SPDX names/IDs, not URLs. As a result, users cannot add a license by URL (only by name/ID) and cannot select a URL value if it does not appear in the suggestion list.

  2. Programming language coverage gap:
    Extracted metadata can include languages that are not present in our suggestion list (e.g., HTML). If the user removes such an extracted metadata, they cannot re-add it because it is missing from the suggestions. We need to use a reliable method to cover all programming languages used on GitHub, GitLab, or other sources.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that builds the License and Programming Languages suggestion lists and the extraction-page controls for metadata tags. Compare extracted SPDX URLs and language values with the selectable options; done means users can re-add those values and the language list reliably covers the relevant sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.