{"id":22907983,"url":"https://github.com/p6m7g8-dotfiles/p6github","last_synced_at":"2026-04-06T05:02:08.667Z","repository":{"id":42855805,"uuid":"471516405","full_name":"p6m7g8-dotfiles/p6github","owner":"p6m7g8-dotfiles","description":"P6 Dotfiles: POSIX.2 GitHub integration utility functions","archived":false,"fork":false,"pushed_at":"2026-01-26T01:33:25.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T14:16:05.970Z","etag":null,"topics":["bash","cli","git","github","p6","p6m7g8","sh","shell","terminal","zsh"],"latest_commit_sha":null,"homepage":"https://continuouslearning.io","language":"Shell","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/p6m7g8-dotfiles.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-18T21:03:40.000Z","updated_at":"2026-01-26T01:03:01.000Z","dependencies_parsed_at":"2024-03-17T20:23:46.787Z","dependency_job_id":"5ef97a9c-3578-4d39-9ee0-3790268f6781","html_url":"https://github.com/p6m7g8-dotfiles/p6github","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/p6m7g8-dotfiles/p6github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p6m7g8-dotfiles","download_url":"https://codeload.github.com/p6m7g8-dotfiles/p6github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28840134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","cli","git","github","p6","p6m7g8","sh","shell","terminal","zsh"],"created_at":"2024-12-14T03:19:10.079Z","updated_at":"2026-04-06T05:02:08.657Z","avatar_url":"https://github.com/p6m7g8-dotfiles.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P6's POSIX.2: p6github\n\n## Table of Contents\n\n- [Badges](#badges)\n- [Summary](#summary)\n- [Contributing](#contributing)\n- [Code of Conduct](#code-of-conduct)\n- [Usage](#usage)\n  - [Hooks](#hooks)\n  - [Functions](#functions)\n- [Hierarchy](#hierarchy)\n- [Author](#author)\n\n## Badges\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n\n## Summary\n\nTODO: Add a short summary of this module.\n\n## Contributing\n\n- [How to Contribute](\u003chttps://github.com/p6m7g8-dotfiles/.github/blob/main/CONTRIBUTING.md\u003e)\n\n## Code of Conduct\n\n- [Code of Conduct](\u003chttps://github.com/p6m7g8-dotfiles/.github/blob/main/CODE_OF_CONDUCT.md\u003e)\n\n## Usage\n\n### Hooks\n\n- `deps` -\u003e `p6df::modules::p6github::deps()`\n- `init` -\u003e `p6df::modules::p6github::init(_module, dir)`\n\n### Functions\n\n#### api\n\n##### p6github/lib/api/repo.sh\n\n- `stream  = p6_github_api_repo_transfer(org_repo, new_owner)`\n  - Args:\n    - org_repo\n    - new_owner\n\n##### p6github/lib/api/team.sh\n\n- `stream  = p6_github_api_org_teams_list(org)`\n  - Args:\n    - org\n\n##### p6github/lib/api/user.sh\n\n- `str login = p6_github_api_user_login_get(user)`\n  - Args:\n    - user\n\n#### cli\n\n##### p6github/lib/cli/act.sh\n\n- `stream  = p6_github_cli_act_build()`\n- `stream  = p6_github_cli_act_release()`\n\n##### p6github/lib/cli/org.sh\n\n- `stream  = p6_github_cli_org_list(...)`\n  - Args:\n    - ...\n- `stream  = p6_github_cli_org_teams_list(org)`\n  - Args:\n    - org\n\n##### p6github/lib/cli/parallel.sh\n\n- `stream  = p6_github_cli_parallel_clone(login, dest_dir, ...)`\n  - Args:\n    - login\n    - dest_dir\n    - ...\n- `stream  = p6_github_cli_parallel_config([key=], [value=])`\n  - Args:\n    - OPTIONAL key - []\n    - OPTIONAL value - []\n- `stream  = p6_github_cli_parallel_list(login, ...)`\n  - Args:\n    - login\n    - ...\n- `stream  = p6_github_cli_parallel_status(dest_dir)`\n  - Args:\n    - dest_dir\n- `stream  = p6_github_cli_parallel_sync(dest_dir)`\n  - Args:\n    - dest_dir\n\n##### p6github/lib/cli/pr.sh\n\n- `stream  = p6_github_cli_pr_checkout(...)`\n  - Args:\n    - ...\n- `stream  = p6_github_cli_pr_create(...)`\n  - Args:\n    - ...\n- `stream  = p6_github_cli_pr_list(...)`\n  - Args:\n    - ...\n- `stream  = p6_github_cli_pr_merge_squash_delete(pr, ...)`\n  - Args:\n    - pr\n    - ...\n- `stream  = p6_github_cli_pr_view(pr, ...)`\n  - Args:\n    - pr\n    - ...\n- `stream  = p6_github_cli_pr_view_web(pr, ...)`\n  - Args:\n    - pr\n    - ...\n\n##### p6github/lib/cli/repo.sh\n\n- `p6_github_cli_repo_advanced_security_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_allow_forking_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_allow_update_branch_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_auto_merge_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_default_branch_set(repo, branch)`\n  - Args:\n    - repo\n    - branch\n- `p6_github_cli_repo_delete_branch_on_merge_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_description_set(org, repo, description)`\n  - Args:\n    - org\n    - repo\n    - description\n- `p6_github_cli_repo_discussions_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_homepage_set(org, repo, homepage)`\n  - Args:\n    - org\n    - repo\n    - homepage\n- `p6_github_cli_repo_issues_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_merge_commit_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_projects_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_rebase_merge_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_secret_scanning_push_protection_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_secret_scanning_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_squash_merge_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_template_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `p6_github_cli_repo_topic_add(org, repo, topic)`\n  - Args:\n    - org\n    - repo\n    - topic\n- `p6_github_cli_repo_topic_remove(org, repo, topic)`\n  - Args:\n    - org\n    - repo\n    - topic\n- `p6_github_cli_repo_visibility_set(org, repo, visibility)`\n  - Args:\n    - org\n    - repo\n    - visibility\n- `p6_github_cli_repo_wiki_set(repo, enable)`\n  - Args:\n    - repo\n    - enable\n- `str branch = p6_github_cli_repo_default_branch_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str desc = p6_github_cli_repo_description_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_allow_forking_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_allow_update_branch_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_auto_merge_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_delete_branch_on_merge_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_discussions_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_is_archived_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_is_fork_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_issues_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_merge_commit_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_projects_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_rebase_merge_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_squash_merge_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_template_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str enabled = p6_github_cli_repo_wiki_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str home = p6_github_cli_repo_homepage_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str status_value = p6_github_cli_repo_advanced_security_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str status_value = p6_github_cli_repo_secret_scanning_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str status_value = p6_github_cli_repo_secret_scanning_push_protection_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `str visibility = p6_github_cli_repo_visibility_get(org, repo)`\n  - Args:\n    - org\n    - repo\n- `stream  = p6_github_cli_clone(repo, dir)`\n  - Args:\n    - repo\n    - dir\n- `stream  = p6_github_cli_repo_api_view_json(org, repo, jq)`\n  - Args:\n    - org\n    - repo\n    - jq\n- `stream  = p6_github_cli_repo_archive(org, repo)`\n  - Args:\n    - org\n    - repo\n- `stream  = p6_github_cli_repo_list(owner, ...)`\n  - Args:\n    - owner\n    - ...\n- `stream  = p6_github_cli_repo_rename(orig_org_repo, new_repo)`\n  - Args:\n    - orig_org_repo\n    - new_repo\n- `stream  = p6_github_cli_repo_topics_list(org, repo)`\n  - Args:\n    - org\n    - repo\n- `stream  = p6_github_cli_repo_unarchive(name)`\n  - Args:\n    - name\n- `stream  = p6_github_cli_repo_view_json(org, repo, json, jq)`\n  - Args:\n    - org\n    - repo\n    - json\n    - jq\n\n##### p6github/lib/cli/ruleset_branch.sh\n\n- `stream  = p6_github_cli_ruleset_branch_activate([ruleset_name=default])`\n  - Args:\n    - OPTIONAL ruleset_name - [default]\n- `stream  = p6_github_cli_ruleset_branch_create([ruleset_name=default])`\n  - Args:\n    - OPTIONAL ruleset_name - [default]\n- `stream  = p6_github_cli_ruleset_branch_deactivate([ruleset_name=default])`\n  - Args:\n    - OPTIONAL ruleset_name - [default]\n- `stream  = p6_github_cli_ruleset_branch_delete([ruleset_name=default])`\n  - Args:\n    - OPTIONAL ruleset_name - [default]\n- `stream  = p6_github_cli_ruleset_branch_update(...)`\n  - Args:\n    - ...\n\n##### p6github/lib/cli/workflow.sh\n\n- `stream  = p6_github_cli_workflow_run(workflow, ...)`\n  - Args:\n    - workflow\n    - ...\n- `stream  = p6_github_cli_workflow_upgrade_main_run()`\n\n#### p6github\n\n##### p6github/init.zsh\n\n- `p6df::modules::p6github::deps()`\n- `p6df::modules::p6github::init(_module, dir)`\n  - Args:\n    - _module\n    - dir\n\n#### p6github/lib\n\n##### p6github/lib/act.sh\n\n- `stream  = p6_github_cli_act(...)`\n  - Args:\n    - ...\n\n##### p6github/lib/cli.sh\n\n- `p6_github_cli(...)`\n  - Args:\n    - ...\n\n##### p6github/lib/util.sh\n\n- `int pr_id = p6_github_util_pr_last()`\n- `int pr_id = p6_github_util_pr_oldest()`\n- `p6_github_util_pr_create(user, reviewer)`\n  - Args:\n    - user\n    - reviewer\n- `p6_github_util_pr_merge_last()`\n- `p6_github_util_pr_merge_oldest()`\n- `p6_github_util_pr_poll_while_open([pr_id=], [delay=1])`\n  - Args:\n    - OPTIONAL pr_id - []\n    - OPTIONAL delay - [1]\n- `p6_github_util_pr_submit(editor, user, tmpl, [reviewer=], [cli_msg=], [pr_num=])`\n  - Args:\n    - editor\n    - user\n    - tmpl\n    - OPTIONAL reviewer - []\n    - OPTIONAL cli_msg - []\n    - OPTIONAL pr_num - []\n- `p6_github_util_repo_rename_strip_leading_underscores(orig_org_repo)`\n  - Args:\n    - orig_org_repo\n- `str state = p6_github_util_pr_state_get(pr_id)`\n  - Args:\n    - pr_id\n- `str version = p6_github_util_action_version_latest(action)`\n  - Args:\n    - action\n\n## Hierarchy\n\n```text\n.\n├── conf\n│   └── all\n├── init.zsh\n├── lib\n│   ├── act.sh\n│   ├── api\n│   │   ├── repo.sh\n│   │   ├── team.sh\n│   │   └── user.sh\n│   ├── cli\n│   │   ├── act.sh\n│   │   ├── org.sh\n│   │   ├── parallel.sh\n│   │   ├── pr.sh\n│   │   ├── repo.sh\n│   │   ├── ruleset_branch.sh\n│   │   └── workflow.sh\n│   ├── cli.sh\n│   └── util.sh\n└── README.md\n\n5 directories, 16 files\n```\n\n## Author\n\nPhilip M. Gollucci \u003cpgollucci@p6m7g8.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp6m7g8-dotfiles%2Fp6github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp6m7g8-dotfiles%2Fp6github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp6m7g8-dotfiles%2Fp6github/lists"}