Diff of the two buildlogs: -- --- b1/build.log 2021-07-22 05:34:06.697628822 +0000 +++ b2/build.log 2021-07-22 05:37:18.954430641 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 21 17:30:57 -12 2021 -I: pbuilder-time-stamp: 1626931857 +I: Current time: Thu Aug 25 01:57:10 +14 2022 +I: pbuilder-time-stamp: 1661342230 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./ruby-octokit_4.17.0-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.FGhrdrMy/trustedkeys.kbx': General error -gpgv: Signature made Fri Mar 20 07:23:43 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.S3u9B6Wi/trustedkeys.kbx': General error +gpgv: Signature made Sat Mar 21 09:23:43 2020 +14 gpgv: using RSA key 6C9D10484A9AE4CC385F7C71823E967606C34B96 gpgv: issuer "utkarsh@debian.org" gpgv: Can't check signature: No public key @@ -27,135 +27,169 @@ dpkg-source: info: unpacking ruby-octokit_4.17.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10219/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9832/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/9832/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9832/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='10219' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=9832 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/tmp.fPyzDNxQeY/pbuilderrc_x7k8 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.fPyzDNxQeY/b1 --logfile b1/build.log ruby-octokit_4.17.0-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.fPyzDNxQeY/pbuilderrc_32LK --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.fPyzDNxQeY/b2 --logfile b2/build.log --extrapackages usrmerge ruby-octokit_4.17.0-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 21:03:48 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 21:03:48 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Feb 7 02:38 more - -rwsr-xr-x 1 root root 51360 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 14496 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 19 21:24 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Feb 7 02:38 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/10219/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Feb 8 2021 more + -rwsr-xr-x 1 root root 51360 Feb 8 2021 mount + -rwxr-xr-x 1 root root 14496 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 25 01:57 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 24 05:48 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Feb 8 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/9832/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -373,7 +407,7 @@ Get: 166 http://deb.debian.org/debian bullseye/main arm64 ruby-sawyer all 0.8.2-1 [10.3 kB] Get: 167 http://deb.debian.org/debian bullseye/main arm64 ruby-vcr all 6.0.0+really5.0.0-1 [53.2 kB] Get: 168 http://deb.debian.org/debian bullseye/main arm64 ruby-webmock all 3.8.3-1 [64.3 kB] -Fetched 45.3 MB in 1s (36.6 MB/s) +Fetched 45.3 MB in 1s (34.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -1069,8 +1103,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (1453 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 28102 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-octokit-4.17.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.17.0-2_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-octokit-4.17.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.17.0-2_source.changes dpkg-buildpackage: info: source package ruby-octokit dpkg-buildpackage: info: source version 4.17.0-2 dpkg-buildpackage: info: source distribution unstable @@ -1208,1565 +1279,1565 @@ RUBYLIB=/build/ruby-octokit-4.17.0/debian/ruby-octokit/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-octokit-4.17.0/debian/ruby-octokit/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/aarch64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 21030 - -Octokit::EnterpriseAdminClient::Users - .rename_user - rename a user - .promote - promotes an ordinary user to a site administrator - .unsuspend - unsuspends a user - .suspend - suspends a user - .delete_impersonation_token - deletes an impersonation token as a user - .create_impersonation_token - creates an impersonation token as a user - .create_user - creates a new user - .delete_user - deletes a user - .list_all_keys - lists all public keys - .delete_key - deletes a public keys - .demote - demotes a site administrator to an ordinary user - -Octokit::Client::Checks - .update_check_run - updates the check run - returns the check run - .create_check_run - creates a check run - returns the check run - .rerequest_check_suite - requests the check suite again - .check_run - returns the check run - .check_suite - returns the check suite - .check_suites_for_ref - filters by check name - returns check suites for a tag - returns check suites for a commit - returns check suites for a branch - .create_check_suite - creates a check suite - returns the check suite - .check_runs_for_check_suite - returns check runs for a check suite - filters by status - .check_runs_for_ref - returns check runs for a branch - returns check runs for a tag - filters by status - returns check runs for a commit - .set_check_suite_preferences - sets check suite preferences - .check_run_annotations - returns annotations for the check run - -Octokit::Client - #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 - 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 - -Octokit::Organization - .path - with id - returns id api path - with name - returns name api path - -Octokit::Repository - when passed a hash with invalid repo - raises ArgumentError - when passed a boolean false - false raises ArgumentError - self.path - returns the api path - when passed a Repo - sets the repository name and username - .path - with repository id - returns theu url path - with named repository - returns the url path - when passed a string containg a slash - sets the repository name and username - responds to repo and user - renders url as string - renders slug as string - when passed a hash with a repo that contains 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 an integer - sets the repository id - when passed nil - raises ArgumentError - when passed a string with more than 1 slash - raises ArgumentError - when passed a string without a slash - raises ArgumentError - 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 a boolean true - raises ArgumentError - when passed a hash with a username that contains a slash - raises ArgumentError - when passed a hash - sets the repository name and username +Randomized with seed 15031 -Octokit::Client::Notifications - .mark_repository_notifications_as_read - returns true when notifications for a repo are marked as read - .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 - .update_thread_subscription - updates a thread subscription - .delete_thread_subscription - returns true with successful thread deletion - .repository_notifications - lists all notifications for a repository - .notifications - lists the notifications for the current user +Octokit::Client::PubSubHubbub + .unsubscribe + unsubscribes from pull events + unsubscribe_service_hook + unsubscribes to stop receiving events on specified topic + .subscribe + subscribes to pull events + raises an error when topic is not recognized + .subscribe_service_hook + encodes URL parameters + subscribes to pull event on specified topic Octokit::Client::Objects - .tag - returns a tag - .create_tree - creates a tree + .tree + gets a tree + gets a tree recursively .create_blob creates a blob + .create_tree + creates a tree .create_tag creates a tag + .tag + returns a tag .blob returns a blob - .tree - gets a tree recursively - gets a tree -Octokit::Client::SourceImport - pre deprecation - .start_source_import - provides deprecation warning - post deprecation - .source_import_progress - returns the progress of the source import - .source_import_large_files - lists the source imports large files - .map_source_import_commit_author - updates the commit authors identity - .cancel_source_import - cancels the source import - .source_import_commit_authors - lists the source imports commit authors - .update_source_import - restarts the source import - .start_source_import - starts a source import - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import +Octokit::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization -Octokit::Client::Milestones - .list_milestones - lists milestones belonging to repository using id of repository - lists milestones belonging to repository - with milestone - .create_milestone - creates a milestone - .delete_milestone - deletes a milestone from a repository - .milestone - gets a single milestone belonging to repository - .update_milestone - updates a milestone +Octokit::Client::Stats + .participation_stats + returns the owner and contributor participation stats + .contributors_stats + returns contributors and their contribution stats + with cold graph cache + .punch_card_stats + retries + returns commit count by hour punch card stats + .participation_stats + returns the owner and contributor participation stats + retries + .code_frequency_stats + returns the code frequency stats + retries + .commit_activity_stats + returns the commit activity stats + retries + .contributors_stats + retries + returns nil on timeout + returns contributors and their contribution stats + .commit_activity_stats + returns the commit activity stats + with empty repo + .contributors_stats + returns nil when statistics are not ready + returns nil on timeout + doesn't retry when GitHub returns 204 + returns [] when GitHub returns 204 + .punch_card_stats + returns commit count by hour punch card stats + .code_frequency_stats + returns the code frequency stats + +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .upgrade + upgrades the Enterprise installation + .upload_license + uploads a license for the Enterprise installation + .edit_settings + edits the Enterprise settings + .maintenance_status + returns information about the Enterprise maintenance status + .add_authorized_key + adds a new authorized SSH keys (via a File handler) + adds a new authorized SSH keys (via a file path) + adds a new authorized SSH keys (via a string contents) + .start_configuration + starts a configuration process for the Enterprise installation + .settings + returns information about the Enterprise settings + .set_maintenance_status + enables the Enterprise maintenance mode + .authorized_keys + gets the authorized SSH keys + .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) + .config_status + returns information about the installation + +Octokit::Client::Apps + .find_repository_installation + allows auto_pagination + works for GitHub Enterprise installs + returns installation for an repository + with app installation + with repository + .add_repository_to_integration_installation + adds the repository to the installation + with installed repository on installation + .remove_repository_from_integration_installation + removes the repository from the installation + .remove_repository_from_app_installation + removes the repository from the installation + .add_repository_to_app_installation + adds the repository to the installation + .create_integration_installation_access_token + creates an access token for the installation + .find_installation_repositories_for_user + returns repositories for a user + works for GitHub Enterprise installs + allows auto_pagination + .create_app_installation_access_token + works for GitHub Enterprise installs + creates an access token for the installation + with repository on GitHub Enterprise + .remove_repository_from_app_installation + works for GitHub Enterprise installs + .add_repository_to_app_installation + works for GitHub Enterprise installs + with app installation access token + .list_app_installation_repositories + allows auto_pagination + lists the installations repositories + works for GitHub Enterprise installs + .list_integration_installation_repositories + lists the installations repositories + .installation + works for GitHub Enterprise installs + returns the installation + .delete_installation + deletes an installation + .find_integration_installations + returns installations for an integration + .find_user_installation + works for GitHub Enterprise installs + returns installation for a user + allows auto_pagination + .find_user_installations + works for GitHub Enterprise installs + allows auto_pagination + returns installations for a user + .find_app_installations + returns installations for an app + works for GitHub Enterprise installs + .find_organization_installation + returns installation for an organization + allows auto_pagination + works for GitHub Enterprise installs Octokit::Client::Emojis .emojis returns all github emojis -Octokit::Gist - when passed a Integer ID - sets the gist ID as a string - sets the url - renders id as string - when passed a string ID - sets the url - sets the gist ID - renders id as string - when given a URL - sets the id - -Octokit::Client::CommunityProfile - .community_profile - returns community profile metrics for a repository - -Octokit::Client::Organizations - public org members - .unpublicize_membership - unpublicizes membership - .publicize_membership - publicizes membership - .organization_public_member? - checks publicized org membership - .organization_members - returns all public members of an organization - .organization_memberships - returns all organization memberships for the user - .organization - returns an organization - 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 - .add_team_membership - invites a user to a team - .organization_invitations - lists pending organization invitations - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - .remove_organization_member - removes a member from an organization - .organization_member? - checks organization membership - .migrations - starts a migration for an organization - unlocks a migrated repository - gets the status of a migration - downloads a migration archive - lists migrations for an organization - .team_membership - gets a user's team membership - .update_organization - updates an organization - .organization_repositories - returns all public repositories for an organization - .organization_teams - returns all teams for an organization - .remove_outside_collaborator - removes the outside collaborator from an organization - .organization_membership - returns an organization membership - returns an organization membership for a given user by the orgs id - returns an organization membership for a given user - .organizations - returns all organizations for the authenticated user - returns all organizations for a user - .outside_collaborators - lists outside collaborators for an organization - .all_organizations - paginates organizations on GitHub - .organization_public_members - lists public members - .child_teams - returns all child teams for the team - .update_organization_membership - updates an organization membership - adds or updates an organization membership for a given user - .remove_organization_membership - removes an organization membership for a given user - .user_teams - lists all teams for the authenticated user - .remove_team_membership - removes a user's membership for a team - Octokit::Client::Deployments with ref .create_deployment creates a deployment with a payload creates a deployment with deployment - .create_deployment_status - creates a deployment status .deployment_statuses lists deployment statuses .deployment gets a single deployment + .create_deployment_status + creates a deployment status .deployments lists deployments +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit + +Octokit::Client::Contents + .create_contents + creates contents from File object + creates repository contents at a path + creates contents from Tempfile object + does not add new lines + creates contents from file path + .archive_link + returns the headers of the request + .delete_contents + deletes repository contents at a path + .update_contents + updates repository contents at a path + does not add new lines + .contents + returns the contents of a file + .readme + returns the default readme + +Octokit::RateLimit + .from_response + returns a positive rate limit for Enterprise + parses rate limit info from response headers + handles resets_in time in past + handles nil responses + +Octokit::Client::Events + .organization_events + returns all events for an organization + .repo_issue_events + lists issue events for a repository + .issue_event + lists issue events for a repository + .repository_network_events + returns events for a repository's network + .received_public_events + returns public user received events + .repository_events + returns events for a repository + .user_events + returns all user events + .organization_public_events + returns an organization's public events + .received_events + returns all user received events + .issue_events + lists issue events for a repository + .public_events + returns all public events + .user_public_events + returns public events performed by a user + +Octokit::Client::Feeds + .feeds + when authenticated with oauth token + returns the authenticated users feeds + when authenticated with basic auth + returns private feeds + when unauthenticated + returns the public feeds list + .feed + returns parsed feed data + +Octokit::Client::Pages + .pages + lists page information + .list_pages_builds + lists information about all the page builds + .pages_build + lists a specific page build + .latest_pages_build + lists information about the latest page build + .request_page_build + requests a build for the latest revision + +Octokit::EnterpriseAdminClient::AdminStats + .admin_organization_stats + returns only organization-related stats + .admin_users_stats + returns only user-related stats + .admin_repository_stats + returns only repository-related stats + .admin_stats + returns all available enterprise stats + .admin_milestones_stats + returns only milestone-related stats + .admin_issues_stats + returns only issue-related stats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_comments_stats + returns only comment-related stats + .admin_hooks_stats + returns only hooks-related stats + .admin_gists_stats + returns only gist-related stats + .admin_pages_stats + returns only pages-related stats + Octokit::Client::Labels - .add_label - adds a label with default color - adds a label with a color .delete_label! deletes a label from the repository .lables_for_milestone returns all labels for a repository + with label + .update_label + updates a label with a new color + .labels + returns labels + .label + returns a single label + .add_label + adds a label with default color + adds a label with a color with issue - .remove_label - removes a label from the specified issue - .add_labels_to_an_issue - adds labels to a given issue - .replace_all_labels - replaces all labels for an issue .labels_for_issue returns all labels for a given issue .remove_all_labels removes all labels from the specified issue - .labels - returns labels - .label - returns a single label - with label - .update_label - updates a label with a new color + .remove_label + removes a label from the specified issue + .replace_all_labels + replaces all labels for an issue + .add_labels_to_an_issue + adds labels to a given issue -Octokit::Client::Pages - .list_pages_builds - lists information about all the page builds - .pages_build - lists a specific page build - .latest_pages_build - lists information about the latest page build - .pages - lists page information - .request_page_build - requests a build for the latest revision +Octokit::Client::Gitignore + .gitignore_template + returns the ruby gitignore template + .gitignore_templates + returns all gitignore templates -Octokit::Client::Markdown - .markdown - renders markdown +Octokit::Client::Repositories + .subscription + returns a repository subscription + .edit_deploy_key + modifies a deploy key + .check_assignee + checks to see if a particular user is an assignee for a repository + .branches + returns a repository's branches + returns a single branch + .repositories + returns a user's repositories + returns authenticated user's repositories + .all_repositories + returns all repositories on github + .update_subscription + updates a repository subscription + .repository + returns the repository, including topics + returns the matching repository + .set_public + sets a repository public + .contributors + returns repository contributors excluding anonymous + returns repository contributors + .repository? + returns false if the repository has more than one slash + returns false if the repository has an invalid format + returns true if the repository exists + returns false if the repository doesn't exist + .watch + watches a repository + .deploy_key + returns a specific deploy key for a repo + .unwatch + unwatches a repository + .set_private + sets a repository private + .fork + forks a repository + .delete_subscription + returns true when repo subscription deleted + .subscribers + lists all the users watching the repository + .network + returns a repository's network + .stargazers + returns all repository stargazers + with 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 + .remove_collaborator + removes a repository collaborators + .repository_teams + returns all repository teams + .create_repository + creates a repository + .delete_repository + deletes a repository + .deploy_keys + returns a repository's deploy keys + .update_repository + updates the matching repository + .add_collaborator + adds a repository collaborators + .branch_protection + returns nil for an unprotected branch + with protected branch + returns branch protection summary + .topics + returns repository topics + .replace_all_topics + replaces all topics for a repository + .collaborator? + checks if a user is a repository collaborator + .add_deploy_key + adds a repository deploy keys + .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 + .assignees + lists all the available assignees (owner + collaborators) + .tags + returns a repository's tags + .collaborators + returns a repository's collaborators + .languages + returns a repository's languages + .transfer_repository + repository transfer from myself to my organization + with repository + with protected branch + .unprotect_branch + unprotects a single branch + .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 + .remove_deploy_key + removes a repository deploy keys + .create_repository + creates a repository for an organization + creates a repository for an organization by ID + .watchers + returns all repository watchers + .unstar + unstars a repository + .star + stars a repository + +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit + +Octokit::Client::Reviews + .pull_request_review_comments + returns all comments for a single review + with repository + with pull request + with pending pull request review + .submit_pull_request_review + submits a pending pull request review + .create_pull_request_review + creates a pull request review + .delete_pull_request_review + deletes a pending pull request review + 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 + .request_pull_request_review + requests a new pull request review from a user + requests a new pull request review from a team + .create_pull_request_review + creates a pull request review with comments + .pull_request_review + returns a single pull request review + with pull request review + .update_pull_request_review + updates the review summary comment with new text + .pull_request_reviews + returns a list of all pull request reviews + .dismiss_pull_request_review + dismisses a request for change pull request review + +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 issue + with issue comment + .create_issue_comment_reaction + creates a reaction + .issue_comment_reactions + returns an Array of reactions + .issue_reactions + returns an Array of reactions + with reaction + .delete_reaction + deletes the reaction + .create_issue_reaction + creates a reaction + with commit comment + .create_commit_comment_reaction + creates a reaction + .commit_comment_reactions + returns an Array of reactions + +Octokit::Client::Milestones + .list_milestones + lists milestones belonging to repository + lists milestones belonging to repository using id of 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::EnterpriseManagementConsoleClient module configuration inherits Octokit::Client +Octokit::Client::CommunityProfile + .community_profile + returns community profile metrics for a repository + Octokit::Client - knows the password delivery mechanism when needs OTP knows the difference between unauthorized and needs OTP - .get - handles headers - handles query params - .root - passes app creds in the query string - fetches the API root - rels parsing - handles git@github ssh URLs + knows the password delivery mechanism when needs OTP + content type + fixes % bug + sets a default Content-Type header error handling - handles an error response with an array body - exposes errors array - raises on 500 - raises on unknown client errors - raises on 404 - raises on unknown server errors - handles documentation URLs in error messages includes an error summary - knows the difference between different kinds of forbidden + exposes the response status code exposes the response body + raises on unknown client errors + exposes errors array + handles documentation URLs in error messages includes a message - includes an error + raises on unknown server errors exposes the response headers - exposes the response status code - content type - fixes % bug - sets a default Content-Type header - auto pagination - sets headers for all pages - accepts a block for custom result concatination - fetches all the pages + knows the difference between different kinds of forbidden + raises on 404 + handles an error response with an array body + includes an error + raises on 500 + module call shortcut + has no method collisions + uniquely separates method missing calls + when making requests + sets an ssl verify => false + sets a default user agent + ensures ssl verify mode is set to default when no override provided + sets an ssl verify => true + sets an ssl verify mode + sets a proxy server + sets a custom user agent + no sets an ssl verify + allows Accept'ing another media type + Accepts application/vnd.github.v3+json by default + passes along request headers for POST + omits app creds in query params for basic requests + adds app creds in query params to anonymous requests + omits app creds in query params for token requests + .root + passes app creds in the query string + fetches the API root .agent acts like a Sawyer agent caches the agent - .last_response - caches the last agent response - .head - handles headers - handles query params + rels parsing + handles git@github ssh URLs module configuration inherits the module configuration with class level configuration + masks bearer token on inspect masks client secrets on inspect + masks tokens on inspect + masks passwords on inspect overrides module configuration can set configuration after initialization - masks passwords on inspect - masks bearer token on inspect - masks tokens on inspect with .netrc - can read .netrc files can read non-standard API endpoint creds from .netrc - .as_app - uses preconfigured client and secret - duplicates the client - uses client and secret as Basic auth - requires a client and secret - makes authenticated requests - when making requests - omits app creds in query params for token requests - adds app creds in query params to anonymous requests - no sets an ssl verify - sets a proxy server - omits app creds in query params for basic requests - sets an ssl verify => true - Accepts application/vnd.github.v3+json by default - sets a default user agent - passes along request headers for POST - sets an ssl verify => false - ensures ssl verify mode is set to default when no override provided - sets a custom user agent - allows Accept'ing another media type - sets an ssl verify mode + can read .netrc files + .last_response + caches the last agent response + .head + handles headers + handles query params authentication - with class level config - sets basic auth creds with .configure + with module level config + sets bearer token with module method sets oauth token with module methods sets oauth token with .configure + sets oauth token with module methods sets oauth application creds with .configure - sets oauth token with instance methods - sets basic auth creds with instance methods - when basic authenticated + sets basic auth creds with module methods + sets bearer token with .configure + sets basic auth creds with .configure + when bearer authenticated makes authenticated calls when token authenticated makes authenticated calls fetches and memoizes login - when application authenticated + when basic authenticated makes authenticated calls - with module level config - sets oauth token with module methods + with class level config + sets oauth token with instance methods sets oauth application creds with .configure sets oauth token with module methods - sets oauth token with .configure sets basic auth creds with .configure - sets basic auth creds with module methods - sets bearer token with module method - sets bearer token with .configure - when bearer authenticated + sets basic auth creds with instance methods + sets oauth token with .configure + when application authenticated makes authenticated calls - module call shortcut - has no method collisions - uniquely separates method missing calls + .as_app + requires a client and secret + uses client and secret as Basic auth + uses preconfigured client and secret + makes authenticated requests + duplicates the client + .get + handles headers + handles query params + auto pagination + fetches all the pages + sets headers for all pages + accepts a block for custom result concatination redirect handling - follows at most 3 consecutive redirects follows redirect for 302 response - follows redirects for supported HTTP methods - follows redirect for 307 response - follows redirect for 301 response keeps authentication info when redirecting to the same host - drops authentication info when redirecting to a different host does not change HTTP method when following a redirect + follows redirect for 301 response + follows redirect for 307 response + follows redirects for supported HTTP methods + follows at most 3 consecutive redirects + drops authentication info when redirecting to a different host -Octokit::Client::Statuses - .statuses - lists commit statuses - with repository - .create_status - creates status - .combined_status - gets a combined status +Octokit::Client::Marketplace + .plan_for_account + returns the plan for a given account + .list_accounts_for_plan + returns accounts for a given plan + .list_plans + returns plans for a marketplace listing + .marketplace_purchases + returns marketplace purchases for user Octokit::Client::RepositoryInvitations with repository - .repository_invitations - lists the repositories outstanding 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 + .repository_invitations + lists the repositories outstanding invitations + .invite_user_to_repository + invites a user to a repository with repository invitation - .delete_repository_invitation - deletes the repository invitation .update_repository_invitation updates the repository invitation + .delete_repository_invitation + deletes the repository invitation .user_repository_invitations lists the users repository invitations - .invite_user_to_repository - invites a user to a repository -Octokit::Client::Authorizations - .reset_application_authorization - resets a token - works in Enterprise mode - .update_authorization - updates and existing authorization - .revoke_application_authorization - deletes an application authorization - works in Enterprise mode - .scopes - checks the scopes on a one-off token - checks the scopes on the current token - .create_authorization - with :idempotent => true - returns an existing API authorization if one already exists - creates a new authorization with options - creates a new authorization with fingerprint - without :idempotent => true - creates a new authorization with options - creates a new API authorization each time - creates an API authorization - .check_application_authorization - checks an application authorization - works in Enterprise mode - .authorize_url - requires client_id and client_secret - with passed client credentials - returns the authorize_url - with passed options hash - escapes values before adding to query params - appends options hash as query params - with preconfigured client credentials - returns the authorize_url - .authorization - returns a single authorization - .revoke_all_application_authorizations - returns false - .authorizations - lists existing authorizations - .delete_authorization - deletes an existing authorization +Octokit::Client::Issues + .list_assignees + returns available assignees for a repository + .list_issues + returns issues for a repository + returns dashboard issues for the authenticated user + with repository + .create_issue + creates an issue + creates an issue with delimited labels + creates an issue without body argument + creates an issue with labels array + with issue + .issue + returns a full issue + returns an issue + with assignees + .remove_assignees + removes assignees + with issue comment + .update_comment + updates an existing comment + .delete_comment + deletes an existing comment + .update_issue + updates an issue without positional args + updates an issue + .add_comment + adds a comment + with closed issue + .reopen_issue + reopens an issue + .issue_timeline + returns an issue timeline + .close_issue + closes an issue + with locked issue + .unlock_issue + unlocks an issue + .lock_issue + locks an issue + .issue_comments + returns comments for an issue + .user_issues + returns issues for the authenticated user for owned and member repos + .org_issues + returns issues for the organization for the authenticated user + .issue_comment + returns a single comment for an issue + .repository_issues_comments + returns comments for all issues in a repository + .add_assignees + adds assignees -Octokit::Client::PullRequests - .pull_request_comments - returns the comments for a pull request - .create_pull_request_for_issue - creates a pull request and attach it to an existing issue - .merge_pull_request - merges the pull request - methods that require a new pull - .create_pull_request - creates a pull request - without body argument - creates a pull request without body argument - .pull_merged? - returns whether the pull request has been merged - .close_pull_request - closes a pull request - .update_pull_request - updates a pull request - methods requiring a pull request comment - .create_pull_request_comment - creates a new comment on a pull request - .create_pull_request_comment_reply - creates a new reply to a pull request comment - .delete_pull_request_comment - deletes a pull request comment - .update_pull_request_comment - updates a pull request comment - .pull_request - returns a pull request - .pull_requests_comments - returns all comments on all pull requests - .pull_request_comment - returns a comment on a pull request - .pull_request_commits - returns the commits for a pull request - .pull_request_files - lists files for a pull request - .pull_requests - lists all pull requests - lists all pull requests with state option +Octokit::Client::CommitComments + .commit_comment + returns a single commit comment + .commit_comments + returns a list of comments for a specific commit + with commit comment + .create_commit_comment + creates a commit comment + .update_commit_comment + updates a commit comment + .delete_commit_comment + deletes a commit comment + .list_commit_comments + returns a list of all commit comments -Octokit::Client::Commits - .compare - returns a comparison - .commits_on - handles the sha option - errors if the date is invalid - handles branch or sha argument - returns all commits on the specified date - .commits - handles the sha option - returns all commits - handles branch or sha argument - .commits_between - handles the sha option - returns all commits until the specified date - handles branch or sha argument - errors if the date is invalid - .commits_before - handles branch or sha argument - errors if the date is invalid - handles the sha option - returns all commits until the specified date - .commit - returns a commit - .merge - merges a branch into another - .commits_since - handles the sha option - handles branch or sha argument - errors if the date is invalid - returns all commits since the specified date - .create_commit - creates a commit - .git_commit - returns a detailed git commit +Octokit::Client::Meta + .github_meta + returns meta information about github -Octokit::Client::Projects - .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 - .create_project - returns the newly created project - with repository - with project - .delete_project - returns the result of deleting a project - .update_project - updates the project name and body then returns the updated project - .project - returns a project - .project_columns - returns the columns for a project - .create_project_column - returns the newly created project column - with project column - .column_cards - returns a list of the cards in a project column - .update_project_column - updates the project column and returns the updated column - .delete_project_column - deletes the project column - .create_project_card - creates a new card with a note - .move_project_column - moves the project column - with project card - .delete_project_card - deletes the project card - .update_project_card - updates the project card - .move_project_card - moves the project card - .project_card - returns a project card by id - .project_column - returns a project column by id +Octokit::Client::Search + .search_commits + searches commits + .search_repositories + searches repositories + .search_code + searches code + .search_issues + searches issues + .search_users + utilizes auto_pagination + searches users -Octokit::Client::Contents - .create_contents - creates repository contents at a path - creates contents from File object - creates contents from Tempfile object - does not add new lines - creates contents from file path - .delete_contents - deletes repository contents at a path - .archive_link - returns the headers of the request - .update_contents - does not add new lines - updates repository contents at a path - .readme - returns the default readme - .contents - returns the contents of a file +Octokit::Gist + when passed a Integer ID + sets the url + sets the gist ID as a string + renders id as string + when passed a string ID + sets the url + renders id as string + sets the gist ID + when given a URL + sets the id Octokit::EnterpriseAdminClient::SearchIndexing - .index_user + .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 to be indexed + queues api-padawan/*/issues to be indexed + .index_repository behaves like single target queue identifies the target being indexed in the return message - .index_repository behaves like search index queuer with invalid target raises Octokit::NotFound with a valid target queues api-playground/api-sandbox to be indexed + .index_repository_issues 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 + queues api-playground/api-sandbox/issues to be indexed with invalid target raises Octokit::NotFound - .index_users_repositories_issues + .index_users_repositories_code + 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 - behaves like multiple target queue - identifies targets that were queued for index in the return message - .index_users_repositories_code + queues api-padawan/*/code to be indexed + .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 - with a valid target - queues api-padawan/*/code to be indexed - .index_repository_code + .index_user behaves like single target queue identifies the target being indexed in the return message behaves like search index queuer with invalid target raises Octokit::NotFound with a valid target - queues api-playground/api-sandbox/code to be indexed - .index_repository_issues + queues api-padawan to be indexed + .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/issues to be indexed + queues api-playground/api-sandbox/code 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::CommitComments - .commit_comment - returns a single commit comment - .list_commit_comments - returns a list of all commit comments - .commit_comments - returns a list of comments for a specific commit - with commit comment - .create_commit_comment - creates a commit comment - .update_commit_comment - updates a commit comment - .delete_commit_comment - deletes a commit comment -Octokit::Client::Search - .search_users - searches users - utilizes auto_pagination - .search_commits - searches commits - .search_repositories - searches repositories - .search_code - searches code - .search_issues - searches issues +Octokit::Client::Say + .say + returns an ASCII octocat + returns an ASCII octocat with custom text -Octokit::Client::Gitignore - .gitignore_templates - returns all gitignore templates - .gitignore_template - returns the ruby gitignore template +Octokit::Client::Projects + .create_org_project + returns the new org project + .org_projects + returns the projects for an organization + .create_project + returns the newly created project + 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 + with project column + with project card + .move_project_card + moves the project card + .project_card + returns a project card by id + .update_project_card + updates the project card + .delete_project_card + deletes the project card + .delete_project_column + deletes the project column + .create_project_card + creates a new card with a note + .project_column + returns a project column by id + .update_project_column + updates the project column and returns the updated column + .move_project_column + moves the project column + .column_cards + returns a list of the cards in a project column + .project_columns + returns the columns for a project + .delete_project + returns the result of deleting a project + .project + returns a project + .projects + returns a list of projects for a repository Octokit::User .path with id returns id api path - with login - returns login api path with no user passed returns default path + with login + returns login api path -Octokit::Client::LegacySearch - .legacy_search_issues - returns matching issues - .legacy_search_repos - returns matching repositories - .legacy_search_users - returns matching username - should not raise URI::InvalidURIError and returns success +Octokit::Organization + .path + with id + returns id api path + with name + returns name 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::Client::SourceImport + pre deprecation + .start_source_import + provides deprecation warning + post deprecation + .source_import_progress + returns the progress of the source import + .source_import_large_files + lists the source imports large files + .map_source_import_commit_author + updates the commit authors identity + .source_import_commit_authors + lists the source imports commit authors + .update_source_import + restarts the source import + .cancel_source_import + cancels the source import + .start_source_import + starts a source import + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + +Octokit::Client::Traffic + .top_referrers + returns the referrers stats for a repository + .top_paths + returns the top path statistics for a repository + .views + returns the views breakdown for a repository + .clones + returns the clone stats for a repository + +Octokit::Client::Notifications + .notifications + lists the notifications for the current user + with thread + with subscription + .thread_subscription + returns a thread subscription + .update_thread_subscription + updates a thread subscription + .delete_thread_subscription + returns true with successful thread deletion + .mark_thread_as_read + marks a thread as read + .thread_notifications + returns notifications for a specific thread + .repository_notifications + lists all notifications for a repository + .mark_repository_notifications_as_read + returns true when notifications for a repo are marked as read + .mark_notifications_as_read + returns true when notifications are marked as read + +Octokit::Client::Users + .validate_credentials + validates username and password + .followers + returns followers for a user + returns the authenticated user's followers + .follows? + checks if the authenticated user follows another + checks if given user is following target user + .emails + returns email addresses + methods requiring an existing @public_key + .remove_key + removes a public key + .add_key + adds a public key + .update_key + updates a public key + .key + returns a public key + .starred? + checks if the authenticated user has starred a repository + .exchange_code_for_token + with application authenticated client + returns the access_token + with credentials passed as parameters by unauthed client + returns the access_token + .following + returns following for a user + returns the authenticated user's following + .starred + not authenticated + gets a user's starred repositories + authenticated + gets a user's starred repositories + gets the authenticated user's starred repositories + .update_user + updates a user profile + .all_users + returns all GitHub users + .unfollow + unfollows a user + .follow + follows a user + .add_email + adds an email address + .user + returns a user + handle [bot] users + returns the authenticated user + .keys + returns public keys for the authenticated user + .remove_email + removes an email address + .user_keys + returns public keys for another 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 + +Octokit::Client + #rate_limit! + makes a web request to check the rate limit + deprecated methods + #rate_limit_remaining + triggers warning and will call remaining on rate_limit + rate_limit_remaining! + triggers warning and will remaining on rate_limit! + #rate_limit + with no last response + makes a response + with last response + checks the rate limit from the last response Octokit::EnterpriseAdminClient::License .license_info returns information about the license -Octokit::Client::Repositories - with repository - .permission_level - returns the permission level a user has on a repository - with protected branch - .unprotect_branch - unprotects a single branch - .protect_branch - protects a single branch - protects a single branch with required_approving_review_count - protects a single branch with required_status_checks - .subscription - returns a repository subscription - .subscribers - lists all the users watching the repository - .watch - watches a repository - .set_public - sets a repository public - .add_deploy_key - adds a repository deploy keys - .check_assignee - checks to see if a particular user is an assignee for a repository - .languages - returns a repository's languages - .tags - returns a repository's tags - .collaborators - returns a repository's collaborators - .branches - returns a repository's branches - returns a single branch - .repositories - returns a user's repositories - returns authenticated user's repositories - .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 - .edit_deploy_key - modifies a deploy key - .fork - forks a repository - with repository - .delete_repository - deletes 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 - .add_collaborator - adds a repository collaborators - .update_repository - updates the matching repository - .create_repository - creates a repository - .topics - returns repository topics - .collaborator? - checks if a user is a repository collaborator - .repository_teams - returns all repository teams - .branch_protection - returns nil for an unprotected branch - with protected branch - returns branch protection summary - .remove_collaborator - removes a repository collaborators - .replace_all_topics - replaces all topics for a repository - .star - stars a repository - .contributors - returns repository contributors excluding anonymous - returns repository contributors - .unwatch - unwatches a repository - .transfer_repository - repository transfer from myself to my organization - .network - returns a repository's network - .repository? - returns false if the repository has an invalid format - returns true if the repository exists - returns false if the repository doesn't exist - returns false if the repository has more than one slash - .stargazers - returns all repository stargazers - .unstar - unstars a repository - .create_repository - creates a repository for an organization - creates a repository for an organization by ID - .watchers - returns all repository watchers - .update_subscription - updates a repository subscription - .deploy_key - returns a specific deploy key for a repo - .delete_subscription - returns true when repo subscription deleted - .assignees - lists all the available assignees (owner + collaborators) - .remove_deploy_key - removes a repository deploy keys - .set_private - sets a repository private - .all_repositories - returns all repositories on github - .repository - returns the repository, including topics - returns the matching repository +Octokit::Client::Authorizations + .delete_authorization + deletes an existing authorization + .reset_application_authorization + resets a token + works in Enterprise mode + .scopes + checks the scopes on the current token + checks the scopes on a one-off token + .revoke_all_application_authorizations + returns false + .authorize_url + requires client_id and client_secret + with passed client credentials + returns the authorize_url + with passed options hash + escapes values before adding to query params + appends options hash as query params + with preconfigured client credentials + returns the authorize_url + .create_authorization + with :idempotent => true + creates a new authorization with options + returns an existing API authorization if one already exists + creates a new authorization with fingerprint + without :idempotent => true + creates a new authorization with options + creates a new API authorization each time + creates an API authorization + .revoke_application_authorization + deletes an application authorization + works in Enterprise mode + .update_authorization + updates and existing authorization + .authorization + returns a single authorization + .check_application_authorization + checks an application authorization + works in Enterprise mode + .authorizations + lists existing authorizations -Octokit::Client::Gists - when authenticated - .delete_gist_comment - deletes a gist comment - .gist_starred? - is not starred - with starred gist - is starred - .delete_gist - deletes an existing gist - .fork_gist - forks an existing gist - .update_gist_comment - updates a gist comment - .create_gist - creates a new gist - .starred_gists - returns the user's starred gists - .gist_forks - lists a gists forks - .star_gist - stars an existing gist - .create_gist_comment - creates a gist comment - .edit_gist - edit an existing gist - .gist_comments - returns the list of gist comments - .gist_commits - lists a gists commits - .gists - returns a list of gists - .unstar_gist - unstars an existing gist - .gist_comment - returns a gist comment - unauthenticated - .public_gists - returns public gists - .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 +Octokit::Client::Organizations + .organization_repositories + returns all public repositories for an organization + .organization_invitations + lists pending organization invitations + 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 + .organization_member? + checks organization membership + .remove_organization_membership + removes an organization membership for a given user + .organization + returns an organization + .convert_to_outside_collaborator + converts an organization member to an outside collaborator + .user_teams + lists all teams for the authenticated user + .migrations + gets the status of a migration + downloads a migration archive + starts a migration for an organization + lists migrations for an organization + unlocks a migrated repository + .remove_team_membership + removes a user's membership for a team + .organization_memberships + returns all organization memberships for the user + .organization_membership + returns an organization membership + returns an organization membership for a given user by the orgs id + returns an organization membership for a given user + .outside_collaborators + lists outside collaborators for an organization + .remove_organization_member + removes a member from an organization + .update_organization_membership + updates an organization membership + adds or updates an organization membership for a given user + public org members + .unpublicize_membership + unpublicizes membership + .publicize_membership + publicizes membership + .organization_public_member? + checks publicized org membership + .add_team_membership + invites a user to a team + .organizations + returns all organizations for a user + returns all organizations for the authenticated user + .remove_outside_collaborator + removes the outside collaborator from an organization + .all_organizations + paginates organizations on GitHub + .team_membership + gets a user's team membership + .organization_members + returns all public members of an organization + .organization_public_members + lists public members + .child_teams + returns all child teams for the team + .update_organization + updates an organization + .organization_teams + returns all teams for an organization -Octokit::Client::PubSubHubbub - unsubscribe_service_hook - unsubscribes to stop receiving events on specified topic - .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 +Octokit::EnterpriseAdminClient + module configuration + inherits Octokit::Client + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc + +Octokit::Client::Licenses + .license + returns a particular license + .licenses + returns all licenses + .repository_license_contents + returns a repository's license file + +Octokit::Client::Markdown + .markdown + renders markdown + +Octokit::Client::Commits + .commits_between + errors if the date is invalid + returns all commits until the specified date + handles branch or sha argument + handles the sha option + .commits_before + handles branch or sha argument + errors if the date is invalid + handles the sha option + returns all commits until the specified date + .commits_since + returns all commits since the specified date + handles the sha option + errors if the date is invalid + handles branch or sha argument + .create_commit + creates a commit + .commits + handles branch or sha argument + handles the sha option + returns all commits + .merge + merges a branch into another + .git_commit + returns a detailed git commit + .commit + returns a commit + .compare + returns a comparison + .commits_on + handles the sha option + handles branch or sha argument + errors if the date is invalid + returns all commits on the specified date + +Octokit::Client::Statuses + .combined_status + gets a combined status + .statuses + lists commit statuses + with repository + .create_status + creates status Octokit::Client::Hooks - .parse_payload - parses payload string - .available_hooks - returns all the hooks supported by GitHub with their parameters - .org_hooks - returns an organization's hooks by ID - returns an organization's hooks with repository .hooks returns a repository's hooks with hook + .ping_hook + pings a hook + .hook + returns a repository's single hook + .remove_hook + removes a hook .test_hook tests a hook .edit_hook edits a hook - .ping_hook - pings a hook .create_hook creates a hook - .remove_hook - removes a hook - .hook - returns a repository's single hook + .org_hooks + returns an organization's hooks + returns an organization's hooks by ID + .parse_payload + parses payload string + .available_hooks + returns all the hooks supported by GitHub with their parameters with org hook - .remove_org_hook - removes an org hook - removes an org hook by ID - .ping_org_hook - pings an org hook by ID - pings an org hook .edit_org_hook edits an org hook by ID edits an org hook + .org_hook + returns a single org hook by ID + returns a single org hook + .ping_org_hook + pings an org hook by ID + pings an 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 - returns a single org hook by ID -Octokit::Client::Meta - .github_meta - returns meta information about github +Octokit::Client::Refs + .refs + returns all tag refs + returns all refs + with ref + .create_ref + creates a ref + .update_branch + updates a branch + .delete_ref + deletes an existing ref + .delete_branch + deletes an existing branch + .update_ref + updates a ref + .create_ref + prepends refs/ to the ref parameter + does not duplicate refs/ in ref parameter + .ref + returns a tags ref -Octokit::Client::Downloads - .download - gets a single download - .delete_download - deletes a download - .downloads - lists available downloads +Octokit::Client::Checks + .check_suite + returns the check suite + .set_check_suite_preferences + sets check suite preferences + .rerequest_check_suite + requests the check suite again + .check_runs_for_check_suite + returns check runs for a check suite + filters by status + .check_suites_for_ref + filters by check name + returns check suites for a commit + returns check suites for a branch + returns check suites for a tag + .check_run + returns the check run + .check_runs_for_ref + returns check runs for a branch + returns check runs for a tag + returns check runs for a commit + filters by status + .create_check_suite + creates a check suite + returns the check suite + .update_check_run + returns the check run + updates the check run + .check_run_annotations + returns annotations for the check run + .create_check_run + returns the check run + creates a check run -Octokit::Client::Reviews - .pull_request_reviews - returns a list of all pull request reviews - .pull_request_review - returns a single pull request review - with repository - with pull request - with collaborator - .request_pull_request_review - requests a new pull request review from a team - requests a new 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 - with pending pull request review - .create_pull_request_review - creates a pull request review - .submit_pull_request_review - submits a pending pull request review - .delete_pull_request_review - deletes a pending pull request review - .create_pull_request_review - creates a pull request review with comments - with pull request review - .update_pull_request_review - updates the review summary comment with new text - .dismiss_pull_request_review - dismisses a request for change pull request review - .pull_request_review_comments - returns all comments for a single review +Octokit::Client::Releases + .create_release + creates a release + .delete_release + deletes a release + handling release assets + .upload_release_asset + guesses the content type for an asset + uploads a release asset as file object + uploads a release asset by path + uploads a release asset with a default name + .release_assets + lists assets for a release + .delete_release_asset + deletes a release asset + .update_release_asset + edits a release asset + .release_asset + gets a single release asset + .latest_release + returns the latest release + .releases + lists releases for a repo + .release + gets a single release + .update_release + updates a release + .release_for_tag + returns the release for a tag -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .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) - .upgrade - upgrades the Enterprise installation - .start_configuration - starts a configuration process for the Enterprise installation - .upload_license - uploads a license for the Enterprise installation - .maintenance_status - returns information about the Enterprise maintenance status - .set_maintenance_status - enables the Enterprise maintenance mode - .edit_settings - edits the Enterprise settings - .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) - .authorized_keys - gets the authorized SSH keys - .settings - returns information about the Enterprise settings - .config_status - returns information about the installation +Octokit::Client::PullRequests + .pull_request_comments + returns the comments for a pull request + .pull_request_commits + returns the commits 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 + methods that require a new pull + .pull_merged? + returns whether the pull request has been merged + methods requiring a pull request comment + .create_pull_request_comment_reply + creates a new reply to a pull request comment + .delete_pull_request_comment + deletes a pull request comment + .update_pull_request_comment + updates a pull request comment + .create_pull_request_comment + creates a new comment on a pull request + .pull_request + returns a pull request + .update_pull_request + updates a pull request + .close_pull_request + closes a pull request + .create_pull_request + creates a pull request + without body argument + creates a pull request without body argument + .create_pull_request_for_issue + creates a pull request and attach it to an existing issue + .pull_request_comment + returns a comment on a pull request + .merge_pull_request + merges the pull request -Octokit::Client::Apps - .find_user_installations - allows auto_pagination - works for GitHub Enterprise installs - returns installations for a user - with app installation - with repository - .add_repository_to_integration_installation - adds the repository to the installation - with installed repository on installation - .remove_repository_from_integration_installation - removes the repository from the installation - .remove_repository_from_app_installation - removes the repository from the installation - .add_repository_to_app_installation - adds the repository to the installation - with app installation access token - .list_app_installation_repositories - allows auto_pagination - lists the installations repositories - works for GitHub Enterprise installs - .list_integration_installation_repositories - lists the installations repositories - .delete_installation - deletes an installation - .installation - works for GitHub Enterprise installs - returns the installation - with repository on GitHub Enterprise - .remove_repository_from_app_installation - works for GitHub Enterprise installs - .add_repository_to_app_installation - works for GitHub Enterprise installs - .create_integration_installation_access_token - creates an access token for the installation - .create_app_installation_access_token - creates an access token for the installation - works for GitHub Enterprise installs - .find_installation_repositories_for_user - returns repositories for a user - works for GitHub Enterprise installs - allows auto_pagination - .find_organization_installation - returns installation for an organization - allows auto_pagination - works for GitHub Enterprise installs - .find_repository_installation - works for GitHub Enterprise installs - returns installation for an repository - allows auto_pagination - .find_integration_installations - returns installations for an integration - .find_user_installation - allows auto_pagination - works for GitHub Enterprise installs - returns installation for a user - .find_app_installations - returns installations for an app - works for GitHub Enterprise installs +Octokit::Client::LegacySearch + .legacy_search_users + returns matching username + should not raise URI::InvalidURIError and returns success + .legacy_search_issues + returns matching issues + .legacy_search_repos + returns matching repositories + +Octokit::EnterpriseAdminClient::Users + .rename_user + rename a user + .unsuspend + unsuspends a user + .list_all_keys + lists all public keys + .create_user + creates a new user + .delete_user + deletes a user + .suspend + suspends a user + .promote + promotes an ordinary user to a site administrator + .create_impersonation_token + creates an impersonation token as a user + .demote + demotes a site administrator to an ordinary user + .delete_key + deletes a public keys + .delete_impersonation_token + deletes an impersonation token as a user Octokit sets defaults + .client + returns a fresh client when options are not the same + caches the client when the same options are passed + creates an Octokit::Client .configure + sets the management console endpoint + sets the connection options + sets the default media type + sets the ssl verify mode + sets the client id + sets the api endpoint + sets the password sets the bearer token - sets the middleware - sets the per page + sets the proxy sets the auto paginate - sets the netrc + sets the per page sets the management console password + sets the netrc file + sets the access token sets the web endpoint - sets the proxy - sets the password - sets the client id - sets the connection options + sets the netrc + sets the middleware sets the login - sets the access token - sets the default media type - sets the ssl verify mode - sets the netrc file - sets the api endpoint sets the user agent sets the client secret - sets the management console endpoint - .client - returns a fresh client when options are not the same - caches the client when the same options are passed - creates an Octokit::Client - -Octokit::Client::Traffic - .clones - returns the clone stats for a repository - .top_paths - returns the top path statistics for a repository - .top_referrers - returns the referrers stats for a repository - .views - returns the views breakdown for a repository - -Octokit::EnterpriseAdminClient - module configuration - inherits Octokit::Client - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files -Octokit::Client::Reactions - with repository - with issue - with reaction - .delete_reaction - deletes the reaction - with issue comment - .issue_comment_reactions - returns an Array of reactions - .create_issue_comment_reaction - creates a reaction - .create_issue_reaction - creates a reaction - .issue_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 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 - -Octokit::Client::Refs - .ref - returns a tags ref - .create_ref - prepends refs/ to the ref parameter - does not duplicate refs/ in ref parameter - with ref - .delete_ref - deletes an existing ref - .update_branch - updates a branch - .delete_branch - deletes an existing branch - .create_ref - creates a ref - .update_ref - updates a ref - .refs - returns all refs - returns all tag refs - -Octokit::EnterpriseAdminClient::AdminStats - .admin_comments_stats - returns only comment-related stats - .admin_repository_stats - returns only repository-related stats - .admin_issues_stats - returns only issue-related stats - .admin_hooks_stats - returns only hooks-related stats - .admin_gists_stats - returns only gist-related stats - .admin_users_stats - returns only user-related stats - .admin_organization_stats - returns only organization-related stats - .admin_pages_stats - returns only pages-related stats - .admin_stats - returns all available enterprise stats - .admin_milestones_stats - returns only milestone-related stats - .admin_pull_requests_stats - returns only pull request-related stats - -Octokit::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit - -Octokit::Client::Licenses - .license - returns a particular license - .repository_license_contents - returns a repository's license file - .licenses - returns all licenses +Octokit::Repository + when passed a boolean false + false raises ArgumentError + when passed nil + raises ArgumentError + when passed a hash with invalid username + raises ArgumentError + when passed a Repo + sets the repository name and username + .path + with named repository + returns the url path + with repository id + returns theu url path + when passed a string containg a slash + responds to repo and user + renders slug as string + sets the repository name and username + renders url as string + when passed a hash with a repo that contains a slash + raises ArgumentError + when passed a boolean true + raises ArgumentError + when passed a string with more than 1 slash + raises ArgumentError + when passed a frozen hash + sets the repository name and username + when given a URL + raises InvalidRepository error for unsupported url + parses html urls + parses api urls + sets the repository name and username + when passed an integer + sets the repository id + when passed a hash with a username that contains a slash + raises ArgumentError + self.path + returns the api path + when passed a hash with invalid repo + raises ArgumentError + when passed an invalid path + raises ArgumentError + when passed a hash + sets the repository name and username + when passed a string without a slash + raises ArgumentError -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization +Octokit::Client::Downloads + .downloads + lists available downloads + .download + gets a single download + .delete_download + deletes a download Octokit::Client::ServiceStatus - .github_status_last_message - returns the last human message .github_status returns the current system status + .github_status_last_message + returns the last human message .github_status returns the most recent status messages -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::Client::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 - .contributors_stats - returns contributors and their contribution stats - returns nil on timeout - retries - .commit_activity_stats - returns the commit activity stats - retries - .code_frequency_stats - returns the code frequency stats - retries - .participation_stats - retries - returns the owner and contributor participation stats - .participation_stats - returns the owner and contributor participation stats - .commit_activity_stats - returns the commit activity stats - .contributors_stats - returns contributors and their contribution stats - with empty repo - .contributors_stats - returns [] when GitHub returns 204 - returns nil when statistics are not ready - doesn't retry when GitHub returns 204 - returns nil on timeout - .punch_card_stats - returns commit count by hour punch card stats - -Octokit::Client::Events - .organization_events - returns all events for an organization - .public_events - returns all public events - .repository_network_events - returns events for a repository's network - .repo_issue_events - lists issue events for a repository - .issue_event - lists issue events for a repository - .received_events - returns all user received events - .user_events - returns all user events - .received_public_events - returns public user received events - .organization_public_events - returns an organization's public events - .user_public_events - returns public events performed by a user - .repository_events - returns events for a repository - .issue_events - lists issue events for a repository - -Octokit::Client::Users - .follow - follows a user - .following - returns the authenticated user's following - returns following for a user - methods requiring an existing @public_key - .remove_key - removes a public key - .key - returns a public key - .add_key - adds a public key - .update_key - updates a public key - .subscriptions - not authenticated - returns the repositories a user watches for notifications - authenticated - returns the repositories the authenticated user watches for notifications - returns the repositories a user watches for notifications - .user - returns the authenticated user - returns a user - handle [bot] users - .unfollow - unfollows a user - .update_user - updates a user profile - .user_keys - returns public keys for another user - .remove_email - removes an email address - .emails - returns email addresses - .followers - returns the authenticated user's followers - returns followers for a user - .keys - returns public keys for the authenticated user - .exchange_code_for_token - with application authenticated client - returns the access_token - with credentials passed as parameters by unauthed client - returns the access_token - .add_email - adds an email address - .validate_credentials - validates username and password - .follows? - checks if the authenticated user follows another - checks if given user is following target user - .starred? - checks if the authenticated user has starred a repository - .starred - not authenticated - gets a user's starred repositories - authenticated - gets a user's starred repositories - gets the authenticated user's starred repositories - .all_users - returns all GitHub users - -Octokit::Client::Marketplace - .marketplace_purchases - returns marketplace purchases for user - .plan_for_account - returns the plan for a given account - .list_accounts_for_plan - returns accounts for a given plan - .list_plans - returns plans for a marketplace listing - -Octokit::Client::Say - .say - returns an ASCII octocat - returns an ASCII octocat with custom text - -Octokit::RateLimit - .from_response - handles resets_in time in past - parses rate limit info from response headers - returns a positive rate limit for Enterprise - handles nil responses - -Octokit::Client::Issues - .issue_comment - returns a single comment for an issue - .user_issues - returns issues for the authenticated user for owned and member repos - .list_issues - returns issues for a repository - returns dashboard issues for the authenticated user - .list_assignees - returns available assignees for a repository - with repository - with issue - with assignees - .remove_assignees - removes assignees - with issue comment - .delete_comment - deletes an existing comment - .update_comment - updates an existing comment - .add_comment - adds a comment - .issue_timeline - returns an issue timeline - .lock_issue - locks an issue - .issue - returns an issue - returns a full issue - with closed issue - .reopen_issue - reopens an issue - with locked issue - .unlock_issue - unlocks an issue - .update_issue - updates an issue without positional args - updates an issue - .close_issue - closes an issue - .create_issue - creates an issue - creates an issue without body argument - creates an issue with delimited labels - creates an issue with labels array - .issue_comments - returns comments for an issue - .add_assignees - adds assignees - .org_issues - returns issues for the organization for the authenticated user - .repository_issues_comments - returns comments for all issues in a repository - -Octokit::Client::Releases - .release - gets a single release - .create_release - creates a release - .latest_release - returns the latest release - .release_for_tag - returns the release for a tag - .releases - lists releases for a repo - .update_release - updates a release - .delete_release - deletes a release - handling release assets - .delete_release_asset - deletes a release asset - .release_asset - gets a single release asset - .update_release_asset - edits a release asset - .upload_release_asset - uploads a release asset with a default name - uploads a release asset by path - guesses the content type for an asset - uploads a release asset as file object - .release_assets - lists assets for a release +Octokit::Client::Gists + unauthenticated + .gists + without a username passed + returns a list of gists + with 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_comment + returns a gist comment + .gist_forks + lists a gists forks + .gist_comments + returns the list of gist comments + .gist_commits + lists a gists commits + .star_gist + stars an existing gist + .delete_gist_comment + deletes a gist comment + .gist_starred? + is not starred + with starred gist + is starred + .gists + returns a list of gists + .unstar_gist + unstars an existing gist + .starred_gists + returns the user's starred gists + .fork_gist + forks an existing gist + .edit_gist + edit an existing gist + .create_gist + creates a new gist + .create_gist_comment + creates a gist comment + .delete_gist + deletes an existing gist + .update_gist_comment + updates a gist comment -Finished in 1 minute 41.16 seconds (files took 2.85 seconds to load) +Finished in 1 minute 40.63 seconds (files took 2.54 seconds to load) 779 examples, 0 failures -Randomized with seed 21030 +Randomized with seed 15031 Coverage report generated for RSpec to /build/ruby-octokit-4.17.0/coverage. 6750 / 6800 LOC (99.26%) covered. [Coveralls] Outside the CI environment, not sending data. @@ -2800,12 +2871,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/9832/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9832/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/10219 and its subdirectories -I: Current time: Wed Jul 21 17:34:05 -12 2021 -I: pbuilder-time-stamp: 1626932045 +I: removing directory /srv/workspace/pbuilder/9832 and its subdirectories +I: Current time: Thu Aug 25 02:00:16 +14 2022 +I: pbuilder-time-stamp: 1661342416