Diff of the two buildlogs: -- --- b1/build.log 2023-04-14 10:38:27.989001104 +0000 +++ b2/build.log 2023-04-14 10:39:56.325077914 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 13 22:28:19 -12 2023 -I: pbuilder-time-stamp: 1681468099 +I: Current time: Fri May 17 07:01:29 +14 2024 +I: pbuilder-time-stamp: 1715878889 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,135 +26,144 @@ 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/1188977/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/161513/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/161513/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/161513/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' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='678741bf44114c3ba96af338b00b92c9' + INVOCATION_ID='e45f2f46618c49cf8ea058e1382f51ba' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='1188977' + PPID='161513' PS1='# ' PS2='> ' 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.2WrtyY0e/pbuilderrc_zVZ3 --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.2WrtyY0e/b1 --logfile b1/build.log ruby-octokit_4.20.0-1.dsc' + 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.2WrtyY0e/pbuilderrc_Rchq --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.2WrtyY0e/b2 --logfile b2/build.log --extrapackages usrmerge ruby-octokit_4.20.0-1.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + http_proxy='http://85.184.249.68:3128' I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1188977/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 4 Jan 6 2023 sh -> dash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/161513/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -378,7 +387,7 @@ Get: 162 http://deb.debian.org/debian bookworm/main amd64 ruby-simplecov all 0.22.0-1 [45.1 kB] Get: 163 http://deb.debian.org/debian bookworm/main amd64 ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 164 http://deb.debian.org/debian bookworm/main amd64 ruby-webmock all 3.18.1-2 [66.2 kB] -Fetched 49.1 MB in 4s (13.6 MB/s) +Fetched 49.1 MB in 1s (62.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19596 files and directories currently installed.) @@ -1057,8 +1066,19 @@ 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/161513/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/161513/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -1091,7 +1111,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/d20230413-1205611-1pgvza/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240517-166816-dlivv5/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: @@ -1101,7 +1121,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/d20230413-1205611-1pgvza/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/d20240517-166816-dlivv5/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 @@ -1219,676 +1239,1134 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 14139 +Randomized with seed 21499 -Octokit::Client::Repositories - .delete_subscription - returns true when repo subscription deleted - .assignees - lists all the available assignees (owner + collaborators) - .unwatch - unwatches a repository - .branches - returns a single branch - returns a repository's branches - .network - returns a repository's network - .vulnerability_alerts_enabled? - returns false with vulnerability alerts disabled - returns true when vulnerability alerts are enabled - .contributors - returns repository contributors - returns repository contributors excluding anonymous - .repository - returns the repository, including topics - returns the matching repository - .transfer_repository - repository transfer from myself to my organization - .tags - returns a repository's tags - .fork - forks a repository - .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 - .watchers - returns all repository watchers - .remove_deploy_key - removes a repository deploy keys - .enable_vulnerability_alerts - enables vulnerability alerts for the repository - .collaborators - returns a repository's collaborators - .edit_deploy_key - modifies a deploy key - .all_repositories - returns all repositories on github - .disable_vulnerability_alerts - disables vulnerability alerts for the repository - .create_repository - creates a repository for an organization by ID - creates a repository for an organization - with repository - .permission_level - returns the permission level a user has on a repository - .protect_branch - protects a single branch - protects a single branch with required_approving_review_count - protects a single branch with required_status_checks - with protected branch - .unprotect_branch - unprotects a single branch - .watch - watches a repository - .repository? - returns false if the repository doesn't exist - returns false if the repository has more than one slash - returns true if the repository exists - returns false if the repository has an invalid format - .languages - returns a repository's languages - .subscription - returns a repository subscription - .unstar - unstars a repository - .subscribers - lists all the users watching the repository - .update_subscription - updates a repository subscription - .set_private - sets a repository private - .stargazers - returns all repository stargazers - .check_assignee - checks to see if a particular user is an assignee for a repository - .deploy_key - returns a specific deploy key for a repo - .star - stars a repository - .repositories - returns authenticated user's repositories - returns a user's repositories - .set_public - sets a repository public - .add_deploy_key - adds a repository deploy keys - with repository - .add_collaborator - adds a repository collaborators - .create_repository - creates a repository - .create_repository_from_template -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. -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. - generates a repository from the template - .deploy_keys - returns a repository's deploy keys - .collaborator? - checks if a user is a repository collaborator - .dispatch_event - creates a dispatch event - .branch_protection - returns nil for an unprotected branch - with protected branch - returns branch protection summary - .replace_all_topics - replaces all topics for a repository - .update_repository - updates the matching repository - .topics - returns repository topics - .remove_collaborator - removes a repository collaborators - .repository_teams - returns all repository teams - .delete_repository - deletes a repository +Octokit::Client::Authorizations + .scopes + checks the scopes on the current token + checks the scopes on a one-off token + .authorize_url + requires client_id and client_secret + with passed client credentials + returns the authorize_url + with passed options hash + appends options hash as query params + escapes values before adding to query params + with preconfigured client credentials + returns the authorize_url + .authorizations + lists existing authorizations + .create_authorization + without :idempotent => true + creates a new API authorization each time + creates a new authorization with options + creates an API authorization + with :idempotent => true + returns an existing API authorization if one already exists + creates a new authorization with fingerprint + creates a new authorization with options + .update_authorization + updates and existing authorization + .authorization + returns a single authorization + .revoke_all_application_authorizations + returns false + .delete_authorization + deletes an existing authorization + +Octokit::Client::Notifications + .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 + .mark_notifications_as_read + returns true when notifications are marked as read + with thread + .mark_thread_as_read + marks a thread as read + .thread_notifications + returns notifications for a specific thread + with subscription + .thread_subscription + returns a thread subscription + .delete_thread_subscription + returns true with successful thread deletion + .update_thread_subscription + updates a thread subscription + +Octokit::Client::Gists + when authenticated + .edit_gist + edit an existing gist + .gists + returns a list of gists + .delete_gist + deletes an existing gist + .gist_comment + returns a gist comment + .update_gist_comment + updates a gist comment + .fork_gist + forks an existing gist + .star_gist + stars an existing gist + .delete_gist_comment + deletes a gist comment + .create_gist + creates a new gist + .unstar_gist + unstars an existing gist + .gist_starred? + is not starred + with starred gist + is starred + .gist_commits + lists a gists commits + .gist_comments + returns the list of gist comments + .create_gist_comment + creates a gist comment + .gist_forks + lists a gists forks + .starred_gists + returns the user's starred gists + unauthenticated + .public_gists + returns public gists + .gist + returns a gist at a specific revision + returns the gist by ID + .gists + with username passed + returns a list of gists + without a username passed + returns a list of gists Octokit::Client::Users + methods requiring an existing @public_key + .remove_key + removes a public key + .key + returns a public key + .update_key + updates a public key + .add_key + adds a public key + .exchange_code_for_token + with credentials passed as parameters by unauthed client + returns the access_token + with application authenticated client + returns the access_token .starred - authenticated + not authenticated gets a user's starred repositories + authenticated gets the authenticated user's starred repositories - not authenticated gets a user's starred repositories + .follow + follows a user + .keys + returns public keys for the authenticated user .following returns the authenticated user's following returns following for a user - .unfollow - unfollows a user - .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 - .starred? - checks if the authenticated user has starred a repository - .keys - returns public keys for the authenticated user - .add_email - adds an email address - .followers - returns the authenticated user's followers - returns followers for a user - .follow - follows a user .migrations - lists repositories for a user migration - starts a migration for a user + unlocks a migrated user repository lists migrations for a user + starts a migration for a user + deletes a user migration archive gets a user migration archive url gets the status of a user migration - unlocks a migrated user repository - deletes a user migration archive - .follows? - checks if given user is following target user - checks if the authenticated user follows another - .emails - returns email addresses + lists repositories for a user migration .user - returns the authenticated user returns a user handle [bot] users - .all_users - returns all GitHub users - methods requiring an existing @public_key - .add_key - adds a public key - .remove_key - removes a public key - .update_key - updates a public key - .key - returns a public key + returns the authenticated user .user_keys returns public keys for another user - .remove_email - removes an email address - .exchange_code_for_token - with credentials passed as parameters by unauthed client - returns the access_token - with application authenticated client - returns the access_token + .subscriptions + authenticated + returns the repositories the authenticated user watches for notifications + returns the repositories a user watches for notifications + not authenticated + returns the repositories a user watches for notifications .update_user updates a user profile .validate_credentials validates username and password + .unfollow + unfollows a user + .followers + returns followers for a user + returns the authenticated user's followers + .all_users + returns all GitHub users + .follows? + checks if given user is following target user + checks if the authenticated user follows another + .starred? + checks if the authenticated user has starred a repository + .remove_email + removes an email address + .emails + returns email addresses + .add_email + adds an email address -Octokit::Organization - .path - with name - returns name api path - with id - returns id api path +Octokit::Client::Pages + .request_page_build + requests a build for the latest revision + .latest_pages_build + lists information about the latest page build + .list_pages_builds + lists information about all the page builds + .pages + lists page information + .pages_build + lists a specific page build -Octokit::Client::SourceImport - pre deprecation - .start_source_import - provides deprecation warning - post deprecation - .source_import_progress - returns the progress of the source import - .update_source_import - restarts the source import - .cancel_source_import - cancels the source import - .source_import_large_files - lists the source imports large files - .map_source_import_commit_author - updates the commit authors identity - .start_source_import - starts a source import - .source_import_commit_authors - lists the source imports commit authors - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import +Octokit::Client::Deployments + with ref + with deployment + .delete_deployment + deletes a single deployment + .deployment + gets a single deployment + .create_deployment_status + creates a deployment status + .deployment_statuses + lists deployment statuses + .create_deployment + creates a deployment + creates a deployment with a payload + .deployments + lists deployments -Octokit::Client::Gists - unauthenticated - .gists - with username passed - returns a list of gists - without a username passed - returns a list of gists - .gist - returns a gist at a specific revision - returns the gist by ID - .public_gists - returns public gists - when authenticated - .gist_commits - lists a gists commits - .delete_gist - deletes an existing gist - .gists - returns a list of gists - .fork_gist - forks an existing gist - .gist_comment - returns a gist comment - .star_gist - stars an existing gist - .delete_gist_comment - deletes a gist comment - .gist_comments - returns the list of gist comments - .update_gist_comment - updates a gist comment - .gist_forks - lists a gists forks - .create_gist - creates a new gist - .starred_gists - returns the user's starred gists - .gist_starred? - is not starred - with starred gist - is starred - .edit_gist - edit an existing gist - .unstar_gist - unstars an existing gist - .create_gist_comment - creates a gist comment +Octokit::Client::Statuses + .statuses + lists commit statuses + .combined_status + gets a combined status + with repository + .create_status + creates status -Octokit::Gist - when passed a string ID - sets the url - sets the gist ID - renders id as string - when passed a Integer ID - sets the gist ID as a string - sets the url - renders id as string - when given a URL - sets the id +Octokit::EnterpriseManagementConsoleClient + module configuration + inherits Octokit::Client -Octokit::Client::Licenses - .license - returns a particular license - .repository_license_contents - returns a repository's license file - .licenses - returns all licenses +Octokit::Client::Issues + .list_assignees + returns available assignees for a repository + with repository + .create_issue + creates an issue with delimited labels + creates an issue + creates an issue with labels array + creates an issue without body argument + with issue + .close_issue + closes an issue + with issue comment + .update_comment + updates an existing comment + .delete_comment + deletes an existing comment + with assignees + .remove_assignees + removes assignees + .add_comment + adds a comment + with closed issue + .reopen_issue + reopens an issue + .lock_issue + locks an issue + .issue + returns a full issue + returns an issue + .issue_timeline + returns an issue timeline + .update_issue + updates an issue without positional args + updates an issue + with locked issue + .unlock_issue + unlocks an issue + .org_issues + returns issues for the organization for the authenticated user + .issue_comment + returns a single comment for an issue + .list_issues + returns issues for a repository + returns dashboard issues for the authenticated user + .add_assignees + adds assignees + .issue_comments + returns comments for an issue + .repository_issues_comments + returns comments for all issues in a repository + .user_issues + returns issues for the authenticated user for owned and member repos + +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::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization + +Octokit::Client::Organizations + .organization_member? + checks organization membership + .team_membership + gets a user's team membership + .add_team_membership + invites a user to a team + .organization_membership + returns an organization membership for a given user by the orgs id + returns an organization membership for a given user + returns an organization membership + .update_organization + updates an organization + public org members + .unpublicize_membership + unpublicizes membership + .publicize_membership + publicizes membership + .organization_public_member? + checks publicized org membership + .remove_outside_collaborator + removes the outside collaborator from an organization + .child_teams + returns all child teams for the team + .remove_organization_member + removes a member from an organization + .remove_team_membership + removes a user's membership for a team + .remove_organization_membership + removes an organization membership for a given user + .organization_members + returns all public members of an organization + .convert_to_outside_collaborator + converts an organization member to an outside collaborator + with team + .create_team + creates a team + .team + returns a team + .team_by_name + returns a team found by name + .update_team + updates a team + .team_members + returns team members + .add_team_member + adds a team member + .remove_team_member + removes a team member + .team_member? + checks if a user is member of a team + .team_invitations + lists pending team invitations + .team_repositories + returns team repositories + .add_team_repository + adds a team repository + .team_repository? + checks if a repo is managed by a specific team + .remove_team_repository + removes a team repository + .delete_team + deletes a team + .organizations + returns all organizations for the authenticated user + returns all organizations for a user + .migrations + lists migrations for an organization + downloads a migration archive + starts a migration for an organization + gets the status of a migration + unlocks a migrated repository + .all_organizations + paginates organizations on GitHub + .outside_collaborators + lists outside collaborators for an organization + .organization + returns an organization + .organization_repositories + returns all public repositories for an organization + .organization_teams + returns all teams for an organization + .user_teams + lists all teams for the authenticated user + .organization_invitations + lists pending organization invitations + .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 + .organization_public_members + lists public members Octokit sets defaults .configure + sets the client id + sets the api endpoint + sets the login + sets the ssl verify mode + sets the connection options sets the access token - sets the netrc file + sets the proxy + sets the web endpoint sets the default media type - sets the password - sets the connection options - sets the client secret sets the management console endpoint - sets the login + sets the per page sets the auto paginate - sets the web endpoint - sets the client id + sets the middleware + sets the password + sets the client secret sets the user agent sets the netrc - sets the middleware - sets the ssl verify mode - sets the api endpoint - sets the proxy - sets the management console password - sets the per page + sets the netrc file sets the bearer token + sets the management console password .client creates an Octokit::Client - caches the client when the same options are passed returns a fresh client when options are not the same + caches the client when the same options are passed + +Octokit::Client::Licenses + .license + returns a particular license + .licenses + returns all licenses + .repository_license_contents + returns a repository's license file + +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .start_configuration + starts a configuration process for the Enterprise installation + .add_authorized_key + adds a new authorized SSH keys (via a file path) + adds a new authorized SSH keys (via a string contents) + adds a new authorized SSH keys (via a File handler) + .upload_license + uploads a license for the Enterprise installation + .maintenance_status + returns information about the Enterprise maintenance status + .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) + .settings + returns information about the Enterprise settings + .set_maintenance_status + enables the Enterprise maintenance mode + .config_status + returns information about the installation + .authorized_keys + gets the authorized SSH keys + .edit_settings + edits the Enterprise settings + .upgrade + upgrades the Enterprise installation + +Octokit::Client::Marketplace + .list_accounts_for_plan + returns accounts for a given plan + .marketplace_purchases + returns marketplace purchases for user + .list_plans + returns plans for a marketplace listing + .plan_for_account + returns the plan for a given account + +Octokit::Client::RepositoryInvitations + with repository + .repository_invitations + lists the repositories outstanding invitations + .invite_user_to_repository + invites a user to a repository + with repository invitation + .update_repository_invitation + updates the repository invitation + .delete_repository_invitation + deletes the repository invitation + .user_repository_invitations + lists the users repository invitations + 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 + +Octokit::Client::OauthApplications + .delete_app_authorization + revokes the app's access to the user + .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 + checks the token is valid + works in Enterprise mode + .reset_token + works in Enterprise mode + has a .reset_application_authorization alias + resets the token + +Octokit::EnterpriseAdminClient::Users + .promote + promotes an ordinary user to a site administrator + .list_all_keys + lists all public keys + .suspend + suspends a user + .delete_impersonation_token + deletes an impersonation token as a user + .create_user + creates a new user + .delete_user + deletes a user + .unsuspend + unsuspends a user + .create_impersonation_token + creates an impersonation token as a user + .demote + demotes a site administrator to an ordinary user + .rename_user + rename a user + .delete_key + deletes a public keys + +Octokit::Client::Markdown + .markdown + renders markdown + +Octokit::RateLimit + .from_response + handles nil responses + handles resets_in time in past + parses rate limit info from response headers + returns a positive rate limit for Enterprise + +Octokit::Client::Projects + .create_org_project + returns the new org project + with repository + with project + .project + returns a project + .update_project + updates the project name and body then returns the updated project + with project column + .column_cards + returns a list of the cards in a project column + .delete_project_column + deletes the project column + .create_project_card + creates a new card with a note + with project card + .project_card + returns a project card by id + .delete_project_card + deletes the project card + .update_project_card + updates the project card + .move_project_card + moves the project card + .update_project_column + updates the project column and returns the updated column + .move_project_column + moves the project column + .project_column + returns a project column by id + .delete_project + returns the result of deleting a project + .project_columns + returns the columns for a project + .create_project_column + returns the newly created project column + .projects + returns a list of projects for a repository + .create_project + returns the newly created project + .org_projects + returns the projects for an organization + +Octokit::Repository + when passed a boolean true + 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 + when passed a hash with a username that contains a slash + raises ArgumentError + when passed a string with more than 1 slash + raises ArgumentError + when passed a hash + sets the repository name and username + when passed an invalid path + raises ArgumentError + when given a URL + parses html urls + parses api urls + sets the repository name and username + raises InvalidRepository error for unsupported url + when passed nil + raises ArgumentError + self.path + returns the api path + when passed a boolean false + false raises ArgumentError + .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 string without a slash + raises ArgumentError + when passed a hash with invalid username + 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 Repo + sets the repository name and username + +Octokit::Client::Labels + with label + .update_label + updates a label with a new color + with issue + .labels_for_issue + returns all labels for a given issue + .add_labels_to_an_issue + adds labels to a given issue + .remove_all_labels + removes all labels from the specified issue + .remove_label + removes a label from the specified issue + .replace_all_labels + replaces all labels for an issue + .add_label + adds a label with default color + adds a label with a color + .lables_for_milestone + returns all labels for a repository + .delete_label! + deletes a label from the repository + .labels + returns labels + .label + returns a single label + +Octokit::Client::Traffic + .views + returns the views breakdown for a repository + .top_referrers + returns the referrers stats for a repository + .top_paths + returns the top path statistics for a repository + .clones + returns the clone stats for a repository + +Octokit::Client::ActionsWorkflowRuns + .workflow_runs + returns runs for a workflow + .delete_workflow_run_logs + deletes the logs for a workflow run + .workflow_run_logs + returns the location of the workflow run logs + .cancel_workflow_run + returns false if the request returns unexpected status + returns true if cancellation fo the workflow was successful + .rerun_workflow_run + returns true if rerun request was enqueued successfully + returns false if request returns unexpected status + .workflow_run + returns the requested workflow run + .repository_workflow_runs + returns all workflow runs for repository + +Octokit::Client::PubSubHubbub + .unsubscribe + unsubscribes from pull events + .subscribe_service_hook + subscribes to pull event on specified topic + encodes URL parameters + unsubscribe_service_hook + unsubscribes to stop receiving events on specified topic + .subscribe + raises an error when topic is not recognized + subscribes to pull events + +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit + +Octokit::Client::CommunityProfile + .community_profile + returns community profile metrics for a repository + +Octokit::Client::Checks + .check_run + returns the check run + .create_check_suite + creates a check suite + returns the check suite + .check_run_annotations + returns annotations for the check run + .create_check_run + returns the check run + creates a check run + .check_runs_for_ref + returns check runs for a tag + returns check runs for a branch + returns check runs for a commit + filters by status + .rerequest_check_suite + requests the check suite again + .set_check_suite_preferences + sets check suite preferences + .check_suites_for_ref + returns check suites for a tag + returns check suites for a commit + filters by check name + returns check suites for a branch + .check_suite + returns the check suite + .check_runs_for_check_suite + filters by status + returns check runs for a check suite + .update_check_run + returns the check run + updates the check run Octokit::Client::PullRequests - .pull_requests - lists all pull requests with state option - lists all pull requests - .pull_request_files - lists files for a pull request - .pull_request_comment - returns a comment on a pull request .pull_request_commits returns the commits for a pull request + .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 + .pull_requests + lists all pull requests with state option + lists all pull requests .create_pull_request_for_issue creates a pull request and attach it to an existing issue methods that require a new pull - .create_pull_request - creates a pull request - without body argument - creates a pull request without body argument methods requiring a pull request comment - .create_pull_request_comment - creates a new comment on a pull request - .update_pull_request_comment - updates a pull request comment .delete_pull_request_comment deletes a pull request comment .create_pull_request_comment_reply creates a new reply to a pull request comment - .close_pull_request - closes a pull request - .update_pull_request - updates a pull request + .update_pull_request_comment + updates a pull request comment + .create_pull_request_comment + creates a new comment on a pull request .pull_merged? returns whether the pull request has been merged .pull_request returns a pull request - .merge_pull_request - merges the pull request - .pull_request_comments - returns the comments for a pull request + .close_pull_request + closes a pull request + .update_pull_request + updates a pull request + .create_pull_request + creates a pull request + without body argument + creates a pull request without body argument + +Octokit::Client::ActionsSecrets + with a repository with a secret + .create_or_update_secret + updating existing secret returns 204 + .get_secret + return timestamps related to one secret + .list_secrets + returns list of 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) + with a repo + .get_public_key + get repo specific public key for secrets encryption + +Octokit::EnterpriseAdminClient::SearchIndexing + .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_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_issues + behaves like multiple target queue + identifies targets that were queued for index in the return message + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-padawan/*/issues to be indexed + .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 + 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/* to be indexed + with invalid target + raises Octokit::NotFound + .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 + .index_repository_issues + behaves like search index queuer + with a valid target + queues api-playground/api-sandbox/issues to be indexed + with invalid target + raises Octokit::NotFound + behaves like single target queue + identifies the target being indexed in the return message Octokit::Client::Search + .search_issues + searches issues + .search_commits + searches commits .search_code searches code .search_users utilizes auto_pagination searches users - .search_commits - searches commits .search_repositories searches repositories - .search_issues - searches issues -Octokit::Client::Checks - .check_runs_for_check_suite - filters by status - returns check runs for a check suite - .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 - .check_suite - returns the check suite - .create_check_suite - creates a check suite - returns the check suite - .set_check_suite_preferences - sets check suite preferences - .check_run - returns the check run - .check_suites_for_ref - returns check suites for a commit - returns check suites for a branch - filters by check name - returns check suites for a tag - .check_runs_for_ref - returns check runs for a tag - returns check runs for a branch - filters by status - returns check runs for a commit - .create_check_run - returns the check run - creates a check run +Octokit::Client + #rate_limit! + makes a web request to check the rate limit + deprecated methods + rate_limit_remaining! + triggers warning and will remaining on rate_limit! + #rate_limit_remaining + triggers warning and will call remaining on rate_limit + #rate_limit + with last response + checks the rate limit from the last response + with no last response + makes a response -Octokit::Client::Reactions - with repository - 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 - .create_commit_comment_reaction - creates a reaction - .commit_comment_reactions - returns an Array of reactions - with issue - .issue_reactions - returns an Array of reactions - with reaction - .delete_reaction - deletes the reaction - .create_issue_reaction - creates a reaction - with issue comment - .issue_comment_reactions - returns an Array of reactions - .create_issue_comment_reaction - creates a reaction +Octokit::EnterpriseAdminClient + module configuration + inherits Octokit::Client + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc + +Octokit::User + .path + with id + returns id api path + with no user passed + returns default path + with login + returns login api path Octokit::Client::Apps - .app - returns current App - works for GitHub Enterprise installs - .find_user_installation + .find_organization_installation works for GitHub Enterprise installs allows auto_pagination - returns installation for a user - .find_integration_installations - returns installations for an integration + returns installation for an organization .find_repository_installation allows auto_pagination works for GitHub Enterprise installs returns installation for an repository - .find_user_installations - returns installations for a user - allows auto_pagination - works for GitHub Enterprise installs .find_app_installations - works for GitHub Enterprise installs returns installations for an app + works for GitHub Enterprise installs + .find_integration_installations + returns installations for an integration + .find_user_installation + returns installation for a user + allows auto_pagination + works for GitHub Enterprise installs with app installation - .create_integration_installation_access_token - creates an access token for the installation - .installation - returns the installation + .find_installation_repositories_for_user + returns repositories for a user + allows auto_pagination works for GitHub Enterprise installs - .create_app_installation_access_token + .create_integration_installation_access_token creates an access token for the installation - works for GitHub Enterprise installs with repository .add_repository_to_integration_installation adds the repository to the installation 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 + .remove_repository_from_app_installation + removes the repository from the installation .add_repository_to_app_installation adds the repository to the installation + .create_app_installation_access_token + creates an access token for the installation + works for GitHub Enterprise installs + .installation + works for GitHub Enterprise installs + returns the installation .delete_installation deletes an installation - .find_installation_repositories_for_user - returns repositories for a user - allows auto_pagination - works for GitHub Enterprise installs - with app installation access token - .list_integration_installation_repositories - lists the installations repositories - .list_app_installation_repositories - allows auto_pagination - works for GitHub Enterprise installs - lists the installations repositories 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 - .find_organization_installation + with app installation access token + .list_app_installation_repositories + lists the installations repositories + works for GitHub Enterprise installs + allows auto_pagination + .list_integration_installation_repositories + lists the installations repositories + .find_user_installations works for GitHub Enterprise installs + returns installations for a user allows auto_pagination - returns installation for an organization + .app + returns current App + works for GitHub Enterprise installs -Octokit::Client::Statuses - with repository - .create_status - creates status - .combined_status - gets a combined status - .statuses - lists commit statuses +Octokit::Client::Say + .say + returns an ASCII octocat + returns an ASCII octocat with custom text -Octokit::Client::Pages - .latest_pages_build - lists information about the latest page build - .request_page_build - requests a build for the latest revision - .pages_build - lists a specific page build - .list_pages_builds - lists information about all the page builds - .pages - lists page information +Octokit::Organization + .path + with id + returns id api path + with name + returns name api path -Octokit::Client::OauthApplications - .check_token - checks the token is valid - works in Enterprise mode - has a .check_application_authorization alias - .delete_app_token - has a .revoke_application_authorization alias - has a .delete_application_authorization alias - deletes the token - works in Enterprise mode - .reset_token - works in Enterprise mode - resets the token - has a .reset_application_authorization alias - .delete_app_authorization - revokes the app's access to the user +Octokit::Client::Meta + .github_meta + returns meta information about github -Octokit::EnterpriseAdminClient::Users - .demote - demotes a site administrator to an ordinary user - .suspend - suspends a user - .unsuspend - unsuspends a user - .delete_impersonation_token - deletes an impersonation token as a user - .delete_user - deletes a user - .create_impersonation_token - creates an impersonation token as a user - .list_all_keys - lists all public keys - .rename_user - rename a user - .promote - promotes an ordinary user to a site administrator - .create_user - creates a new user - .delete_key - deletes a public keys +Octokit::Client::Reactions + with repository + with pull request + with pull request review comment + .pull_request_review_comment_reactions + returns an Array of reactions + .create_pull_request_review_comment_reaction + creates a reaction + with commit comment + .commit_comment_reactions + returns an Array of reactions + .create_commit_comment_reaction + creates a reaction + with issue + .create_issue_reaction + creates a reaction + .issue_reactions + returns an Array of reactions + with issue comment + .issue_comment_reactions + returns an Array of reactions + .create_issue_comment_reaction + creates a reaction + with reaction + .delete_reaction + deletes the reaction -Octokit::Client::Organizations - .update_organization - updates an organization - .outside_collaborators - lists outside collaborators for an organization - .organization_invitations - lists pending organization invitations - .organization_repositories - returns all public repositories for an organization - .organization_member? - checks organization membership - .remove_team_membership - removes a user's membership for a team - .all_organizations - paginates organizations on GitHub - .migrations - unlocks a migrated repository - starts a migration for an organization - downloads a migration archive - gets the status of a migration - lists migrations for an organization - .team_membership - gets a user's team membership - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - with team - .create_team - creates a team - .team - returns a team - .team_by_name - returns a team found by name - .update_team - updates a team - .team_members - returns team members - .add_team_member - adds a team member - .remove_team_member - removes a team member - .team_member? - checks if a user is member of a team - .team_invitations - lists pending team invitations - .team_repositories - returns team repositories - .add_team_repository - adds a team repository - .team_repository? - checks if a repo is managed by a specific team - .remove_team_repository - removes a team repository - .delete_team - deletes a team - .remove_organization_member - removes a member from an organization - .user_teams - lists all teams for the authenticated user - .child_teams - returns all child teams for the team - .organization_members - returns all public members of an organization - .organization_public_members - lists public members - .remove_organization_membership - removes an organization membership for a given user - .remove_outside_collaborator - removes the outside collaborator from an organization - .add_team_membership - invites a user to a team - .organization_membership - returns an organization membership for a given user by the orgs id - returns an organization membership for a given user - returns an organization membership - .organization - returns an organization - .organization_memberships - returns all organization memberships for the user - .organizations - returns all organizations for the authenticated user - returns all organizations for a user - .organization_teams - returns all teams for an organization - .update_organization_membership - adds or updates an organization membership for a given user - updates an organization membership - public org members - .unpublicize_membership - unpublicizes membership - .publicize_membership - publicizes membership - .organization_public_member? - checks publicized org membership +Octokit::Client + returns empty context when non rate limit error occurs + knows the password delivery mechanism when needs OTP + returns context when non rate limit error occurs but rate limit headers are present + returns context with default data when rate limit error occurs but headers are missing + knows the difference between unauthorized and needs OTP + .root + fetches the API root + passes app creds in the query string + .agent + acts like a Sawyer agent + caches the agent + auto pagination + accepts a block for custom result concatination + sets headers for all pages + fetches all the pages + authentication + when basic authenticated + makes authenticated calls + with module level config + sets oauth application creds with .configure + sets basic auth creds with module methods + sets oauth token with module methods + sets bearer token with module method + sets basic auth creds with .configure + sets oauth token with .configure + sets oauth token with module methods + sets bearer token with .configure + when bearer authenticated + makes authenticated calls + when application authenticated + makes authenticated calls + when token authenticated + fetches and memoizes login + makes authenticated calls + with class level config + sets oauth token with .configure + sets oauth token with instance methods + sets oauth token with module methods + sets basic auth creds with .configure + sets basic auth creds with instance methods + sets oauth application creds with .configure + content type + sets a default Content-Type header + fixes % bug + rels parsing + handles git@github ssh URLs + .get + handles query params + handles headers + error handling + handles an error response with an array body + exposes errors array + handles documentation URLs in error messages + includes a message + knows the difference between different kinds of forbidden + exposes the response body + exposes the response status code + raises on 404 + includes an error + resets last_response on errors + raises on unknown client errors + raises on 500 + includes an error summary + raises on unknown server errors + knows the difference between different kinds of unprocessable entity + exposes the response headers + when making requests + sets an ssl verify mode + sets a custom user agent + sets an ssl verify => false + sets a default user agent + adds app creds in query params to anonymous requests + omits app creds in query params for basic requests + Accepts application/vnd.github.v3+json by default + ensures ssl verify mode is set to default when no override provided + sets an ssl verify => true + passes along request headers for POST + sets a proxy server + no sets an ssl verify + allows Accept'ing another media type + omits app creds in query params for token requests + .head + handles headers + handles query params + module call shortcut + has no method collisions + uniquely separates method missing calls + .last_response + caches the last agent response + redirect handling + follows redirect for 302 response + keeps authentication info when redirecting to the same host + does not change HTTP method when following a redirect + drops authentication info when redirecting to a different host + follows redirect for 301 response + follows redirect for 307 response + follows redirects for supported HTTP methods + follows at most 3 consecutive redirects + .as_app + requires a client and secret + makes authenticated requests + uses preconfigured client and secret + uses client and secret as Basic auth + duplicates the client + module configuration + inherits the module configuration + with class level configuration + overrides module configuration + masks client secrets on inspect + masks passwords on inspect + masks tokens on inspect + can set configuration after initialization + masks bearer token on inspect + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc + +Octokit::Client::Objects + .create_tag + creates a tag + .tree + gets a tree recursively + gets a tree + .blob + returns a blob + .create_tree + creates a tree + .tag + returns a tag + .create_blob + creates a blob Octokit::Client::Reviews - with pull request review - .update_pull_request_review - updates the review summary comment with new text - .pull_request_review_comments - returns all comments for a single review .pull_request_reviews returns a list of all pull request reviews + .pull_request_review_comments + returns all comments for a single review .dismiss_pull_request_review dismisses a request for change pull request review .pull_request_review @@ -1896,14 +2374,16 @@ with repository with pull request with collaborator - .delete_pull_request_review_request - deletes a requests for a pull request review from a team - deletes a requests for a pull request review from a user .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 user requests a new pull request review from a team + requests a new pull request review from a user + .create_pull_request_review + creates a pull request review with comments with pending pull request review .create_pull_request_review creates a pull request review @@ -1911,323 +2391,98 @@ 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 with comments - -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization - -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 - .thread_subscription - returns a thread subscription - .update_thread_subscription - updates a thread subscription - .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 - .notifications - lists the notifications for the current user - .repository_notifications - lists all notifications for a repository - -Octokit::Client::Markdown - .markdown - renders markdown - -Octokit::Client::Meta - .github_meta - returns meta information about github - -Octokit::Client::Releases - .release - gets a single release - .release_for_tag - returns the release for a tag - .create_release - creates a release - .update_release - updates a release - .releases - lists releases for a repo - .latest_release - returns the latest release - handling release assets - .release_asset - gets a single release asset - .delete_release_asset - deletes a release asset - .update_release_asset - edits a release asset - .upload_release_asset - uploads a release asset by path - uploads a release asset as file object - guesses the content type for an asset - uploads a release asset with a default name - .release_assets - lists assets for a release - .delete_release - deletes a release + with pull request review + .update_pull_request_review + updates the review summary comment with new text Octokit::Client::Downloads + .download + gets a single download .delete_download deletes a download .downloads lists available downloads - .download - gets a single download - -Octokit::Client - deprecated methods - rate_limit_remaining! - triggers warning and will remaining on rate_limit! - #rate_limit_remaining - triggers warning and will call 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::Labels - .lables_for_milestone - returns all labels for a repository - with label - .update_label - updates a label with a new color - .add_label - adds a label with a color - adds a label with default color - .label - returns a single label - with issue - .add_labels_to_an_issue - adds labels to a given issue - .remove_label - removes a label from the specified issue - .remove_all_labels - removes all labels from the specified issue - .labels_for_issue - returns all labels for a given issue - .replace_all_labels - replaces all labels for an issue - .labels - returns labels - .delete_label! - deletes a label from the repository - -Octokit::Client::Authorizations - .delete_authorization - deletes an existing authorization - .authorization - returns a single authorization - .revoke_all_application_authorizations - returns false - .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 - returns an existing API authorization if one already exists - creates a new authorization with options - .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 the current token - checks the scopes on a one-off token - .authorizations - lists existing authorizations - .update_authorization - updates and existing authorization - -Octokit::User - .path - with id - returns id api path - with no user passed - returns default path - with login - returns login api path - -Octokit::Client::Feeds - .feeds - when unauthenticated - returns the public feeds list - when authenticated with basic auth - returns private feeds - when authenticated with oauth token - returns the authenticated users feeds - .feed - returns parsed feed data - -Octokit::EnterpriseAdminClient::AdminStats - .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_milestones_stats - returns only milestone-related stats - .admin_stats - returns all available enterprise stats - .admin_issues_stats - returns only issue-related stats - .admin_repository_stats - returns only repository-related stats - .admin_pages_stats - returns only pages-related stats - .admin_gists_stats - returns only gist-related stats - .admin_hooks_stats - returns only hooks-related stats - .admin_pull_requests_stats - returns only pull request-related stats - -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::Client::Milestones - .list_milestones - lists milestones belonging to repository using id of repository - lists milestones belonging to repository - with milestone - .milestone - gets a single milestone belonging to repository - .create_milestone - creates a milestone - .delete_milestone - deletes a milestone from a repository - .update_milestone - updates a milestone - -Octokit::EnterpriseAdminClient - module configuration - inherits Octokit::Client - with .netrc - can read .netrc files - can read non-standard API endpoint creds from .netrc - -Octokit::Client::Hooks - .available_hooks - returns all the hooks supported by GitHub with their parameters - with repository - .hooks - returns a repository's hooks - with hook - .hook - returns a repository's single hook - .test_hook - tests a hook - .edit_hook - edits a hook - .create_hook - creates a hook - .ping_hook - pings a hook - .remove_hook - removes a hook - .parse_payload - parses payload string - with org hook - .remove_org_hook - removes an org hook - removes an org hook by ID - .create_org_hook - creates an org hook - creates an org hook for by ID - .org_hook - returns a single org hook by ID - returns a single org hook - .edit_org_hook - edits an org hook by ID - edits an org hook - .ping_org_hook - pings an org hook - pings an org hook by ID - .org_hooks - returns an organization's hooks by ID - returns an organization's hooks - -Octokit::Client::LegacySearch - .legacy_search_repos - returns matching repositories - .legacy_search_issues - returns matching issues - .legacy_search_users - returns matching username - should not raise URI::InvalidURIError and returns success - -Octokit::Client::Traffic - .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 - .top_paths - returns the top path statistics for a repository Octokit::Client::Commits + .compare + returns a comparison + .commit + returns a commit .commits_since returns all commits since the specified date errors if the date is invalid handles the sha option handles branch or sha argument - .git_commit - returns a detailed git commit - .commit - returns a commit - .create_commit - creates a commit - .commits_on + .commits_between errors if the date is invalid - returns all commits on the specified date - handles branch or sha argument handles the sha option + handles branch or sha argument + returns all commits until the specified date .merge merges a branch into another + .git_commit + returns a detailed git commit + .create_commit + creates a commit .commits - returns all commits handles branch or sha argument handles the sha option - .compare - returns a comparison + returns all commits .commits_before + returns all commits until the specified date + errors if the date is invalid handles branch or sha argument handles the sha option + .commits_on + returns all commits on the specified date + handles the sha option errors if the date is invalid - returns all commits until the specified date - .commits_between handles branch or sha argument - returns all commits until the specified date - errors if the date is invalid - handles the sha option + +Octokit::Client::Hooks + with org hook + .create_org_hook + creates an org hook + creates an org hook for by ID + .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 + .ping_org_hook + pings an org hook + pings an org hook by ID + .remove_org_hook + removes an org hook by ID + removes an org hook + .available_hooks + returns all the hooks supported by GitHub with their parameters + .parse_payload + parses payload string + .org_hooks + returns an organization's hooks by ID + returns an organization's hooks + with repository + with hook + .remove_hook + removes a hook + .edit_hook + edits a hook + .ping_hook + pings a hook + .hook + returns a repository's single hook + .test_hook + tests a hook + .create_hook + creates a hook + .hooks + returns a repository's hooks + +Octokit::Client::Emojis + .emojis + returns all github emojis Octokit::Client::Gitignore .gitignore_template @@ -2235,629 +2490,394 @@ .gitignore_templates returns all gitignore templates -Octokit::Client::CommunityProfile - .community_profile - returns community profile metrics for a repository - -Octokit::Client::Deployments - .deployments - lists deployments - with ref - with deployment - .create_deployment_status - creates a deployment status - .deployment_statuses - lists deployment statuses - .delete_deployment - deletes a single deployment - .deployment - gets a single deployment - .create_deployment - creates a deployment with a payload - creates a deployment - -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .upload_license - uploads a license for the Enterprise installation - .authorized_keys - gets the authorized SSH keys - .upgrade - upgrades the Enterprise installation - .start_configuration - starts a configuration process for the Enterprise installation - .settings - returns information about the Enterprise settings - .maintenance_status - returns information about the Enterprise maintenance status - .edit_settings - edits the Enterprise settings - .set_maintenance_status - enables the Enterprise maintenance mode - .add_authorized_key - adds a new authorized SSH keys (via a file path) - adds a new authorized SSH keys (via a File handler) - adds a new authorized SSH keys (via a string contents) - .config_status - returns information about the installation - .remove_authorized_key - removes a new authorized SSH keys (via a File handler) - removes a new authorized SSH keys (via a string contents) - removes a new authorized SSH keys (via a file path) - -Octokit::EnterpriseAdminClient::License - .license_info - returns information about the license +Octokit::Client::Feeds + .feed + returns parsed feed data + .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 -Octokit::EnterpriseAdminClient::SearchIndexing - .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 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 to be indexed - with invalid target - raises Octokit::NotFound - .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_repository_issues - 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/issues to be indexed - .index_user - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-padawan to be indexed - behaves like single target queue - identifies the target being indexed in the return message - .index_repository_code - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/code 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 a valid target - queues api-padawan/*/issues 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 +Octokit::Client::CommitComments + .list_commit_comments + returns a list of all commit comments + .commit_comment + returns a single commit comment + with commit comment + .create_commit_comment + creates a commit comment + .delete_commit_comment + deletes a commit comment + .update_commit_comment + updates a commit comment + .commit_comments + returns a list of comments for a specific commit -Octokit::Client::PubSubHubbub - .subscribe - raises an error when topic is not recognized - subscribes to pull events - .unsubscribe - unsubscribes from pull events - .subscribe_service_hook - subscribes to pull event on specified topic - encodes URL parameters - unsubscribe_service_hook - unsubscribes to stop receiving events on specified topic +Octokit::Client::SourceImport + post deprecation + .update_source_import + restarts the source import + .map_source_import_commit_author + updates the commit authors identity + .source_import_progress + returns the progress of the source import + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + .source_import_large_files + lists the source imports large files + .cancel_source_import + cancels the source import + .start_source_import + starts a source import + .source_import_commit_authors + lists the source imports commit authors + pre deprecation + .start_source_import + provides deprecation warning -Octokit::Client::Refs - .create_ref - prepends refs/ to the ref parameter - does not duplicate refs/ in ref parameter - with ref - .create_ref - creates a ref - .delete_ref - deletes an existing ref - .delete_branch - deletes an existing branch - .update_branch - updates a branch - .update_ref - updates a ref - .ref - returns a tags ref - .refs - returns all refs - returns all tag refs +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit Octokit::Client::Stats .contributors_stats returns contributors and their contribution stats .participation_stats returns the owner and contributor participation stats - .punch_card_stats - returns commit count by hour punch card stats - with empty repo - .contributors_stats - returns nil on timeout - returns [] when GitHub returns 204 - doesn't retry when GitHub returns 204 - returns nil when statistics are not ready - .commit_activity_stats - returns the commit activity stats - .code_frequency_stats - returns the code frequency stats with cold graph cache - .punch_card_stats - retries - returns commit count by hour punch card stats - .code_frequency_stats - returns the code frequency stats - retries .commit_activity_stats returns the commit activity stats retries .contributors_stats - returns nil on timeout returns contributors and their contribution stats + returns nil on timeout retries - .participation_stats + .code_frequency_stats retries + returns the code frequency stats + .participation_stats returns the owner and contributor participation stats + retries + .punch_card_stats + retries + returns commit count by hour punch card stats + .commit_activity_stats + returns the commit activity stats + .code_frequency_stats + returns the code frequency 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 on timeout + returns nil when statistics are not ready -Octokit::Client::ActionsWorkflowRuns - .repository_workflow_runs - returns all workflow runs for repository - .workflow_runs - returns runs for a workflow - .delete_workflow_run_logs - deletes the logs for a workflow run - .workflow_run - returns the requested workflow run - .rerun_workflow_run - returns true if rerun request was enqueued successfully - returns false if request returns unexpected status - .cancel_workflow_run - returns false if the request returns unexpected status - returns true if cancellation fo the workflow was successful - .workflow_run_logs - returns the location of the workflow run logs - -Octokit::Client::Marketplace - .marketplace_purchases - returns marketplace purchases for user - .list_accounts_for_plan - returns accounts for a given plan - .plan_for_account - returns the plan for a given account - .list_plans - returns plans for a marketplace listing +Octokit::Client::Milestones + with milestone + .milestone + gets a single milestone belonging to repository + .update_milestone + updates a milestone + .create_milestone + creates a milestone + .delete_milestone + deletes a milestone from a repository + .list_milestones + lists milestones belonging to repository + lists milestones belonging to repository using id of repository -Octokit::Client::Issues - .issue_comments - returns comments for an issue +Octokit::Client::Repositories + .transfer_repository + repository transfer from myself to my organization + .all_repositories + returns all repositories on github + .delete_subscription + returns true when repo subscription deleted + .network + returns a repository's network + .watchers + returns all repository watchers + .update_subscription + updates a repository subscription + .unstar + unstars a repository + .add_deploy_key + adds a repository deploy keys + .disable_vulnerability_alerts + disables vulnerability alerts for the repository + .branches + returns a repository's branches + returns a single branch + .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 + .create_repository + creates a repository for an organization by ID + creates a repository for an organization + .fork + forks a repository + .star + stars a repository + .set_private + sets a repository private + .contributors + returns repository contributors excluding anonymous + returns repository contributors + .unwatch + unwatches a repository with repository - with issue - with assignees - .remove_assignees - removes assignees - with locked issue - .unlock_issue - unlocks an issue - .lock_issue - locks an issue - .add_comment - adds a comment - .update_issue - updates an issue - updates an issue without positional args - with closed issue - .reopen_issue - reopens an issue - .close_issue - closes an issue - .issue - returns an issue - returns a full issue - .issue_timeline - returns an issue timeline - with issue comment - .update_comment - updates an existing comment - .delete_comment - deletes an existing comment - .create_issue - creates an issue - creates an issue with delimited labels - creates an issue without body argument - creates an issue with labels array - .user_issues - returns issues for the authenticated user for owned and member repos - .list_assignees - returns available assignees for a repository - .list_issues - returns dashboard issues for the authenticated user - returns issues for a repository - .issue_comment - returns a single comment for an issue - .repository_issues_comments - returns comments for all issues in a repository - .org_issues - returns issues for the organization for the authenticated user - .add_assignees - adds assignees - -Octokit::Client::Say - .say - returns an ASCII octocat with custom text - returns an ASCII octocat - -Octokit::Client::RepositoryInvitations + .branch_protection + returns nil for an unprotected branch + with protected branch + returns branch protection summary + .dispatch_event + creates a dispatch event + .delete_repository + deletes a repository + .deploy_keys + returns a repository's deploy keys + .remove_collaborator + removes a repository collaborators + .update_repository + updates the matching repository + .repository_teams + returns all repository teams + .create_repository_from_template +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. +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. + generates a repository from the template + .collaborator? + checks if a user is a repository collaborator + .create_repository + creates a repository + .add_collaborator + adds a repository collaborators + .topics + returns repository topics + .replace_all_topics + replaces all topics for a repository + .set_public + sets a repository public + .repository + returns the matching repository + returns the repository, including topics + .edit_deploy_key + modifies a deploy key + .repository? + returns true if the repository exists + returns false if the repository doesn't exist + returns false if the repository has more than one slash + returns false if the repository has an invalid format + .assignees + lists all the available assignees (owner + collaborators) + .check_assignee + checks to see if a particular user is an assignee for a repository + .watch + watches a repository + .subscribers + lists all the users watching the repository + .enable_vulnerability_alerts + enables vulnerability alerts for the repository + .vulnerability_alerts_enabled? + returns false with vulnerability alerts disabled + returns true when vulnerability alerts are enabled + .languages + returns a repository's languages + .tags + returns a repository's tags with repository - .invite_user_to_repository - invites a user to a repository - with repository invitation - .update_repository_invitation - updates the repository invitation - .delete_repository_invitation - deletes the repository invitation - .repository_invitations - lists the repositories outstanding invitations - .user_repository_invitations - lists the users repository invitations - with stubbed repository invitation - .accept_repository_invitation - accepts the repository invitation on behalf of the user - .decline_repository_invitation - declines the repository invitation on behalf of the user + .permission_level + returns the permission level a user has on a repository + .protect_branch + protects a single branch with required_status_checks + protects a single branch with required_approving_review_count + protects a single branch + with protected branch + .unprotect_branch + unprotects a single branch + .stargazers + returns all repository stargazers + .collaborators + returns a repository's collaborators + .subscription + returns a repository subscription + .remove_deploy_key + removes a repository deploy keys + .repositories + returns a user's repositories + returns authenticated user's repositories + .deploy_key + returns a specific deploy key for a repo Octokit::Client::ActionsWorkflows - .workflow_dispatch - creates a workflow dispatch event .workflows returns the repository workflows .workflow returns the repository workflows + .workflow_dispatch + creates a workflow dispatch event -Octokit::EnterpriseManagementConsoleClient - module configuration - inherits Octokit::Client - -Octokit::Client::CommitComments - with commit comment - .update_commit_comment - updates a commit comment - .create_commit_comment - creates a commit comment - .delete_commit_comment - deletes a commit comment - .commit_comment - returns a single commit comment - .commit_comments - returns a list of comments for a specific commit - .list_commit_comments - returns a list of all commit comments - -Octokit::RateLimit - .from_response - parses rate limit info from response headers - handles resets_in time in past - returns a positive rate limit for Enterprise - handles nil responses - -Octokit::Client::Projects - .create_project - returns the newly created project - .org_projects - returns the projects for an organization - .create_org_project - returns the new org project - .projects - returns a list of projects for a repository - with repository - with 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 - .project_columns - returns the columns for a project - with project column - .create_project_card - creates a new card with a note - with project card - .move_project_card - moves the project card - .delete_project_card - deletes the project card - .project_card - returns a project card by id - .update_project_card - updates the project card - .column_cards - returns a list of the cards in a project column - .move_project_column - moves the project column - .delete_project_column - deletes the project column - .project_column - returns a project column by id - .update_project_column - updates the project column and returns the updated column +Octokit::EnterpriseAdminClient::License + .license_info + returns information about the license -Octokit::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit +Octokit::Client::Releases + .update_release + updates a release + .latest_release + returns the latest release + handling release assets + .delete_release_asset + deletes a release asset + .update_release_asset + edits a release asset + .release_asset + gets a single release asset + .release_assets + lists assets for a release + .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 + .delete_release + deletes a release + .release + gets a single release + .create_release + creates a release + .release_for_tag + returns the release for a tag + .releases + lists releases for a repo Octokit::Client::Events - .user_public_events - returns public events performed by a user - .organization_events - returns all events for an organization .repository_network_events returns events for a repository's network - .public_events - returns all public events - .received_public_events - returns public user received events .repo_issue_events lists issue events for a repository - .issue_event - lists issue events for a repository .organization_public_events returns an organization's public events - .received_events - returns all user received events - .issue_events - lists issue events for a repository - .user_events - returns all user events .repository_events returns events for a repository + .user_events + returns all user events + .organization_events + returns all events for an organization + .public_events + returns all public events + .issue_event + lists issue events for a repository + .issue_events + lists issue events for a repository + .received_events + returns all user received events + .received_public_events + returns public user received events + .user_public_events + returns public events performed by a user -Octokit::Client::ActionsSecrets - with a repository with a secret - .get_secret - return timestamps related to one secret - .list_secrets - returns list of one secret - .delete_secret - delete existing secret - .create_or_update_secret - updating existing secret returns 204 - with a repo - .get_public_key - get repo specific public key for secrets encryption - 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::Repository - .path - with named repository - returns the url path - with repository id - returns theu url path - self.path - returns the api path - when passed a hash with invalid username - raises ArgumentError - when passed a hash with a username that contains a slash - raises ArgumentError - when given a URL - raises InvalidRepository error for unsupported url - parses html urls - sets the repository name and username - parses api urls - when passed a string with more than 1 slash - raises ArgumentError - when passed a boolean true - raises ArgumentError - when passed a string containg a slash - renders url as string - renders slug as string - sets the repository name and username - responds to repo and user - when passed a Repo - sets the repository name and username - when passed nil - raises ArgumentError - when passed an invalid path - raises ArgumentError - when passed a string without a slash - raises ArgumentError - when passed a boolean false - false raises ArgumentError - when passed a frozen hash - sets the repository name and username - when passed a hash with invalid repo - raises ArgumentError - when passed a hash with a repo that contains a slash - raises ArgumentError - when passed a hash - sets the repository name and username - when passed an integer - sets the repository id - -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::Client - knows the password delivery mechanism when needs OTP - 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 - returns context with default data when rate limit error occurs but headers are missing - redirect handling - follows redirect for 301 response - does not change HTTP method when following a redirect - drops authentication info when redirecting to a different host - follows at most 3 consecutive redirects - follows redirect for 302 response - follows redirects for supported HTTP methods - keeps authentication info when redirecting to the same host - follows redirect for 307 response - error handling - raises on unknown client errors - knows the difference between different kinds of forbidden - handles an error response with an array body - raises on 500 - exposes errors array - raises on unknown server errors - includes a message - exposes the response status code - exposes the response body - handles documentation URLs in error messages - exposes the response headers - resets last_response on errors - includes an error - knows the difference between different kinds of unprocessable entity - raises on 404 - includes an error summary - .head - handles query params - handles headers - .get - handles headers - handles query params - auto pagination - accepts a block for custom result concatination - fetches all the pages - sets headers for all pages - when making requests - omits app creds in query params for token requests - sets an ssl verify => true - adds app creds in query params to anonymous requests - sets a default user agent - no sets an ssl verify - omits app creds in query params for basic requests - sets an ssl verify => false - sets a custom user agent - ensures ssl verify mode is set to default when no override provided - passes along request headers for POST - allows Accept'ing another media type - sets an ssl verify mode - sets a proxy server - Accepts application/vnd.github.v3+json by default - .as_app - makes authenticated requests - duplicates the client - uses client and secret as Basic auth - requires a client and secret - uses preconfigured client and secret - .last_response - caches the last agent response - module call shortcut - uniquely separates method missing calls - has no method collisions - rels parsing - handles git@github ssh URLs - .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 passwords on inspect - masks bearer token on inspect - masks client secrets on inspect - overrides module configuration - masks tokens on inspect - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files - .agent - caches the agent - acts like a Sawyer agent - content type - sets a default Content-Type header - fixes % bug - authentication - when token authenticated - makes authenticated calls - fetches and memoizes login - with module level config - sets bearer token with .configure - sets basic auth creds with module methods - sets oauth token with module methods - sets oauth token with .configure - sets oauth application creds with .configure - sets basic auth creds with .configure - sets bearer token with module method - sets oauth token with module methods - when application authenticated - makes authenticated calls - when basic authenticated - makes authenticated calls - when bearer authenticated - makes authenticated calls - with class level config - sets oauth token with module methods - sets basic auth creds with .configure - sets basic auth creds with instance methods - sets oauth token with .configure - sets oauth token with instance methods - sets oauth application creds with .configure +Octokit::Client::Refs + .ref + returns a tags ref + .refs + returns all tag refs + returns all refs + with ref + .delete_ref + deletes an existing ref + .update_ref + updates a ref + .create_ref + creates a ref + .update_branch + updates a branch + .delete_branch + deletes an existing branch + .create_ref + does not duplicate refs/ in ref parameter + prepends refs/ to the ref parameter Octokit::Client::Contents + .update_contents + does not add new lines + updates repository contents at a path .create_contents - creates repository contents at a path creates contents from file path does not add new lines + creates repository contents at a path creates contents from File object creates contents from Tempfile object - .contents - returns the contents of a file - .delete_contents - deletes repository contents at a path - .update_contents - does not add new lines - updates repository contents at a path .archive_link returns the headers of the request .readme returns the default readme + .contents + returns the contents of a file + .delete_contents + deletes repository contents at a path -Octokit::Client::Objects - .tree - gets a tree - gets a tree recursively - .create_tree - creates a tree - .tag - returns a tag - .create_blob - creates a blob - .create_tag - creates a tag - .blob - returns a blob +Octokit::EnterpriseAdminClient::AdminStats + .admin_hooks_stats + returns only hooks-related stats + .admin_pages_stats + returns only pages-related stats + .admin_users_stats + returns only user-related stats + .admin_stats + returns all available enterprise stats + .admin_organization_stats + returns only organization-related stats + .admin_milestones_stats + returns only milestone-related stats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_repository_stats + returns only repository-related stats + .admin_gists_stats + returns only gist-related stats + .admin_comments_stats + returns only comment-related stats + .admin_issues_stats + returns only issue-related stats -Octokit::Client::Emojis - .emojis - returns all github emojis +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::Gist + when passed a string ID + renders id as string + sets the gist ID + sets the url + when passed a Integer ID + sets the url + renders id as string + sets the gist ID as a string + when given a URL + sets the id -Finished in 5 minutes 0 seconds (files took 8.04 seconds to load) +Finished in 46.86 seconds (files took 1.65 seconds to load) 823 examples, 0 failures -Randomized with seed 14139 +Randomized with seed 21499 Coverage report generated for RSpec to /build/ruby-octokit-4.20.0/coverage. 7281 / 7332 LOC (99.3%) covered. @@ -2890,12 +2910,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/161513/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/161513/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/1188977 and its subdirectories -I: Current time: Thu Apr 13 22:38:27 -12 2023 -I: pbuilder-time-stamp: 1681468707 +I: removing directory /srv/workspace/pbuilder/161513 and its subdirectories +I: Current time: Fri May 17 07:02:56 +14 2024 +I: pbuilder-time-stamp: 1715878976