Diff of the two buildlogs: -- --- b1/build.log 2023-05-09 13:41:03.809202400 +0000 +++ b2/build.log 2023-05-09 13:44:11.192999288 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 9 01:38:47 -12 2023 -I: pbuilder-time-stamp: 1683639527 +I: Current time: Tue Jun 11 10:04:05 +14 2024 +I: pbuilder-time-stamp: 1718049845 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./ruby-octokit_4.20.0.orig.tar.gz] I: copying [./ruby-octokit_4.20.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Oct 5 01:53:03 2022 -12 +gpgv: Signature made Thu Oct 6 03:53:03 2022 +14 gpgv: using RSA key 2D65BC1EB9665A6E97F9730AB3F5945285219E1F gpgv: issuer "mdbilal@disroot.org" gpgv: Can't check signature: No public key @@ -27,137 +27,169 @@ dpkg-source: info: unpacking ruby-octokit_4.20.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/8749/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/84839/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Jun 11 10:04 /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/84839/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/84839/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='5076e874302a40758d4a0bf8997fc7ac' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='8749' - PS1='# ' - PS2='> ' + INVOCATION_ID=ed2dba74ad404a17912ba744a58eac7d + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=84839 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.Y8wXM8WX/pbuilderrc_TDkC --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Y8wXM8WX/b1 --logfile b1/build.log ruby-octokit_4.20.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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.Y8wXM8WX/pbuilderrc_rkIw --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Y8wXM8WX/b2 --logfile b2/build.log --extrapackages usrmerge ruby-octokit_4.20.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos12-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/8749/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 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 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 11 10:04 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/84839/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -381,7 +413,7 @@ Get: 162 http://deb.debian.org/debian bookworm/main i386 ruby-simplecov all 0.22.0-1 [45.1 kB] Get: 163 http://deb.debian.org/debian bookworm/main i386 ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 164 http://deb.debian.org/debian bookworm/main i386 ruby-webmock all 3.18.1-2 [66.2 kB] -Fetched 49.8 MB in 1s (40.6 MB/s) +Fetched 49.8 MB in 2s (23.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -1060,8 +1092,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-octokit-4.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-octokit_4.20.0-1_source.changes +I: user script /srv/workspace/pbuilder/84839/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/84839/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-octokit-4.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-octokit_4.20.0-1_source.changes dpkg-buildpackage: info: source package ruby-octokit dpkg-buildpackage: info: source version 4.20.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1094,7 +1137,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-octokit/ -O--buildsystem=ruby dh_ruby --install /build/ruby-octokit-4.20.0/debian/ruby-octokit -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230509-16793-n7amya/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240611-95687-c1xc7v/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on faraday (>= 0.9) is not recommended if faraday is semantically versioned, use: @@ -1104,7 +1147,7 @@ Name: octokit Version: 4.20.0 File: octokit-4.20.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-octokit/usr/share/rubygems-integration/all /tmp/d20230509-16793-n7amya/octokit-4.20.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-octokit/usr/share/rubygems-integration/all /tmp/d20240611-95687-c1xc7v/octokit-4.20.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/octokit.rb @@ -1222,521 +1265,529 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 16589 +Randomized with seed 20785 -Octokit::Client::Stats - .punch_card_stats - returns commit count by hour punch card stats - with cold graph cache - .punch_card_stats - returns commit count by hour punch card stats - retries - .participation_stats - retries - returns the owner and contributor participation stats - .code_frequency_stats - returns the code frequency stats - retries - .contributors_stats - returns nil on timeout - returns contributors and their contribution stats - retries - .commit_activity_stats - returns the commit activity stats - retries - .commit_activity_stats - returns the commit activity stats - with empty repo - .contributors_stats - returns nil on timeout - returns nil when statistics are not ready - returns [] when GitHub returns 204 - doesn't retry when GitHub returns 204 - .code_frequency_stats - returns the code frequency stats - .participation_stats - returns the owner and contributor participation stats - .contributors_stats - returns contributors and their contribution stats +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .upload_license + uploads a license for the Enterprise installation + .config_status + returns information about the installation + .upgrade + upgrades the Enterprise installation + .maintenance_status + returns information about the Enterprise maintenance status + .start_configuration + starts a configuration process for the Enterprise installation + .edit_settings + edits the Enterprise settings + .remove_authorized_key + removes a new authorized SSH keys (via a string contents) + removes a new authorized SSH keys (via a File handler) + removes a new authorized SSH keys (via a file path) + .settings + returns information about the Enterprise settings + .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) + .authorized_keys + gets the authorized SSH keys + .set_maintenance_status + enables the Enterprise maintenance mode -Octokit::Client::Repositories - .subscription - returns a repository subscription - .repository - returns the matching repository - returns the repository, including topics - .star - stars a repository - .delete_subscription - returns true when repo subscription deleted - .languages - returns a repository's languages - .repositories - returns authenticated user's repositories - returns a user's repositories - .contributors - returns repository contributors excluding anonymous - returns repository contributors - .unwatch - unwatches a repository - .set_private - sets a repository private - .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 - .add_deploy_key - adds a repository deploy keys - .unstar - unstars a repository - .tags - returns a repository's tags - .transfer_repository - repository transfer from myself to my organization - .edit_deploy_key - modifies a deploy key - .watch - watches a repository - .set_public - sets a repository public - .network - returns a repository's network - .deploy_key - returns a specific deploy key for a repo - .assignees - lists all the available assignees (owner + collaborators) - .watchers - returns all repository watchers - .collaborators - returns a repository's collaborators - .all_repositories - returns all repositories on github - .remove_deploy_key - removes a repository deploy keys - .fork - forks a repository - .enable_vulnerability_alerts - enables vulnerability alerts for the repository - .vulnerability_alerts_enabled? - returns true when vulnerability alerts are enabled - returns false with vulnerability alerts disabled - with repository - .update_repository - updates the matching repository - .collaborator? - checks if a user is a repository collaborator - .delete_repository - deletes a repository - .dispatch_event - creates a dispatch event - .create_repository_from_template -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. - generates a repository from the template - .create_repository - creates a repository - .deploy_keys - returns a repository's deploy keys - .repository_teams - returns all repository teams - .add_collaborator - adds a repository collaborators - .remove_collaborator - removes a repository collaborators - .replace_all_topics - replaces all topics for a repository - .topics - returns repository topics - .branch_protection - returns nil for an unprotected branch - with protected branch - returns branch protection summary - .create_repository - creates a repository for an organization by ID - creates a repository for an organization - with repository - .permission_level - returns the permission level a user has on a repository - .protect_branch - protects a single branch - protects a single branch with required_status_checks - protects a single branch with required_approving_review_count - with protected branch - .unprotect_branch - unprotects a single branch - .branches - returns a repository's branches - returns a single branch - .subscribers - lists all the users watching the repository - .disable_vulnerability_alerts - disables vulnerability alerts for the repository - .check_assignee - checks to see if a particular user is an assignee for a repository - .stargazers - returns all repository stargazers - .repository? - returns false if the repository has more than one slash - returns false if the repository doesn't exist - returns true if the repository exists - returns false if the repository has an invalid format - .update_subscription - updates a repository subscription +Octokit::Client::Milestones + .list_milestones + lists milestones belonging to repository + lists milestones belonging to repository using id of repository + with milestone + .create_milestone + creates a milestone + .update_milestone + updates a milestone + .delete_milestone + deletes a milestone from a repository + .milestone + gets a single milestone belonging to repository -Octokit::Client::Meta - .github_meta - returns meta information about github +Octokit::Client::Traffic + .clones + returns the clone stats for a repository + .views + returns the views breakdown for a repository + .top_referrers + returns the referrers stats for a repository + .top_paths + returns the top path statistics for a repository + +Octokit::Client::Organizations + .remove_organization_membership + removes an organization membership for a given user + .organization_public_members + lists public members + .remove_outside_collaborator + removes the outside collaborator from an organization + .user_teams + lists all teams for the authenticated user + public org members + .unpublicize_membership + unpublicizes membership + .publicize_membership + publicizes membership + .organization_public_member? + checks publicized org membership + .organization_members + returns all public members of an organization + .remove_team_membership + removes a user's membership for a team + .remove_organization_member + removes a member from an organization + .organizations + returns all organizations for a user + returns all organizations for the authenticated user + .child_teams + returns all child teams for the team + .outside_collaborators + lists outside collaborators for an organization + .organization_memberships + returns all organization memberships for the user + .update_organization_membership + updates an organization membership + adds or updates an organization membership for a given user + .all_organizations + paginates organizations on GitHub + .convert_to_outside_collaborator + converts an organization member to an outside collaborator + .update_organization + updates an organization + .organization_member? + checks organization membership + with team + .create_team + creates a team + .team + returns a team + .team_by_name + returns a team found by name + .update_team + updates a team + .team_members + returns team members + .add_team_member + adds a team member + .remove_team_member + removes a team member + .team_member? + checks if a user is member of a team + .team_invitations + lists pending team invitations + .team_repositories + returns team repositories + .add_team_repository + adds a team repository + .team_repository? + checks if a repo is managed by a specific team + .remove_team_repository + removes a team repository + .delete_team + deletes a team + .add_team_membership + invites a user to a team + .organization_repositories + returns all public repositories for an organization + .organization + returns an organization + .organization_invitations + lists pending organization invitations + .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 + .team_membership + gets a user's team membership + .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 + +Octokit::Client::Emojis + .emojis + returns all github emojis + +Octokit::Client::Notifications + .repository_notifications + lists all notifications for a repository + .notifications + lists the notifications for the current user + with thread + with subscription + .update_thread_subscription + updates a thread subscription + .delete_thread_subscription + returns true with successful thread deletion + .thread_subscription + returns a thread subscription + .mark_thread_as_read + marks a thread as read + .thread_notifications + returns notifications for a specific thread + .mark_repository_notifications_as_read + returns true when notifications for a repo are marked as read + .mark_notifications_as_read + returns true when notifications are marked as read Octokit::Client::Releases - .releases - lists releases for a repo + .delete_release + deletes a release + .release + gets a single release + .create_release + creates a release + .latest_release + returns the latest release handling release assets - .release_asset - gets a single release asset + .upload_release_asset + guesses the content type for an asset + uploads a release asset as file object + uploads a release asset by path + uploads a release asset with a default name .release_assets lists assets for a release - .delete_release_asset - deletes a release asset .update_release_asset edits a release asset - .upload_release_asset - uploads a release asset as file object - uploads a release asset with a default name - guesses the content type for an asset - uploads a release asset by path - .release_for_tag - returns the release for a tag - .delete_release - deletes a release - .latest_release - returns the latest release + .delete_release_asset + deletes a release asset + .release_asset + gets a single release asset .update_release updates a release - .release - gets a single release - .create_release - creates a release - -Octokit::Client::Issues - .user_issues - returns issues for the authenticated user for owned and member repos - .add_assignees - adds assignees - .list_issues - returns issues for a repository - returns dashboard issues for the authenticated user - .issue_comment - returns a single comment for an issue - with repository - .create_issue - creates an issue with delimited labels - creates an issue with labels array - creates an issue without body argument - creates an issue - with issue - with locked issue - .unlock_issue - unlocks an issue - .close_issue - closes an issue - with issue comment - .delete_comment - deletes an existing comment - .update_comment - updates an existing comment - .add_comment - adds a comment - .issue - returns a full issue - returns an issue - with closed issue - .reopen_issue - reopens an issue - .issue_timeline - returns an issue timeline - .update_issue - updates an issue - updates an issue without positional args - .lock_issue - locks an issue - with assignees - .remove_assignees - removes assignees - .issue_comments - returns comments for an issue - .list_assignees - returns available assignees for a repository - .repository_issues_comments - returns comments for all issues in a repository - .org_issues - returns issues for the organization for the authenticated user - -Octokit::EnterpriseAdminClient::SearchIndexing - .index_repository_issues - behaves like single target queue - identifies the target being indexed in the return message - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/issues to be indexed - .index_users_repositories_issues - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-padawan/*/issues to be indexed - behaves like multiple target queue - identifies targets that were queued for index in the return message - .index_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_repository_code - behaves like single target queue - identifies the target being indexed in the return message - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/code to be indexed - .index_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-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 a valid target - queues api-playground/api-sandbox to be indexed - with invalid target - raises Octokit::NotFound - .index_users_repositories - behaves like multiple target queue - identifies targets that were queued for index in the return message - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-padawan/* to be indexed - -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit - -Octokit::Client::CommunityProfile - .community_profile - returns community profile metrics for a repository - -Octokit::Client::Contents - .delete_contents - deletes repository contents at a path - .contents - returns the contents of a file - .readme - returns the default readme - .update_contents - updates repository contents at a path - does not add new lines - .archive_link - returns the headers of the request - .create_contents - creates repository contents at a path - does not add new lines - creates contents from file path - creates contents from Tempfile object - creates contents from File object - -Octokit::Client::Say - .say - returns an ASCII octocat with custom text - returns an ASCII octocat + .release_for_tag + returns the release for a tag + .releases + lists releases for a repo -Octokit::Client::Authorizations - .scopes - checks the scopes on a one-off token - checks the scopes on the current token - .authorization - returns a single authorization - .update_authorization - updates and existing authorization - .authorize_url - requires client_id and client_secret - with passed client credentials - returns the authorize_url - with passed options hash - escapes values before adding to query params - appends options hash as query params - with preconfigured client credentials - returns the authorize_url - .revoke_all_application_authorizations - returns false - .authorizations - lists existing authorizations - .delete_authorization - deletes an existing authorization - .create_authorization - without :idempotent => true - creates a new authorization with options - creates an API authorization - creates a new API authorization each time - with :idempotent => true - creates a new authorization with fingerprint - returns an existing API authorization if one already exists - creates a new authorization with options +Octokit::EnterpriseAdminClient::AdminStats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_issues_stats + returns only issue-related stats + .admin_stats + returns all available enterprise stats + .admin_pages_stats + returns only pages-related stats + .admin_repository_stats + returns only repository-related stats + .admin_hooks_stats + returns only hooks-related stats + .admin_comments_stats + returns only comment-related stats + .admin_gists_stats + returns only gist-related stats + .admin_users_stats + returns only user-related stats + .admin_organization_stats + returns only organization-related stats + .admin_milestones_stats + returns only milestone-related stats Octokit::Client::Apps - .find_user_installation - returns installation for a user + .find_repository_installation works for GitHub Enterprise installs + returns installation for an repository allows auto_pagination .find_integration_installations returns installations for an integration + .app + returns current App + works for GitHub Enterprise installs + .find_user_installations + returns installations for a user + allows auto_pagination + works for GitHub Enterprise installs + .find_user_installation + works for GitHub Enterprise installs + allows auto_pagination + returns installation for a user + .find_app_installations + works for GitHub Enterprise installs + returns installations for an app + .find_organization_installation + returns installation for an organization + allows auto_pagination + works for GitHub Enterprise installs with app installation .find_installation_repositories_for_user - allows auto_pagination works for GitHub Enterprise installs returns repositories for a user + allows auto_pagination + .delete_installation + deletes an installation + with app installation access token + .list_app_installation_repositories + allows auto_pagination + lists the installations repositories + works for GitHub Enterprise installs + .list_integration_installation_repositories + lists the installations repositories .create_integration_installation_access_token creates an access token for the installation - with repository + with repository on GitHub Enterprise + .remove_repository_from_app_installation + works for GitHub Enterprise installs .add_repository_to_app_installation - adds the repository to the installation + works for GitHub Enterprise installs + with repository .add_repository_to_integration_installation adds the repository to the installation + .add_repository_to_app_installation + adds the repository to the installation with installed repository on installation - .remove_repository_from_app_installation - removes the repository from the installation .remove_repository_from_integration_installation removes the repository from the installation + .remove_repository_from_app_installation + removes the repository from the installation .create_app_installation_access_token works for GitHub Enterprise installs creates an access token for the installation - .delete_installation - deletes an installation .installation - works for GitHub Enterprise installs returns the installation - with repository on GitHub Enterprise - .remove_repository_from_app_installation - works for GitHub Enterprise installs - .add_repository_to_app_installation - works for GitHub Enterprise installs - 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 - .find_repository_installation - works for GitHub Enterprise installs - allows auto_pagination - returns installation for an repository - .find_user_installations - works for GitHub Enterprise installs - returns installations for a user - allows auto_pagination - .find_app_installations - returns installations for an app - works for GitHub Enterprise installs - .find_organization_installation - works for GitHub Enterprise installs - allows auto_pagination - returns installation for an organization - .app - returns current App - works for GitHub Enterprise installs + works for GitHub Enterprise installs + +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit + +Octokit::Client + knows the password delivery mechanism when needs OTP + knows the difference between unauthorized and needs OTP + returns empty context when non rate limit error occurs + returns context when non rate limit error occurs but rate limit headers are present + returns context with default data when rate limit error occurs but headers are missing + .root + fetches the API root + passes app creds in the query string + .head + handles query params + handles headers + .as_app + requires a client and secret + uses client and secret as Basic auth + uses preconfigured client and secret + duplicates the client + makes authenticated requests + .agent + acts like a Sawyer agent + caches the agent + authentication + when basic authenticated + makes authenticated calls + when application authenticated + makes authenticated calls + when token authenticated + makes authenticated calls + fetches and memoizes login + when bearer authenticated + makes authenticated calls + with module level config + sets basic auth creds with .configure + sets oauth token with module methods + sets basic auth creds with module methods + sets oauth token with module methods + sets bearer token with module method + sets oauth application creds with .configure + sets oauth token with .configure + sets bearer token with .configure + with class level config + sets basic auth creds with .configure + sets oauth application creds with .configure + sets oauth token with module methods + sets basic auth creds with instance methods + sets oauth token with .configure + sets oauth token with instance methods + module configuration + inherits the module configuration + with class level configuration + masks client secrets on inspect + masks passwords on inspect + masks tokens on inspect + masks bearer token on inspect + can set configuration after initialization + overrides module configuration + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc + rels parsing + handles git@github ssh URLs + when making requests + omits app creds in query params for token requests + Accepts application/vnd.github.v3+json by default + allows Accept'ing another media type + sets an ssl verify => true + sets an ssl verify mode + ensures ssl verify mode is set to default when no override provided + no sets an ssl verify + omits app creds in query params for basic requests + sets a proxy server + sets an ssl verify => false + sets a custom user agent + sets a default user agent + adds app creds in query params to anonymous requests + passes along request headers for POST + module call shortcut + uniquely separates method missing calls + has no method collisions + .get + handles query params + handles headers + redirect handling + follows redirect for 301 response + follows redirects for supported HTTP methods + drops authentication info when redirecting to a different host + does not change HTTP method when following a redirect + follows redirect for 307 response + follows at most 3 consecutive redirects + keeps authentication info when redirecting to the same host + follows redirect for 302 response + error handling + raises on 404 + includes a message + includes an error summary + knows the difference between different kinds of forbidden + exposes the response body + raises on 500 + raises on unknown client errors + exposes the response status code + raises on unknown server errors + resets last_response on errors + handles documentation URLs in error messages + includes an error + knows the difference between different kinds of unprocessable entity + exposes errors array + exposes the response headers + handles an error response with an array body + .last_response + caches the last agent response + content type + fixes % bug + sets a default Content-Type header + auto pagination + accepts a block for custom result concatination + fetches all the pages + sets headers for all pages + +Octokit::Client::Hooks + with org hook + .ping_org_hook + pings an org hook + pings an org hook by ID + .create_org_hook + creates an org hook for by ID + creates an org hook + .remove_org_hook + removes an org hook + removes an org hook by ID + .org_hook + returns a single org hook by ID + returns a single org hook + .edit_org_hook + edits an org hook by ID + edits an org hook + with repository + .hooks + returns a repository's hooks + with hook + .create_hook + creates a hook + .remove_hook + removes a hook + .edit_hook + edits a hook + .hook + returns a repository's single hook + .ping_hook + pings a hook + .test_hook + tests a hook + .parse_payload + parses payload string + .available_hooks + returns all the hooks supported by GitHub with their parameters + .org_hooks + returns an organization's hooks by ID + returns an organization's hooks + +Octokit::Client::Statuses + with repository + .create_status + creates status + .combined_status + gets a combined status + .statuses + lists commit statuses + +Octokit::Client::Feeds + .feed + returns parsed feed data + .feeds + when unauthenticated + returns the public feeds list + when authenticated with oauth token + returns the authenticated users feeds + when authenticated with basic auth + returns private feeds Octokit::Client::Reviews - .pull_request_review_comments - returns all comments for a single review with repository with pull request with pending pull request review .delete_pull_request_review deletes a pending pull request review - .create_pull_request_review - creates a pull request review .submit_pull_request_review submits a pending pull request review + .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 team + deletes a requests for a pull request review from a user .request_pull_request_review requests a new pull request review from a team requests a new pull request review from a user - .delete_pull_request_review_request - deletes a requests for a pull request review from a user - deletes a requests for a pull request review from a team - .pull_request_review_requests - returns all requested reviewers - .create_pull_request_review - creates a pull request review with comments + .pull_request_review + returns a single pull request review with pull request review .update_pull_request_review updates the review summary comment with new text - .pull_request_review - returns a single pull request review - .dismiss_pull_request_review - dismisses a request for change pull request review .pull_request_reviews returns a list of all pull request reviews + .pull_request_review_comments + returns all comments for a single review + .dismiss_pull_request_review + dismisses a request for change pull request review -Octokit::Client::ServiceStatus - .github_status_last_message - returns the last human message - .github_status - returns the most recent status messages - .github_status - returns the current system status - -Octokit::Client::Pages - .pages_build - lists a specific page build - .pages - lists page information - .list_pages_builds - lists information about all the page builds - .request_page_build - requests a build for the latest revision - .latest_pages_build - lists information about the latest page build - -Octokit::Client::Milestones - with milestone - .update_milestone - updates a milestone - .milestone - gets a single milestone belonging to repository - .create_milestone - creates a milestone - .delete_milestone - deletes a milestone from a repository - .list_milestones - lists milestones belonging to repository - lists milestones belonging to repository using id of repository - -Octokit::EnterpriseAdminClient::License - .license_info - returns information about the license +Octokit::Client::OauthApplications + .delete_app_token + deletes the token + has a .delete_application_authorization alias + has a .revoke_application_authorization alias + works in Enterprise mode + .delete_app_authorization + revokes the app's access to the user + .check_token + has a .check_application_authorization alias + checks the token is valid + works in Enterprise mode + .reset_token + works in Enterprise mode + resets the token + has a .reset_application_authorization alias Octokit::Client::ActionsWorkflows .workflow @@ -1746,476 +1797,731 @@ .workflows returns the repository workflows -Octokit::User +Octokit::Client::LegacySearch + .legacy_search_users + returns matching username + should not raise URI::InvalidURIError and returns success + .legacy_search_issues + returns matching issues + .legacy_search_repos + returns matching repositories + +Octokit::Client::Stats + with cold graph cache + .commit_activity_stats + retries + returns the commit activity stats + .code_frequency_stats + retries + returns the code frequency stats + .punch_card_stats + returns commit count by hour punch card stats + retries + .contributors_stats + retries + returns contributors and their contribution stats + returns nil on timeout + .participation_stats + retries + returns the owner and contributor participation stats + .participation_stats + returns the owner and contributor participation stats + with empty repo + .contributors_stats + returns [] when GitHub returns 204 + doesn't retry when GitHub returns 204 + returns nil when statistics are not ready + returns nil on timeout + .punch_card_stats + returns commit count by hour punch card stats + .contributors_stats + returns contributors and their contribution stats + .code_frequency_stats + returns the code frequency stats + .commit_activity_stats + returns the commit activity stats + +Octokit::Client::Refs + with ref + .delete_ref + deletes an existing ref + .update_ref + updates a ref + .create_ref + creates a ref + .update_branch + updates a branch + .delete_branch + deletes an existing branch + .create_ref + prepends refs/ to the ref parameter + does not duplicate refs/ in ref parameter + .refs + returns all refs + returns all tag refs + .ref + returns a tags ref + +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 + .delete_deployment + deletes a single deployment + .deployment_statuses + lists deployment statuses + .create_deployment_status + creates a deployment status + +Octokit::EnterpriseAdminClient::License + .license_info + returns information about the license + +Octokit::Client::Projects + with repository + with project + .project_columns + returns the columns for a project + .project + returns a project + with project column + .project_column + returns a project column by id + .update_project_column + updates the project column and returns the updated column + .create_project_card + creates a new card with a note + .delete_project_column + deletes the project column + .move_project_column + moves the project column + .column_cards + returns a list of the cards in a project column + with project card + .delete_project_card + deletes the project card + .update_project_card + updates the project card + .move_project_card + moves the project card + .project_card + returns a project card by id + .delete_project + returns the result of deleting a project + .create_project_column + returns the newly created project column + .update_project + updates the project name and body then returns the updated project + .projects + returns a list of projects for a repository + .create_org_project + returns the new org project + .create_project + returns the newly created project + .org_projects + returns the projects for an organization + +Octokit::Client::CommunityProfile + .community_profile + returns community profile metrics for a repository + +Octokit::Repository + when passed nil + raises ArgumentError + when passed a string containg a slash + responds to repo and user + sets the repository name and username + renders url as string + renders slug as string + when passed a frozen hash + sets the repository name and username + when passed a Repo + sets the repository name and username + self.path + returns the api path .path - with no user passed - returns default path - with login - returns login api path + with repository id + returns theu url path + with named repository + returns the url path + when passed a hash with invalid repo + raises ArgumentError + when passed a boolean false + false raises ArgumentError + when passed a hash with a username that contains a slash + raises ArgumentError + when passed an invalid path + raises ArgumentError + when passed a hash + sets the repository name and username + when passed a hash with a repo that contains a slash + raises ArgumentError + when passed an integer + sets the repository id + when passed a hash with invalid username + raises ArgumentError + when given a URL + raises InvalidRepository error for unsupported url + parses html urls + sets the repository name and username + parses api urls + when passed a string with more than 1 slash + raises ArgumentError + when passed a boolean true + raises ArgumentError + when passed a string without a slash + raises ArgumentError + +Octokit::Client::PullRequests + .pull_request_comments + returns the comments for a pull request + methods that require a new pull + .create_pull_request + creates a pull request + without body argument + creates a pull request without body argument + methods requiring a pull request comment + .delete_pull_request_comment + deletes a pull request comment + .create_pull_request_comment_reply + creates a new reply to a pull request comment + .create_pull_request_comment + creates a new comment on a pull request + .update_pull_request_comment + updates a pull request comment + .update_pull_request + updates 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 + .pull_requests_comments + returns all comments on all pull requests + .pull_request_comment + returns a comment on a pull request + .pull_request_commits + returns the commits for a pull request + .merge_pull_request + merges the pull request + .create_pull_request_for_issue + creates a pull request and attach it to an existing issue + .pull_requests + lists all pull requests + lists all pull requests with state option + .pull_request_files + lists files for a pull request + +Octokit::Client + deprecated methods + rate_limit_remaining! + triggers warning and will remaining on rate_limit! + #rate_limit_remaining + triggers warning and will call remaining on rate_limit + #rate_limit! + makes a web request to check the rate limit + #rate_limit + with last response + checks the rate limit from the last response + with no last response + makes a response + +Octokit::Client::ServiceStatus + .github_status + returns the most recent status messages + .github_status + returns the current system status + .github_status_last_message + returns the last human message + +Octokit::Organization + .path + with name + returns name api path with id returns id api path -Octokit::Client::Labels - .add_label - adds a label with a color - adds a label with default color - .delete_label! - deletes a label from the repository - with issue - .labels_for_issue - returns all labels for a given issue - .replace_all_labels - replaces all labels for an issue - .remove_all_labels - removes all labels from the specified issue - .add_labels_to_an_issue - adds labels to a given issue - .remove_label - removes a label from the specified issue - .label - returns a single label - .labels - returns labels - with label - .update_label - updates a label with a new color - .lables_for_milestone - returns all labels for a repository +Octokit::Client::Issues + .add_assignees + adds assignees + .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 + with repository + with issue + with assignees + .remove_assignees + removes assignees + .add_comment + adds a comment + .lock_issue + locks an issue + with locked issue + .unlock_issue + unlocks 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 closed issue + .reopen_issue + reopens an issue + .issue_timeline + returns an issue timeline + .close_issue + closes an issue + .issue + returns a full issue + returns an issue + .create_issue + creates an issue without body argument + creates an issue + creates an issue with labels array + creates an issue with delimited labels + .issue_comments + returns comments for an issue + .user_issues + returns issues for the authenticated user for owned and member repos + .repository_issues_comments + returns comments for all issues in a repository + .list_issues + returns dashboard issues for the authenticated user + returns issues for a repository Octokit::Client::SourceImport post deprecation .source_import_progress returns the progress of the source import - .update_source_import - restarts the source import - .source_import_commit_authors - lists the source imports commit authors - .start_source_import - starts a source import - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import .cancel_source_import cancels the source import - .map_source_import_commit_author - updates the commit authors identity .source_import_large_files lists the source imports large files + .start_source_import + starts a source import + .update_source_import + restarts the source import + .map_source_import_commit_author + updates the commit authors identity + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + .source_import_commit_authors + lists the source imports commit authors pre deprecation .start_source_import provides deprecation warning -Octokit::Client::OauthApplications - .reset_token - resets the token - works in Enterprise mode - has a .reset_application_authorization alias - .delete_app_authorization - revokes the app's access to the user - .check_token - works in Enterprise mode - checks the token is valid - has a .check_application_authorization alias - .delete_app_token - deletes the token - has a .delete_application_authorization alias - works in Enterprise mode - has a .revoke_application_authorization alias +Octokit::EnterpriseAdminClient + module configuration + inherits Octokit::Client + with .netrc + can read .netrc files + can read non-standard API endpoint creds from .netrc -Octokit::Client::Downloads - .delete_download - deletes a download - .download - gets a single download - .downloads - lists available downloads +Octokit::Client::Licenses + .repository_license_contents + returns a repository's license file + .license + returns a particular license + .licenses + returns all licenses -Octokit::Client::Markdown - .markdown - renders markdown +Octokit::Client::Labels + .label + returns a single label + with issue + .replace_all_labels + replaces all labels for an issue + .remove_label + removes a label from the specified issue + .remove_all_labels + removes all labels from the specified issue + .labels_for_issue + returns all labels for a given issue + .add_labels_to_an_issue + adds labels to a given issue + .delete_label! + deletes a label from the repository + .labels + returns labels + .lables_for_milestone + returns all labels for a repository + with label + .update_label + updates a label with a new color + .add_label + adds a label with default color + adds a label with a color -Octokit::Client::Search - .search_commits - searches commits - .search_code - searches code - .search_issues - searches issues - .search_users - utilizes auto_pagination - searches users - .search_repositories - searches repositories +Octokit::Client::Marketplace + .list_accounts_for_plan + returns accounts for a given plan + .plan_for_account + returns the plan for a given account + .marketplace_purchases + returns marketplace purchases for user + .list_plans + returns plans for a marketplace listing -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .upload_license - uploads a license for the Enterprise installation - .edit_settings - edits the Enterprise settings - .authorized_keys - gets the authorized SSH keys - .maintenance_status - returns information about the Enterprise maintenance status - .config_status - returns information about the installation - .add_authorized_key - adds a new authorized SSH keys (via a File handler) - adds a new authorized SSH keys (via a string contents) - adds a new authorized SSH keys (via a file path) - .settings - returns information about the Enterprise settings - .start_configuration - starts a configuration process for the Enterprise installation - .set_maintenance_status - enables the Enterprise maintenance mode - .upgrade - upgrades the Enterprise installation - .remove_authorized_key - removes a new authorized SSH keys (via a string contents) - removes a new authorized SSH keys (via a File handler) - removes a new authorized SSH keys (via a file path) +Octokit::Client::Repositories + .contributors + returns repository contributors excluding anonymous + returns repository contributors + .enable_vulnerability_alerts + enables vulnerability alerts for the repository + .unstar + unstars a repository + .deploy_key + returns a specific deploy key for a repo + .subscribers + lists all the users watching the repository + .languages + returns a repository's languages + .unwatch + unwatches a repository + .delete_subscription + returns true when repo subscription deleted + .repositories + returns authenticated user's repositories + returns a user's repositories + with repository + .branch_protection + returns nil for an unprotected branch + with protected branch + returns branch protection summary + .delete_repository + deletes a repository + .add_collaborator + adds a repository collaborators + .remove_collaborator + removes a repository collaborators + .collaborator? + checks if a user is a repository collaborator + .create_repository_from_template +WARNING: The preview version of the Template_repositories API is not yet suitable for production use. +You can avoid this message by supplying an appropriate media type in the 'Accept' request +header. +WARNING: The preview version of the Template_repositories API is not yet suitable for production use. +You can avoid this message by supplying an appropriate media type in the 'Accept' request +header. + generates a repository from the template + .update_repository + updates the matching repository + .repository_teams + returns all repository teams + .topics + returns repository topics + .replace_all_topics + replaces all topics for a repository + .create_repository + creates a repository + .dispatch_event + creates a dispatch event + .deploy_keys + returns a repository's deploy keys + .stargazers + returns all repository stargazers + .assignees + lists all the available assignees (owner + collaborators) + .watch + watches a repository + .check_assignee + checks to see if a particular user is an assignee for a repository + .update_subscription + updates a repository subscription + .subscription + returns a repository subscription + .transfer_repository + repository transfer from myself to my organization + .vulnerability_alerts_enabled? + returns true when vulnerability alerts are enabled + returns false with vulnerability alerts disabled + .disable_vulnerability_alerts + disables vulnerability alerts for the repository + with repository + .permission_level + returns the permission level a user has on a repository + .protect_branch + protects a single branch + protects a single branch with required_status_checks + protects a single branch with required_approving_review_count + with protected branch + .unprotect_branch + unprotects a single branch + .repository + returns the repository, including topics + returns the matching repository + .collaborators + returns a repository's collaborators + .create_repository + creates a repository for an organization by ID + creates a repository for an organization + .set_public + sets a repository public + .fork + forks a repository + .all_repositories + returns all repositories on github + .edit_deploy_key + modifies a deploy key + .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 + .tags + returns a repository's tags + .watchers + returns all repository watchers + .star + stars a repository + .set_private + sets a repository private + .branches + returns a single branch + returns a repository's branches + .add_deploy_key + adds a repository deploy keys + .repository? + returns false if the repository doesn't exist + returns false if the repository has an invalid format + returns true if the repository exists + returns false if the repository has more than one slash + .network + returns a repository's network + .remove_deploy_key + removes a repository deploy keys + +Octokit::Client::Contents + .delete_contents + deletes repository contents at a path + .contents + returns the contents of a file + .readme + returns the default readme + .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 File object + creates contents from Tempfile object + does not add new lines + creates contents from file path + creates repository contents at a path Octokit::Client::PubSubHubbub - .subscribe - subscribes to pull events - raises an error when topic is not recognized - .unsubscribe - unsubscribes from pull events unsubscribe_service_hook unsubscribes to stop receiving events on specified topic + .unsubscribe + unsubscribes from pull events .subscribe_service_hook subscribes to pull event on specified topic encodes URL parameters - -Octokit::Client::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 repository - .hooks - returns a repository's hooks - with hook - .test_hook - tests a hook - .edit_hook - edits a hook - .create_hook - creates a hook - .remove_hook - removes a hook - .hook - returns a repository's single hook - .ping_hook - pings a hook - with org hook - .create_org_hook - creates an org hook - creates an org hook for by ID - .ping_org_hook - pings an org hook by ID - pings an org hook - .org_hook - returns a single org hook by ID - returns a single org hook - .remove_org_hook - removes an org hook - removes an org hook by ID - .edit_org_hook - edits an org hook by ID - edits an org hook + .subscribe + subscribes to pull events + raises an error when topic is not recognized Octokit::Client::RepositoryInvitations with repository + with repository invitation + .update_repository_invitation + updates the repository invitation + .delete_repository_invitation + deletes the repository invitation + .repository_invitations + lists the repositories outstanding invitations 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 - with repository invitation - .delete_repository_invitation - deletes the repository invitation - .update_repository_invitation - updates the repository invitation - .user_repository_invitations - lists the users repository invitations .invite_user_to_repository invites a user to a repository - .repository_invitations - lists the repositories outstanding invitations - -Octokit::Gist - when passed a Integer ID - renders id as string - sets the url - sets the gist ID as a string - when passed a string ID - renders id as string - sets the url - sets the gist ID - when given a URL - sets the id - -Octokit::Client::Emojis - .emojis - returns all github emojis - -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization - -Octokit::EnterpriseAdminClient::AdminStats - .admin_milestones_stats - returns only milestone-related stats - .admin_organization_stats - returns only organization-related stats - .admin_pull_requests_stats - returns only pull request-related stats - .admin_issues_stats - returns only issue-related stats - .admin_hooks_stats - returns only hooks-related stats - .admin_gists_stats - returns only gist-related stats - .admin_users_stats - returns only user-related stats - .admin_stats - returns all available enterprise stats - .admin_pages_stats - returns only pages-related stats - .admin_comments_stats - returns only comment-related stats - .admin_repository_stats - returns only repository-related stats - -Octokit::Client::Gitignore - .gitignore_templates - returns all gitignore templates - .gitignore_template - returns the ruby gitignore template - -Octokit::Client - returns context when non rate limit error occurs but rate limit headers are present - returns context with default data when rate limit error occurs but headers are missing - knows the password delivery mechanism when needs OTP - knows the difference between unauthorized and needs OTP - returns empty context when non rate limit error occurs - error handling - includes a message - knows the difference between different kinds of unprocessable entity - exposes the response body - exposes the response status code - knows the difference between different kinds of forbidden - includes an error summary - raises on unknown client errors - exposes errors array - raises on 404 - handles an error response with an array body - raises on unknown server errors - resets last_response on errors - handles documentation URLs in error messages - raises on 500 - exposes the response headers - includes an error - authentication - with class level config - sets oauth token with module methods - sets basic auth creds with .configure - sets oauth token with instance methods - sets oauth application creds with .configure - sets oauth token with .configure - sets basic auth creds with instance methods - when basic authenticated - makes authenticated calls - when bearer authenticated - makes authenticated calls - when token authenticated - makes authenticated calls - fetches and memoizes login - when application authenticated - makes authenticated calls - with module level config - sets bearer token with module method - sets bearer token with .configure - sets oauth token with .configure - sets oauth token with module methods - sets basic auth creds with .configure - sets oauth token with module methods - sets oauth application creds with .configure - sets basic auth creds with module methods - module configuration - inherits the module configuration - with class level configuration - masks passwords on inspect - masks client secrets on inspect - masks bearer token on inspect - masks tokens on inspect - overrides module configuration - can set configuration after initialization - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files - .last_response - caches the last agent response - .head - handles query params - handles headers - redirect handling - follows at most 3 consecutive redirects - does not change HTTP method when following a redirect - drops authentication info when redirecting to a different host - follows redirect for 301 response - follows redirect for 302 response - follows redirect for 307 response - keeps authentication info when redirecting to the same host - follows redirects for supported HTTP methods - rels parsing - handles git@github ssh URLs - .as_app - duplicates the client - requires a client and secret - uses client and secret as Basic auth - uses preconfigured client and secret - makes authenticated requests - when making requests - omits app creds in query params for token requests - sets a default user agent - Accepts application/vnd.github.v3+json by default - sets a proxy server - omits app creds in query params for basic requests - allows Accept'ing another media type - passes along request headers for POST - adds app creds in query params to anonymous requests - sets an ssl verify mode - sets a custom user agent - sets an ssl verify => true - sets an ssl verify => false - no sets an ssl verify - ensures ssl verify mode is set to default when no override provided - module call shortcut - uniquely separates method missing calls - has no method collisions - auto pagination - fetches all the pages - sets headers for all pages - accepts a block for custom result concatination - .agent - acts like a Sawyer agent - caches the agent - content type - sets a default Content-Type header - fixes % bug - .get - handles headers - handles query params - .root - fetches the API root - passes app creds in the query string - -Octokit::RateLimit - .from_response - handles resets_in time in past - returns a positive rate limit for Enterprise - handles nil responses - parses rate limit info from response headers - -Octokit::Client::ActionsSecrets - with a repo - .get_public_key - get repo specific public key for secrets encryption - with a repository with a secret - .create_or_update_secret - updating existing secret returns 204 - .list_secrets - returns list of one secret - .delete_secret - delete existing secret - .get_secret - return timestamps related to one secret - with a repo without secrets - .create_or_update_secret - creating secret returns 204 (even though API docs claims it should be 201) - .list_secrets - returns empty list of secrets + .user_repository_invitations + lists the users repository invitations Octokit::Client::Users - .remove_email - removes an email address - .migrations - deletes a user migration archive - lists repositories for a user migration - lists migrations for a user - starts a migration for a user - unlocks a migrated user repository - gets a user migration archive url - gets the status of a user migration - .followers - returns the authenticated user's followers - returns followers for a user - .following - returns the authenticated user's following - returns following for a user .subscriptions authenticated returns the repositories a user watches for notifications returns the repositories the authenticated user watches for notifications not authenticated returns the repositories a user watches for notifications - .keys - returns public keys for the authenticated user - .add_email - adds an email address - .starred? - checks if the authenticated user has starred a repository + .remove_email + removes an email address + .unfollow + unfollows a user + .emails + returns email addresses .exchange_code_for_token with application authenticated client returns the access_token with credentials passed as parameters by unauthed client returns the access_token - .all_users - returns all GitHub users - .user - handle [bot] users - returns the authenticated user - returns a user .follow follows a user - .unfollow - unfollows a user + .validate_credentials + validates username and password + .migrations + starts a migration for a user + lists repositories for a user migration + deletes a user migration archive + gets a user migration archive url + gets the status of a user migration + unlocks a migrated user repository + lists migrations for a user + .following + returns following for a user + returns the authenticated user's following + .all_users + returns all GitHub users + .add_email + adds an email address .starred authenticated - gets the authenticated user's starred repositories gets a user's starred repositories + gets the authenticated user's starred repositories not authenticated gets a user's starred repositories - .validate_credentials - validates username and password - .update_user - updates a user profile - .follows? - checks if the authenticated user follows another - checks if given user is following target user - .emails - returns email addresses + .user_keys + returns public keys for another user + .followers + returns the authenticated user's followers + returns followers for a user methods requiring an existing @public_key - .key - returns a 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 - .user_keys - returns public keys for another user + .update_key + updates a public key + .keys + returns public keys for the authenticated user + .update_user + updates a user profile + .user + handle [bot] users + returns a user + returns the authenticated user + .starred? + checks if the authenticated user has starred a repository + .follows? + checks if the authenticated user follows another + checks if given user is following target user + +Octokit::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization + +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit + +Octokit::EnterpriseAdminClient::Users + .list_all_keys + lists all public keys + .delete_key + deletes a public keys + .demote + demotes a site administrator to an ordinary user + .suspend + suspends a user + .promote + promotes an ordinary user to a site administrator + .unsuspend + unsuspends a user + .rename_user + rename a user + .create_user + creates a new user + .create_impersonation_token + creates an impersonation token as a user + .delete_impersonation_token + deletes an impersonation token as a user + .delete_user + deletes a user + +Octokit::EnterpriseAdminClient::SearchIndexing + .index_repository_issues + behaves like search index queuer + with a valid target + queues api-playground/api-sandbox/issues to be indexed + with invalid target + raises Octokit::NotFound + behaves like single target queue + identifies the target being indexed in the return message + .index_users_repositories_code + behaves like multiple target queue + identifies targets that were queued for index in the return message + behaves like search index queuer + with a valid target + queues api-padawan/*/code to be indexed + with invalid target + raises Octokit::NotFound + .index_repository_code + behaves like single target queue + identifies the target being indexed in the return message + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-playground/api-sandbox/code to be indexed + .index_users_repositories_issues + behaves like multiple target queue + identifies targets that were queued for index in the return message + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-padawan/*/issues to be indexed + .index_users_repositories + behaves like multiple target queue + identifies targets that were queued for index in the return message + behaves like search index queuer + with a valid target + queues api-padawan/* to be indexed + with invalid target + raises Octokit::NotFound + .index_repository + behaves like search index queuer + with a valid target + queues api-playground/api-sandbox to be indexed + with invalid target + raises Octokit::NotFound + behaves like single target queue + identifies the target being indexed in the return message + .index_user + behaves like single target queue + identifies the target being indexed in the return message + behaves like search index queuer + with invalid target + raises Octokit::NotFound + with a valid target + queues api-padawan to be indexed Octokit::Client::CommitComments - .commit_comment - returns a single commit comment .list_commit_comments returns a list of all commit comments + .commit_comment + returns a single commit comment .commit_comments returns a list of comments for a specific commit with commit comment @@ -2226,90 +2532,222 @@ .delete_commit_comment deletes a commit comment -Octokit::EnterpriseAdminClient::Users - .promote - promotes an ordinary user to a site administrator - .delete_user - deletes a user - .create_impersonation_token - creates an impersonation token as a user - .suspend - suspends a user - .unsuspend - unsuspends a user - .list_all_keys - lists all public keys - .demote - demotes a site administrator to an ordinary user - .delete_key - deletes a public keys - .rename_user - rename a user - .create_user - creates a new user - .delete_impersonation_token - deletes an impersonation token as a user +Octokit::Client::Gitignore + .gitignore_template + returns the ruby gitignore template + .gitignore_templates + returns all gitignore templates -Octokit::Client::Licenses - .licenses - returns all licenses - .license - returns a particular license - .repository_license_contents - returns a repository's license file +Octokit::Client::Authorizations + .scopes + checks the scopes on a one-off token + checks the scopes on the current token + .create_authorization + with :idempotent => true + creates a new authorization with fingerprint + returns an existing API authorization if one already exists + creates a new authorization with options + without :idempotent => true + creates a new authorization with options + creates a new API authorization each time + creates an API authorization + .update_authorization + updates and existing authorization + .authorizations + lists existing authorizations + .revoke_all_application_authorizations + returns false + .delete_authorization + deletes an existing authorization + .authorize_url + requires client_id and client_secret + with preconfigured client credentials + returns the authorize_url + with passed client credentials + returns the authorize_url + with passed options hash + appends options hash as query params + escapes values before adding to query params + .authorization + returns a single authorization -Octokit::Client::PullRequests - .pull_request_files - lists files for a pull request - .pull_request_comment - returns a comment on a pull request - .create_pull_request_for_issue - creates a pull request and attach it to an existing issue - .pull_requests - lists all pull requests - lists all pull requests with state option - .pull_requests_comments - returns all comments on all pull requests - methods that require a new pull - methods requiring a pull request comment - .create_pull_request_comment - creates a new comment on a pull request - .delete_pull_request_comment - deletes a pull request comment - .create_pull_request_comment_reply - creates a new reply to a pull request comment - .update_pull_request_comment - updates a pull request comment - .pull_request - returns a pull request - .update_pull_request - updates a pull request - .pull_merged? - returns whether the pull request has been merged - .create_pull_request - creates a pull request - without body argument - creates a pull request without body argument - .close_pull_request - closes a pull request - .pull_request_comments - returns the comments for a pull request - .merge_pull_request - merges the pull request - .pull_request_commits - returns the commits for a pull request +Octokit::Client::ActionsWorkflowRuns + .delete_workflow_run_logs + deletes the logs for a workflow run + .workflow_run_logs + returns the location of the workflow run logs + .workflow_run + returns the requested workflow run + .workflow_runs + returns runs for a workflow + .cancel_workflow_run + returns false if the request returns unexpected status + returns true if cancellation fo the workflow was successful + .rerun_workflow_run + returns false if request returns unexpected status + returns true if rerun request was enqueued successfully + .repository_workflow_runs + returns all workflow runs for repository + +Octokit::Client::Markdown + .markdown + renders markdown + +Octokit::Client::ActionsSecrets + with a repo + .get_public_key + get repo specific public key for secrets encryption + with a repository with a secret + .get_secret + return timestamps related to one secret + .list_secrets + returns list of one secret + .delete_secret + delete existing secret + .create_or_update_secret + updating existing secret returns 204 + with a repo without secrets + .create_or_update_secret + creating secret returns 204 (even though API docs claims it should be 201) + .list_secrets + returns empty list of secrets + +Octokit::Client::Downloads + .download + gets a single download + .delete_download + deletes a download + .downloads + lists available downloads + +Octokit::Client::Commits + .git_commit + returns a detailed git commit + .commits_since + handles branch or sha argument + errors if the date is invalid + handles the sha option + returns all commits since the specified date + .commits_before + returns all commits until the specified date + handles the sha option + handles branch or sha argument + errors if the date is invalid + .commit + returns a commit + .create_commit + creates a commit + .commits + returns all commits + handles the sha option + handles branch or sha argument + .commits_between + errors if the date is invalid + handles branch or sha argument + handles the sha option + returns all commits until the specified date + .merge + merges a branch into another + .compare + returns a comparison + .commits_on + returns all commits on the specified date + errors if the date is invalid + handles branch or sha argument + handles the sha option Octokit::EnterpriseManagementConsoleClient module configuration inherits Octokit::Client +Octokit::User + .path + with no user passed + returns default path + with id + returns id api path + with login + returns login api path + +Octokit::Client::Reactions + with repository + with issue + with issue comment + .issue_comment_reactions + returns an Array of reactions + .create_issue_comment_reaction + creates a reaction + with reaction + .delete_reaction + deletes the reaction + .issue_reactions + returns an Array of reactions + .create_issue_reaction + creates a reaction + with pull request + with pull request review comment + .pull_request_review_comment_reactions + returns an Array of reactions + .create_pull_request_review_comment_reaction + creates a reaction + with commit comment + .commit_comment_reactions + returns an Array of reactions + .create_commit_comment_reaction + creates a reaction + +Octokit::Gist + when passed a Integer ID + sets the url + sets the gist ID as a string + renders id as string + when given a URL + sets the id + when passed a string ID + sets the url + sets the gist ID + renders id as string + +Octokit::Client::Say + .say + returns an ASCII octocat with custom text + returns an ASCII octocat + +Octokit + sets defaults + .client + creates an Octokit::Client + caches the client when the same options are passed + returns a fresh client when options are not the same + .configure + sets the netrc + sets the api endpoint + sets the web endpoint + sets the default media type + sets the connection options + sets the access token + sets the user agent + sets the middleware + sets the password + sets the ssl verify mode + sets the per page + sets the management console endpoint + sets the netrc file + sets the bearer token + sets the management console password + sets the auto paginate + sets the client secret + sets the client id + sets the proxy + sets the login + Octokit::Client::Gists unauthenticated .public_gists returns public gists .gist - returns a gist at a specific revision returns the gist by ID + returns a gist at a specific revision .gists with username passed returns a list of gists @@ -2318,549 +2756,154 @@ when authenticated .create_gist_comment creates a gist comment - .delete_gist - deletes an existing gist - .update_gist_comment - updates a gist comment - .starred_gists - returns the user's starred gists - .create_gist - creates a new gist - .delete_gist_comment - deletes a gist comment - .fork_gist - forks an existing gist - .gist_forks - lists a gists forks + .edit_gist + edit an existing gist + .star_gist + stars an existing gist .gist_starred? is not starred with starred gist is starred - .star_gist - stars an existing gist - .unstar_gist - unstars an existing gist - .edit_gist - edit an existing gist + .update_gist_comment + updates a gist comment .gist_comment returns a gist comment + .gist_forks + lists a gists forks + .delete_gist_comment + deletes a gist comment + .unstar_gist + unstars an existing gist + .delete_gist + deletes an existing gist + .gists + returns a list of gists .gist_comments returns the list of gist comments + .starred_gists + returns the user's starred gists + .fork_gist + forks an existing gist .gist_commits lists a gists commits - .gists - returns a list of gists - -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::Projects - .create_project - returns the newly created project - .create_org_project - returns the new org project - with repository - with project - with project column - .column_cards - returns a list of the cards in a project column - .move_project_column - moves the project column - .update_project_column - updates the project column and returns the updated column - .create_project_card - creates a new card with a note - .delete_project_column - deletes the project column - .project_column - returns a project column by id - with project card - .update_project_card - updates the project card - .delete_project_card - deletes the project card - .project_card - returns a project card by id - .move_project_card - moves the project card - .create_project_column - returns the newly created project column - .delete_project - returns the result of deleting a project - .update_project - updates the project name and body then returns the updated project - .project_columns - returns the columns for a project - .project - returns a project - .projects - returns a list of projects for a repository - .org_projects - returns the projects for an organization - -Octokit - sets defaults - .configure - sets the netrc - sets the client secret - sets the proxy - sets the login - sets the management console endpoint - sets the password - sets the api endpoint - sets the netrc file - sets the bearer token - sets the default media type - sets the connection options - sets the middleware - sets the access token - sets the management console password - sets the ssl verify mode - sets the client id - sets the user agent - sets the web endpoint - sets the auto paginate - sets the per page - .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::Commits - .compare - returns a comparison - .commits_between - handles branch or sha argument - errors if the date is invalid - handles the sha option - returns all commits until the specified date - .commits_before - returns all commits until the specified date - errors if the date is invalid - handles branch or sha argument - handles the sha option - .commits_since - returns all commits since the specified date - handles branch or sha argument - handles the sha option - errors if the date is invalid - .git_commit - returns a detailed git commit - .create_commit - creates a commit - .commits - handles the sha option - returns all commits - handles branch or sha argument - .commit - returns a commit - .merge - merges a branch into another - .commits_on - handles branch or sha argument - returns all commits on the specified date - handles the sha option - errors if the date is invalid + .create_gist + creates a new gist Octokit::Client::Checks - .check_suites_for_ref - returns check suites for a tag - filters by check name - returns check suites for a commit - returns check suites for a branch - .rerequest_check_suite - requests the check suite again + .check_run + returns the check run .check_runs_for_check_suite filters by status returns check runs for a check suite - .create_check_suite - creates a check suite - returns the check suite .create_check_run creates a check run returns the check run - .set_check_suite_preferences - sets check suite preferences .check_run_annotations returns annotations for the check run + .check_suites_for_ref + returns check suites for a commit + returns check suites for a branch + returns check suites for a tag + filters by check name .update_check_run updates the check run returns the check run - .check_run - returns the check run + .rerequest_check_suite + requests the check suite again .check_suite returns the check suite .check_runs_for_ref - returns check runs for a tag returns check runs for a commit - returns check runs for a branch filters by status + returns check runs for a branch + returns check runs for a tag + .create_check_suite + returns the check suite + creates a check suite + .set_check_suite_preferences + sets check suite preferences -Octokit::Client::LegacySearch - .legacy_search_issues - returns matching issues - .legacy_search_repos - returns matching repositories - .legacy_search_users - should not raise URI::InvalidURIError and returns success - returns matching username - -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 - .issue_reactions - returns an Array of reactions - .create_issue_reaction - creates a reaction - with issue comment - .issue_comment_reactions - returns an Array of reactions - .create_issue_comment_reaction - creates a reaction - with pull request - with pull request review comment - .pull_request_review_comment_reactions - returns an Array of reactions - .create_pull_request_review_comment_reaction - creates a reaction - -Octokit::Client - #rate_limit! - makes a web request to check the rate limit - #rate_limit - with last response - checks the rate limit from the last response - with no last response - makes a response - deprecated methods - rate_limit_remaining! - triggers warning and will remaining on rate_limit! - #rate_limit_remaining - triggers warning and will call remaining on rate_limit - -Octokit::Client::Refs - with ref - .create_ref - creates a ref - .delete_branch - deletes an existing branch - .update_branch - updates a branch - .delete_ref - deletes an existing ref - .update_ref - updates a ref - .ref - returns a tags ref - .create_ref - prepends refs/ to the ref parameter - does not duplicate refs/ in ref parameter - .refs - returns all tag refs - returns all refs +Octokit::Client::Pages + .pages_build + lists a specific page build + .list_pages_builds + lists information about all the page builds + .pages + lists page information + .request_page_build + requests a build for the latest revision + .latest_pages_build + lists information about the latest page build -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::Objects + .create_tree + creates a tree + .create_tag + creates a tag + .tag + returns a tag + .blob + returns a blob + .tree + gets a tree + gets a tree recursively + .create_blob + creates a blob Octokit::Client::Events - .issue_events - lists issue events for a repository - .repository_network_events - returns events for a repository's network - .repo_issue_events - lists issue events for a repository - .received_public_events - returns public user received events - .organization_events - returns all events for an organization - .received_events - returns all user received events .user_public_events returns public events performed by a user - .organization_public_events - returns an organization's public events - .issue_event - lists issue events for a repository + .organization_events + returns all events for an organization .user_events returns all user events + .received_events + returns all user received events .public_events returns all public events .repository_events returns events for a repository + .issue_event + lists issue events for a repository + .organization_public_events + returns an organization's public events + .received_public_events + returns public user received events + .repo_issue_events + lists issue events for a repository + .repository_network_events + returns events for a repository's network + .issue_events + lists issue events for a repository -Octokit::Client::Objects - .create_tag - creates a tag - .create_tree - creates a tree - .blob - returns a blob - .tag - returns a tag - .create_blob - creates a blob - .tree - gets a tree - gets a tree recursively - -Octokit::Client::Organizations - .organization_teams - returns all teams for 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 - public org members - .unpublicize_membership - unpublicizes membership - .publicize_membership - publicizes membership - .organization_public_member? - checks publicized org membership - .child_teams - returns all child teams for the team - .remove_organization_member - removes a member from an organization - .organization_invitations - lists pending organization invitations - .team_membership - gets a user's team membership - .user_teams - lists all teams for the authenticated user - .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 - updates an organization - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - .update_organization_membership - updates an organization membership - adds or updates an organization membership for a given user - .remove_organization_membership - removes an organization membership for a given user - .organizations - returns all organizations for a user - returns all organizations for the authenticated user - .migrations - gets the status of a migration - downloads a migration archive - starts a migration for an organization - unlocks a migrated repository - lists migrations for an organization - .organization_members - returns all public members of an organization - .organization_member? - checks organization membership - .outside_collaborators - lists outside collaborators for an organization - .all_organizations - paginates organizations on GitHub - .remove_outside_collaborator - removes the outside collaborator from an organization - .organization_repositories - returns all public repositories for an organization - .organization_public_members - lists public members - .add_team_membership - invites a user to a team - .remove_team_membership - removes a user's membership for a team - .organization - returns an organization - -Octokit::Repository - when passed a hash with invalid username - raises ArgumentError - self.path - returns the api path - when passed a hash with a username that contains a slash - raises ArgumentError - when passed a frozen hash - sets the repository name and username - when passed a boolean false - false raises ArgumentError - when passed nil - raises ArgumentError - when passed an invalid path - raises ArgumentError - when passed a string containg a slash - renders url as string - renders slug as string - sets the repository name and username - responds to repo and user - when passed a boolean true - raises ArgumentError - when given a URL - raises InvalidRepository error for unsupported url - parses api urls - parses html urls - sets the repository name and username - when passed a Repo - sets the repository name and username - .path - with named repository - returns the url path - with repository id - returns theu url path - when passed a hash - sets the repository name and username - when passed a string with more than 1 slash - raises ArgumentError - when passed a hash with invalid repo - raises ArgumentError - when passed an integer - sets the repository id - when passed a hash with a repo that contains a slash - raises ArgumentError - when passed a string without a slash - raises ArgumentError - -Octokit::Client::Notifications - .mark_notifications_as_read - returns true when notifications are marked as read - .notifications - lists the notifications for the current user - with thread - .thread_notifications - returns notifications for a specific thread - .mark_thread_as_read - marks a thread as read - with subscription - .update_thread_subscription - updates a thread subscription - .thread_subscription - returns a thread subscription - .delete_thread_subscription - returns true with successful thread deletion - .mark_repository_notifications_as_read - returns true when notifications for a repo are marked as read - .repository_notifications - lists all notifications for a repository - -Octokit::Client::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::Deployments - with ref - .create_deployment - creates a deployment with a payload - creates a deployment - with deployment - .create_deployment_status - creates a deployment status - .deployment - gets a single deployment - .delete_deployment - deletes a single deployment - .deployment_statuses - lists deployment statuses - .deployments - lists deployments - -Octokit::Client::ActionsWorkflowRuns - .rerun_workflow_run - returns true if rerun request was enqueued successfully - returns false if request returns unexpected status - .workflow_run_logs - returns the location of the workflow run logs - .delete_workflow_run_logs - deletes the logs for a workflow run - .repository_workflow_runs - returns all workflow runs for repository - .workflow_run - returns the requested workflow run - .workflow_runs - returns runs for a workflow - .cancel_workflow_run - returns false if the request returns unexpected status - returns true if cancellation fo the workflow was successful - -Octokit::EnterpriseAdminClient - module configuration - inherits Octokit::Client - with .netrc - can read non-standard API endpoint creds from .netrc - can read .netrc files +Octokit::RateLimit + .from_response + parses rate limit info from response headers + handles resets_in time in past + returns a positive rate limit for Enterprise + handles nil responses -Octokit::Organization - .path - with name - returns name api path - with id - returns id api path +Octokit::Client::Meta + .github_meta + returns meta information about github -Octokit::Client::Statuses - with repository - .create_status - creates status - .statuses - lists commit statuses - .combined_status - gets a combined status +Octokit::Client::Search + .search_users + searches users + utilizes auto_pagination + .search_code + searches code + .search_repositories + searches repositories + .search_commits + searches commits + .search_issues + searches issues -Finished in 1 minute 14.45 seconds (files took 2.43 seconds to load) +Finished in 1 minute 49.04 seconds (files took 2.29 seconds to load) 823 examples, 0 failures -Randomized with seed 16589 +Randomized with seed 20785 Coverage report generated for RSpec to /build/ruby-octokit-4.20.0/coverage. 7281 / 7332 LOC (99.3%) covered. @@ -2893,12 +2936,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/84839/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/84839/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/8749 and its subdirectories -I: Current time: Tue May 9 01:41:03 -12 2023 -I: pbuilder-time-stamp: 1683639663 +I: removing directory /srv/workspace/pbuilder/84839 and its subdirectories +I: Current time: Tue Jun 11 10:07:09 +14 2024 +I: pbuilder-time-stamp: 1718050029