{"id":27829,"library":"ghpr-py","title":"ghpr-py: GitHub PR/Issue Management","description":"Manage GitHub PR and Issue descriptions and comments locally: clone, edit, and push bidirectional changes with gist mirroring. Current version 0.1.9, requires Python >=3.10. Active development.","status":"active","version":"0.1.9","language":"python","source_language":"en","source_url":"https://github.com/runsascoded/ghpr","tags":["github","pr","issue","clone","sync","gist","cli"],"install":[{"cmd":"pip install ghpr-py","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":null,"symbol":"main","correct":"from ghpr import main"},{"note":"","wrong":null,"symbol":"clone_command","correct":"from ghpr.commands.clone import clone_command"},{"note":"","wrong":null,"symbol":"push_command","correct":"from ghpr.commands.push import push_command"}],"quickstart":{"code":"from ghpr import main\nimport os\n# ghpr clone expects GITHUB_TOKEN or interactive auth\nif 'GITHUB_TOKEN' in os.environ:\n    main(['clone', 'runsascoded/ghpr-py', '1'])","lang":"python","description":"Clone a PR/Issue for local editing. Typically used via CLI: `ghpr clone user/repo 1`."},"warnings":[{"fix":"Update to v0.1.4+ and use new argument order (owner/repo first).","message":"In v0.1.4 the clone command argument order changed; scripts using positional args may break.","severity":"breaking","affected_versions":">=0.1.0, <=0.1.3"},{"fix":"Upgrade to v0.1.7+ for fix.","message":"GitHub strips trailing newlines from PR descriptions; `write_description_with_link_ref` may cause diff thrashing on subsequent pulls.","severity":"gotcha","affected_versions":"<=0.1.6"},{"fix":"Use `ghpr push --force` to override, but note you'll overwrite other authors' comments.","message":"`ghpr push` will not push comments authored by others unless explicitly forced; dry-run (-n) shows warnings.","severity":"gotcha","affected_versions":">=0.1.5"},{"fix":"Upgrade to v0.1.6+ and source the updated shell integration files.","message":"Old shell integration (ghprc without GHPR_DIR) may not cd into cloned directory; fixed in v0.1.6.","severity":"deprecated","affected_versions":"<=0.1.5"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use: `ghpr clone owner/repo PR_NUMBER` (e.g., `ghpr clone user/repo 1`)","cause":"Incorrect number of arguments passed to clone command.","error":"TypeError: clone_command() missing 2 required positional arguments: 'owner' and 'repo'"},{"fix":"Provide as 'owner/repo' single argument (e.g., 'runsascoded/ghpr-py')","cause":"Missing or malformed owner/repo argument.","error":"ghpr: error: argument owner/repo: expected one argument"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}