{"id":14967876,"url":"https://github.com/nixos/first-time-contribution-tagger","last_synced_at":"2025-10-19T09:31:54.225Z","repository":{"id":175058381,"uuid":"653282573","full_name":"NixOS/first-time-contribution-tagger","owner":"NixOS","description":"Tags contributions of a first time contributor in your repo with a specified label [maintainer=@Janik-Haag]","archived":false,"fork":false,"pushed_at":"2024-03-11T02:41:53.000Z","size":85,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-15T12:49:40.478Z","etag":null,"topics":["automation","github","nixpkgs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NixOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"open_collective":"nixos"}},"created_at":"2023-06-13T18:49:21.000Z","updated_at":"2024-04-19T00:24:22.141Z","dependencies_parsed_at":"2023-09-11T03:31:35.123Z","dependency_job_id":"12dd4140-32a4-42a8-b67c-03e692c57210","html_url":"https://github.com/NixOS/first-time-contribution-tagger","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":"0.15000000000000002","last_synced_commit":"d5f28c093fa33aeabbee4adfad18bf5e300667de"},"previous_names":["janik-haag/first-time-contirbution-tagger","nix-community/first-time-contribution-tagger"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NixOS%2Ffirst-time-contribution-tagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NixOS%2Ffirst-time-contribution-tagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NixOS%2Ffirst-time-contribution-tagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NixOS%2Ffirst-time-contribution-tagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NixOS","download_url":"https://codeload.github.com/NixOS/first-time-contribution-tagger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867838,"owners_count":16554368,"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":["automation","github","nixpkgs"],"created_at":"2024-09-24T13:38:48.555Z","updated_at":"2025-10-19T09:31:54.220Z","avatar_url":"https://github.com/NixOS.png","language":"Python","funding_links":["https://opencollective.com/nixos"],"categories":[],"sub_categories":[],"readme":"# first-time-contribution-tagger\nTags PRs of first time contributors in a GitHub repo with a pre specified label and has builtin caching.\n\n\u003e [!WARNING]\n\u003e This implementation is now archived as it has has been replaced by https://github.com/NixOS/nixpkgs/pull/417916.\n\n## Usage\nThis repository also contains a Nix flake. It can be used in a NixOS configuration like this:\n1. Add flake to inputs:\n```nix\nfirst-time-contribution-tagger = {\n    url = \"github:Janik-Haag/first-time-contribution-tagger\";\n    inputs.nixpkgs.follows = \"nixpkgs\"; #optional\n}\n```\n2. Adding output: \n```nix\n  outputs = inputs@{ self, nixpkgs, first-time-contribution-tagger, ... }:\n```\n3. Import NixOS module\n```nix\nimports = [ first-time-contribution-tagger.nixosModule ];\n```\n4. Configure the module:\n```nix\n{ ... }: {\n  services.first-time-contribution-tagger = {\n    enable = true;\n    interval = \"*:0/10\";\n    environment = {\n      FIRST_TIME_CONTRIBUTION_LABEL=\"12. first-time contribution\";\n      FIRST_TIME_CONTRIBUTION_CACHE=\"/var/lib/first-time-contribution-tagger/cache\";\n      FIRST_TIME_CONTRIBUTION_REPO=\"nixpkgs\";\n      FIRST_TIME_CONTRIBUTION_ORG=\"NixOS\";\n    };\n    environmentFile = \"/root/first-time-contribution-tagger.env\";\n  };\n}\n```\n\n5. Adding the cache\nIf you go to the [releases page](https://github.com/Janik-Haag/first-time-contribution-tagger/releases) you will find two .pickle files, copy both of them to your specified cache directory. If the directory doesn't exist just create it. Then set the permissions, f.e. `chmod -R 666 $FIRST_TIME_CONTRIBUTION_CACHE`\n\n6. Rebuild your system config\n```sh\nsudo nixos-rebuild switch --flake .#\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixos%2Ffirst-time-contribution-tagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnixos%2Ffirst-time-contribution-tagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixos%2Ffirst-time-contribution-tagger/lists"}