{"id":17887558,"url":"https://github.com/sheldonhull/az-pr","last_synced_at":"2025-08-15T00:33:18.138Z","repository":{"id":65771244,"uuid":"599362996","full_name":"sheldonhull/az-pr","owner":"sheldonhull","description":"A simple cli wrapper around the azure-cli for creating pull requests in azure devops repos.","archived":false,"fork":false,"pushed_at":"2024-12-02T01:12:53.000Z","size":7610,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-08T13:49:00.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sheldonhull.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-02-09T01:18:11.000Z","updated_at":"2024-12-02T01:12:57.000Z","dependencies_parsed_at":"2023-03-02T12:45:49.536Z","dependency_job_id":"ae625792-5a98-41e1-9340-d9bb72d4425e","html_url":"https://github.com/sheldonhull/az-pr","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheldonhull%2Faz-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheldonhull%2Faz-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheldonhull%2Faz-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheldonhull%2Faz-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheldonhull","download_url":"https://codeload.github.com/sheldonhull/az-pr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229882951,"owners_count":18138912,"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":"2024-10-28T13:30:18.665Z","updated_at":"2024-12-15T22:23:26.318Z","avatar_url":"https://github.com/sheldonhull.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AZ-PR\n\n[![forthebadge](https://forthebadge.com/images/badges/0-percent-optimized.svg)](https://forthebadge.com)\n![forthebadge](https://forthebadge.com/images/badges/contains-tasty-spaghetti-code.svg)\n![forthebadge](https://forthebadge.com/images/badges/not-a-bug-a-feature.svg)\n![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)\n[![forthebadge](https://forthebadge.com/images/featured/featured-oooo-kill-em.svg)](https://forthebadge.com)\n\nA go cli for wrapping up azure cli pr creation, eliminating the need to do in the web-ui or clunky git aliases.\n\n# Disclaimer\n\n\nIt's a wrapper and done with limited time so lots to cleanup, but since it's replacing a bash script it's still better than nothing! 😀\n\nFeel free to create a PR or an issue for any issues experienced and if I can improve it I will.\nHope it helps you out in your workflow a bit and helps you avoid the Azure DevOps web ui a litle bit longer.\n\n## Install\n\nUse Go 1.18+.\nThis should grab the latest tagged version.\nUpgrade the same way.\n\n```shell\ngo install github.com/sheldonhull/az-pr@latest\n```\n\n## Check Requirements\n\nYou need to have an access token configured, so this will check and make sure the requirements to run are setup correctly.\n\n```shell\naz-pr check\n```\n\n## Install from Source With Go\n\nIf you don't have Go tools typically setup, then here's something to add your profile to make sure the binary is found.\nThis would be your `$HOME/.zshenv` or `$HOME/.bashrc`.\n\n```shell\nexport PATH=\"$(go env GOPATH)/bin:${PATH}\"\n```\n\nFind this file by typing `code $PROFILE` in a PowerShell prompt to open/create it on demand.\nThis profile is different depending on where you load it from, so VSCode has a unique profile as well as a normal terminal.\n[Profile Files](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.3)\n\n```powershell\n$GOPATH=\u0026go env GOPATH\n$ENV:PATH = '{0}{1}{2}' -f (Join-Path $GOPATH 'bin'), [IO.Path]::PathSeparator, $ENV:PATH\n```\n\n## Why\n\nI could do this in a shell script (which I've done), but wanted to make it easy for a Go dev to run with a nice prompting experience that was compatible with Linux/MacOS/Windows.\nI use conventional commits in all repos, and this should make it much easier to create pull requests without dealing with the web-ui.\n\nIn addition, it will set auto-complete and link work-items.\n\n## Why A Wrapper\n\nThe cli has a lot of logic already built in.\nI couldn't find a documented Azure DevOps Go SDK for repos.\n\nMight redo with API calls, but the cli is an easy quick win. 😀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheldonhull%2Faz-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheldonhull%2Faz-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheldonhull%2Faz-pr/lists"}