Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 11:46:22.495376578 +0000 +++ b2/build.log 2023-04-26 11:49:45.130389847 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 28 06:06:36 -12 2024 -I: pbuilder-time-stamp: 1716919596 +I: Current time: Thu Apr 27 01:46:28 +14 2023 +I: pbuilder-time-stamp: 1682509588 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-octokit_4.20.0.orig.tar.gz] I: copying [./ruby-octokit_4.20.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Oct 5 01:53:03 2022 -12 +gpgv: Signature made Thu Oct 6 03:53:03 2022 +14 gpgv: using RSA key 2D65BC1EB9665A6E97F9730AB3F5945285219E1F gpgv: issuer "mdbilal@disroot.org" gpgv: Can't check signature: No public key @@ -26,52 +26,84 @@ dpkg-source: info: unpacking ruby-octokit_4.20.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4072/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 27 01:46 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='4072' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=9949 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vbBtEJzC/pbuilderrc_qy41 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vbBtEJzC/b1 --logfile b1/build.log ruby-octokit_4.20.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vbBtEJzC/pbuilderrc_wOI5 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vbBtEJzC/b2 --logfile b2/build.log --extrapackages usrmerge ruby-octokit_4.20.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 28 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4072/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 27 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -295,7 +327,7 @@ Get: 162 http://deb.debian.org/debian bookworm/main arm64 ruby-simplecov all 0.22.0-1 [45.1 kB] Get: 163 http://deb.debian.org/debian bookworm/main arm64 ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 164 http://deb.debian.org/debian bookworm/main arm64 ruby-webmock all 3.18.1-2 [66.2 kB] -Fetched 47.9 MB in 2s (27.7 MB/s) +Fetched 47.9 MB in 1s (34.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -974,8 +1006,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-octokit-4.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-octokit_4.20.0-1_source.changes +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-octokit-4.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-octokit_4.20.0-1_source.changes dpkg-buildpackage: info: source package ruby-octokit dpkg-buildpackage: info: source version 4.20.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1008,7 +1049,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-octokit/ -O--buildsystem=ruby dh_ruby --install /build/ruby-octokit-4.20.0/debian/ruby-octokit -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240528-16016-8ui5xw/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230427-403-8rusfc/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on faraday (>= 0.9) is not recommended if faraday is semantically versioned, use: @@ -1018,7 +1059,7 @@ Name: octokit Version: 4.20.0 File: octokit-4.20.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-octokit/usr/share/rubygems-integration/all /tmp/d20240528-16016-8ui5xw/octokit-4.20.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-octokit/usr/share/rubygems-integration/all /tmp/d20230427-403-8rusfc/octokit-4.20.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/octokit.rb @@ -1136,248 +1177,267 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 28842 +Randomized with seed 12738 -Octokit::Client::Refs - with ref - .update_branch - updates a branch - .delete_branch - deletes an existing branch - .create_ref - creates a ref - .update_ref - updates a ref - .delete_ref - deletes an existing ref - .refs - returns all refs - returns all tag refs - .ref - returns a tags ref - .create_ref - does not duplicate refs/ in ref parameter - prepends refs/ to the ref parameter - -Octokit::Client::Statuses - .statuses - lists commit statuses - with repository - .create_status - creates status - .combined_status - gets a combined status - -Octokit::Client::Events - .repository_events - returns events for a repository - .received_events - returns all user received events - .issue_events - lists issue events for a repository - .public_events - returns all public events - .user_events - returns all user events - .issue_event - lists issue events for a repository - .organization_events - returns all events for an organization - .repository_network_events - returns events for a repository's network - .user_public_events - returns public events performed by a user - .repo_issue_events - lists issue events for a repository - .organization_public_events - returns an organization's public events - .received_public_events - returns public user received events - -Octokit::Client::Markdown - .markdown - renders markdown - -Octokit::EnterpriseAdminClient - module configuration - inherits Octokit::Client - with .netrc - can read .netrc files - can read non-standard API endpoint creds from .netrc +Octokit::EnterpriseAdminClient::SearchIndexing + .index_user + behaves like search index queuer + with a valid target + queues api-padawan to be indexed + with invalid target + raises Octokit::NotFound + behaves like single target queue + identifies the target being indexed in the return message + .index_users_repositories + behaves like search index queuer + with a valid target + queues api-padawan/* to be indexed + with invalid target + raises Octokit::NotFound + behaves like multiple target queue + identifies targets that were queued for index in the return message + .index_users_repositories_code + behaves like search index queuer + with a valid target + queues api-padawan/*/code to be indexed + with invalid target + raises Octokit::NotFound + behaves like multiple target queue + identifies targets that were queued for index in the return message + .index_repository + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-playground/api-sandbox to be indexed + behaves like single target queue + identifies the target being indexed in the return message + .index_users_repositories_issues + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-padawan/*/issues to be indexed + behaves like multiple target queue + identifies targets that were queued for index in the return message + .index_repository_issues + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-playground/api-sandbox/issues to be indexed + behaves like single target queue + identifies the target being indexed in the return message + .index_repository_code + behaves like single target queue + identifies the target being indexed in the return message + behaves like search index queuer + with a valid target + queues api-playground/api-sandbox/code to be indexed + with invalid target + raises Octokit::NotFound -Octokit::Client::Projects - .projects - returns a list of projects for a repository - .org_projects - returns the projects for an organization - with repository - with project - .project_columns - returns the columns for a project - .project - returns a project - .delete_project - returns the result of deleting a project - .update_project - updates the project name and body then returns the updated project - .create_project_column - returns the newly created project column - with project column - .column_cards - returns a list of the cards in a project column - .delete_project_column - deletes the project column - with project card - .move_project_card - moves the project card - .update_project_card - updates the project card - .delete_project_card - deletes the project card - .project_card - returns a project card by id - .project_column - returns a project column by id - .update_project_column - updates the project column and returns the updated column - .create_project_card - creates a new card with a note - .move_project_column - moves the project column - .create_project - returns the newly created project - .create_org_project - returns the new org project +Octokit::Repository + self.path + returns the api path + when passed a string with more than 1 slash + raises ArgumentError + when passed nil + raises ArgumentError + when passed a frozen hash + sets the repository name and username + when passed a hash with a repo that contains a slash + raises ArgumentError + when passed a hash with invalid repo + raises ArgumentError + when passed a boolean false + false raises ArgumentError + when passed a hash + sets the repository name and username + when passed a hash with invalid username + raises ArgumentError + when passed an invalid path + raises ArgumentError + when passed an integer + sets the repository id + when passed a string without a slash + raises ArgumentError + when passed a string containg a slash + responds to repo and user + sets the repository name and username + renders url as string + renders slug as string + when passed a boolean true + raises ArgumentError + when passed a Repo + sets the repository name and username + when passed a hash with a username that contains a slash + raises ArgumentError + when given a URL + sets the repository name and username + parses html urls + raises InvalidRepository error for unsupported url + parses api urls + .path + with repository id + returns theu url path + with named repository + returns the url path Octokit::Client::Pages .request_page_build requests a build for the latest revision - .list_pages_builds - lists information about all the page builds + .pages + lists page information .latest_pages_build lists information about the latest page build + .list_pages_builds + lists information about all the page builds .pages_build lists a specific page build - .pages - lists page information -Octokit::EnterpriseManagementConsoleClient - module configuration - inherits Octokit::Client - -Octokit::Client::Stats - .contributors_stats - returns contributors and their contribution stats - with cold graph cache - .participation_stats - retries - returns the owner and contributor participation stats - .commit_activity_stats - returns the commit activity stats - retries - .punch_card_stats - returns commit count by hour punch card stats - retries - .contributors_stats - returns nil on timeout - returns contributors and their contribution stats - retries - .code_frequency_stats - retries - returns the code frequency stats - .punch_card_stats - returns commit count by hour punch card stats - .participation_stats - returns the owner and contributor participation stats - .code_frequency_stats - returns the code frequency stats - .commit_activity_stats - returns the commit activity stats - with empty repo - .contributors_stats - doesn't retry when GitHub returns 204 - returns nil when statistics are not ready - returns nil on timeout - returns [] when GitHub returns 204 - -Octokit::User - .path - with id - returns id api path - with login - returns login api path - with no user passed - returns default path +Octokit::Client::Contents + .delete_contents + deletes repository contents at a path + .create_contents + creates contents from file path + creates repository contents at a path + creates contents from Tempfile object + creates contents from File object + does not add new lines + .contents + returns the contents of a file + .readme + returns the default readme + .archive_link + returns the headers of the request + .update_contents + updates repository contents at a path + does not add new lines -Octokit::Client::PullRequests - .pull_request_comments - returns the comments for a pull request - methods that require a new pull - .create_pull_request - creates a pull request - without body argument - creates a pull request without body argument - .update_pull_request - updates a pull request - .pull_merged? - returns whether the pull request has been merged - methods requiring a pull request comment - .create_pull_request_comment - creates a new comment on a pull request - .delete_pull_request_comment - deletes a pull request comment - .create_pull_request_comment_reply - creates a new reply to a pull request comment - .update_pull_request_comment - updates a pull request comment - .close_pull_request - closes a pull request - .pull_request - returns a pull request - .pull_request_comment - returns a comment on a pull request - .merge_pull_request - merges the pull request - .pull_requests - lists all pull requests with state option - lists all pull requests - .pull_requests_comments - returns all comments on all pull requests - .create_pull_request_for_issue - creates a pull request and attach it to an existing issue - .pull_request_commits - returns the commits for a pull request - .pull_request_files - lists files for a pull request +Octokit::Client::Milestones + .list_milestones + lists milestones belonging to repository using id of repository + lists milestones belonging to repository + with milestone + .create_milestone + creates a milestone + .update_milestone + updates a milestone + .milestone + gets a single milestone belonging to repository + .delete_milestone + deletes a milestone from a repository -Octokit::Client::PubSubHubbub - .unsubscribe - unsubscribes from pull events - unsubscribe_service_hook - unsubscribes to stop receiving events on specified topic - .subscribe - raises an error when topic is not recognized - subscribes to pull events - .subscribe_service_hook - encodes URL parameters - subscribes to pull event on specified topic +Octokit::Client::Issues + .list_assignees + returns available assignees for a repository + .add_assignees + adds assignees + .issue_comment + returns a single comment for an issue + .issue_comments + returns comments for an issue + .user_issues + returns issues for the authenticated user for owned and member repos + with repository + .create_issue + creates an issue with labels array + creates an issue + creates an issue with delimited labels + creates an issue without body argument + with issue + .close_issue + closes an issue + .issue + returns a full issue + returns an issue + .add_comment + adds a comment + with closed issue + .reopen_issue + reopens an issue + with locked issue + .unlock_issue + unlocks an issue + .issue_timeline + returns an issue timeline + .lock_issue + locks an issue + with assignees + .remove_assignees + removes assignees + .update_issue + updates an issue without positional args + updates an issue + with issue comment + .delete_comment + deletes an existing comment + .update_comment + updates an existing comment + .list_issues + returns issues for a repository + returns dashboard issues for the authenticated user + .repository_issues_comments + returns comments for all issues in a repository + .org_issues + returns issues for the organization for the authenticated user -Octokit::Client::Gitignore - .gitignore_templates - returns all gitignore templates - .gitignore_template - returns the ruby gitignore template +Octokit::Client::Gists + unauthenticated + .gist + returns a gist at a specific revision + returns the gist by ID + .public_gists + returns public gists + .gists + with username passed + returns a list of gists + without a username passed + returns a list of gists + when authenticated + .create_gist_comment + creates a gist comment + .unstar_gist + unstars an existing gist + .delete_gist + deletes an existing gist + .starred_gists + returns the user's starred gists + .gist_forks + lists a gists forks + .create_gist + creates a new gist + .gist_commits + lists a gists commits + .update_gist_comment + updates a gist comment + .delete_gist_comment + deletes a gist comment + .edit_gist + edit an existing gist + .gist_comment + returns a gist comment + .fork_gist + forks an existing gist + .gist_comments + returns the list of gist comments + .star_gist + stars an existing gist + .gists + returns a list of gists + .gist_starred? + is not starred + with starred gist + is starred Octokit::Client::Reviews - .pull_request_review_comments - returns all comments for a single review - with pull request review - .update_pull_request_review - updates the review summary comment with new text - .pull_request_review - returns a single pull request review + .pull_request_reviews + returns a list of all pull request reviews .dismiss_pull_request_review dismisses a request for change pull request review + .pull_request_review_comments + returns all comments for a single review with repository with pull request .create_pull_request_review @@ -1385,374 +1445,142 @@ with collaborator .pull_request_review_requests returns all requested reviewers - .delete_pull_request_review_request - deletes a requests for a pull request review from a user - deletes a requests for a pull request review from a team .request_pull_request_review requests a new pull request review from a team requests a new pull request review from a user + .delete_pull_request_review_request + deletes a requests for a pull request review from a user + deletes a requests for a pull request review from a team with pending pull request review + .submit_pull_request_review + submits a pending pull request review .delete_pull_request_review deletes a pending pull request review .create_pull_request_review creates a pull request review - .submit_pull_request_review - submits a pending pull request review - .pull_request_reviews - returns a list of all pull request reviews - -Octokit::Client::Say - .say - returns an ASCII octocat - returns an ASCII octocat with custom text - -Octokit::Client::OauthApplications - .delete_app_authorization - revokes the app's access to the user - .reset_token - has a .reset_application_authorization alias - resets the token - works in Enterprise mode - .delete_app_token - has a .delete_application_authorization alias - has a .revoke_application_authorization alias - works in Enterprise mode - deletes the token - .check_token - has a .check_application_authorization alias - works in Enterprise mode - checks the token is valid - -Octokit::Client::Labels - .labels - returns labels - .label - returns a single label - .add_label - adds a label with a color - adds a label with default color - .delete_label! - deletes a label from the repository - with issue - .remove_all_labels - removes all labels from the specified issue - .add_labels_to_an_issue - adds labels to a given issue - .labels_for_issue - returns all labels for a given issue - .replace_all_labels - replaces all labels for an issue - .remove_label - removes a label from the specified issue - .lables_for_milestone - returns all labels for a repository - with label - .update_label - updates a label with a new color - -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization - -Octokit::Client::Meta - .github_meta - returns meta information about github - -Octokit::Client::ServiceStatus - .github_status - returns the current system status - .github_status - returns the most recent status messages - .github_status_last_message - returns the last human message - -Octokit::Client - returns context with default data when rate limit error occurs but headers are missing - returns context when non rate limit error occurs but rate limit headers are present - knows the difference between unauthorized and needs OTP - returns empty context when non rate limit error occurs - knows the password delivery mechanism when needs OTP - .get - handles query params - handles headers - auto pagination - accepts a block for custom result concatination - fetches all the pages - sets headers for all pages - redirect handling - follows redirect for 307 response - follows redirect for 302 response - keeps authentication info when redirecting to the same host - follows redirect for 301 response - does not change HTTP method when following a redirect - drops authentication info when redirecting to a different host - follows redirects for supported HTTP methods - follows at most 3 consecutive redirects - .agent - caches the agent - acts like a Sawyer agent - authentication - when basic authenticated - makes authenticated calls - when bearer authenticated - makes authenticated calls - with class level config - sets basic auth creds with .configure - sets oauth token with instance methods - sets oauth application creds with .configure - sets basic auth creds with instance methods - sets oauth token with .configure - sets oauth token with module methods - with module level config - sets bearer token with module method - sets bearer token with .configure - sets basic auth creds with .configure - sets basic auth creds with module methods - sets oauth application creds with .configure - sets oauth token with module methods - sets oauth token with module methods - sets oauth token with .configure - when token authenticated - makes authenticated calls - fetches and memoizes login - when application authenticated - makes authenticated calls - module call shortcut - uniquely separates method missing calls - has no method collisions - rels parsing - handles git@github ssh URLs - .head - handles query params - handles headers - .last_response - caches the last agent response - content type - fixes % bug - sets a default Content-Type header - .root - fetches the API root - passes app creds in the query string - module configuration - inherits the module configuration - with class level configuration - can set configuration after initialization - masks bearer token on inspect - masks tokens on inspect - masks client secrets on inspect - overrides module configuration - masks passwords on inspect - with .netrc - can read .netrc files - can read non-standard API endpoint creds from .netrc - when making requests - omits app creds in query params for token requests - allows Accept'ing another media type - passes along request headers for POST - sets an ssl verify mode - adds app creds in query params to anonymous requests - ensures ssl verify mode is set to default when no override provided - no sets an ssl verify - sets a default user agent - omits app creds in query params for basic requests - sets a custom user agent - sets an ssl verify => false - Accepts application/vnd.github.v3+json by default - sets a proxy server - sets an ssl verify => true - error handling - exposes the response status code - raises on unknown client errors - knows the difference between different kinds of unprocessable entity - resets last_response on errors - knows the difference between different kinds of forbidden - exposes the response body - raises on unknown server errors - raises on 500 - exposes errors array - raises on 404 - includes an error summary - handles an error response with an array body - handles documentation URLs in error messages - exposes the response headers - includes a message - includes an error - .as_app - requires a client and secret - uses client and secret as Basic auth - uses preconfigured client and secret - duplicates the client - makes authenticated requests - -Octokit::Client::Authorizations - .update_authorization - updates and existing authorization - .authorizations - lists existing authorizations - .delete_authorization - deletes an existing authorization - .authorization - returns a single authorization - .revoke_all_application_authorizations - returns false - .scopes - checks the scopes on the current token - checks the scopes on a one-off token - .create_authorization - without :idempotent => true - creates a new authorization with options - creates a new API authorization each time - creates an API authorization - with :idempotent => true - creates a new authorization with fingerprint - creates a new authorization with options - returns an existing API authorization if one already exists - .authorize_url - requires client_id and client_secret - with preconfigured client credentials - returns the authorize_url - with passed client credentials - returns the authorize_url - with passed options hash - escapes values before adding to query params - appends options hash as query params - -Octokit::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit + .pull_request_review + returns a single pull request review + with pull request review + .update_pull_request_review + updates the review summary comment with new text -Octokit::Repository - when passed a string with more than 1 slash - raises ArgumentError - when passed a hash with invalid username - raises ArgumentError - when passed a hash - sets the repository name and username - when passed nil - raises ArgumentError - when passed a string containg a slash - renders slug as string - renders url as string - responds to repo and user - sets the repository name and username +Octokit::User .path - with repository id - returns theu url path - with named repository - returns the url path - when passed an integer - sets the repository id - when passed a boolean true - raises ArgumentError - when passed a hash with invalid repo - raises ArgumentError - when passed an invalid path - raises ArgumentError - when passed a hash with a username that contains a slash - raises ArgumentError - when passed a Repo - sets the repository name and username - when passed a frozen hash - sets the repository name and username - when given a URL - sets the repository name and username - parses html urls - raises InvalidRepository error for unsupported url - parses api urls - when passed a boolean false - false raises ArgumentError - when passed a string without a slash - raises ArgumentError - when passed a hash with a repo that contains a slash - raises ArgumentError - self.path - returns the api path + with login + returns login api path + with no user passed + returns default path + with id + returns id api path -Octokit::Client::Hooks - with repository - with hook - .ping_hook - pings a hook - .test_hook - tests a hook - .create_hook - creates a hook - .remove_hook - removes a hook - .edit_hook - edits a hook - .hook - returns a repository's single hook - .hooks - returns a repository's hooks - with org hook - .create_org_hook - creates an org hook for by ID - creates an org hook - .remove_org_hook - removes an org hook - removes an org hook by ID - .ping_org_hook - pings an org hook by ID - pings an org hook - .edit_org_hook - edits an org hook - edits an org hook by ID - .org_hook - returns a single org hook by ID - returns a single org hook - .available_hooks - returns all the hooks supported by GitHub with their parameters - .org_hooks - returns an organization's hooks by ID - returns an organization's hooks - .parse_payload - parses payload string +Octokit + sets defaults + .configure + sets the access token + sets the api endpoint + sets the connection options + sets the management console endpoint + sets the per page + sets the login + sets the netrc + sets the client id + sets the middleware + sets the netrc file + sets the web endpoint + sets the client secret + sets the default media type + sets the user agent + sets the management console password + sets the password + sets the bearer token + sets the ssl verify mode + sets the proxy + sets the auto paginate + .client + returns a fresh client when options are not the same + caches the client when the same options are passed + creates an Octokit::Client -Octokit::EnterpriseAdminClient::AdminStats - .admin_issues_stats - returns only issue-related stats - .admin_hooks_stats - returns only hooks-related stats - .admin_organization_stats - returns only organization-related stats - .admin_users_stats - returns only user-related stats - .admin_comments_stats - returns only comment-related stats - .admin_gists_stats - returns only gist-related stats - .admin_milestones_stats - returns only milestone-related stats - .admin_pull_requests_stats - returns only pull request-related stats - .admin_pages_stats - returns only pages-related stats - .admin_repository_stats - returns only repository-related stats - .admin_stats - returns all available enterprise stats +Octokit::Client::Feeds + .feeds + when authenticated with basic auth + returns private feeds + when authenticated with oauth token + returns the authenticated users feeds + when unauthenticated + returns the public feeds list + .feed + returns parsed feed data + +Octokit::Client::Notifications + with thread + .mark_thread_as_read + marks a thread as read + with subscription + .delete_thread_subscription + returns true with successful thread deletion + .update_thread_subscription + updates a thread subscription + .thread_subscription + returns a thread subscription + .thread_notifications + returns notifications for a specific thread + .mark_notifications_as_read + returns true when notifications are marked as read + .notifications + lists the notifications for the current user + .mark_repository_notifications_as_read + returns true when notifications for a repo are marked as read + .repository_notifications + lists all notifications for a repository Octokit::Client::Organizations - .organization_memberships - returns all organization memberships for the user - .update_organization_membership - updates an organization membership - adds or updates an organization membership for a given user + .organizations + returns all organizations for the authenticated user + returns all organizations for a user .outside_collaborators lists outside collaborators for an organization - .child_teams - returns all child teams for the team .organization_membership + returns an organization membership for a given user returns an organization membership returns an organization membership for a given user by the orgs id - returns an organization membership for a given user + .child_teams + returns all child teams for the team + .organization + returns an organization + .remove_outside_collaborator + removes the outside collaborator from an organization + .update_organization_membership + updates an organization membership + adds or updates an organization membership for a given user + .all_organizations + paginates organizations on GitHub + .user_teams + lists all teams for the authenticated user + .remove_team_membership + removes a user's membership for a team + .team_membership + gets a user's team membership + .organization_member? + checks organization membership + .organization_repositories + returns all public repositories for an organization + .convert_to_outside_collaborator + converts an organization member to an outside collaborator + .remove_organization_membership + removes an organization membership for a given user + .organization_teams + returns all teams for an organization + .update_organization + updates an organization .organization_members returns all public members of an organization + .add_team_membership + invites a user to a team + .organization_invitations + lists pending organization invitations + .remove_organization_member + removes a member from an organization public org members .unpublicize_membership unpublicizes membership @@ -1760,30 +1588,8 @@ publicizes membership .organization_public_member? checks publicized org membership - .organization_repositories - returns all public repositories for an organization - .organization_invitations - lists pending organization invitations - .organization_teams - returns all teams for an organization - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - .remove_organization_member - removes a member from an organization - .migrations - unlocks a migrated repository - gets the status of a migration - downloads a migration archive - starts a migration for an organization - lists migrations for an organization - .update_organization - updates an organization - .organization - returns an organization - .team_membership - gets a user's team membership - .remove_organization_membership - removes an organization membership for a given user + .organization_public_members + lists public members with team .create_team creates a team @@ -1813,27 +1619,465 @@ removes a team repository .delete_team deletes a team - .organizations - returns all organizations for the authenticated user - returns all organizations for a user - .remove_team_membership - removes a user's membership for a team - .organization_public_members - lists public members - .organization_member? - checks organization membership - .all_organizations - paginates organizations on GitHub - .user_teams - lists all teams for the authenticated user - .add_team_membership - invites a user to a team - .remove_outside_collaborator - removes the outside collaborator from an organization + .migrations + starts a migration for an organization + lists migrations for an organization + gets the status of a migration + downloads a migration archive + unlocks a migrated repository + .organization_memberships + returns all organization memberships for the user + +Octokit::Client::SourceImport + pre deprecation + .start_source_import + provides deprecation warning + post deprecation + .source_import_commit_authors + lists the source imports commit authors + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + .cancel_source_import + cancels the source import + .map_source_import_commit_author + updates the commit authors identity + .source_import_large_files + lists the source imports large files + .update_source_import + restarts the source import + .start_source_import + starts a source import + .source_import_progress + returns the progress of the source import + +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit + +Octokit::Organization + .path + with name + returns name api path + with id + returns id api path + +Octokit::Client::Marketplace + .list_plans + returns plans for a marketplace listing + .list_accounts_for_plan + returns accounts for a given plan + .marketplace_purchases + returns marketplace purchases for user + .plan_for_account + returns the plan for a given account + +Octokit::Client::Commits + .git_commit + returns a detailed git commit + .create_commit + creates a commit + .commit + returns a commit + .commits_since + errors if the date is invalid + returns all commits since the specified date + handles the sha option + handles branch or sha argument + .commits_on + errors if the date is invalid + returns all commits on the specified date + handles the sha option + handles branch or sha argument + .commits_before + errors if the date is invalid + handles the sha option + returns all commits until the specified date + handles branch or sha argument + .compare + returns a comparison + .commits_between + errors if the date is invalid + returns all commits until the specified date + handles branch or sha argument + handles the sha option + .merge + merges a branch into another + .commits + handles branch or sha argument + handles the sha option + returns all commits + +Octokit::Client::Hooks + .org_hooks + returns an organization's hooks + returns an organization's hooks by ID + with repository + .hooks + returns a repository's hooks + with hook + .test_hook + tests a hook + .edit_hook + edits a hook + .create_hook + creates a hook + .hook + returns a repository's single hook + .remove_hook + removes a hook + .ping_hook + pings a hook + .parse_payload + parses payload string + with org hook + .remove_org_hook + removes an org hook by ID + removes an org hook + .org_hook + returns a single org hook + returns a single org hook by ID + .ping_org_hook + pings an org hook + pings an org hook by ID + .edit_org_hook + edits an org hook + edits an org hook by ID + .create_org_hook + creates an org hook + creates an org hook for by ID + .available_hooks + returns all the hooks supported by GitHub with their parameters + +Octokit::Client::Meta + .github_meta + returns meta information about github + +Octokit::Client::Stats + .contributors_stats + returns contributors and their contribution stats + .code_frequency_stats + returns the code frequency stats + with cold graph cache + .commit_activity_stats + retries + returns the commit activity stats + .punch_card_stats + retries + returns commit count by hour punch card stats + .code_frequency_stats + retries + returns the code frequency stats + .contributors_stats + returns nil on timeout + retries + returns contributors and their contribution stats + .participation_stats + returns the owner and contributor participation stats + retries + .commit_activity_stats + returns the commit activity stats + .punch_card_stats + returns commit count by hour punch card stats + with empty repo + .contributors_stats + doesn't retry when GitHub returns 204 + returns [] when GitHub returns 204 + returns nil when statistics are not ready + returns nil on timeout + .participation_stats + returns the owner and contributor participation stats + +Octokit::Client::Deployments + .deployments + lists deployments + with ref + .create_deployment + creates a deployment + creates a deployment with a payload + with deployment + .delete_deployment + deletes a single deployment + .deployment_statuses + lists deployment statuses + .create_deployment_status + creates a deployment status + .deployment + gets a single deployment + +Octokit::Client::Say + .say + returns an ASCII octocat + returns an ASCII octocat with custom text + +Octokit::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization + +Octokit::RateLimit + .from_response + parses rate limit info from response headers + handles nil responses + returns a positive rate limit for Enterprise + handles resets_in time in past + +Octokit::Client::Search + .search_repositories + searches repositories + .search_users + utilizes auto_pagination + searches users + .search_commits + searches commits + .search_issues + searches issues + .search_code + searches code + +Octokit::EnterpriseAdminClient + module configuration + inherits Octokit::Client + with .netrc + can read non-standard API endpoint creds from .netrc + can read .netrc files + +Octokit::Client::Apps + .find_organization_installation + allows auto_pagination + works for GitHub Enterprise installs + returns installation for an organization + .find_repository_installation + allows auto_pagination + returns installation for an repository + works for GitHub Enterprise installs + .find_user_installation + works for GitHub Enterprise installs + allows auto_pagination + returns installation for a user + with app installation + .installation + returns the installation + works for GitHub Enterprise installs + with repository on GitHub Enterprise + .add_repository_to_app_installation + works for GitHub Enterprise installs + .remove_repository_from_app_installation + works for GitHub Enterprise installs + with app installation access token + .list_integration_installation_repositories + lists the installations repositories + .list_app_installation_repositories + works for GitHub Enterprise installs + allows auto_pagination + lists the installations repositories + .create_app_installation_access_token + creates an access token for the installation + works for GitHub Enterprise installs + .delete_installation + deletes an installation + .create_integration_installation_access_token + creates an access token for the installation + with repository + with installed repository on installation + .remove_repository_from_app_installation + removes the repository from the installation + .remove_repository_from_integration_installation + removes the repository from the installation + .add_repository_to_app_installation + adds the repository to the installation + .add_repository_to_integration_installation + adds the repository to the installation + .find_installation_repositories_for_user + returns repositories for a user + allows auto_pagination + works for GitHub Enterprise installs + .find_integration_installations + returns installations for an integration + .find_app_installations + works for GitHub Enterprise installs + returns installations for an app + .app + returns current App + works for GitHub Enterprise installs + .find_user_installations + works for GitHub Enterprise installs + returns installations for a user + allows auto_pagination + +Octokit::Client::Statuses + with repository + .create_status + creates status + .combined_status + gets a combined status + .statuses + lists commit statuses + +Octokit::Client::Releases + .release + gets a single release + .create_release + creates a release + .update_release + updates a release + .latest_release + returns the latest release + .delete_release + deletes a release + .releases + lists releases for a repo + handling release assets + .delete_release_asset + deletes a release asset + .release_asset + gets a single release asset + .update_release_asset + edits a release asset + .upload_release_asset + guesses the content type for an asset + uploads a release asset as file object + uploads a release asset with a default name + uploads a release asset by path + .release_assets + lists assets for a release + .release_for_tag + returns the release for a tag + +Octokit::Client::Authorizations + .create_authorization + with :idempotent => true + creates a new authorization with fingerprint + creates a new authorization with options + returns an existing API authorization if one already exists + without :idempotent => true + creates a new authorization with options + creates a new API authorization each time + creates an API authorization + .delete_authorization + deletes an existing authorization + .authorize_url + requires client_id and client_secret + with passed options hash + appends options hash as query params + escapes values before adding to query params + with passed client credentials + returns the authorize_url + with preconfigured client credentials + returns the authorize_url + .scopes + checks the scopes on a one-off token + checks the scopes on the current token + .update_authorization + updates and existing authorization + .authorization + returns a single authorization + .authorizations + lists existing authorizations + .revoke_all_application_authorizations + returns false + +Octokit::Client::OauthApplications + .check_token + has a .check_application_authorization alias + checks the token is valid + works in Enterprise mode + .delete_app_authorization + revokes the app's access to the user + .delete_app_token + deletes the token + works in Enterprise mode + has a .revoke_application_authorization alias + has a .delete_application_authorization alias + .reset_token + works in Enterprise mode + has a .reset_application_authorization alias + resets the token + +Octokit::Gist + when given a URL + sets the id + when passed a Integer ID + renders id as string + sets the gist ID as a string + sets the url + when passed a string ID + renders id as string + sets the gist ID + sets the url + +Octokit::Client::Traffic + .top_referrers + returns the referrers stats for a repository + .views + returns the views breakdown for a repository + .top_paths + returns the top path statistics for a repository + .clones + returns the clone stats for a repository + +Octokit::Client::PubSubHubbub + unsubscribe_service_hook + unsubscribes to stop receiving events on specified topic + .subscribe + subscribes to pull events + raises an error when topic is not recognized + .unsubscribe + unsubscribes from pull events + .subscribe_service_hook + encodes URL parameters + subscribes to pull event on specified topic + +Octokit::Client::ServiceStatus + .github_status_last_message + returns the last human message + .github_status + returns the most recent status messages + .github_status + returns the current system status + +Octokit::EnterpriseAdminClient::License + .license_info + returns information about the license + +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .upgrade + upgrades the Enterprise installation + .start_configuration + starts a configuration process for the Enterprise installation + .set_maintenance_status + enables the Enterprise maintenance mode + .config_status + returns information about the installation + .remove_authorized_key + removes a new authorized SSH keys (via a string contents) + removes a new authorized SSH keys (via a File handler) + removes a new authorized SSH keys (via a file path) + .edit_settings + edits the Enterprise settings + .add_authorized_key + adds a new authorized SSH keys (via a File handler) + adds a new authorized SSH keys (via a string contents) + adds a new authorized SSH keys (via a file path) + .maintenance_status + returns information about the Enterprise maintenance status + .upload_license + uploads a license for the Enterprise installation + .authorized_keys + gets the authorized SSH keys + .settings + returns information about the Enterprise settings Octokit::Client::Reactions with repository + with commit comment + .create_commit_comment_reaction + creates a reaction + .commit_comment_reactions + returns an Array of reactions with issue + .issue_reactions + returns an Array of reactions + .create_issue_reaction + creates a reaction with issue comment .create_issue_comment_reaction creates a reaction @@ -1842,498 +2086,162 @@ with reaction .delete_reaction deletes the reaction - .issue_reactions - returns an Array of reactions - .create_issue_reaction - creates a reaction with pull request with pull request review comment .create_pull_request_review_comment_reaction creates a reaction .pull_request_review_comment_reactions returns an Array of reactions - with commit comment - .commit_comment_reactions - returns an Array of reactions - .create_commit_comment_reaction - creates a reaction -Octokit::EnterpriseAdminClient::License - .license_info - returns information about the license +Octokit::Client::Emojis + .emojis + returns all github emojis -Octokit::EnterpriseAdminClient::SearchIndexing - .index_repository - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox to be indexed - behaves like single target queue - identifies the target being indexed in the return message - .index_repository_code - behaves like single target queue - identifies the target being indexed in the return message - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/code to be indexed - .index_users_repositories_code - behaves like search index queuer - with a valid target - queues api-padawan/*/code to be indexed - with invalid target - raises Octokit::NotFound - behaves like multiple target queue - identifies targets that were queued for index in the return message - .index_users_repositories - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-padawan/* to be indexed - behaves like multiple target queue - identifies targets that were queued for index in the return message - .index_user - behaves like single target queue - identifies the target being indexed in the return message - behaves like search index queuer - with a valid target - queues api-padawan to be indexed - with invalid target - raises Octokit::NotFound - .index_users_repositories_issues - behaves like multiple target queue - identifies targets that were queued for index in the return message - behaves like search index queuer - with a valid target - queues api-padawan/*/issues to be indexed - with invalid target - raises Octokit::NotFound - .index_repository_issues - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/issues to be indexed - behaves like single target queue - identifies the target being indexed in the return message +Octokit::Client::ActionsWorkflowRuns + .workflow_runs + returns runs for a workflow + .workflow_run + returns the requested workflow run + .delete_workflow_run_logs + deletes the logs for a workflow run + .repository_workflow_runs + returns all workflow runs for repository + .workflow_run_logs + returns the location of the workflow run logs + .rerun_workflow_run + returns false if request returns unexpected status + returns true if rerun request was enqueued successfully + .cancel_workflow_run + returns true if cancellation fo the workflow was successful + returns false if the request returns unexpected status + +Octokit::Client::LegacySearch + .legacy_search_users + should not raise URI::InvalidURIError and returns success + returns matching username + .legacy_search_repos + returns matching repositories + .legacy_search_issues + returns matching issues Octokit::Client::RepositoryInvitations with repository + .invite_user_to_repository + invites a user to a repository with stubbed repository invitation - .decline_repository_invitation - declines the repository invitation on behalf of the user .accept_repository_invitation accepts the repository invitation on behalf of the user + .decline_repository_invitation + declines the repository invitation on behalf of the user with repository invitation .update_repository_invitation updates the repository invitation .delete_repository_invitation deletes the repository invitation - .invite_user_to_repository - invites a user to a repository - .repository_invitations - lists the repositories outstanding invitations .user_repository_invitations lists the users repository invitations - -Octokit::Client::Feeds - .feeds - when authenticated with oauth token - returns the authenticated users feeds - when unauthenticated - returns the public feeds list - when authenticated with basic auth - returns private feeds - .feed - returns parsed feed data - -Octokit::Client::Contents - .contents - returns the contents of a file - .archive_link - returns the headers of the request - .readme - returns the default readme - .update_contents - does not add new lines - updates repository contents at a path - .create_contents - does not add new lines - creates contents from file path - creates contents from File object - creates repository contents at a path - creates contents from Tempfile object - .delete_contents - deletes repository contents at a path - -Octokit::Client::Deployments - with ref - with deployment - .deployment_statuses - lists deployment statuses - .delete_deployment - deletes a single deployment - .deployment - gets a single deployment - .create_deployment_status - creates a deployment status - .create_deployment - creates a deployment with a payload - creates a deployment - .deployments - lists deployments - -Octokit::Gist - when given a URL - sets the id - when passed a Integer ID - sets the gist ID as a string - sets the url - renders id as string - when passed a string ID - sets the gist ID - sets the url - renders id as string + .repository_invitations + lists the repositories outstanding invitations Octokit::EnterpriseAdminClient::Users - .delete_impersonation_token - deletes an impersonation token as a user .create_impersonation_token creates an impersonation token as a user + .delete_key + deletes a public keys + .promote + promotes an ordinary user to a site administrator + .create_user + creates a new user .rename_user rename a user .list_all_keys lists all public keys - .promote - promotes an ordinary user to a site administrator + .delete_impersonation_token + deletes an impersonation token as a user + .suspend + suspends a user + .demote + demotes a site administrator to an ordinary user .delete_user deletes a user .unsuspend unsuspends a user - .demote - demotes a site administrator to an ordinary user - .create_user - creates a new user - .delete_key - deletes a public keys - .suspend - suspends a user - -Octokit::Client::Issues - .issue_comments - returns comments for an issue - .issue_comment - returns a single comment for an issue - .list_issues - returns dashboard issues for the authenticated user - returns issues for a repository - .add_assignees - adds assignees - .user_issues - returns issues for the authenticated user for owned and member repos - .list_assignees - returns available assignees for a repository - .repository_issues_comments - returns comments for all issues in a repository - .org_issues - returns issues for the organization for the authenticated user - with repository - with issue - .add_comment - adds a comment - .issue - returns an issue - returns a full issue - .close_issue - closes an issue - with closed issue - .reopen_issue - reopens an issue - with assignees - .remove_assignees - removes assignees - with locked issue - .unlock_issue - unlocks an issue - .update_issue - updates an issue - updates an issue without positional args - with issue comment - .delete_comment - deletes an existing comment - .update_comment - updates an existing comment - .issue_timeline - returns an issue timeline - .lock_issue - locks an issue - .create_issue - creates an issue with labels array - creates an issue with delimited labels - creates an issue without body argument - creates an issue - -Octokit::Client::Search - .search_users - utilizes auto_pagination - searches users - .search_issues - searches issues - .search_repositories - searches repositories - .search_commits - searches commits - .search_code - searches code - -Octokit - sets defaults - .configure - sets the management console endpoint - sets the connection options - sets the default media type - sets the client id - sets the client secret - sets the login - sets the access token - sets the proxy - sets the ssl verify mode - sets the bearer token - sets the middleware - sets the netrc file - sets the web endpoint - sets the per page - sets the api endpoint - sets the user agent - sets the netrc - sets the password - sets the auto paginate - sets the management console password - .client - caches the client when the same options are passed - creates an Octokit::Client - returns a fresh client when options are not the same - -Octokit::Client::LegacySearch - .legacy_search_repos - returns matching repositories - .legacy_search_issues - returns matching issues - .legacy_search_users - should not raise URI::InvalidURIError and returns success - returns matching username Octokit::Client::CommunityProfile .community_profile returns community profile metrics for a repository -Octokit::Client::Checks - .set_check_suite_preferences - sets check suite preferences - .check_runs_for_ref - returns check runs for a tag - filters by status - returns check runs for a commit - returns check runs for a branch - .check_run - returns the check run - .check_runs_for_check_suite - filters by status - returns check runs for a check suite - .check_suite - returns the check suite - .create_check_suite - creates a check suite - returns the check suite - .check_suites_for_ref - returns check suites for a branch - filters by check name - returns check suites for a tag - returns check suites for a commit - .create_check_run - creates a check run - returns the check run - .check_run_annotations - returns annotations for the check run - .rerequest_check_suite - requests the check suite again - .update_check_run - updates the check run - returns the check run - -Octokit::Client::SourceImport - post deprecation - .source_import_commit_authors - lists the source imports commit authors - .start_source_import - starts a source import - .cancel_source_import - cancels the source import - .source_import_progress - returns the progress of the source import - .update_source_import - restarts the source import - .map_source_import_commit_author - updates the commit authors identity - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import - .source_import_large_files - lists the source imports large files - pre deprecation - .start_source_import - provides deprecation warning - -Octokit::Client::Milestones - with milestone - .create_milestone - creates a milestone - .milestone - gets a single milestone belonging to repository - .delete_milestone - deletes a milestone from a repository - .update_milestone - updates a milestone - .list_milestones - lists milestones belonging to repository - lists milestones belonging to repository using id of repository +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit -Octokit::Client::Users - .emails - returns email addresses - .user - handle [bot] users - returns a user - returns the authenticated user - .update_user - updates a user profile - .migrations - deletes a user migration archive - gets a user migration archive url - unlocks a migrated user repository - starts a migration for a user - lists migrations for a user - lists repositories for a user migration - gets the status of a user migration - methods requiring an existing @public_key - .add_key - adds a public key - .update_key - updates a public key - .remove_key - removes a public key - .key - returns a public key - .starred? - checks if the authenticated user has starred a repository - .user_keys - returns public keys for another user - .follow - follows a user - .validate_credentials - validates username and password - .remove_email - removes an email address - .follows? - checks if given user is following target user - checks if the authenticated user follows another - .keys - returns public keys for the authenticated user - .following - returns following for a user - returns the authenticated user's following - .unfollow - unfollows a user - .starred - authenticated - gets the authenticated user's starred repositories - gets a user's starred repositories - not authenticated - gets a user's starred repositories - .followers - returns followers for a user - returns the authenticated user's followers - .add_email - adds an email address - .subscriptions - not authenticated - returns the repositories a user watches for notifications - authenticated - returns the repositories the authenticated user watches for notifications - returns the repositories a user watches for notifications - .exchange_code_for_token - with application authenticated client - returns the access_token - with credentials passed as parameters by unauthed client - returns the access_token - .all_users - returns all GitHub users +Octokit::Client::ActionsSecrets + with a repo + .get_public_key + get repo specific public key for secrets encryption + with a repository with a secret + .create_or_update_secret + updating existing secret returns 204 + .list_secrets + returns list of one secret + .get_secret + return timestamps related to one secret + .delete_secret + delete existing secret + with a repo without secrets + .list_secrets + returns empty list of secrets + .create_or_update_secret + creating secret returns 204 (even though API docs claims it should be 201) -Octokit::Client - deprecated methods - #rate_limit_remaining - triggers warning and will call remaining on rate_limit - rate_limit_remaining! - triggers warning and will remaining on rate_limit! - #rate_limit! - makes a web request to check the rate limit - #rate_limit - with last response - checks the rate limit from the last response - with no last response - makes a response +Octokit::Client::Projects + .create_org_project + returns the new org project + .create_project + returns the newly created project + .projects + returns a list of projects for a repository + .org_projects + returns the projects for an organization + with repository + with project + .project_columns + returns the columns for a project + .update_project + updates the project name and body then returns the updated project + .create_project_column + returns the newly created project column + .delete_project + returns the result of deleting a project + .project + returns a project + with project column + with project card + .delete_project_card + deletes the project card + .update_project_card + updates the project card + .move_project_card + moves the project card + .project_card + returns a project card by id + .delete_project_column + deletes the project column + .column_cards + returns a list of the cards in a project column + .update_project_column + updates the project column and returns the updated column + .create_project_card + creates a new card with a note + .project_column + returns a project column by id + .move_project_column + moves the project column Octokit::Client::Repositories - .check_assignee - checks to see if a particular user is an assignee for a repository - .delete_subscription - returns true when repo subscription deleted with repository - .protect_branch - protects a single branch with required_status_checks - protects a single branch - protects a single branch with required_approving_review_count - with protected branch - .unprotect_branch - unprotects a single branch - .permission_level - returns the permission level a user has on a repository - .deploy_key - returns a specific deploy key for a repo - .watch - watches a repository - .unwatch - unwatches a repository - .add_deploy_key - adds a repository deploy keys - .set_public - sets a repository public - .subscription - returns a repository subscription - .unstar - unstars a repository - .set_private - sets a repository private - .branches - returns a single branch - returns a repository's branches - with repository - .topics - returns repository topics - .create_repository - creates a repository - .add_collaborator - adds a repository collaborators - .update_repository - updates the matching repository - .dispatch_event - creates a dispatch event .deploy_keys returns a repository's deploy keys - .delete_repository - deletes a repository .replace_all_topics replaces all topics for a repository .create_repository_from_template @@ -2344,437 +2252,570 @@ You can avoid this message by supplying an appropriate media type in the 'Accept' request header. generates a repository from the template - .remove_collaborator - removes a repository collaborators + .create_repository + creates a repository + .topics + returns repository topics .repository_teams returns all repository teams + .add_collaborator + adds a repository collaborators .collaborator? checks if a user is a repository collaborator + .update_repository + updates the matching repository + .delete_repository + deletes a repository + .dispatch_event + creates a dispatch event .branch_protection returns nil for an unprotected branch with protected branch returns branch protection summary - .disable_vulnerability_alerts - disables vulnerability alerts for the repository + .remove_collaborator + removes a repository collaborators + .watchers + returns all repository watchers + .repositories + returns a user's repositories + returns authenticated user's repositories .create_repository - creates a repository for an organization creates a repository for an organization by ID + creates a repository for an organization + .vulnerability_alerts_enabled? + returns false with vulnerability alerts disabled + returns true when vulnerability alerts are enabled + .enable_vulnerability_alerts + enables vulnerability alerts for the repository + .subscription + returns a repository subscription .network returns a repository's network - .collaborators - returns a repository's collaborators + .add_deploy_key + adds a repository deploy keys + .branches + returns a repository's branches + returns a single branch + .stargazers + returns all repository stargazers + .tags + returns a repository's tags + with repository + .permission_level + returns the permission level a user has on a repository + .protect_branch + protects a single branch with required_approving_review_count + protects a single branch with required_status_checks + protects a single branch + with protected branch + .unprotect_branch + unprotects a single branch .remove_deploy_key removes a repository deploy keys - .subscribers - lists all the users watching the repository - .vulnerability_alerts_enabled? - returns false with vulnerability alerts disabled - returns true when vulnerability alerts are enabled - .repository? - returns false if the repository has an invalid format - returns false if the repository doesn't exist - returns false if the repository has more than one slash - returns true if the repository exists - .contributors - returns repository contributors - returns repository contributors excluding anonymous - .repositories - returns a user's repositories - returns authenticated user's repositories - .update_subscription - updates a repository subscription + .delete_subscription + returns true when repo subscription deleted .edit_repository is_template is passed in params WARNING: The preview version of the Template_repositories API is not yet suitable for production use. You can avoid this message by supplying an appropriate media type in the 'Accept' request header. uses the template repositories preview flag and succeeds - .fork - forks a repository - .star - stars a repository - .edit_deploy_key - modifies a deploy key - .repository - returns the matching repository - returns the repository, including topics - .enable_vulnerability_alerts - enables vulnerability alerts for the repository - .stargazers - returns all repository stargazers + .update_subscription + updates a repository subscription .assignees lists all the available assignees (owner + collaborators) + .disable_vulnerability_alerts + disables vulnerability alerts for the repository .transfer_repository repository transfer from myself to my organization - .all_repositories - returns all repositories on github - .watchers - returns all repository watchers + .contributors + returns repository contributors + returns repository contributors excluding anonymous + .collaborators + returns a repository's collaborators + .repository + returns the matching repository + returns the repository, including topics + .repository? + returns true if the repository exists + returns false if the repository has more than one slash + returns false if the repository has an invalid format + returns false if the repository doesn't exist + .deploy_key + returns a specific deploy key for a repo + .unwatch + unwatches a repository + .edit_deploy_key + modifies a deploy key + .set_public + sets a repository public + .set_private + sets a repository private + .unstar + unstars a repository .languages returns a repository's languages - .tags - returns a repository's tags + .watch + watches a repository + .fork + forks a repository + .subscribers + lists all the users watching the repository + .all_repositories + returns all repositories on github + .check_assignee + checks to see if a particular user is an assignee for a repository + .star + stars a repository -Octokit::Client::Apps - .find_repository_installation - allows auto_pagination - works for GitHub Enterprise installs - returns installation for an repository - .find_organization_installation - works for GitHub Enterprise installs - allows auto_pagination - returns installation for an organization - .find_integration_installations - returns installations for an integration - .app - returns current App - works for GitHub Enterprise installs - with app installation - .installation - returns the installation - works for GitHub Enterprise installs - with repository - .add_repository_to_app_installation - adds the repository to the installation - .add_repository_to_integration_installation - adds the repository to the installation - with installed repository on installation - .remove_repository_from_integration_installation - removes the repository from the installation - .remove_repository_from_app_installation - removes the repository from the installation - .create_app_installation_access_token - creates an access token for the installation - works for GitHub Enterprise installs - with repository on GitHub Enterprise - .remove_repository_from_app_installation - works for GitHub Enterprise installs - .add_repository_to_app_installation - works for GitHub Enterprise installs - .find_installation_repositories_for_user - works for GitHub Enterprise installs - returns repositories for a user - allows auto_pagination - .delete_installation - deletes an installation - .create_integration_installation_access_token - creates an access token for the installation - with app installation access token - .list_app_installation_repositories - lists the installations repositories - allows auto_pagination - works for GitHub Enterprise installs - .list_integration_installation_repositories - lists the installations repositories - .find_app_installations - works for GitHub Enterprise installs - returns installations for an app - .find_user_installation - returns installation for a user - allows auto_pagination - works for GitHub Enterprise installs - .find_user_installations - works for GitHub Enterprise installs - allows auto_pagination - returns installations for a user +Octokit::Client::ActionsWorkflows + .workflow_dispatch + creates a workflow dispatch event + .workflow + returns the repository workflows + .workflows + returns the repository workflows -Octokit::Client::Traffic - .top_paths - returns the top path statistics for a repository - .clones - returns the clone stats for a repository - .top_referrers - returns the referrers stats for a repository - .views - returns the views breakdown for a repository +Octokit::Client::PullRequests + .merge_pull_request + merges the pull request + .pull_request_comment + returns a comment on a pull request + .pull_request_comments + returns the comments for a pull request + .pull_requests_comments + returns all comments on all pull requests + .pull_request_files + lists files for a pull request + .create_pull_request_for_issue + creates a pull request and attach it to an existing issue + .pull_request_commits + returns the commits for a pull request + methods that require a new pull + .create_pull_request + creates a pull request + without body argument + creates a pull request without body argument + .pull_request + returns a pull request + methods requiring a pull request comment + .update_pull_request_comment + updates a pull request comment + .delete_pull_request_comment + deletes a pull request comment + .create_pull_request_comment + creates a new comment on a pull request + .create_pull_request_comment_reply + creates a new reply to a pull request comment + .update_pull_request + updates a pull request + .close_pull_request + closes a pull request + .pull_merged? + returns whether the pull request has been merged + .pull_requests + lists all pull requests with state option + lists all pull requests + +Octokit::Client::Markdown + .markdown + renders markdown Octokit::Client::Licenses - .repository_license_contents - returns a repository's license file - .license - returns a particular license .licenses returns all licenses + .license + returns a particular license + .repository_license_contents + returns a repository's license file -Octokit::RateLimit - .from_response - returns a positive rate limit for Enterprise - parses rate limit info from response headers - handles nil responses - handles resets_in time in past +Octokit::Client::Labels + .labels + returns labels + .delete_label! + deletes a label from the repository + .label + returns a single label + .lables_for_milestone + returns all labels for a repository + with issue + .labels_for_issue + returns all labels for a given issue + .remove_all_labels + removes all labels from the specified issue + .replace_all_labels + replaces all labels for an issue + .add_labels_to_an_issue + adds labels to a given issue + .remove_label + removes a label from the specified issue + with label + .update_label + updates a label with a new color + .add_label + adds a label with default color + adds a label with a color -Octokit::Client::ActionsWorkflowRuns - .repository_workflow_runs - returns all workflow runs for repository - .workflow_run - returns the requested workflow run - .cancel_workflow_run - returns true if cancellation fo the workflow was successful - returns false if the request returns unexpected status - .delete_workflow_run_logs - deletes the logs for a workflow run - .workflow_runs - returns runs for a workflow - .workflow_run_logs - returns the location of the workflow run logs - .rerun_workflow_run - returns true if rerun request was enqueued successfully - returns false if request returns unexpected status +Octokit::Client::Gitignore + .gitignore_template + returns the ruby gitignore template + .gitignore_templates + returns all gitignore templates Octokit::Client::Objects .create_blob creates a blob - .create_tag - creates a tag .tag returns a tag .blob returns a blob - .create_tree - creates a tree .tree - gets a tree gets a tree recursively + gets a tree + .create_tree + creates a tree + .create_tag + creates a tag -Octokit::Client::ActionsWorkflows - .workflow_dispatch - creates a workflow dispatch event - .workflows - returns the repository workflows - .workflow - returns the repository workflows +Octokit::Client::Refs + .create_ref + does not duplicate refs/ in ref parameter + prepends refs/ to the ref parameter + .refs + returns all refs + returns all tag refs + .ref + returns a tags ref + with ref + .delete_branch + deletes an existing branch + .delete_ref + deletes an existing ref + .create_ref + creates a ref + .update_branch + updates a branch + .update_ref + updates a ref -Octokit::Client::ActionsSecrets - with a repo - .get_public_key - get repo specific public key for secrets encryption - with a repo without secrets - .create_or_update_secret - creating secret returns 204 (even though API docs claims it should be 201) - .list_secrets - returns empty list of secrets - with a repository with a secret - .delete_secret - delete existing secret - .list_secrets - returns list of one secret - .get_secret - return timestamps related to one secret - .create_or_update_secret - updating existing secret returns 204 +Octokit::Client::Checks + .rerequest_check_suite + requests the check suite again + .update_check_run + returns the check run + updates the check run + .check_run + returns the check run + .check_suites_for_ref + returns check suites for a tag + filters by check name + returns check suites for a commit + returns check suites for a branch + .check_runs_for_check_suite + returns check runs for a check suite + filters by status + .create_check_run + returns the check run + creates a check run + .check_run_annotations + returns annotations for the check run + .create_check_suite + returns the check suite + creates a check suite + .check_suite + returns the check suite + .check_runs_for_ref + returns check runs for a branch + filters by status + returns check runs for a commit + returns check runs for a tag + .set_check_suite_preferences + sets check suite preferences -Octokit::Client::Releases - .release_for_tag - returns the release for a tag - .release - gets a single release - .create_release - creates a release - .delete_release - deletes a release - .update_release - updates a release - handling release assets - .release_asset - gets a single release asset - .upload_release_asset - uploads a release asset by path - guesses the content type for an asset - uploads a release asset as file object - uploads a release asset with a default name - .update_release_asset - edits a release asset - .delete_release_asset - deletes a release asset - .release_assets - lists assets for a release - .releases - lists releases for a repo - .latest_release - returns the latest release +Octokit::Client::Events + .organization_events + returns all events for an organization + .repository_network_events + returns events for a repository's network + .received_public_events + returns public user received events + .repo_issue_events + lists issue events for a repository + .organization_public_events + returns an organization's public events + .issue_event + lists issue events for a repository + .issue_events + lists issue events for a repository + .user_public_events + returns public events performed by a user + .public_events + returns all public events + .user_events + returns all user events + .received_events + returns all user received events + .repository_events + returns events for a repository Octokit::Client::CommitComments - .list_commit_comments - returns a list of all commit comments .commit_comments returns a list of comments for a specific commit - .commit_comment - returns a single commit comment with commit comment - .delete_commit_comment - deletes a commit comment .update_commit_comment updates a commit comment + .delete_commit_comment + deletes a commit comment .create_commit_comment creates a commit comment + .list_commit_comments + returns a list of all commit comments + .commit_comment + returns a single commit comment -Octokit::Organization - .path - with id - returns id api path - with name - returns name api path +Octokit::EnterpriseAdminClient::AdminStats + .admin_hooks_stats + returns only hooks-related stats + .admin_milestones_stats + returns only milestone-related stats + .admin_organization_stats + returns only organization-related stats + .admin_comments_stats + returns only comment-related stats + .admin_repository_stats + returns only repository-related stats + .admin_stats + returns all available enterprise stats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_pages_stats + returns only pages-related stats + .admin_users_stats + returns only user-related stats + .admin_gists_stats + returns only gist-related stats + .admin_issues_stats + returns only issue-related stats -Octokit::Client::Gists - unauthenticated - .gist - returns the gist by ID - returns a gist at a specific revision - .gists - without a username passed - returns a list of gists - with username passed - returns a list of gists - .public_gists - returns public gists - when authenticated - .fork_gist - forks an existing gist - .edit_gist - edit an existing gist - .gist_comment - returns a gist comment - .update_gist_comment - updates a gist comment - .delete_gist_comment - deletes a gist comment - .gist_starred? - is not starred - with starred gist - is starred - .create_gist_comment - creates a gist comment - .create_gist - creates a new gist - .unstar_gist - unstars an existing gist - .delete_gist - deletes an existing gist - .gist_forks - lists a gists forks - .starred_gists - returns the user's starred gists - .gist_comments - returns the list of gist comments - .star_gist - stars an existing gist - .gists - returns a list of gists - .gist_commits - lists a gists commits +Octokit::Client + #rate_limit! + makes a web request to check the rate limit + deprecated methods + #rate_limit_remaining + triggers warning and will call remaining on rate_limit + rate_limit_remaining! + triggers warning and will remaining on rate_limit! + #rate_limit + with no last response + makes a response + with last response + checks the rate limit from the last response -Octokit::Client::Notifications - with thread - .mark_thread_as_read - marks a thread as read - .thread_notifications - returns notifications for a specific thread - with subscription - .delete_thread_subscription - returns true with successful thread deletion - .update_thread_subscription - updates a thread subscription - .thread_subscription - returns a thread subscription - .notifications - lists the notifications for the current user - .repository_notifications - lists all notifications for a repository - .mark_notifications_as_read - returns true when notifications are marked as read - .mark_repository_notifications_as_read - returns true when notifications for a repo are marked as read +Octokit::Client + returns empty context when non rate limit error occurs + returns context with default data when rate limit error occurs but headers are missing + knows the difference between unauthorized and needs OTP + knows the password delivery mechanism when needs OTP + returns context when non rate limit error occurs but rate limit headers are present + .agent + acts like a Sawyer agent + caches the agent + when making requests + no sets an ssl verify + sets a default user agent + allows Accept'ing another media type + sets an ssl verify mode + Accepts application/vnd.github.v3+json by default + sets an ssl verify => true + ensures ssl verify mode is set to default when no override provided + adds app creds in query params to anonymous requests + sets a proxy server + omits app creds in query params for token requests + passes along request headers for POST + sets an ssl verify => false + sets a custom user agent + omits app creds in query params for basic requests + .get + handles headers + handles query params + .head + handles headers + handles query params + auto pagination + fetches all the pages + sets headers for all pages + accepts a block for custom result concatination + redirect handling + follows redirect for 307 response + follows at most 3 consecutive redirects + follows redirects for supported HTTP methods + follows redirect for 301 response + drops authentication info when redirecting to a different host + does not change HTTP method when following a redirect + keeps authentication info when redirecting to the same host + follows redirect for 302 response + module configuration + inherits the module configuration + with class level configuration + can set configuration after initialization + overrides module configuration + masks tokens on inspect + masks passwords on inspect + masks bearer token on inspect + masks client secrets on inspect + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc + module call shortcut + uniquely separates method missing calls + has no method collisions + rels parsing + handles git@github ssh URLs + .as_app + makes authenticated requests + uses client and secret as Basic auth + requires a client and secret + uses preconfigured client and secret + duplicates the client + .last_response + caches the last agent response + .root + fetches the API root + passes app creds in the query string + error handling + exposes the response status code + includes an error summary + knows the difference between different kinds of unprocessable entity + resets last_response on errors + includes an error + exposes the response headers + raises on 500 + handles an error response with an array body + exposes the response body + exposes errors array + handles documentation URLs in error messages + raises on unknown server errors + raises on unknown client errors + includes a message + raises on 404 + knows the difference between different kinds of forbidden + authentication + when token authenticated + fetches and memoizes login + makes authenticated calls + when application authenticated + makes authenticated calls + when basic authenticated + makes authenticated calls + with class level config + sets basic auth creds with .configure + sets oauth token with .configure + sets oauth token with instance methods + sets oauth token with module methods + sets oauth application creds with .configure + sets basic auth creds with instance methods + when bearer authenticated + makes authenticated calls + with module level config + sets oauth token with module methods + sets oauth token with module methods + sets basic auth creds with .configure + sets basic auth creds with module methods + sets bearer token with module method + sets oauth token with .configure + sets bearer token with .configure + sets oauth application creds with .configure + content type + sets a default Content-Type header + fixes % bug + +Octokit::Client::Users + .migrations + gets the status of a user migration + lists migrations for a user + starts a migration for a user + lists repositories for a user migration + unlocks a migrated user repository + deletes a user migration archive + gets a user migration archive url + .subscriptions + authenticated + returns the repositories a user watches for notifications + returns the repositories the authenticated user watches for notifications + not authenticated + returns the repositories a user watches for notifications + methods requiring an existing @public_key + .key + returns a public key + .remove_key + removes a public key + .update_key + updates a public key + .add_key + adds a public key + .following + returns the authenticated user's following + returns following for a user + .add_email + adds an email address + .exchange_code_for_token + with application authenticated client + returns the access_token + with credentials passed as parameters by unauthed client + returns the access_token + .follows? + checks if given user is following target user + checks if the authenticated user follows another + .emails + returns email addresses + .unfollow + unfollows a user + .followers + returns followers for a user + returns the authenticated user's followers + .user + returns a user + returns the authenticated user + handle [bot] users + .validate_credentials + validates username and password + .user_keys + returns public keys for another user + .starred + authenticated + gets the authenticated user's starred repositories + gets a user's starred repositories + not authenticated + gets a user's starred repositories + .starred? + checks if the authenticated user has starred a repository + .update_user + updates a user profile + .follow + follows a user + .all_users + returns all GitHub users + .keys + returns public keys for the authenticated user + .remove_email + removes an email address Octokit::Client::Downloads + .downloads + lists available downloads .download gets a single download .delete_download deletes a download - .downloads - lists available downloads - -Octokit::Client::Emojis - .emojis - returns all github emojis - -Octokit::Client::Marketplace - .plan_for_account - returns the plan for a given account - .marketplace_purchases - returns marketplace purchases for user - .list_accounts_for_plan - returns accounts for a given plan - .list_plans - returns plans for a marketplace listing - -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .upgrade - upgrades the Enterprise installation - .start_configuration - starts a configuration process for the Enterprise installation - .config_status - returns information about the installation - .settings - returns information about the Enterprise settings - .edit_settings - edits the Enterprise settings - .upload_license - uploads a license for the Enterprise installation - .add_authorized_key - adds a new authorized SSH keys (via a File handler) - adds a new authorized SSH keys (via a string contents) - adds a new authorized SSH keys (via a file path) - .authorized_keys - gets the authorized SSH keys - .set_maintenance_status - enables the Enterprise maintenance mode - .remove_authorized_key - removes a new authorized SSH keys (via a file path) - removes a new authorized SSH keys (via a File handler) - removes a new authorized SSH keys (via a string contents) - .maintenance_status - returns information about the Enterprise maintenance status -Octokit::Client::Commits - .merge - merges a branch into another - .create_commit - creates a commit - .commits_before - handles branch or sha argument - errors if the date is invalid - returns all commits until the specified date - handles the sha option - .git_commit - returns a detailed git commit - .commits_since - handles the sha option - handles branch or sha argument - returns all commits since the specified date - errors if the date is invalid - .compare - returns a comparison - .commit - returns a commit - .commits_on - handles the sha option - returns all commits on the specified date - handles branch or sha argument - errors if the date is invalid - .commits_between - handles branch or sha argument - handles the sha option - errors if the date is invalid - returns all commits until the specified date - .commits - handles branch or sha argument - handles the sha option - returns all commits +Octokit::EnterpriseManagementConsoleClient + module configuration + inherits Octokit::Client -Finished in 1 minute 19.9 seconds (files took 3.63 seconds to load) +Finished in 1 minute 39.77 seconds (files took 4.62 seconds to load) 823 examples, 0 failures -Randomized with seed 28842 +Randomized with seed 12738 Coverage report generated for RSpec to /build/ruby-octokit-4.20.0/coverage. 7281 / 7332 LOC (99.3%) covered. @@ -2807,12 +2848,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9949/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/4072 and its subdirectories -I: Current time: Tue May 28 06:09:21 -12 2024 -I: pbuilder-time-stamp: 1716919761 +I: removing directory /srv/workspace/pbuilder/9949 and its subdirectories +I: Current time: Thu Apr 27 01:49:44 +14 2023 +I: pbuilder-time-stamp: 1682509784