Package: yogit
yogitCommand line utility for git daily work.RequirementsPython3andpip3yogitis tested with Python3.5,3.6,3.7yogitis mostly tested onLinuxbut also works onmacOSandWindows(if usingWindows Terminal).For now only GitHub API is supportedContinuous integrationAzure PipelinesTravisCIInstallationpip3 install yogityogit account setupyogitinternal files are stored in~/.yogitfolder.Auto completionyogitsupports auto-completion. To activate it, you need to setup your shell.For Bash, edit your.bashrcand addeval "$(_YOGIT_COMPLETE=source yogit)"For Zsh, edit your.zshrcand addeval "$(_YOGIT_COMPLETE=source_zsh yogit)"Principleyogitis able to:Show pull requestsShow pull request reviewsShow branchesShow contributionsShow organization's informationHelp in writing a daily scrum report and post it on SlackSee documentation below for more details.DocumentationUsageyogit --helpAccountyogit account setup: Setup yogit (include GitHub integration and optionnaly Slack integration to fully enjoyyogit scrum reportcommand)yogit account usage: Account API usagePull requestyogit pr list [--orga TEXT] [--label TEXT]: List your opened pull requests. If--orgais set, results will be expanded to this specific organization. If--labelis set, results will be filtered by pull request labels, you can set multiple--label.Reviewyogit review list: List your reviews on opened pull requestsyogit review requested [--missed]: List pull requests where your review is requested. If--missedis set, only closed pull requests will be listed.Branchyogit branch list [--dangling]: List your branches. If--danglingis set, only branches without associated pull request will be listed.Contributionsyogit contrib list [--from TEXT] [--to TEXT]: List your GitHub contributions within a range of dates.A contribution is either a pull request or pull request review.By default this command is listing today's contributions.yogit contrib stats: Show some GitHub statistics.Organizationyogit orga list: List organizations you belong to.yogit orga member list [--orga TEXT]: List members of one organization you belong to.yogit orga member pickone [--orga TEXT]: Randomly pick one member of one organization you belong to.SCRUMyogit scrum report [--date TEXT]: Generate your daily activity reportIf Slack integration is setup, report can be published on Slack. Note that report is composed of one or more sections, first section will published as a message, next section will be published as a reply of the first one.Template of the report can be changed by editing~/.yogit/scrum_report.yamlYou might need to installxcopyto fully enjoy this command.Changelog1.13.0Improveyogit scrum report: list contributions before completing the reportSlack post now handles correctly #channel mentions (member mentions is not working yet)1.12.3Fix config file loading: do not raise an error when file does not exist1.12.2Fix scrum report template migration ofyogit 1.12.0. If you encountered the bug, remove~/.yogit/scrum_report.yamlto get the default one back1.12.1Fixyogit orga member ...command: GitHub API became less permissive about param types1.12.0Add--labelfilter toyogit pr listcommandAdd Slack integration: thanks @thomascarpentier for this contribution sponsored by Genymobile for #hacktoberfest. It allowsyogit scrum reportto publish the report on Slack on your behalf. To configure it:yogit account setup1.11.0Changeyogit review requestedoutput: print pull request title, don't print repository url anymoreAdd--missedoption toyogit review requestedcommand1.10.0Addyogit brbecomesyogit branchcommandAddyogit rvbecomesyogit reviewcommand1.9.0Addyogit orga listcommandAdd--orgadiscrimator option toyogit orga member listAdd--orgadiscrimator option toyogit orga member pickoneImprove doc regarding auto completion1.8.0Addyogit orga member listcommandAddyogit orga member pickonecommandAdd--danglingoption toyogit br listyogit ctcommand is renamed toyogit contribImprove update warning wordingImproveyogit --versionwording1.7.2Fixyogitupgrade from1.6.01.7.1Shit happens1.7.0Addyogit ct statscommand1.6.0Addyogit ct listcommandAdd--datearg toyogit scrum reportcommandAdd indentation ability toyogit scrum reportPrint pretty bullet points in generated scrum reportImprove documentation1.5.1ReplaceyaspinbyHalodep to handle spinner: better handling of pipes and redirects1.5.0Triedyogiton Windows Terminal and workaround a spinner issuePrint count little by little if request is big1.4.1Fix missingpackagingdependency1.4.0See if pull requests are conflicted inyogit pr listImproveyogit scrum reportUX and make it robust to network access failureShorten PR titles in tabulated results (max 50 chars)1.3.0Add update available check1.2.1Improve help1.2.0Add ability to list your current reviews and see outdated ones withyogit rv listDedicated wording when there is no resultAdd "Count: X" statement right after result listShow a spinner during request timeUse bold and emojis to make outputs fancier1.1.1Reinforcescrum reportcommand (better error handling)1.1.0Add abilitiy to list pull requests of an organizationyogit pr list --orga TEXT1.0.4Fix typo in scrum report, thx @genygilles1.0.3Fix unauthorized error due to too old PyYAML version1.0.2Support pagination for branch listing (fix request timeout)1.0.1Be more specific on GitHub required scopesImprove code regarding account setup flowFix sort of pull request list1.0.0Project bootstrap