Diff of the two buildlogs: -- --- b1/build.log 2023-08-06 23:39:18.919986983 +0000 +++ b2/build.log 2023-08-06 23:41:41.243204240 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 6 11:37:53 -12 2023 -I: pbuilder-time-stamp: 1691365073 +I: Current time: Sun Sep 8 20:02:41 +14 2024 +I: pbuilder-time-stamp: 1725775361 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,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.lGowhVrq/trustedkeys.kbx': General error -gpgv: Signature made Fri Mar 20 07:23:43 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.pFHZ3skK/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 @@ -28,135 +28,166 @@ 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/898669/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3774599/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 8 20:03 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3774599/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3774599/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ac3f96a19ae34326b5958ee9c7dc5a84' - 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='898669' - PS1='# ' - PS2='> ' + INVOCATION_ID=b61e7924dfff4b21abfb657ea4b97d89 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3774599 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.JiqCceCH/pbuilderrc_WYun --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JiqCceCH/b1 --logfile b1/build.log ruby-octokit_4.17.0-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.JiqCceCH/pbuilderrc_Um41 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.JiqCceCH/b2 --logfile b2/build.log ruby-octokit_4.17.0-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jan 20 2022 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 6 21:24 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/898669/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jan 21 2022 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Sep 8 20:03 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3774599/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +405,7 @@ Get: 166 http://deb.debian.org/debian bullseye/main amd64 ruby-sawyer all 0.8.2-1 [10.3 kB] Get: 167 http://deb.debian.org/debian bullseye/main amd64 ruby-vcr all 6.0.0+really5.0.0-1 [53.2 kB] Get: 168 http://deb.debian.org/debian bullseye/main amd64 ruby-webmock all 3.8.3-1 [64.3 kB] -Fetched 46.2 MB in 1s (47.9 MB/s) +Fetched 46.2 MB in 1s (53.0 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 ... 19707 files and directories currently installed.) @@ -1071,7 +1102,11 @@ Building tag database... -> Finished parsing the build-deps 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 +I: user script /srv/workspace/pbuilder/3774599/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3774599/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -1209,680 +1244,261 @@ 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/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-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 61353 +Randomized with seed 61449 -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization - -Octokit::EnterpriseAdminClient::AdminStats - .admin_organization_stats - returns only organization-related stats - .admin_stats - returns all available enterprise stats - .admin_gists_stats - returns only gist-related stats - .admin_comments_stats - returns only comment-related stats - .admin_repository_stats - returns only repository-related stats - .admin_milestones_stats - returns only milestone-related stats - .admin_pages_stats - returns only pages-related stats - .admin_users_stats - returns only user-related stats - .admin_pull_requests_stats - returns only pull request-related stats - .admin_hooks_stats - returns only hooks-related stats - .admin_issues_stats - returns only issue-related stats - -Octokit::Client::Markdown - .markdown - renders markdown - -Octokit::Client::Hooks - with repository - with hook - .hook - returns a repository's single hook - .remove_hook - removes a hook - .ping_hook - pings a hook - .test_hook - tests a hook - .create_hook - creates a hook - .edit_hook - edits a hook - .hooks - returns a repository's hooks - .available_hooks - returns all the hooks supported by GitHub with their parameters - .parse_payload - parses payload string - .org_hooks - returns an organization's hooks - returns an organization's hooks by ID - with org hook - .ping_org_hook - pings an org hook - pings an org hook by ID - .edit_org_hook - edits an org hook - edits an org hook by ID - .org_hook - returns a single org hook - returns a single org hook by ID - .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 - -Octokit::RateLimit - .from_response - handles resets_in time in past - returns a positive rate limit for Enterprise - parses rate limit info from response headers - handles nil responses - -Octokit::Client::Traffic - .clones - returns the clone stats for a repository - .top_paths - returns the top path statistics for a repository - .views - returns the views breakdown for a repository - .top_referrers - returns the referrers stats for a repository - -Octokit::Client::Notifications - .mark_notifications_as_read - returns true when notifications are marked as read - .notifications - lists the notifications for the current user - .mark_repository_notifications_as_read - returns true when notifications for a repo are marked as read - with thread - .mark_thread_as_read - marks a thread as read - with subscription - .update_thread_subscription - updates a thread subscription - .delete_thread_subscription - returns true with successful thread deletion - .thread_subscription - returns a thread subscription - .thread_notifications - returns notifications for a specific thread - .repository_notifications - lists all notifications for a repository +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit Octokit::Client::PullRequests + .pull_requests + lists all pull requests with state option + lists all pull requests + .create_pull_request_for_issue + creates a pull request and attach it to an existing issue .pull_request_comment returns a comment on a pull request - .merge_pull_request - merges the pull request - .pull_request_comments - returns the comments for a pull request .pull_request_commits returns the commits for a pull request - .create_pull_request_for_issue - creates a pull request and attach it to an existing issue - .pull_requests_comments - returns all comments on all pull requests - .pull_requests - lists all pull requests - lists all pull requests with state option .pull_request_files lists files for a pull request methods that require a new pull - .pull_merged? - returns whether the pull request has been merged - .close_pull_request - closes a pull request methods requiring a pull request comment - .create_pull_request_comment - creates a new comment on a pull request - .delete_pull_request_comment - deletes a pull request comment .create_pull_request_comment_reply creates a new reply to a pull request comment + .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 + .close_pull_request + closes a pull request .pull_request returns a pull request + .pull_merged? + returns whether the pull request has been merged .update_pull_request updates a pull request .create_pull_request creates a pull request without body argument creates a pull request without body argument + .merge_pull_request + merges the pull request + .pull_requests_comments + returns all comments on all pull requests + .pull_request_comments + returns the comments for a pull request -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::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit +Octokit::Client::CommitComments + .list_commit_comments + returns a list of all commit comments + with commit comment + .update_commit_comment + updates a commit comment + .delete_commit_comment + deletes a commit comment + .create_commit_comment + creates a commit comment + .commit_comment + returns a single commit comment + .commit_comments + returns a list of comments for a specific commit -Octokit::Client::Pages - .pages - lists page information - .request_page_build - requests a build for the latest revision - .latest_pages_build - lists information about the latest page build - .list_pages_builds - lists information about all the page builds - .pages_build - lists a specific page build +Octokit::Client::Downloads + .download + gets a single download + .downloads + lists available downloads + .delete_download + deletes a download Octokit::Client::CommunityProfile .community_profile returns community profile metrics for a repository -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_ref - updates a ref - .delete_branch - deletes an existing branch - .create_ref - creates a ref - .update_branch - updates a branch - .refs - returns all tag refs - returns all refs - -Octokit::Client::RepositoryInvitations - with repository - .invite_user_to_repository - invites a user to a repository - with stubbed repository invitation - .decline_repository_invitation - declines the repository invitation on behalf of the user - .accept_repository_invitation - accepts the repository invitation on behalf of the user - .user_repository_invitations - lists the users repository invitations - with repository invitation - .delete_repository_invitation - deletes the repository invitation - .update_repository_invitation - updates the repository invitation - .repository_invitations - lists the repositories outstanding invitations - -Octokit::Client::Organizations - .user_teams - lists all teams for the authenticated user - .add_team_membership - invites a user to a team - .organization_public_members - lists public members - public org members - .unpublicize_membership - unpublicizes membership - .publicize_membership - publicizes membership - .organization_public_member? - checks publicized org membership - .organization_memberships - returns all organization memberships for the user - .organization_membership - returns an organization membership for a given user - returns an organization membership - returns an organization membership for a given user by the orgs id - .update_organization_membership - adds or updates an organization membership for a given user - updates an organization membership - .organization - returns an organization - .child_teams - returns all child teams for the team - .organization_member? - checks organization membership - .organizations - returns all organizations for a user - returns all organizations for the authenticated user - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - .team_membership - gets a user's team membership - .organization_invitations - lists pending organization invitations - .outside_collaborators - lists outside collaborators for an organization - .remove_organization_member - removes a member from an organization - .all_organizations - paginates organizations on GitHub - .update_organization - updates an organization - .remove_outside_collaborator - removes the outside collaborator from an organization - .migrations - unlocks a migrated repository - lists migrations for an organization - gets the status of a migration - downloads a migration archive - starts a migration for an organization - .organization_members - returns all public members of 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 - .organization_teams - returns all teams for an organization - .remove_team_membership - removes a user's membership for a team - .remove_organization_membership - removes an organization membership for a given user - .organization_repositories - returns all public repositories for an organization - -Octokit::Client::PubSubHubbub - .unsubscribe - unsubscribes from pull events - unsubscribe_service_hook - unsubscribes to stop receiving events on specified topic - .subscribe - raises an error when topic is not recognized - subscribes to pull events - .subscribe_service_hook - encodes URL parameters - subscribes to pull event on specified topic - -Octokit::Client::Authorizations - .check_application_authorization - works in Enterprise mode - checks an application authorization - .authorizations - lists existing authorizations - .authorize_url - requires client_id and client_secret - with passed options hash - escapes values before adding to query params - appends options hash as query params - with passed client credentials - returns the authorize_url - with preconfigured client credentials - returns the authorize_url - .revoke_all_application_authorizations - returns false - .reset_application_authorization - resets a token - works in Enterprise mode - .revoke_application_authorization - deletes an application authorization - works in Enterprise mode - .update_authorization - updates and existing authorization - .delete_authorization - deletes an existing authorization - .authorization - returns a single authorization - .scopes - checks the scopes on the current token - checks the scopes on a one-off token - .create_authorization - without :idempotent => true - creates an API authorization - creates a new authorization with options - creates a new API authorization each time - with :idempotent => true - returns an existing API authorization if one already exists - creates a new authorization with fingerprint - creates a new authorization with options - -Octokit::Client::Issues - .repository_issues_comments - returns comments for all issues in a repository - with repository - with issue - with closed issue - .reopen_issue - reopens an issue - .add_comment - adds a comment - .issue_timeline - returns an issue timeline - with locked issue - .unlock_issue - unlocks an issue - .close_issue - closes an issue - .issue - returns an issue - returns a full issue - .lock_issue - locks an issue - with issue comment - .delete_comment - deletes an existing comment - .update_comment - updates an existing comment - .update_issue - updates an issue - updates an issue without positional args - with assignees - .remove_assignees - removes assignees - .create_issue - creates an issue - creates an issue with labels array - creates an issue without body argument - creates an issue with delimited labels - .list_assignees - returns available assignees for a repository - .issue_comment - returns a single comment for an issue - .org_issues - returns issues for the organization for the authenticated user - .add_assignees - adds assignees - .issue_comments - returns comments for an issue - .list_issues - returns dashboard issues for the authenticated user - returns issues for a repository - .user_issues - returns issues for the authenticated user for owned and member repos - -Octokit::Client::ServiceStatus - .github_status - returns the current system status - .github_status_last_message - returns the last human message - .github_status - returns the most recent status messages - -Octokit::Client::Reviews - .pull_request_review_comments - returns all comments for a single review - .pull_request_review - returns a single pull request review - .pull_request_reviews - returns a list of all pull request reviews - 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 - with repository - with pull request - with pending pull request review - .submit_pull_request_review - submits a pending pull request review - .delete_pull_request_review - deletes a pending pull request review - .create_pull_request_review - creates a pull request review - .create_pull_request_review - creates a pull request review with comments - with collaborator - .pull_request_review_requests - returns all requested reviewers - .delete_pull_request_review_request - deletes a requests for a pull request review from a user - deletes a requests for a pull request review from a team - .request_pull_request_review - requests a new pull request review from a team - requests a new pull request review from a user - -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::Client::Projects - .projects - returns a list of projects for a repository - with repository - with project - .create_project_column - returns the newly created project column - .update_project - updates the project name and body then returns the updated project - .project - returns a project - with project column - .column_cards - returns a list of the cards in a project column - .create_project_card - creates a new card with a note - .project_column - returns a project column by id - .move_project_column - moves the project column - .update_project_column - updates the project column and returns the updated column - .delete_project_column - deletes the project column - with project card - .project_card - returns a project card by id - .move_project_card - moves the project card - .delete_project_card - deletes the project card - .update_project_card - updates the project card - .project_columns - returns the columns for a project - .delete_project - returns the result of deleting a project - .org_projects - returns the projects for an organization - .create_org_project - returns the new org project - .create_project - returns the newly created project - -Octokit::Client::Stats - with cold graph cache - .punch_card_stats - retries - returns commit count by hour punch card stats - .commit_activity_stats - retries - returns the commit activity stats - .code_frequency_stats - returns the code frequency stats - retries - .participation_stats - returns the owner and contributor participation stats - retries - .contributors_stats - returns contributors and their contribution stats - retries - returns nil on timeout - .code_frequency_stats - returns the code frequency stats - .punch_card_stats - returns commit count by hour punch card 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 - returns nil on timeout - doesn't retry when GitHub returns 204 - .participation_stats - returns the owner and contributor participation stats - .commit_activity_stats - returns the commit activity stats +Octokit::Client::SourceImport + post deprecation + .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 + .start_source_import + starts a source import + .source_import_progress + returns the progress of the source import + .update_source_import + restarts the source import + .cancel_source_import + cancels the source import + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + pre deprecation + .start_source_import + provides deprecation warning Octokit::Repository - when passed an invalid path - raises ArgumentError - when passed a boolean false - false raises ArgumentError - when passed a hash with invalid repo - 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 Repo sets the repository name and username + when passed an integer + sets the repository id when passed a string containg a slash sets the repository name and username - renders slug as string - responds to repo and user renders url as string - when passed nil + responds to repo and user + renders slug as string + when passed a boolean true raises ArgumentError - when passed a hash - sets the repository name and username - when passed a string without a slash + when passed a hash with invalid repo raises ArgumentError when passed a frozen hash sets the repository name and username + when passed a hash with a repo that contains a slash + raises ArgumentError when passed a hash with invalid username raises ArgumentError - when passed a boolean true + when passed nil raises ArgumentError - when given a URL - sets the repository name and username - parses html urls - parses api urls - raises InvalidRepository error for unsupported url when passed a string with more than 1 slash raises ArgumentError - self.path - returns the api path .path with repository id returns theu url path with named repository returns the url path - when passed a hash with a repo that contains a slash + self.path + returns the api path + when passed a boolean false + false raises ArgumentError + when passed an invalid path raises ArgumentError - when passed an integer - sets the repository id + when passed a hash + sets the repository name and username when passed a hash with a username that contains a slash raises ArgumentError + when passed a string without a slash + raises ArgumentError + +Octokit::EnterpriseManagementConsoleClient + module configuration + inherits Octokit::Client + +Octokit::Client::Marketplace + .list_plans + returns plans for a marketplace listing + .list_accounts_for_plan + returns accounts for a given plan + .marketplace_purchases + returns marketplace purchases for user + .plan_for_account + returns the plan for a given account + +Octokit::Client::Pages + .pages_build + lists a specific page build + .list_pages_builds + lists information about all the page builds + .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::Markdown + .markdown + renders markdown Octokit::Client::Repositories + .branches + returns a single branch + returns a repository's branches .tags returns a repository's tags + .remove_deploy_key + removes a repository deploy keys + .watchers + returns all repository watchers + .stargazers + returns all repository stargazers + .repository + returns the repository, including topics + returns the matching repository + .star + stars a repository + .fork + forks a repository + .transfer_repository + repository transfer from myself to my organization + .update_subscription + updates a repository subscription 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 with required_approving_review_count protects a single branch with required_status_checks protects a single branch - .permission_level - returns the permission level a user has on a repository - .set_private - sets a repository private - .all_repositories - returns all repositories on github - .add_deploy_key - adds a repository deploy keys - .check_assignee - checks to see if a particular user is an assignee for a repository - .set_public - sets a repository public + protects a single branch with required_approving_review_count .edit_deploy_key modifies a deploy key - .languages - returns a repository's languages + .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 + .unwatch + unwatches a repository + .all_repositories + returns all repositories on github .collaborators returns a repository's collaborators - .subscription - returns a repository subscription - .subscribers - lists all the users watching the repository - .remove_deploy_key - removes a repository deploy keys - .unstar - unstars a repository + .add_deploy_key + adds a repository deploy keys .deploy_key returns a specific deploy key for a repo - .star - stars a repository + .contributors + returns repository contributors excluding anonymous + returns repository contributors .repository? returns true if the repository exists returns false if the repository has an invalid format returns false if the repository doesn't exist returns false if the repository has more than one slash - .repositories - returns a user's repositories - returns authenticated user's repositories + .languages + returns a repository's languages + .unstar + unstars a repository + .set_public + sets a repository public + .check_assignee + checks to see if a particular user is an assignee for a repository + .network + returns a repository's network with repository - .replace_all_topics - replaces all topics for a repository - .update_repository - updates the matching repository - .create_repository - creates a repository - .add_collaborator - adds a repository collaborators - .delete_repository - deletes a repository .topics returns repository topics - .branch_protection - returns nil for an unprotected branch - with protected branch - returns branch protection summary + .replace_all_topics + replaces all topics for a repository .collaborator? checks if a user is a repository collaborator - .repository_teams - returns all repository teams .remove_collaborator removes a repository collaborators + .deploy_keys + returns a repository's deploy keys + .update_repository + updates the matching 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 @@ -1891,138 +1507,224 @@ 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 - .update_subscription - updates a repository subscription + .branch_protection + returns nil for an unprotected branch + with protected branch + returns branch protection summary + .delete_repository + deletes a repository + .repository_teams + returns all repository teams + .add_collaborator + adds a repository collaborators + .create_repository + creates a repository + .assignees + lists all the available assignees (owner + collaborators) + .set_private + sets a repository private .watch watches a repository - .branches - returns a single branch - returns a repository's branches - .contributors - returns repository contributors excluding anonymous - returns repository contributors - .repository - returns the matching repository - returns the repository, including topics - .unwatch - unwatches a repository .delete_subscription returns true when repo subscription deleted - .stargazers - returns all repository stargazers + .repositories + returns authenticated user's repositories + returns a user's repositories + .subscription + returns a repository subscription .create_repository - creates a repository for an organization creates a repository for an organization by ID - .watchers - returns all repository watchers - .network - returns a repository's network - .assignees - lists all the available assignees (owner + collaborators) - .edit_repository - is_template is passed in params -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. - uses the template repositories preview flag and succeeds - .fork - forks a repository - .transfer_repository - repository transfer from myself to my organization - -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .edit_settings - edits the Enterprise settings - .set_maintenance_status - enables the Enterprise maintenance mode - .config_status - returns information about the installation - .authorized_keys - gets the authorized SSH keys - .settings - returns information about the Enterprise settings - .upgrade - upgrades the Enterprise installation - .start_configuration - starts a configuration process for the Enterprise installation - .remove_authorized_key - removes a new authorized SSH keys (via a File handler) - removes a new authorized SSH keys (via a file path) - removes a new authorized SSH keys (via a string contents) - .add_authorized_key - adds a new authorized SSH keys (via a file path) - adds a new authorized SSH keys (via a string contents) - adds a new authorized SSH keys (via a File handler) - .maintenance_status - returns information about the Enterprise maintenance status - .upload_license - uploads a license for the Enterprise installation + creates a repository for an organization + .subscribers + lists all the users watching the repository -Octokit::EnterpriseAdminClient::Users - .suspend - suspends a user - .delete_user - deletes a user - .delete_key - deletes a public keys - .rename_user - rename a user - .unsuspend - unsuspends a user - .demote - demotes a site administrator to an ordinary user - .promote - promotes an ordinary user to a site administrator - .create_impersonation_token - creates an impersonation token as a user - .list_all_keys - lists all public keys - .delete_impersonation_token - deletes an impersonation token as a user - .create_user - creates a new user +Octokit + sets defaults + .configure + sets the api endpoint + sets the middleware + sets the default media type + sets the client id + sets the password + sets the proxy + sets the login + sets the bearer token + sets the client secret + sets the web endpoint + sets the connection options + sets the netrc file + sets the access token + sets the netrc + sets the management console endpoint + sets the user agent + sets the per page + sets the auto paginate + sets the management console password + sets the ssl verify mode + .client + returns a fresh client when options are not the same + creates an Octokit::Client + caches the client when the same options are passed -Octokit::Client::Marketplace - .marketplace_purchases - returns marketplace purchases for user - .list_accounts_for_plan - returns accounts for a given plan - .list_plans - returns plans for a marketplace listing - .plan_for_account - returns the plan for a given account +Octokit::Client + knows the password delivery mechanism when needs OTP + knows the difference between unauthorized and needs OTP + content type + sets a default Content-Type header + fixes % bug + .agent + acts like a Sawyer agent + caches the agent + auto pagination + accepts a block for custom result concatination + sets headers for all pages + fetches all the pages + .last_response + caches the last agent response + authentication + when basic authenticated + makes authenticated calls + when bearer authenticated + makes authenticated calls + when application authenticated + makes authenticated calls + when token authenticated + makes authenticated calls + fetches and memoizes login + with class level config + sets oauth token with module methods + sets oauth token with instance methods + sets basic auth creds with .configure + sets basic auth creds with instance methods + sets oauth application creds with .configure + sets oauth token with .configure + with module level config + sets oauth token with module methods + sets oauth token with .configure + sets oauth token with module methods + sets basic auth creds with module methods + sets bearer token with .configure + sets oauth application creds with .configure + sets bearer token with module method + sets basic auth creds with .configure + redirect handling + follows redirect for 301 response + keeps authentication info when redirecting to the same host + follows redirects for supported HTTP methods + does not change HTTP method when following a redirect + drops authentication info when redirecting to a different host + follows at most 3 consecutive redirects + follows redirect for 307 response + follows redirect for 302 response + .get + handles query params + handles headers + module configuration + inherits the module configuration + with class level configuration + masks bearer token on inspect + overrides module configuration + can set configuration after initialization + masks client secrets on inspect + masks tokens on inspect + masks passwords on inspect + with .netrc + can read non-standard API endpoint creds from .netrc + can read .netrc files + rels parsing + handles git@github ssh URLs + module call shortcut + has no method collisions + uniquely separates method missing calls + when making requests + sets a custom user agent + Accepts application/vnd.github.v3+json by default + omits app creds in query params for token requests + sets an ssl verify mode + no sets an ssl verify + sets a proxy server + allows Accept'ing another media type + passes along request headers for POST + sets an ssl verify => false + sets an ssl verify => true + adds app creds in query params to anonymous requests + omits app creds in query params for basic requests + ensures ssl verify mode is set to default when no override provided + sets a default user agent + .head + handles headers + handles query params + error handling + handles documentation URLs in error messages + includes a message + raises on 500 + includes an error + raises on 404 + includes an error summary + exposes the response body + knows the difference between different kinds of forbidden + exposes the response status code + handles an error response with an array body + exposes the response headers + raises on unknown server errors + exposes errors array + raises on unknown client errors + .root + fetches the API root + passes app creds in the query string + .as_app + uses preconfigured client and secret + duplicates the client + requires a client and secret + uses client and secret as Basic auth + makes authenticated requests -Octokit::Client::LegacySearch - .legacy_search_issues - returns matching issues - .legacy_search_users - returns matching username - should not raise URI::InvalidURIError and returns success - .legacy_search_repos - returns matching repositories +Octokit::Client::Feeds + .feed + returns parsed feed data + .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 -Octokit::Client::Statuses - .combined_status - gets a combined status - .statuses - lists commit statuses - with repository - .create_status - creates status +Octokit::Client::Search + .search_issues + searches issues + .search_code + searches code + .search_repositories + searches repositories + .search_commits + searches commits + .search_users + searches users + utilizes auto_pagination -Octokit::Client::Licenses - .license - returns a particular license - .licenses - returns all licenses - .repository_license_contents - returns a repository's license file +Octokit::Client::Contents + .update_contents + updates repository contents at a path + does not add new lines + .archive_link + returns the headers of the request + .create_contents + creates contents from Tempfile object + creates contents from File object + creates repository contents at a path + does not add new lines + creates contents from file path + .delete_contents + deletes repository contents at a path + .contents + returns the contents of a file + .readme + returns the default readme -Octokit::EnterpriseManagementConsoleClient - module configuration - inherits Octokit::Client +Octokit::EnterpriseAdminClient::License + .license_info + returns information about the license Octokit::Client #rate_limit @@ -2030,76 +1732,490 @@ checks the rate limit from the last response with no last response makes a response - #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! + makes a web request to check the rate limit -Octokit::Client::Feeds - .feeds - when authenticated with basic auth - returns private feeds - when authenticated with oauth token - returns the authenticated users feeds - when unauthenticated - returns the public feeds list - .feed - returns parsed feed data +Octokit::Client::Projects + .create_project + returns the newly created project + with repository + with project + .update_project + updates the project name and body then returns the updated project + .delete_project + returns the result of deleting a project + .project_columns + returns the columns for a project + with project column + .update_project_column + updates the project column and returns the updated column + .create_project_card + creates a new card with a note + .move_project_column + moves the project column + with project card + .update_project_card + updates the project card + .delete_project_card + deletes the project card + .move_project_card + moves the project card + .project_card + returns a project card by id + .delete_project_column + deletes the project column + .column_cards + returns a list of the cards in a project column + .project_column + returns a project column by id + .project + returns a project + .create_project_column + returns the newly created project column + .create_org_project + returns the new org project + .projects + returns a list of projects for a repository + .org_projects + returns the projects for an organization + +Octokit::Client::Licenses + .license + returns a particular license + .repository_license_contents + returns a repository's license file + .licenses + returns all licenses + +Octokit::Client::Users + .remove_email + removes an email address + .update_user + updates a user profile + methods requiring an existing @public_key + .remove_key + removes a public key + .key + returns a public key + .update_key + updates a public key + .add_key + adds a public key + .add_email + adds an email address + .follow + follows a user + .user + returns the authenticated user + handle [bot] users + returns a user + .keys + returns public keys for the authenticated user + .starred? + checks if the authenticated user has starred a repository + .following + returns following for a user + returns the authenticated user's following + .validate_credentials + validates username and password + .user_keys + returns public keys for another user + .followers + returns the authenticated user's followers + returns followers for a user + .all_users + returns all GitHub users + .emails + returns email addresses + .unfollow + unfollows a user + .starred + authenticated + gets the authenticated user's starred repositories + gets a user's starred repositories + not authenticated + gets a user's starred repositories + .subscriptions + not authenticated + returns the repositories a user watches for notifications + authenticated + returns the repositories a user watches for notifications + returns the repositories the authenticated user watches for notifications + .exchange_code_for_token + with credentials passed as parameters by unauthed client + returns the access_token + with application authenticated client + returns the access_token + .follows? + checks if the authenticated user follows another + checks if given user is following target user Octokit::Client::Checks - .set_check_suite_preferences - sets check suite preferences - .check_runs_for_check_suite - filters by status - returns check runs for a check suite - .check_runs_for_ref - returns check runs for a branch - filters by status - returns check runs for a commit - returns check runs for a tag .rerequest_check_suite requests the check suite again - .create_check_run - returns the check run - creates a check run .update_check_run updates the check run returns the check run + .create_check_suite + creates a check suite + returns the check suite + .create_check_run + returns the check run + creates a check run + .check_runs_for_check_suite + returns check runs for a check suite + filters by status + .set_check_suite_preferences + sets check suite preferences .check_suites_for_ref filters by check name - returns check suites for a branch returns check suites for a tag returns check suites for a commit - .check_run - returns the check run - .check_run_annotations - returns annotations for the check run - .create_check_suite - returns the check suite - creates a check suite + returns check suites for a branch .check_suite returns the check suite + .check_run_annotations + returns annotations for the check run + .check_runs_for_ref + filters by status + returns check runs for a tag + returns check runs for a commit + returns check runs for a branch + .check_run + returns the check run -Octokit::Client::Search - .search_commits - searches commits - .search_repositories - searches repositories - .search_issues - searches issues - .search_users - searches users - utilizes auto_pagination - .search_code - searches code +Octokit::Client::Authorizations + .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 API authorization each time + creates a new authorization with options + creates an API authorization + .check_application_authorization + checks an application authorization + works in Enterprise mode + .update_authorization + updates and existing authorization + .reset_application_authorization + resets a token + works in Enterprise mode + .revoke_application_authorization + works in Enterprise mode + deletes an application authorization + .scopes + checks the scopes on a one-off token + checks the scopes on the current token + .revoke_all_application_authorizations + returns false + .delete_authorization + deletes an existing authorization + .authorizations + lists existing authorizations + .authorization + returns a single authorization + .authorize_url + requires client_id and client_secret + 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 + with passed client credentials + returns the authorize_url + +Octokit::Client::Traffic + .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 + .clones + returns the clone stats for a repository + +Octokit::Client::Reviews + with repository + with pull request + 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 collaborator + .delete_pull_request_review_request + deletes a requests for a pull request review from a user + deletes a requests for a pull request review from a team + .request_pull_request_review + requests a new pull request review from a user + requests a new pull request review from a team + .pull_request_review_requests + returns all requested reviewers + .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 + .pull_request_review_comments + returns all comments for a single review + .dismiss_pull_request_review + dismisses a request for change pull request review + +Octokit::Client::ServiceStatus + .github_status_last_message + returns the last human message + .github_status + returns the current system status + .github_status + returns the most recent status messages + +Octokit::Client::Objects + .create_blob + creates a blob + .tag + returns a tag + .create_tag + creates a tag + .tree + gets a tree recursively + gets a tree + .blob + returns a blob + .create_tree + creates a tree + +Octokit::Client::Statuses + .combined_status + gets a combined status + with repository + .create_status + creates status + .statuses + lists commit statuses + +Octokit::Client::LegacySearch + .legacy_search_repos + returns matching repositories + .legacy_search_issues + returns matching issues + .legacy_search_users + should not raise URI::InvalidURIError and returns success + returns matching username + +Octokit::Client::Gitignore + .gitignore_template + returns the ruby gitignore template + .gitignore_templates + returns all gitignore templates + +Octokit::EnterpriseAdminClient::AdminStats + .admin_stats + returns all available enterprise stats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_milestones_stats + returns only milestone-related stats + .admin_pages_stats + returns only pages-related stats + .admin_comments_stats + returns only comment-related stats + .admin_organization_stats + returns only organization-related stats + .admin_issues_stats + returns only issue-related stats + .admin_users_stats + returns only user-related stats + .admin_gists_stats + returns only gist-related stats + .admin_hooks_stats + returns only hooks-related stats + .admin_repository_stats + returns only repository-related stats + +Octokit::EnterpriseAdminClient::Users + .demote + demotes a site administrator to an ordinary user + .delete_key + deletes a public keys + .promote + promotes an ordinary user to a site administrator + .suspend + suspends a user + .delete_user + deletes a user + .delete_impersonation_token + deletes an impersonation token as a user + .unsuspend + unsuspends a user + .create_impersonation_token + creates an impersonation token as a user + .list_all_keys + lists all public keys + .create_user + creates a new user + .rename_user + rename a user + +Octokit::User + .path + with id + returns id api path + with login + returns login api path + with no user passed + returns default path + +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit + +Octokit::Client::Hooks + .org_hooks + returns an organization's hooks + returns an organization's hooks by ID + .available_hooks + returns all the hooks supported by GitHub with their parameters + .parse_payload + parses payload string + with repository + with hook + .edit_hook + edits a hook + .ping_hook + pings a hook + .hook + returns a repository's single hook + .create_hook + creates a hook + .test_hook + tests a hook + .remove_hook + removes a hook + .hooks + returns a repository's hooks + with org hook + .org_hook + returns a single org hook by ID + returns a single org hook + .ping_org_hook + pings an org hook + pings an org hook by ID + .edit_org_hook + edits an org hook by ID + edits an org hook + .create_org_hook + creates an org hook + creates an org hook for by ID + .remove_org_hook + removes an org hook by ID + removes an org hook + +Octokit::Client::Stats + .code_frequency_stats + returns the code frequency stats + .commit_activity_stats + returns the commit activity stats + with cold graph cache + .code_frequency_stats + returns the code frequency stats + retries + .participation_stats + returns the owner and contributor participation stats + retries + .punch_card_stats + retries + returns commit count by hour punch card stats + .commit_activity_stats + returns the commit activity stats + retries + .contributors_stats + retries + returns nil on timeout + returns contributors and their contribution stats + .participation_stats + returns the owner and contributor participation stats + with empty repo + .contributors_stats + returns [] when GitHub returns 204 + returns nil when statistics are not ready + returns nil on timeout + doesn't retry when GitHub returns 204 + .contributors_stats + returns contributors and their contribution stats + .punch_card_stats + returns commit count by hour punch card stats + +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .authorized_keys + gets the authorized SSH keys + .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) + .edit_settings + edits the Enterprise settings + .settings + returns information about the Enterprise settings + .remove_authorized_key + removes a new authorized SSH keys (via a file path) + removes a new authorized SSH keys (via a File handler) + removes a new authorized SSH keys (via a string contents) + .set_maintenance_status + enables the Enterprise maintenance mode + .start_configuration + starts a configuration process for the Enterprise installation + .upload_license + uploads a license for the Enterprise installation + .config_status + returns information about the installation + .maintenance_status + returns information about the Enterprise maintenance status + .upgrade + upgrades the Enterprise installation + +Octokit::Client::Meta + .github_meta + returns meta information about github + +Octokit::Client::PubSubHubbub + .unsubscribe + unsubscribes from pull events + .subscribe_service_hook + subscribes to pull event on specified topic + encodes URL parameters + unsubscribe_service_hook + unsubscribes to stop receiving events on specified topic + .subscribe + subscribes to pull events + raises an error when topic is not recognized + +Octokit::RateLimit + .from_response + handles resets_in time in past + returns a positive rate limit for Enterprise + parses rate limit info from response headers + handles nil responses Octokit::Client::Deployments .deployments lists deployments with ref + .create_deployment + creates a deployment with a payload + creates a deployment with deployment .deployment gets a single deployment @@ -2107,667 +2223,586 @@ creates a deployment status .deployment_statuses lists deployment statuses - .create_deployment - creates a deployment - creates a deployment with a payload -Octokit::Client::Releases - .update_release - updates a release - .release_for_tag - returns the release for a tag - .delete_release - deletes a release - .latest_release - returns the latest release - .create_release - creates a release - .release - gets a single release - .releases - lists releases for a repo - handling release assets - .upload_release_asset - uploads a release asset as file object - uploads a release asset by path - guesses the content type for an asset - uploads a release asset with a default name - .release_asset - gets a single release asset - .delete_release_asset - deletes a release asset - .update_release_asset - edits a release asset - .release_assets - lists assets for a release +Octokit::Client::Notifications + .repository_notifications + lists all notifications for a repository + .mark_notifications_as_read + returns true when notifications are marked as read + .mark_repository_notifications_as_read + returns true when notifications for a repo are marked as read + 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 + .notifications + lists the notifications for the current user Octokit::EnterpriseAdminClient::SearchIndexing - .index_repository_issues + .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/issues to be indexed - .index_users_repositories_issues + queues api-padawan to be indexed + .index_repository + 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-padawan/*/issues to be indexed + queues api-playground/api-sandbox to be indexed + .index_users_repositories_code + behaves like search index queuer with invalid target raises Octokit::NotFound + with a valid target + queues api-padawan/*/code to be indexed behaves like multiple target queue identifies targets that were queued for index in the return message - .index_users_repositories_code + .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/*/code to be indexed - .index_users_repositories + queues api-padawan/*/issues to be indexed + .index_repository_issues 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 - behaves like multiple target queue - identifies targets that were queued for index in the return message - .index_repository_code behaves like single target queue identifies the target being indexed in the return message - behaves like search index queuer - with a valid target - queues api-playground/api-sandbox/code to be indexed - with invalid target - raises Octokit::NotFound - .index_user + .index_repository_code behaves like single target queue identifies the target being indexed in the return message behaves like search index queuer with invalid target raises Octokit::NotFound with a valid target - queues api-padawan to be indexed - .index_repository - behaves like single target queue - identifies the target being indexed in the return message + queues api-playground/api-sandbox/code to be indexed + .index_users_repositories behaves like search index queuer with a valid target - queues api-playground/api-sandbox to be indexed + queues api-padawan/* to be indexed with invalid target raises Octokit::NotFound + behaves like multiple target queue + identifies targets that were queued for index in the return message -Octokit::Client - knows the difference between unauthorized and needs OTP - knows the password delivery mechanism when needs OTP - error handling - raises on unknown server errors - handles an error response with an array body - handles documentation URLs in error messages - raises on unknown client errors - exposes errors array - includes an error - raises on 500 - includes an error summary - exposes the response status code - includes a message - raises on 404 - exposes the response body - knows the difference between different kinds of forbidden - exposes the response headers - content type - sets a default Content-Type header - fixes % bug - auto pagination - accepts a block for custom result concatination - sets headers for all pages - fetches all the pages - .agent - caches the agent - acts like a Sawyer agent +Octokit::Client::Say + .say + returns an ASCII octocat + returns an ASCII octocat with custom text + +Octokit::EnterpriseAdminClient module configuration - inherits the module configuration - with class level configuration - masks passwords on inspect - masks bearer token on inspect - overrides module configuration - can set configuration after initialization - masks tokens on inspect - masks client secrets on inspect - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files - when making requests - sets an ssl verify mode - no sets an ssl verify - passes along request headers for POST - sets an ssl verify => true - sets an ssl verify => false - adds app creds in query params to anonymous requests - sets a custom user agent - sets a default user agent - allows Accept'ing another media type - ensures ssl verify mode is set to default when no override provided - omits app creds in query params for token requests - Accepts application/vnd.github.v3+json by default - omits app creds in query params for basic requests - sets a proxy server - authentication - with module level config - sets oauth token with module methods - sets bearer token with module method - sets basic auth creds with module methods - sets basic auth creds with .configure - sets bearer token with .configure - sets oauth token with .configure - sets oauth application creds with .configure - sets oauth token with module methods - with class level config - sets oauth token with module methods - sets oauth token with .configure - sets basic auth creds with .configure - sets oauth application creds with .configure - sets basic auth creds with instance methods - sets oauth token with instance methods - when application authenticated - makes authenticated calls - when token authenticated - fetches and memoizes login - makes authenticated calls - when bearer authenticated - makes authenticated calls - when basic authenticated - makes authenticated calls - .last_response - caches the last agent response - module call shortcut - uniquely separates method missing calls - has no method collisions - rels parsing - handles git@github ssh URLs - .head - handles query params - handles headers - .get - handles headers - handles query params - redirect handling - follows at most 3 consecutive redirects - follows redirect for 301 response - drops authentication info when redirecting to a different host - follows redirect for 307 response - does not change HTTP method when following a redirect - follows redirect for 302 response - keeps authentication info when redirecting to the same host - follows redirects for supported HTTP methods - .as_app - duplicates the client - uses preconfigured client and secret - uses client and secret as Basic auth - makes authenticated requests - requires a client and secret - .root - fetches the API root - passes app creds in the query string + inherits Octokit::Client + with .netrc + can read non-standard API endpoint creds from .netrc + can read .netrc files -Octokit::Client::Downloads - .delete_download - deletes a download - .downloads - lists available downloads - .download - gets a single download +Octokit::Client::RepositoryInvitations + with repository + .repository_invitations + lists the repositories outstanding invitations + with repository invitation + .delete_repository_invitation + deletes the repository invitation + .update_repository_invitation + updates the repository invitation + with stubbed repository invitation + .decline_repository_invitation + declines the repository invitation on behalf of the user + .accept_repository_invitation + accepts the repository invitation on behalf of the user + .invite_user_to_repository + invites a user to a repository + .user_repository_invitations + lists the users repository invitations -Octokit::Organization - .path - with name - returns name api path - with id - returns id api path +Octokit::Client::Reactions + with repository + with commit comment + .commit_comment_reactions + returns an Array of reactions + .create_commit_comment_reaction + creates a reaction + 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 pull request + with pull request review comment + .create_pull_request_review_comment_reaction + creates a reaction + .pull_request_review_comment_reactions + returns an Array of reactions + +Octokit::Client::Labels + with issue + .remove_all_labels + removes all labels from the specified issue + .remove_label + removes a label from the specified issue + .add_labels_to_an_issue + adds labels to a given issue + .labels_for_issue + returns all labels for a given issue + .replace_all_labels + replaces all labels for an issue + .label + returns a single label + .delete_label! + deletes a label from the repository + .labels + returns labels + .lables_for_milestone + returns all labels for a repository + .add_label + adds a label with default color + adds a label with a color + with label + .update_label + updates a label with a new color Octokit::Client::Events - .issue_event - lists issue events for a repository .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 + .received_events + returns all user received events .organization_public_events returns an organization's public events - .organization_events - returns all events for an organization + .repository_events + returns events for a repository .received_public_events returns public user received events .repository_network_events returns events for a repository's network - .received_events - returns all user received events + .issue_event + lists issue events for a repository .user_events returns all user events .public_events returns all public events - .issue_events - lists issue events for a repository + .organization_events + returns all events for an organization .repo_issue_events lists issue events for a repository -Octokit::Client::Labels - .label - returns a single label - .delete_label! - deletes a label from the repository - .add_label - adds a label with default color - adds a label with a color - with issue - .labels_for_issue - returns all labels for a given issue - .remove_label - removes a label from the specified issue - .remove_all_labels - removes all labels from the specified issue - .add_labels_to_an_issue - adds labels to a given issue - .replace_all_labels - replaces all labels for an issue - with label - .update_label - updates a label with a new color - .labels - returns labels - .lables_for_milestone - returns all labels for a repository - Octokit::Client::Gists - unauthenticated - .gists - without a username passed - returns a list of gists - with username passed - returns a list of gists - .gist - returns the gist by ID - returns a gist at a specific revision - .public_gists - returns public gists when authenticated - .gist_forks - lists a gists forks - .unstar_gist - unstars an existing gist - .delete_gist - deletes an existing gist - .gist_commits - lists a gists commits - .gist_comments - returns the list of gist comments - .update_gist_comment - updates a gist comment - .starred_gists - returns the user's starred gists - .star_gist - stars an existing gist .fork_gist forks an existing gist .delete_gist_comment deletes a gist comment + .gist_commits + lists a gists commits + .gists + returns a list of gists .edit_gist edit an existing gist + .gist_comments + returns the list of gist comments + .gist_starred? + is not starred + with starred gist + is starred .gist_comment returns a gist comment + .delete_gist + deletes an existing gist + .star_gist + stars an existing gist + .starred_gists + returns the user's starred gists .create_gist_comment creates a gist comment .create_gist creates a new gist - .gist_starred? - is not starred - with starred gist - is starred + .update_gist_comment + updates a gist comment + .gist_forks + lists a gists forks + .unstar_gist + unstars an existing gist + unauthenticated + .gist + returns the gist by ID + returns a gist at a specific revision .gists - returns a list of gists + with username passed + returns a list of gists + without a username passed + returns a list of gists + .public_gists + returns public gists Octokit::Client::Emojis .emojis returns all github emojis -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 - .create_issue_reaction - creates a reaction - .issue_reactions - returns an Array of reactions - with reaction - .delete_reaction - deletes the reaction - with issue comment - .create_issue_comment_reaction - creates a reaction - .issue_comment_reactions - returns an Array of reactions - with commit comment - .commit_comment_reactions - returns an Array of reactions - .create_commit_comment_reaction - creates a reaction - -Octokit::Client::CommitComments - .list_commit_comments - returns a list of all commit comments - with commit comment - .delete_commit_comment - deletes a commit comment - .update_commit_comment - updates a commit comment - .create_commit_comment - creates a commit comment - .commit_comments - returns a list of comments for a specific commit - .commit_comment - returns a single commit comment - -Octokit::Client::Contents - .contents - returns the contents of a file - .archive_link - returns the headers of the request - .readme - returns the default readme - .create_contents - does not add new lines - creates contents from Tempfile object - creates contents from file path - creates contents from File object - creates repository contents at a path - .delete_contents - deletes repository contents at a path - .update_contents - does not add new lines - updates repository contents at a path - -Octokit::Client::Commits - .commit - returns a commit - .merge - merges a branch into another - .git_commit - returns a detailed git commit - .compare - returns a comparison - .commits_before - errors if the date is invalid - returns all commits until the specified date - handles branch or sha argument - handles the sha option - .commits_since - handles the sha option - returns all commits since the specified date - handles branch or sha argument - errors if the date is invalid - .create_commit - creates a commit - .commits_on - handles the sha option - handles branch or sha argument - returns all commits on the specified date - errors if the date is invalid - .commits_between - returns all commits until the specified date - errors if the date is invalid - handles the sha option - handles branch or sha argument - .commits - handles branch or sha argument - handles the sha option - returns all commits - -Octokit::Client::Gitignore - .gitignore_template - returns the ruby gitignore template - .gitignore_templates - returns all gitignore templates - -Octokit - sets defaults - .configure - sets the web endpoint - sets the middleware - sets the netrc - sets the api endpoint - sets the client secret - sets the user agent - sets the client id - sets the login - sets the per page - sets the management console password - sets the bearer token - sets the proxy - sets the netrc file - sets the password - sets the management console endpoint - sets the access token - sets the default media type - sets the auto paginate - sets the connection options - sets the ssl verify mode - .client - caches the client when the same options are passed - returns a fresh client when options are not the same - creates an Octokit::Client - -Octokit::User - .path - with no user passed - returns default path - with login - returns login api path - with id - returns id api path - -Octokit::Client::Users - .keys - returns public keys for the authenticated user - .followers - returns the authenticated user's followers - returns followers for a user - .following - returns the authenticated user's following - returns following for a user - .all_users - returns all GitHub users - .starred? - checks if the authenticated user has starred a repository - .validate_credentials - validates username and password - .update_user - updates a user profile - .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 - .user - returns the authenticated user - handle [bot] users - returns a user - .follow - follows a user - .emails - returns email addresses - .remove_email - removes an email address - .starred - authenticated - gets a user's starred repositories - gets the authenticated user's starred repositories - not authenticated - gets a user's starred repositories - methods requiring an existing @public_key - .update_key - updates a public key - .add_key - adds a public key - .key - returns a public key - .remove_key - removes a public key - .exchange_code_for_token - with credentials passed as parameters by unauthed client - returns the access_token - with application authenticated client - returns the access_token - .unfollow - unfollows a user - .user_keys - returns public keys for another user - .add_email - adds an email address - .follows? - checks if the authenticated user follows another - checks if given user is following target user +Octokit::Client::Milestones + .list_milestones + lists milestones belonging to repository using id of repository + lists milestones belonging to repository + with milestone + .delete_milestone + deletes a milestone from a repository + .create_milestone + creates a milestone + .milestone + gets a single milestone belonging to repository + .update_milestone + updates a milestone -Octokit::Gist - when given a URL - sets the id - when passed a string ID - sets the gist ID - renders id as string - sets the url - when passed a Integer ID - sets the gist ID as a string - renders id as string - sets the url +Octokit::Client::Refs + .refs + returns all refs + returns all tag refs + with 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 + creates a ref + .ref + returns a tags ref + .create_ref + prepends refs/ to the ref parameter + does not duplicate refs/ in ref parameter Octokit::Client::Apps - .find_app_installations - works for GitHub Enterprise installs - returns installations for an app - .find_user_installation - returns installation for a user - works for GitHub Enterprise installs - allows auto_pagination - .find_organization_installation - works for GitHub Enterprise installs - returns installation for an organization - allows auto_pagination .find_integration_installations returns installations for an integration - .find_user_installations - allows auto_pagination - returns installations for a user + .find_user_installation works for GitHub Enterprise installs + returns installation for a user + allows auto_pagination with app installation - .find_installation_repositories_for_user - allows auto_pagination + .create_integration_installation_access_token + creates an access token for the installation + with repository on GitHub Enterprise + .add_repository_to_app_installation + works for GitHub Enterprise installs + .remove_repository_from_app_installation + works for GitHub Enterprise installs + .installation + returns the installation works for GitHub Enterprise installs - returns repositories for a user with app installation access token .list_integration_installation_repositories lists the installations repositories .list_app_installation_repositories lists the installations repositories - allows auto_pagination 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 + .find_installation_repositories_for_user + returns repositories for a user + allows auto_pagination + works for GitHub Enterprise installs .delete_installation deletes an 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 + .add_repository_to_integration_installation adds the repository to the installation - .installation - returns the installation - works for GitHub Enterprise installs - .create_app_installation_access_token - creates an access token for the installation - works for GitHub Enterprise installs - .create_integration_installation_access_token - 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 + adds the repository to the installation + .find_app_installations + returns installations for an app + works for GitHub Enterprise installs .find_repository_installation works for GitHub Enterprise installs returns installation for an repository allows auto_pagination + .find_user_installations + works for GitHub Enterprise installs + allows auto_pagination + returns installations for a user + .find_organization_installation + works for GitHub Enterprise installs + returns installation for an organization + allows auto_pagination -Octokit::EnterpriseAdminClient::License - .license_info - returns information about the license +Octokit::Gist + when passed a Integer ID + renders id as string + sets the url + sets the gist ID as a string + when given a URL + sets the id + when passed a string ID + sets the gist ID + sets the url + renders id as string -Octokit::Client::Say - .say - returns an ASCII octocat - returns an ASCII octocat with custom text +Octokit::Client::Organizations + .outside_collaborators + lists outside collaborators for an organization + .user_teams + lists all teams for the authenticated user + .organization_member? + checks organization membership + .remove_organization_membership + removes an organization membership for a given user + .organization_memberships + returns all organization memberships for the user + .remove_organization_member + removes a member from an organization + .organization_public_members + lists public members + .update_organization + updates an organization + .all_organizations + paginates organizations on GitHub + .organization_membership + returns an organization membership + returns an organization membership for a given user + returns an organization membership for a given user by the orgs id + 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 + .remove_team_membership + removes a user's membership for a team + .organizations + returns all organizations for the authenticated user + returns all organizations for a user + .organization_members + returns all public members of an organization + .child_teams + returns all child teams for the team + .organization_invitations + lists pending organization invitations + public org members + .unpublicize_membership + unpublicizes membership + .publicize_membership + publicizes membership + .organization_public_member? + checks publicized org membership + .convert_to_outside_collaborator + converts an organization member to an outside collaborator + .organization + returns an organization + .team_membership + gets a user's team membership + .organization_teams + returns all teams for an organization + .migrations + lists migrations for an organization + starts a migration for an organization + downloads a migration archive + gets the status of a migration + unlocks a migrated repository + .remove_outside_collaborator + removes the outside collaborator from an organization + .update_organization_membership + updates an organization membership + adds or updates an organization membership for a given user + .organization_repositories + returns all public repositories for an organization -Octokit::Client::Meta - .github_meta - returns meta information about github +Octokit::Client::Issues + .user_issues + returns issues for the authenticated user for owned and member repos + .add_assignees + adds assignees + .list_assignees + returns available assignees for a repository + with repository + .create_issue + creates an issue with labels array + creates an issue without body argument + creates an issue with delimited labels + creates an issue + with issue + with closed issue + .reopen_issue + reopens an issue + .lock_issue + locks an issue + with locked issue + .unlock_issue + unlocks an issue + .update_issue + updates an issue + updates an issue without positional args + .add_comment + adds a comment + with issue comment + .update_comment + updates an existing comment + .delete_comment + deletes an existing comment + with assignees + .remove_assignees + removes assignees + .close_issue + closes an issue + .issue_timeline + returns an issue timeline + .issue + returns a full issue + returns an issue + .list_issues + returns dashboard issues for the authenticated user + returns issues for a repository + .issue_comment + returns a single comment for an issue + .repository_issues_comments + returns comments for all issues in a repository + .issue_comments + returns comments for an issue + .org_issues + returns issues for the organization for the authenticated user -Octokit::EnterpriseAdminClient - module configuration - inherits Octokit::Client - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files +Octokit::Client::Commits + .commits_on + handles the sha option + handles branch or sha argument + errors if the date is invalid + returns all commits on the specified date + .create_commit + creates a commit + .compare + returns a comparison + .commit + returns a commit + .commits_between + returns all commits until the specified date + handles the sha option + handles branch or sha argument + errors if the date is invalid + .git_commit + returns a detailed git commit + .commits + handles branch or sha argument + handles the sha option + returns all commits + .commits_since + returns all commits since the specified date + handles the sha option + handles branch or sha argument + errors if the date is invalid + .commits_before + returns all commits until the specified date + handles the sha option + errors if the date is invalid + handles branch or sha argument + .merge + merges a branch into another -Octokit::Client::Objects - .tag - returns a tag - .blob - returns a blob - .tree - gets a tree recursively - gets a tree - .create_tag - creates a tag - .create_tree - creates a tree - .create_blob - creates a blob +Octokit::Client::Releases + .releases + lists releases for a repo + .release_for_tag + returns the release for a tag + .delete_release + deletes a release + handling release assets + .delete_release_asset + deletes a release asset + .update_release_asset + edits a release asset + .upload_release_asset + uploads a release asset by path + uploads a release asset as file object + guesses the content type for an asset + uploads a release asset with a default name + .release_assets + lists assets for a release + .release_asset + gets a single release asset + .release + gets a single release + .update_release + updates a release + .create_release + creates a release + .latest_release + returns the latest release -Octokit::Client::SourceImport - post deprecation - .map_source_import_commit_author - updates the commit authors identity - .source_import_large_files - lists the source imports large files - .source_import_progress - returns the progress of the source import - .update_source_import - restarts the source import - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import - .source_import_commit_authors - lists the source imports commit authors - .start_source_import - starts a source import - .cancel_source_import - cancels the source import - pre deprecation - .start_source_import - provides deprecation warning +Octokit::Organization + .path + with name + returns name api path + with id + returns id api path + +Octokit::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization -Finished in 44.48 seconds (files took 1.13 seconds to load) +Finished in 1 minute 0.43 seconds (files took 1.16 seconds to load) 779 examples, 0 failures -Randomized with seed 61353 +Randomized with seed 61449 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. @@ -2801,12 +2836,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/3774599/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3774599/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/898669 and its subdirectories -I: Current time: Sun Aug 6 11:39:18 -12 2023 -I: pbuilder-time-stamp: 1691365158 +I: removing directory /srv/workspace/pbuilder/3774599 and its subdirectories +I: Current time: Sun Sep 8 20:04:44 +14 2024 +I: pbuilder-time-stamp: 1725775484