{"id":18085059,"url":"https://github.com/jwodder/dependalabels","last_synced_at":"2025-10-16T03:31:47.569Z","repository":{"id":196365385,"uuid":"695961729","full_name":"jwodder/dependalabels","owner":"jwodder","description":"Create GitHub PR labels used by Dependabot config","archived":false,"fork":false,"pushed_at":"2025-01-23T14:09:47.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T00:21:01.155Z","etag":null,"topics":["dependabot","github","github-labels","github-repository-management","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-24T18:24:03.000Z","updated_at":"2025-01-23T14:09:49.000Z","dependencies_parsed_at":"2023-10-14T19:14:34.016Z","dependency_job_id":"29699faa-6004-41b0-92e9-97646cac0e16","html_url":"https://github.com/jwodder/dependalabels","commit_stats":null,"previous_names":["jwodder/dependalabels"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fdependalabels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fdependalabels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fdependalabels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fdependalabels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/dependalabels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415966,"owners_count":20935387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependabot","github","github-labels","github-repository-management","python"],"created_at":"2024-10-31T15:09:15.264Z","updated_at":"2025-10-16T03:31:42.536Z","avatar_url":"https://github.com/jwodder.png","language":"Python","readme":"|repostatus| |ci-status| |license|\n\n.. |repostatus| image:: https://www.repostatus.org/badges/latest/concept.svg\n    :target: https://www.repostatus.org/#concept\n    :alt: Project Status: Concept – Minimal or no implementation has been done\n          yet, or the repository is only intended to be a limited example,\n          demo, or proof-of-concept.\n\n.. |ci-status| image:: https://github.com/jwodder/dependalabels/actions/workflows/test.yml/badge.svg\n    :target: https://github.com/jwodder/dependalabels/actions/workflows/test.yml\n    :alt: CI Status\n\n.. |license| image:: https://img.shields.io/github/license/jwodder/dependalabels.svg\n    :target: https://opensource.org/licenses/MIT\n    :alt: MIT License\n\n`GitHub \u003chttps://github.com/jwodder/dependalabels\u003e`_\n| `Issues \u003chttps://github.com/jwodder/dependalabels/issues\u003e`_\n\nWhen setting up Dependabot_ to automatically create pull requests for\nout-of-date dependencies, you have the option of specifying custom labels\nto be applied to these PRs; however, if you forget to actually create the\nlabels in your repository, Dependabot won't create them for you, and so they\nwon't be used.\n\nThe ``dependalabels`` command provides a simple solution: it extracts the\ncustom labels from your ``dependabot.yml`` file and ensures that the labels all\nexist in your GitHub repository.\n\n.. _Dependabot: https://docs.github.com/en/code-security/dependabot\n\n\nInstallation\n============\n``dependalabels`` requires Python 3.10 or higher.  Just use `pip\n\u003chttps://pip.pypa.io\u003e`_ for Python 3 (You have pip, right?) to install it::\n\n    python3 -m pip install git+https://github.com/jwodder/dependalabels.git\n\n\nUsage\n=====\n\n::\n\n    dependalabels [\u003coptions\u003e] [\u003cdirpath\u003e]\n\n``dependalabels`` operates on the Git repository at the specified path,\ndefaulting to the current directory.  The repository's ``origin`` remote must\npoint to a corresponding GitHub repository.  ``dependalabels`` reads\n``.github/dependabot.yml`` at the root of the local repository and ensures that\neach custom label listed therein exists in the GitHub repository.\n\n``dependalabels`` predefines certain labels and gives them specific colors and\ndescriptions; all other labels are given random colors and empty descriptions.\n\nOptions\n-------\n\n-f, --force             If a predefined label already exists in the GitHub\n                        repository, ensure its color and description have the\n                        same values as used by ``dependalabels`` when creating\n                        the label.\n\nAuthentication\n--------------\n\n``dependalabels`` requires a GitHub access token with appropriate permissions\nin order to run.  Specify the token via the ``GH_TOKEN`` or ``GITHUB_TOKEN``\nenvironment variable (possibly in an ``.env`` file), by storing a token with\nthe ``gh`` or ``hub`` command, or by setting the ``hub.oauthtoken`` Git config\noption in your ``~/.gitconfig`` file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fdependalabels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fdependalabels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fdependalabels/lists"}