{"id":24319837,"url":"https://github.com/herbetom/npins-updater","last_synced_at":"2025-09-26T12:31:44.278Z","repository":{"id":272623996,"uuid":"917185768","full_name":"herbetom/npins-updater","owner":"herbetom","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-15T15:36:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T17:46:47.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":"2025-01-15T14:17:20.000Z","updated_at":"2025-01-15T15:36:48.000Z","dependencies_parsed_at":"2025-01-15T17:47:29.243Z","dependency_job_id":"d3b7e10f-0d0c-4a86-aef1-9136226a0825","html_url":"https://github.com/herbetom/npins-updater","commit_stats":null,"previous_names":["herbetom/npins-updater"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fnpins-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fnpins-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fnpins-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herbetom%2Fnpins-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herbetom","download_url":"https://codeload.github.com/herbetom/npins-updater/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242926225,"owners_count":20207754,"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":[],"created_at":"2025-01-17T15:40:13.949Z","updated_at":"2025-09-26T12:31:44.195Z","avatar_url":"https://github.com/herbetom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npins-updater\n\n## Install\n\n`npins-updater` can be installed and updated via npins itself:\n\n1. add npins-updater to your sources:\n\n```bash\nnpins add github herbetom npins-updater -b main\n```\n\n2. edit `shell.nix` to add npins-updater to your development shell:\n\n\n```nix\n{ pkgs ? import \u003cnixpkgs\u003e {} }:\npkgs.mkShell {\n  packages = with pkgs; [\n    npins\n    # This is the important line:\n    (pkgs.callPackage \"${(import ./npins).npins-updater}/pkgs/npins-updater.nix\" {})\n  ];\n}\n```\n\n3. enter `nix-shell`. That's it!\n\n\n## Usage\n\n```\n$ npins-updater --help\nusage: npins-updater [-h] [--no-changelog] [-c CONFIG] [-S] [PACKAGE]\n\nUpdate npins 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/npins-updater/config.toml\n  -S, --sign            GPG-sign commits.\n```\n\n## Config File\n\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.npins-updater]\nurl=\"https://github.com/herbetom/npins-updater/\"\npath=\"/home/user/git/npins-updater\"\nfetch=true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherbetom%2Fnpins-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherbetom%2Fnpins-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherbetom%2Fnpins-updater/lists"}