Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9478

Can the github-1 generator also add a description field?

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      invakid404 showed that we can fetch a package's description right from the github metadata:

      pkgmetadata = await hub.pkgtools.fetch.get_page(
      f"https://api.github.com/repos/{{{}

      {github_user}

      {}}}/{{{}

      {github_repo}

      {}}}",
      is_json=True,
      )

      and the description is then available under pkgmetadata["description"].

      If this were to be part of github-1 generator, then templates can basically set DESCRIPTION="{{ description }}"

            invakid404 invakid404
            seemant seemant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: