{"id":23871235,"url":"https://github.com/herbetom/niv-updater","last_synced_at":"2025-07-29T01:37:43.683Z","repository":{"id":253473533,"uuid":"843607792","full_name":"herbetom/niv-updater","owner":"herbetom","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-26T00:30:20.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T18:49:47.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/herbetom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-16T22:46:25.000Z","updated_at":"2024-08-26T00:30:23.000Z","dependencies_parsed_at":"2025-02-22T18:42:18.668Z","dependency_job_id":"ea5a33da-cc89-4cf5-b194-547c9bc60fbc","html_url":"https://github.com/herbetom/niv-updater","commit_stats":null,"previous_names":["herbetom/niv-updater"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/herbetom/niv-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fniv-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fniv-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fniv-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fniv-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herbetom","download_url":"https://codeload.github.com/herbetom/niv-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fniv-updater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267616848,"owners_count":24116170,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-03T14:30:38.890Z","updated_at":"2025-07-29T01:37:43.661Z","avatar_url":"https://github.com/herbetom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# niv-updater\n\n## Install\n\n`niv-updater` can be installed and updated via niv itself:\n\n1. add niv-updater to your sources:\n\n```bash\nniv add herbetom/niv-updater\n```\n\n2. edit `shell.nix` to add niv-updater to your development shell:\n\n\n```nix\n{ pkgs ? import \u003cnixpkgs\u003e {} }:\npkgs.mkShell {\n  packages = with pkgs; [\n    niv\n    # This is the important line:\n    (pkgs.callPackage \"${(import ./nix/sources.nix).niv-updater}/pkgs/niv-updater.nix\" {})\n  ];\n}\n```\n\n3. enter `nix-shell`. That's it!\n\n\n## Usage\n\n```\n$ niv-updater --help\nusage: niv-updater [-h] [--no-changelog] [-c CONFIG] [-S] [PACKAGE]\n\nUpdate niv sources and commit changes with a changelog\n\npositional arguments:\n  PACKAGE               The repo to update, if none is provided it will update all\n\noptions:\n  -h, --help            show this help message and exit\n  --no-changelog        do not create a changelog\n  -c CONFIG, --config CONFIG\n                        provide a config file, default is ~/.config/niv-updater/config.toml\n  -S, --sign            GPG-sign commits.\n```\n\n## Config File\n\n\n```\n# github_token=string (optional): Useful if you run into an api limit with niv\ngithub_token=\"github_YOUR-PERSONAL-ACCESS-TOKEN\"\n\n\n# Enty for the nixpkgs repo\n[repo.nixpkgs]\n# url=string - URL of the repo.\nurl=\"https://github.com/NixOS/nixpkgs/\"\n\n# path=string - path of the repo\npath=\"/home/user/git/NixOS/nixpkgs\"\n\n# fetch=string|boolean (optional): true by default. If true it will fetch from the default remote. If false it won't fetch. If a string is provided if will try fetching from the that remote.\nfetch=\"upstream\"\n\n[repo.niv-updater]\nurl=\"https://github.com/herbetom/niv-updater/\"\npath=\"/home/user/git/niv-updater\"\nfetch=true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherbetom%2Fniv-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherbetom%2Fniv-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherbetom%2Fniv-updater/lists"}