Diff of the two buildlogs: -- --- b1/build.log 2023-05-26 02:51:50.989619050 +0000 +++ b2/build.log 2023-05-26 02:57:44.678130296 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 25 14:46:23 -12 2023 -I: pbuilder-time-stamp: 1685069183 +I: Current time: Fri May 26 16:52:22 +14 2023 +I: pbuilder-time-stamp: 1685069542 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-octokit_4.20.0.orig.tar.gz] I: copying [./ruby-octokit_4.20.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Oct 5 01:53:03 2022 -12 +gpgv: Signature made Thu Oct 6 03:53:03 2022 +14 gpgv: using RSA key 2D65BC1EB9665A6E97F9730AB3F5945285219E1F gpgv: issuer "mdbilal@disroot.org" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ 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/5696/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8504/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 May 26 16:52 /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/8504/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8504/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='4959696e44804509928b7164f4959690' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5696' - PS1='# ' - PS2='> ' + INVOCATION_ID=ac5b3cda9c4547e191048ff38a81feb2 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=8504 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.lZAeztqX/pbuilderrc_ySwY --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.lZAeztqX/b1 --logfile b1/build.log ruby-octokit_4.20.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.lZAeztqX/pbuilderrc_vBfw --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.lZAeztqX/b2 --logfile b2/build.log --extrapackages usrmerge ruby-octokit_4.20.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 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 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 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 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 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 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 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 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/5696/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 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 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 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 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 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 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 26 16:52 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 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/8504/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -378,7 +410,7 @@ Get: 162 http://deb.debian.org/debian bookworm/main armhf ruby-simplecov all 0.22.0-1 [45.1 kB] Get: 163 http://deb.debian.org/debian bookworm/main armhf ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 164 http://deb.debian.org/debian bookworm/main armhf ruby-webmock all 3.18.1-2 [66.2 kB] -Fetched 47.0 MB in 2s (22.1 MB/s) +Fetched 47.0 MB in 2s (25.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19326 files and directories currently installed.) @@ -1057,8 +1089,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/8504/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/8504/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-octokit-4.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-octokit_4.20.0-1_source.changes dpkg-buildpackage: info: source package ruby-octokit dpkg-buildpackage: info: source version 4.20.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1091,7 +1134,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/d20230525-12057-dp6s8e/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230526-30572-zju7m5/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on faraday (>= 0.9) is not recommended if faraday is semantically versioned, use: @@ -1101,7 +1144,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/d20230525-12057-dp6s8e/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/d20230526-30572-zju7m5/octokit-4.20.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/ext/sawyer/relation.rb /build/ruby-octokit-4.20.0/debian/ruby-octokit/usr/share/rubygems-integration/all/gems/octokit-4.20.0/lib/octokit.rb @@ -1219,668 +1262,710 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 36111 - -Octokit::Client - #rate_limit! - makes a web request to check the rate limit - deprecated methods - rate_limit_remaining! - triggers warning and will remaining on rate_limit! - #rate_limit_remaining - triggers warning and will call remaining on rate_limit - #rate_limit - with no last response - makes a response - with last response - checks the rate limit from the last response - -Octokit::Client::CommunityProfile - .community_profile - returns community profile metrics for a repository - -Octokit::Client::Reactions - with repository - with pull request - with pull request review comment - .create_pull_request_review_comment_reaction - creates a reaction - .pull_request_review_comment_reactions - returns an Array of reactions - with commit comment - .create_commit_comment_reaction - creates a reaction - .commit_comment_reactions - returns an Array of reactions - with issue - .issue_reactions - returns an Array of reactions - .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 reaction - .delete_reaction - deletes the reaction - -Octokit::EnterpriseAdminClient::Users - .list_all_keys - lists all public keys - .create_user - creates a new user - .create_impersonation_token - creates an impersonation token as a user - .rename_user - rename a user - .promote - promotes an ordinary user to a site administrator - .delete_user - deletes a user - .unsuspend - unsuspends a user - .suspend - suspends a user - .delete_impersonation_token - deletes an impersonation token as a user - .delete_key - deletes a public keys - .demote - demotes a site administrator to an ordinary user - -Octokit::Client::Users - .emails - returns email addresses - .all_users - returns all GitHub users - .validate_credentials - validates username and password - .unfollow - unfollows a user - .following - returns the authenticated user's following - returns following for a user - .followers - returns the authenticated user's followers - returns followers for a user - .subscriptions - not authenticated - returns the repositories a user watches for notifications - authenticated - returns the repositories the authenticated user watches for notifications - returns the repositories a user watches for notifications - .starred - not authenticated - gets a user's starred repositories - authenticated - gets the authenticated user's starred repositories - gets a user's starred repositories - .follows? - checks if the authenticated user follows another - checks if given user is following target user - .user_keys - returns public keys for another user - .update_user - updates a user profile - .follow - follows a user - .migrations - lists migrations for a user - gets the status of a user migration - deletes a user migration archive - gets a user migration archive url - starts a migration for a user - unlocks a migrated user repository - lists repositories for a user migration - .user - returns a user - handle [bot] users - returns the authenticated user - .remove_email - removes an email address - methods requiring an existing @public_key - .key - returns a public key - .update_key - updates a public key - .remove_key - removes a public key - .add_key - adds a public key - .keys - returns public keys for the authenticated user - .add_email - adds an email address - .exchange_code_for_token - with credentials passed as parameters by unauthed client - returns the access_token - with application authenticated client - returns the access_token - .starred? - checks if the authenticated user has starred a repository - -Octokit::Client::LegacySearch - .legacy_search_repos - returns matching repositories - .legacy_search_issues - returns matching issues - .legacy_search_users - returns matching username - should not raise URI::InvalidURIError and returns success - -Octokit::Client::Reviews - with repository - with pull request - 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 user - requests a new pull request review from a team - with pending pull request review - .create_pull_request_review - creates a pull request review - .delete_pull_request_review - deletes a pending pull request review - .submit_pull_request_review - submits a pending pull request review - .create_pull_request_review - creates a pull request review with comments - .pull_request_review_comments - returns all comments for a single review - .pull_request_reviews - returns a list of all pull request reviews - .dismiss_pull_request_review - dismisses a request for change pull request review - .pull_request_review - returns a single pull request review - with pull request review - .update_pull_request_review - updates the review summary comment with new text - -Octokit::EnterpriseAdminClient::License - .license_info - returns information about the license - -Octokit::Client::Licenses - .licenses - returns all licenses - .repository_license_contents - returns a repository's license file - .license - returns a particular license - -Octokit::Client::CommitBranches - .commit_branches - returns a list of all branches associated with a commit - -Octokit::Client::Labels - .lables_for_milestone - returns all labels for a repository - .add_label - adds a label with default color - adds a label with a color - with issue - .remove_label - removes a label from the specified issue - .remove_all_labels - removes all labels from the specified issue - .replace_all_labels - replaces all labels for an issue - .add_labels_to_an_issue - adds labels to a given issue - .labels_for_issue - returns all labels for a given issue - .delete_label! - deletes a label from the repository - .labels - returns labels - .label - returns a single label - with label - .update_label - updates a label with a new color +Randomized with seed 35940 Octokit::Client::Commits - .commit - returns a commit .commits_before - handles the sha option + returns all commits until the specified date handles branch or sha argument + handles the sha option errors if the date is invalid - returns all commits until the specified date - .create_commit - creates a commit + .git_commit + returns a detailed git commit .commits_between - handles branch or sha argument errors if the date is invalid - returns all commits until the specified date + handles branch or sha argument handles the sha option + returns all commits until the specified date + .create_commit + creates a commit .commits - handles branch or sha argument returns all commits + handles branch or sha argument handles the sha option - .merge - merges a branch into another .commits_since - errors if the date is invalid - handles branch or sha argument returns all commits since the specified date + handles branch or sha argument + errors if the date is invalid handles the sha option - .git_commit - returns a detailed git commit - .compare - returns a comparison + .commit + returns a commit .commits_on - handles branch or sha argument + returns all commits on the specified date handles the sha option + handles branch or sha argument errors if the date is invalid - returns all commits on the specified date + .compare + returns a comparison + .merge + merges a branch into another + +Octokit::Client::Projects + with repository + with project + .delete_project + returns the result of deleting a project + .project_columns + returns the columns for a project + .project + returns a project + .update_project + updates the project name and body then returns the updated project + .create_project_column + returns the newly created project column + with project column + .create_project_card + creates a new card with a note + .delete_project_column + deletes the project column + with project card + .project_card + returns a project card by id + .move_project_card + moves the project card + .update_project_card + updates the project card + .delete_project_card + deletes the project card + .update_project_column + updates the project column and returns the updated column + .move_project_column + moves the project column + .project_column + returns a project column by id + .column_cards + returns a list of the cards in a project column + .projects + returns a list of projects for a repository + .create_project + returns the newly created project + .create_org_project + returns the new org project + .org_projects + returns the projects for an organization + +Octokit::Client::Meta + .github_meta + returns meta information about github + +Octokit::Gist + when passed a Integer ID + sets the url + renders id as string + sets the gist ID as a string + when given a URL + sets the id + when passed a string ID + sets the url + renders id as string + sets the gist ID + +Octokit::Client::Deployments + with ref + with deployment + .delete_deployment + deletes a single deployment + .deployment_statuses + lists deployment statuses + .deployment + gets a single deployment + .create_deployment_status + creates a deployment status + .create_deployment + creates a deployment + creates a deployment with a payload + .deployments + lists deployments + +Octokit::Client::SourceImport + post deprecation + .start_source_import + starts a source import + .cancel_source_import + cancels the source import + .set_source_import_lfs_preference + sets use_lfs to opt_in for the import + .update_source_import + restarts the source import + .source_import_progress + returns the progress of the source import + .source_import_large_files + lists the source imports large files + .source_import_commit_authors + lists the source imports commit authors + .map_source_import_commit_author + updates the commit authors identity + pre deprecation + .start_source_import + provides deprecation warning Octokit::Client - returns context when non rate limit error occurs but rate limit headers are present - knows the difference between unauthorized and needs OTP returns context with default data when rate limit error occurs but headers are missing + knows the difference between unauthorized and needs OTP returns empty context when non rate limit error occurs knows the password delivery mechanism when needs OTP - content type - fixes % bug - sets a default Content-Type header - when making requests - omits app creds in query params for token requests - sets a default user agent - omits app creds in query params for basic requests - allows Accept'ing another media type - passes along request headers for POST - Accepts application/vnd.github.v3+json by default - adds app creds in query params to anonymous requests - sets a proxy server - no sets an ssl verify - ensures ssl verify mode is set to default when no override provided - sets an ssl verify => true - sets an ssl verify => false - sets a custom user agent - sets an ssl verify mode - .get + returns context when non rate limit error occurs but rate limit headers are present + .head handles headers handles query params - auto pagination - sets headers for all pages - accepts a block for custom result concatination - fetches all the pages authentication - with module level config - sets bearer token with .configure - sets basic auth creds with module methods - sets basic auth creds with .configure - sets oauth token with module methods - sets oauth token with .configure - sets oauth application creds with .configure - sets bearer token with module method - sets oauth token with module methods - when basic authenticated + when token authenticated makes authenticated calls - when bearer authenticated + fetches and memoizes login + when basic authenticated makes authenticated calls with class level config - sets oauth token with module methods - sets basic auth creds with .configure - sets oauth token with .configure sets basic auth creds with instance methods - sets oauth application creds with .configure + sets oauth token with .configure sets oauth token with instance methods - when token authenticated - fetches and memoizes login - makes authenticated calls + sets oauth token with module methods + sets oauth application creds with .configure + sets basic auth creds with .configure when application authenticated makes authenticated calls + when bearer authenticated + makes authenticated calls + with module level config + sets oauth token with .configure + sets basic auth creds with .configure + sets bearer token with module method + sets oauth token with module methods + sets bearer token with .configure + sets basic auth creds with module methods + sets oauth application creds with .configure + sets oauth token with module methods .agent - caches the agent acts like a Sawyer agent - error handling - raises on unknown client errors - handles documentation URLs in error messages - includes an error - includes a message - handles an error response with an array body - exposes errors array - exposes the response headers - knows the difference between different kinds of forbidden - raises on 404 - knows the difference between different kinds of unprocessable entity - includes an error summary - exposes the response status code - exposes the response body - raises on unknown server errors - resets last_response on errors - raises on 500 + caches the agent + .root + fetches the API root + passes app creds in the query string + .get + handles headers + handles query params + content type + fixes % bug + sets a default Content-Type header + rels parsing + handles git@github ssh URLs .as_app + duplicates the client requires a client and secret - makes authenticated requests uses client and secret as Basic auth - duplicates the client uses preconfigured client and secret + makes authenticated requests + auto pagination + fetches all the pages + sets headers for all pages + accepts a block for custom result concatination + module configuration + inherits the module configuration + with class level configuration + overrides module configuration + can set configuration after initialization + masks passwords on inspect + masks tokens on inspect + masks client secrets on inspect + masks bearer token on inspect + with .netrc + can read non-standard API endpoint creds from .netrc + can read .netrc files .last_response caches the last agent response - rels parsing - handles git@github ssh URLs - .root - passes app creds in the query string - fetches the API root + when making requests + passes along request headers for POST + sets an ssl verify => true + omits app creds in query params for basic requests + Accepts application/vnd.github.v3+json by default + adds app creds in query params to anonymous requests + allows Accept'ing another media type + sets a default user agent + sets a custom user agent + sets an ssl verify mode + no sets an ssl verify + sets a proxy server + ensures ssl verify mode is set to default when no override provided + omits app creds in query params for token requests + sets an ssl verify => false redirect handling follows redirect for 302 response - follows redirects for supported HTTP methods + follows at most 3 consecutive redirects follows redirect for 301 response - keeps authentication info when redirecting to the same host + follows redirects for supported HTTP methods does not change HTTP method when following a redirect - follows at most 3 consecutive redirects - drops authentication info when redirecting to a different host follows redirect for 307 response - .head - handles query params - handles headers + drops authentication info when redirecting to a different host + keeps authentication info when redirecting to the same host module call shortcut uniquely separates method missing calls has no method collisions - module configuration - inherits the module configuration - with class level configuration - can set configuration after initialization - masks client secrets on inspect - masks passwords on inspect - masks bearer token on inspect - masks tokens on inspect - overrides module configuration - with .netrc - can read .netrc files - can read non-standard API endpoint creds from .netrc + error handling + includes an error + knows the difference between different kinds of forbidden + raises on 500 + raises on unknown client errors + resets last_response on errors + knows the difference between different kinds of unprocessable entity + handles an error response with an array body + raises on 404 + exposes the response status code + includes a message + exposes errors array + raises on unknown server errors + exposes the response headers + handles documentation URLs in error messages + exposes the response body + includes an error summary -Octokit::Client::Contents - .create_contents - creates contents from file path - creates contents from Tempfile object - creates repository contents at a path - creates contents from File object - does not add new lines - .contents - returns the contents of a file - .delete_contents - deletes repository contents at a path - .archive_link - returns the headers of the request - .update_contents - updates repository contents at a path - does not add new lines - .readme - returns the default readme +Octokit::Client::Issues + .user_issues + returns issues for the authenticated user for owned and member repos + .list_assignees + returns available assignees for a repository + .issue_comments + returns comments for an issue + .repository_issues_comments + returns comments for all issues in a repository + .add_assignees + adds assignees + .issue_comment + returns a single comment for an issue + with repository + with issue + with issue comment + .update_comment + updates an existing comment + .delete_comment + deletes an existing comment + with closed issue + .reopen_issue + reopens an issue + with assignees + .remove_assignees + removes assignees + with locked issue + .unlock_issue + unlocks an issue + .close_issue + closes an issue + .lock_issue + locks an issue + .issue + returns an issue + returns a full issue + .update_issue + updates an issue + updates an issue without positional args + .issue_timeline + returns an issue timeline + .add_comment + adds a comment + .create_issue + creates an issue with delimited labels + creates an issue with labels array + creates an issue without body argument + creates an issue + .list_issues + returns issues for a repository + returns dashboard issues for the authenticated user + .org_issues + returns issues for the organization for the authenticated user -Octokit::Client::Gists - unauthenticated - .gist - returns the gist by ID - returns a gist at a specific revision - .public_gists - returns public gists - .gists - with username passed - returns a list of gists - without a username passed - returns a list of gists - when authenticated - .unstar_gist - unstars an existing gist - .gist_commits - lists a gists commits - .create_gist - creates a new gist - .gist_comment - returns a gist comment - .star_gist - stars an existing gist - .gists - returns a list of gists - .fork_gist - forks an existing gist - .gist_forks - lists a gists forks - .delete_gist - deletes an existing gist - .delete_gist_comment - deletes a gist comment - .edit_gist - edit an existing gist - .gist_starred? - is not starred - with starred gist - is starred - .gist_comments - returns the list of gist comments - .create_gist_comment - creates a gist comment - .starred_gists - returns the user's starred gists - .update_gist_comment - updates a gist comment +Octokit::Client::Gitignore + .gitignore_templates + returns all gitignore templates + .gitignore_template + returns the ruby gitignore template -Octokit::Client::RepositoryInvitations - with repository - with stubbed repository invitation - .accept_repository_invitation - accepts the repository invitation on behalf of the user - .decline_repository_invitation - declines the repository invitation on behalf of the user - with repository invitation - .update_repository_invitation - updates the repository invitation - .delete_repository_invitation - deletes the repository invitation - .user_repository_invitations - lists the users repository invitations - .invite_user_to_repository - invites a user to a repository - .repository_invitations - lists the repositories outstanding invitations +Octokit::Client::Traffic + .views + returns the views breakdown for a repository + .top_paths + returns the top path statistics for a repository + .top_referrers + returns the referrers stats for a repository + .clones + returns the clone stats for a repository + +Octokit::Client + deprecated methods + #rate_limit_remaining + triggers warning and will call remaining on rate_limit + rate_limit_remaining! + triggers warning and will remaining on rate_limit! + #rate_limit + with no last response + makes a response + with last response + checks the rate limit from the last response + #rate_limit! + makes a web request to check the rate limit + +Octokit::EnterpriseAdminClient::SearchIndexing + .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_users_repositories_issues + behaves like multiple target queue + identifies targets that were queued for index in the return message + behaves like search index queuer + with a valid target + queues api-padawan/*/issues to be indexed + with invalid target + raises Octokit::NotFound + .index_repository_issues + behaves like search index queuer + with 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_user + behaves like single target queue + identifies the target being indexed in the return message + behaves like search index queuer + with a valid target + queues api-padawan to be indexed + with invalid target + raises Octokit::NotFound + .index_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_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 + +Octokit::Client::Notifications + .repository_notifications + lists all notifications for a repository + .notifications + lists the notifications for the current user + .mark_notifications_as_read + returns true when notifications are marked as read + with thread + with subscription + .thread_subscription + returns a thread subscription + .update_thread_subscription + updates a thread subscription + .delete_thread_subscription + returns true with successful thread deletion + .mark_thread_as_read + marks a thread as read + .thread_notifications + returns notifications for a specific thread + .mark_repository_notifications_as_read + returns true when notifications for a repo are marked as read Octokit::Client::PullRequests - .pull_requests_comments - returns all comments on all pull requests - .pull_request_comment - returns a comment on a pull request + .pull_request_files + lists files for a pull request + .merge_pull_request + merges the pull request + .pull_requests + lists all pull requests with state option + lists all pull requests methods that require a new pull + .update_pull_request + updates a pull request .create_pull_request creates a pull request without body argument creates a pull request without body argument - .update_pull_request - updates a pull request .pull_merged? returns whether the pull request has been merged .pull_request returns a pull request methods requiring a pull request comment - .create_pull_request_comment_reply - creates a new reply to a pull request comment .delete_pull_request_comment deletes a pull request comment - .update_pull_request_comment - updates a pull request comment .create_pull_request_comment creates a new comment on a pull request + .update_pull_request_comment + updates a pull request comment + .create_pull_request_comment_reply + creates a new reply to a pull request comment .close_pull_request closes a pull request - .pull_request_comments - returns the comments for a pull request .create_pull_request_for_issue creates a pull request and attach it to an existing issue - .merge_pull_request - merges the pull request + .pull_requests_comments + returns all comments on all pull requests .pull_request_commits returns the commits for a pull request - .pull_requests - lists all pull requests - lists all pull requests with state option - .pull_request_files - lists files for a pull request + .pull_request_comment + returns a comment on a pull request + .pull_request_comments + returns the comments for a pull request -Octokit::Client::CommitComments - .list_commit_comments - returns a list of all commit comments - .commit_comments - returns a list of comments for a specific commit - with commit comment - .delete_commit_comment - deletes a commit comment - .update_commit_comment - updates a commit comment - .create_commit_comment - creates a commit comment - .commit_comment - returns a single commit comment +Octokit::Client::Marketplace + .list_plans + returns plans for a marketplace listing + .marketplace_purchases + returns marketplace purchases for user + .plan_for_account + returns the plan for a given account + .list_accounts_for_plan + returns accounts for a given plan -Octokit::Client::Search - .search_issues - searches issues - .search_code - searches code - .search_commits - searches commits - .search_repositories - searches repositories - .search_users - searches users - utilizes auto_pagination +Octokit::Client::OauthApplications + .reset_token + resets the token + has a .reset_application_authorization alias + works in Enterprise mode + .check_token + has a .check_application_authorization alias + works in Enterprise mode + checks the token is valid + .delete_app_authorization + revokes the app's access to the user + .delete_app_token + has a .delete_application_authorization alias + has a .revoke_application_authorization alias + works in Enterprise mode + deletes the token -Octokit::Client::Issues - .issue_comments - returns comments for an issue - .list_assignees - returns available assignees for a repository - with repository - .create_issue - creates an issue with labels array - creates an issue - creates an issue with delimited labels - creates an issue without body argument - with issue - .add_comment - adds a comment - with issue comment - .delete_comment - deletes an existing comment - .update_comment - updates an existing comment - .issue - returns an issue - returns a full issue - .lock_issue - locks an issue - .close_issue - closes an issue - with locked issue - .unlock_issue - unlocks an issue - .issue_timeline - returns an issue timeline - with assignees - .remove_assignees - removes assignees - with closed issue - .reopen_issue - reopens an issue - .update_issue - updates an issue - updates an issue without positional args - .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 - .user_issues - returns issues for the authenticated user for owned and member repos - .org_issues - returns issues for the organization for the authenticated user - .issue_comment - returns a single comment for an issue - .add_assignees - adds assignees +Octokit::EnterpriseAdminClient::AdminStats + .admin_pull_requests_stats + returns only pull request-related stats + .admin_organization_stats + returns only organization-related stats + .admin_repository_stats + returns only repository-related stats + .admin_hooks_stats + returns only hooks-related stats + .admin_users_stats + returns only user-related stats + .admin_milestones_stats + returns only milestone-related stats + .admin_stats + returns all available enterprise stats + .admin_gists_stats + returns only gist-related stats + .admin_issues_stats + returns only issue-related stats + .admin_comments_stats + returns only comment-related stats + .admin_pages_stats + returns only pages-related stats + +Octokit::EnterpriseManagementConsoleClient + module configuration + inherits Octokit::Client Octokit::Client::Pages .request_page_build requests a build for the latest revision + .pages + lists page information .pages_build lists a specific page build .latest_pages_build lists information about the latest page build - .pages - lists page information .list_pages_builds lists information about all the page builds -Octokit::Client::Traffic - .top_referrers - returns the referrers stats for a repository - .views - returns the views breakdown for a repository - .top_paths - returns the top path statistics for a repository - .clones - returns the clone stats for a repository +Octokit::Client::PubSubHubbub + .subscribe_service_hook + subscribes to pull event on specified topic + encodes URL parameters + .unsubscribe + unsubscribes from pull events + .subscribe + raises an error when topic is not recognized + subscribes to pull events + unsubscribe_service_hook + unsubscribes to stop receiving events on specified topic -Octokit::Client::Milestones - .list_milestones - lists milestones belonging to repository - lists milestones belonging to repository using id of repository - with milestone - .milestone - gets a single milestone belonging to repository - .create_milestone - creates a milestone - .update_milestone - updates a milestone - .delete_milestone - deletes a milestone from a repository +Octokit::Client::CommunityProfile + .community_profile + returns community profile metrics for a repository -Octokit::Client::Deployments - .deployments - lists deployments - with ref - with deployment - .deployment - gets a single deployment - .delete_deployment - deletes a single deployment - .create_deployment_status - creates a deployment status - .deployment_statuses - lists deployment statuses - .create_deployment - creates a deployment - creates a deployment with a payload +Octokit::EnterpriseAdminClient::Users + .delete_key + deletes a public keys + .rename_user + rename a user + .demote + demotes a site administrator to an ordinary user + .create_user + creates a new user + .suspend + suspends a user + .create_impersonation_token + creates an impersonation token as a user + .promote + promotes an ordinary user to a site administrator + .list_all_keys + lists all public keys + .delete_impersonation_token + deletes an impersonation token as a user + .unsuspend + unsuspends a user + .delete_user + deletes a user -Octokit::Gist - when passed a string ID - renders id as string - sets the gist ID - sets the url - when passed a Integer ID - sets the url - sets the gist ID as a string - renders id as string - when given a URL - sets the id +Octokit::Client::Downloads + .downloads + lists available downloads + .download + gets a single download + .delete_download + deletes a download -Octokit::Client::ActionsWorkflows - .workflows - returns the repository workflows - .workflow - returns the repository workflows - .workflow_dispatch - creates a workflow dispatch event +Octokit::Client::Repositories + .subscription + returns a repository subscription + with repository + .protect_branch + protects a single branch with required_status_checks + protects a single branch + protects a single branch with required_approving_review_count + with protected branch + .unprotect_branch + unprotects a single branch + .permission_level + returns the permission level a user has on a repository + .check_assignee + checks to see if a particular user is an assignee for a repository + .vulnerability_alerts_enabled? + returns false with vulnerability alerts disabled + returns true when vulnerability alerts are enabled + .repository? + returns false if the repository doesn't exist + returns false if the repository has an invalid format + returns false if the repository has more than one slash + returns true if the repository exists + .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 + .subscribers + lists all the users watching the repository + .fork + forks a repository + .star + stars a repository + .unstar + unstars a repository + .edit_deploy_key + modifies a deploy key + .watchers + returns all repository watchers + .disable_vulnerability_alerts + disables vulnerability alerts for the repository + .assignees + lists all the available assignees (owner + collaborators) + .deploy_key + returns a specific deploy key for a repo + .update_subscription + updates a repository subscription + .network + returns a repository's network + .branches + returns a single branch + returns a repository's branches + .remove_deploy_key + removes a repository deploy keys + .watch + watches a repository + .enable_vulnerability_alerts + enables vulnerability alerts for the repository + .delete_subscription + returns true when repo subscription deleted + .repository + returns the repository, including topics + returns the matching repository + .all_repositories + returns all repositories on github + .collaborators + returns a repository's collaborators + .contributors + returns repository contributors excluding anonymous + returns repository contributors + .tags + returns a repository's tags + .unwatch + unwatches a repository + .repositories + returns a user's repositories + returns authenticated user's repositories + .set_public + sets a repository public + .create_repository + creates a repository for an organization + creates a repository for an organization by ID + .languages + returns a repository's languages + .stargazers + returns all repository stargazers + .transfer_repository + repository transfer from myself to my organization + with repository + .collaborator? + checks if a user is a repository collaborator + .delete_repository + deletes a repository + .remove_collaborator + removes a repository collaborators + .create_repository_from_template +WARNING: The preview version of the Template_repositories API is not yet suitable for production use. +You can avoid this message by supplying an appropriate media type in the 'Accept' request +header. +WARNING: The preview version of the Template_repositories API is not yet suitable for production use. +You can avoid this message by supplying an appropriate media type in the 'Accept' request +header. + generates a repository from the template + .deploy_keys + returns a repository's deploy keys + .update_repository + updates the matching repository + .dispatch_event + creates a dispatch event + .branch_protection + returns nil for an unprotected branch + with protected branch + returns branch protection summary + .add_collaborator + adds a repository collaborators + .topics + returns repository topics + .replace_all_topics + replaces all topics for a repository + .create_repository + creates a repository + .repository_teams + returns all repository teams + .set_private + sets a repository private Octokit::EnterpriseAdminClient module configuration @@ -1889,84 +1974,189 @@ can read non-standard API endpoint creds from .netrc can read .netrc files -Octokit::Client::Notifications - .mark_notifications_as_read - returns true when notifications are marked as read - .notifications - lists the notifications for the current user - .repository_notifications - lists all notifications for a repository - .mark_repository_notifications_as_read - returns true when notifications for a repo are marked as read - with thread - .thread_notifications - returns notifications for a specific thread - with subscription - .delete_thread_subscription - returns true with successful thread deletion - .update_thread_subscription - updates a thread subscription - .thread_subscription - returns a thread subscription - .mark_thread_as_read - marks a thread as read +Octokit + sets defaults + .client + caches the client when the same options are passed + returns a fresh client when options are not the same + creates an Octokit::Client + .configure + sets the ssl verify mode + sets the netrc file + sets the management console password + sets the middleware + sets the auto paginate + sets the netrc + sets the proxy + sets the management console endpoint + sets the client id + sets the user agent + sets the web endpoint + sets the access token + sets the bearer token + sets the client secret + sets the per page + sets the connection options + sets the password + sets the login + sets the api endpoint + sets the default media type Octokit::Client::ServiceStatus .github_status - returns the current system status + returns the most recent status messages .github_status_last_message returns the last human message .github_status - returns the most recent status messages + returns the current system status 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 + parses rate limit info from response headers + +Octokit::Client::LegacySearch + .legacy_search_repos + returns matching repositories + .legacy_search_issues + returns matching issues + .legacy_search_users + returns matching username + should not raise URI::InvalidURIError and returns success + +Octokit::Client::Releases + .latest_release + returns the latest release + .update_release + updates a release + .delete_release + deletes a release + .create_release + creates a release + .release + gets a single release + handling release assets + .update_release_asset + edits a release asset + .delete_release_asset + deletes a release asset + .upload_release_asset + guesses the content type for an asset + uploads a release asset by path + uploads a release asset as file object + uploads a release asset with a default name + .release_assets + lists assets for a release + .release_asset + gets a single release asset + .releases + lists releases for a repo + .release_for_tag + returns the release for a tag + +Octokit::Client::Apps + .find_app_installations + works for GitHub Enterprise installs + returns installations for an app + .find_user_installation + allows auto_pagination + returns installation for a user + works for GitHub Enterprise installs + .find_integration_installations + returns installations for an integration + .find_user_installations + returns installations for a user + works for GitHub Enterprise installs + allows auto_pagination + with app installation + .create_app_installation_access_token + creates an access token for the installation + works for GitHub Enterprise installs + .create_integration_installation_access_token + creates an access token for the installation + with repository on GitHub Enterprise + .remove_repository_from_app_installation + works for GitHub Enterprise installs + .add_repository_to_app_installation + works for GitHub Enterprise installs + with repository + with installed repository on installation + .remove_repository_from_app_installation + removes the repository from the installation + .remove_repository_from_integration_installation + removes the repository from the installation + .add_repository_to_integration_installation + adds the repository to the installation + .add_repository_to_app_installation + adds the repository to the installation + .delete_installation + deletes an installation + .find_installation_repositories_for_user + returns repositories for a user + works for GitHub Enterprise installs + allows auto_pagination + with app installation access token + .list_app_installation_repositories + allows auto_pagination + lists the installations repositories + works for GitHub Enterprise installs + .list_integration_installation_repositories + lists the installations repositories + .installation + returns the installation + works for GitHub Enterprise installs + .find_organization_installation + allows auto_pagination + returns installation for an organization + works for GitHub Enterprise installs + .find_repository_installation + works for GitHub Enterprise installs + returns installation for an repository + allows auto_pagination + .app + returns current App + works for GitHub Enterprise installs Octokit::Client::Organizations - .remove_organization_member - removes a member from an organization .all_organizations paginates organizations on GitHub + .organization_memberships + returns all organization memberships for the user + .organizations + returns all organizations for a user + returns all organizations for the authenticated user + public org members + .unpublicize_membership + unpublicizes membership + .publicize_membership + publicizes membership + .organization_public_member? + checks publicized org membership + .organization_member? + checks organization membership .migrations - unlocks a migrated repository - downloads a migration archive + gets the status of a migration starts a migration for an organization + unlocks a migrated repository lists migrations for an organization - gets the status of a migration - .outside_collaborators - lists outside collaborators for an organization - .organization_teams - returns all teams for an organization - .child_teams - returns all child teams for the team - .organization_member? - checks organization membership + downloads a migration archive .organization_public_members lists public members .organization_invitations lists pending organization invitations + .update_organization + updates an organization + .update_organization_membership + adds or updates an organization membership for a given user + updates an organization membership + .add_team_membership + invites a user to a team .remove_team_membership removes a user's membership for a team - public org members - .unpublicize_membership - unpublicizes membership - .publicize_membership - publicizes membership - .organization_public_member? - checks publicized org membership - .organizations - returns all organizations for a user - returns all organizations for the authenticated user - .organization - returns an organization - .organization_members - returns all public members of an organization - .remove_organization_membership - removes an organization membership for a given user + .remove_outside_collaborator + removes the outside collaborator from an organization with team .create_team creates a team @@ -1996,155 +2186,177 @@ removes a team repository .delete_team deletes a team - .convert_to_outside_collaborator - converts an organization member to an outside collaborator - .update_organization - updates an organization + .organization_repositories + returns all public repositories for an organization + .child_teams + returns all child teams for the team + .organization_members + returns all public members of an organization + .remove_organization_membership + removes an organization membership for a given user + .organization + returns an organization + .organization_teams + returns all teams for an organization + .remove_organization_member + removes a member from an organization + .user_teams + lists all teams for the authenticated user + .outside_collaborators + lists outside collaborators for an organization .organization_membership returns an organization membership for a given user by the orgs id - returns an organization membership returns an organization membership for a given user - .organization_memberships - returns all organization memberships for the user - .add_team_membership - invites a user to a team - .remove_outside_collaborator - removes the outside collaborator from an organization - .user_teams - lists all teams for the authenticated user - .update_organization_membership - updates an organization membership - adds or updates an organization membership for a given user + returns an organization membership + .convert_to_outside_collaborator + converts an organization member to an outside collaborator .team_membership gets a user's team membership - .organization_repositories - returns all public repositories for an organization -Octokit::Client::Gitignore - .gitignore_template - returns the ruby gitignore template - .gitignore_templates - returns all gitignore templates - -Octokit::Client::Events - .repository_events - returns events for a repository - .repository_network_events - returns events for a repository's network - .user_public_events - returns public events performed by a user - .public_events - returns all public events - .user_events - returns all user events - .issue_events - lists issue events for a repository - .organization_public_events - returns an organization's public events - .organization_events - returns all events for an organization - .received_events - returns all user received events - .received_public_events - returns public user received events - .repo_issue_events - lists issue events for a repository - .issue_event - lists issue events for a repository - -Octokit::Client::SourceImport - pre deprecation - .start_source_import - provides deprecation warning - post deprecation - .set_source_import_lfs_preference - sets use_lfs to opt_in for the import - .source_import_progress - returns the progress of the source import - .cancel_source_import - cancels the source import - .map_source_import_commit_author - updates the commit authors identity - .source_import_commit_authors - lists the source imports commit authors - .start_source_import - starts a source import - .source_import_large_files - lists the source imports large files - .update_source_import - restarts the source import - -Octokit::EnterpriseAdminClient::Orgs - .create_organization - creates a new organization +Octokit::Client::Users + .exchange_code_for_token + with application authenticated client + returns the access_token + with credentials passed as parameters by unauthed client + returns the access_token + .remove_email + removes an email address + .user_keys + returns public keys for another user + .unfollow + unfollows a user + .subscriptions + authenticated + returns the repositories a user watches for notifications + returns the repositories the authenticated user watches for notifications + not authenticated + returns the repositories a user watches for notifications + methods requiring an existing @public_key + .add_key + adds a public key + .key + returns a public key + .update_key + updates a public key + .remove_key + removes a public key + .all_users + returns all GitHub users + .follows? + checks if the authenticated user follows another + checks if given user is following target user + .user + returns the authenticated user + returns a user + handle [bot] users + .followers + returns followers for a user + returns the authenticated user's followers + .following + returns following for a user + returns the authenticated user's following + .emails + returns email addresses + .keys + returns public keys for the authenticated user + .update_user + updates a user profile + .follow + follows a user + .starred? + checks if the authenticated user has starred a repository + .validate_credentials + validates username and password + .starred + authenticated + gets a user's starred repositories + gets the authenticated user's starred repositories + not authenticated + gets a user's starred repositories + .migrations + gets the status of a user migration + gets a user migration archive url + starts a migration for a user + lists repositories for a user migration + deletes a user migration archive + lists migrations for a user + unlocks a migrated user repository + .add_email + adds an email address -Octokit::Client::Authorizations - .authorization - returns a single authorization - .scopes - checks the scopes on a one-off token - checks the scopes on the current token - .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 - .authorizations - lists existing authorizations - .create_authorization - with :idempotent => true - creates a new authorization with fingerprint - creates a new authorization with options - returns an existing API authorization if one already exists - without :idempotent => true - creates a new API authorization each time - creates an API authorization - creates a new authorization with options - .delete_authorization - deletes an existing authorization - .revoke_all_application_authorizations - returns false +Octokit::EnterpriseAdminClient::License + .license_info + returns information about the license Octokit::Client::ActionsWorkflowRuns - .rerun_workflow_run - returns false if request returns unexpected status - returns true if rerun request was enqueued successfully - .delete_workflow_run_logs - deletes the logs for a workflow run + .workflow_run + returns the requested workflow run .repository_workflow_runs returns all workflow runs for repository + .workflow_run_logs + returns the location of the workflow run logs .cancel_workflow_run returns false if the request returns unexpected status returns true if cancellation fo the workflow was successful - .workflow_run - returns the requested workflow run .workflow_runs returns runs for a workflow - .workflow_run_logs - returns the location of the workflow run logs + .rerun_workflow_run + returns false if request returns unexpected status + returns true if rerun request was enqueued successfully + .delete_workflow_run_logs + deletes the logs for a workflow run -Octokit::EnterpriseManagementConsoleClient - module configuration - inherits Octokit::Client +Octokit::Client::Say + .say + returns an ASCII octocat + returns an ASCII octocat with custom text -Octokit::User - .path - with login - returns login api path - with no user passed - returns default path - with id - returns id api path +Octokit::Client::Milestones + with milestone + .create_milestone + creates a milestone + .update_milestone + updates a milestone + .milestone + gets a single milestone belonging to repository + .delete_milestone + deletes a milestone from a repository + .list_milestones + lists milestones belonging to repository + lists milestones belonging to repository using id of repository + +Octokit::Client::Reactions + with repository + with commit comment + .create_commit_comment_reaction + creates a reaction + .commit_comment_reactions + returns an Array of reactions + with pull request + with pull request review comment + .pull_request_review_comment_reactions + returns an Array of reactions + .create_pull_request_review_comment_reaction + creates a reaction + with issue + .create_issue_reaction + creates a reaction + with issue comment + .create_issue_comment_reaction + creates a reaction + .issue_comment_reactions + returns an Array of reactions + .issue_reactions + returns an Array of reactions + with reaction + .delete_reaction + deletes the reaction + +Octokit::EnterpriseAdminClient::Orgs + .create_organization + creates a new organization Octokit::Client::Feeds - .feed - returns parsed feed data .feeds when authenticated with basic auth returns private feeds @@ -2152,712 +2364,543 @@ returns the public feeds list when authenticated with oauth token returns the authenticated users feeds + .feed + returns parsed feed data -Octokit - sets defaults - .configure - sets the middleware - sets the client secret - sets the client id - sets the management console endpoint - sets the api endpoint - sets the management console password - sets the login - sets the proxy - sets the ssl verify mode - sets the auto paginate - sets the per page - sets the access token - sets the netrc - sets the netrc file - sets the web endpoint - sets the user agent - sets the connection options - sets the bearer token - sets the password - sets the default media type - .client - caches the client when the same options are passed - returns a fresh client when options are not the same - creates an Octokit::Client +Octokit::Client::Gists + unauthenticated + .gists + without a username passed + returns a list of gists + with username passed + returns a list of gists + .public_gists + returns public gists + .gist + returns the gist by ID + returns a gist at a specific revision + when authenticated + .gist_comment + returns a gist comment + .create_gist_comment + creates a gist comment + .unstar_gist + unstars an existing gist + .fork_gist + forks an existing gist + .gists + returns a list of gists + .gist_comments + returns the list of gist comments + .gist_forks + lists a gists forks + .gist_commits + lists a gists commits + .starred_gists + returns the user's starred gists + .edit_gist + edit an existing gist + .gist_starred? + is not starred + with starred gist + is starred + .delete_gist_comment + deletes a gist comment + .delete_gist + deletes an existing gist + .star_gist + stars an existing gist + .create_gist + creates a new gist + .update_gist_comment + updates a gist comment + +Octokit::Client::RepositoryInvitations + with repository + .user_repository_invitations + lists the users repository invitations + with stubbed repository invitation + .decline_repository_invitation + declines the repository invitation on behalf of the user + .accept_repository_invitation + accepts the repository invitation on behalf of the user + .invite_user_to_repository + invites a user to a repository + .repository_invitations + lists the repositories outstanding invitations + with repository invitation + .delete_repository_invitation + deletes the repository invitation + .update_repository_invitation + updates the repository invitation + +Octokit::Client::Search + .search_repositories + searches repositories + .search_code + searches code + .search_issues + searches issues + .search_commits + searches commits + .search_users + searches users + utilizes auto_pagination Octokit::Repository - .path - with named repository - returns the url path - with repository id - returns theu url path when passed a hash with a repo that contains a slash raises ArgumentError - when passed a string with more than 1 slash + when passed a hash with invalid repo raises ArgumentError when passed a boolean false false raises ArgumentError + when passed a string containg a slash + renders slug as string + renders url as string + sets the repository name and username + responds to repo and user + when passed a string with more than 1 slash + raises ArgumentError + when passed a hash with invalid username + raises ArgumentError + .path + with named repository + returns the url path + with repository id + returns theu url path when passed an integer sets the repository id - when passed a boolean true + when passed a string without a slash raises ArgumentError when passed a hash with a username that contains a slash raises ArgumentError + when passed a boolean true + raises ArgumentError when passed an invalid path raises ArgumentError - when passed a Repo - sets the repository name and username + when passed nil + raises ArgumentError self.path returns the api path - when passed a string without a slash - raises ArgumentError - when passed a hash with invalid repo - raises ArgumentError - when given a URL - sets the repository name and username - raises InvalidRepository error for unsupported url - parses html urls - parses api urls - when passed a hash with invalid username - raises ArgumentError - when passed a string containg a slash - sets the repository name and username - responds to repo and user - renders slug as string - renders url as string when passed a hash sets the repository name and username - when passed nil - raises ArgumentError + when passed a Repo + sets the repository name and username when passed a frozen hash sets the repository name and username + when given a URL + sets the repository name and username + parses html urls + raises InvalidRepository error for unsupported url + parses api urls -Octokit::Client::Say - .say - returns an ASCII octocat - returns an ASCII octocat with custom text - -Octokit::Client::CommitPulls - .commit_pulls - returns a list of all pull requests associated with a commit - -Octokit::Client::Statuses - .statuses - lists commit statuses - .combined_status - gets a combined status - with repository - .create_status - creates status - -Octokit::EnterpriseAdminClient::SearchIndexing - .index_users_repositories_issues - behaves like multiple target queue - identifies targets that were queued for index in the return message - behaves like search index queuer - with a valid target - queues api-padawan/*/issues to be indexed - with invalid target - raises Octokit::NotFound - .index_repository - 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 a valid target - queues api-padawan 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 a valid target - queues api-padawan/* to be indexed - with invalid target - raises Octokit::NotFound - .index_repository_code - behaves like search index queuer - with a valid target - queues api-playground/api-sandbox/code to be indexed - with invalid target - raises Octokit::NotFound - behaves like single target queue - identifies the target being indexed in the return message - .index_repository_issues - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-playground/api-sandbox/issues to be indexed - behaves like single target queue - identifies the target being indexed in the return message - .index_users_repositories_code - behaves like multiple target queue - identifies targets that were queued for index in the return message - behaves like search index queuer - with invalid target - raises Octokit::NotFound - with a valid target - queues api-padawan/*/code to be indexed - -Octokit::EnterpriseAdminClient::AdminStats - .admin_stats - returns all available enterprise stats - .admin_users_stats - returns only user-related stats - .admin_comments_stats - returns only comment-related stats - .admin_milestones_stats - returns only milestone-related stats - .admin_repository_stats - returns only repository-related stats - .admin_issues_stats - returns only issue-related stats - .admin_gists_stats - returns only gist-related stats - .admin_pages_stats - returns only pages-related stats - .admin_pull_requests_stats - returns only pull request-related stats - .admin_organization_stats - returns only organization-related stats - .admin_hooks_stats - returns only hooks-related stats - -Octokit::Client::Apps - .find_organization_installation - works for GitHub Enterprise installs - returns installation for an organization - allows auto_pagination - .find_integration_installations - returns installations for an integration - .find_user_installations - allows auto_pagination - returns installations for a user - works for GitHub Enterprise installs - with app installation - with app installation access token - .list_app_installation_repositories - lists the installations repositories - allows auto_pagination - works for GitHub Enterprise installs - .list_integration_installation_repositories - lists the installations repositories - .installation - works for GitHub Enterprise installs - returns the installation - .delete_installation - deletes an installation - .create_integration_installation_access_token - creates an access token for the installation - .create_app_installation_access_token - works for GitHub Enterprise installs - creates an access token for the installation - .find_installation_repositories_for_user - allows auto_pagination - works for GitHub Enterprise installs - returns repositories for a user - 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 repository - .add_repository_to_integration_installation - adds the repository to the installation - with installed repository on installation - .remove_repository_from_app_installation - removes the repository from the installation - .remove_repository_from_integration_installation - removes the repository from the installation - .add_repository_to_app_installation - adds the repository to the installation - .app - returns current App - works for GitHub Enterprise installs - .find_app_installations - returns installations for an app - works for GitHub Enterprise installs - .find_repository_installation - works for GitHub Enterprise installs - allows auto_pagination - returns installation for an repository - .find_user_installation - allows auto_pagination - works for GitHub Enterprise installs - returns installation for a user - -Octokit::EnterpriseManagementConsoleClient::ManagementConsole - .settings - returns information about 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 path) - removes a new authorized SSH keys (via a File handler) - .authorized_keys - gets the authorized SSH keys - .add_authorized_key - adds a new authorized SSH keys (via a string contents) - adds a new authorized SSH keys (via a file path) - adds a new authorized SSH keys (via a File handler) - .edit_settings - edits the Enterprise settings - .start_configuration - starts a configuration process for the Enterprise installation - .config_status - returns information about the installation - .set_maintenance_status - enables the Enterprise maintenance mode - .maintenance_status - returns information about the Enterprise maintenance status - .upload_license - uploads a license for the Enterprise installation - .upgrade - upgrades the Enterprise installation - -Octokit::Client::Repositories - .vulnerability_alerts_enabled? - returns false with vulnerability alerts disabled - returns true when vulnerability alerts are enabled - .repositories - returns a user's repositories - returns authenticated user's repositories - .star - stars a repository - .stargazers - returns all repository stargazers - .unwatch - unwatches a repository - .assignees - lists all the available assignees (owner + collaborators) - .enable_vulnerability_alerts - enables vulnerability alerts for the repository - .unstar - unstars a repository - .create_repository - creates a repository for an organization - creates a repository for an organization by ID - .add_deploy_key - adds a repository deploy keys - .disable_vulnerability_alerts - disables vulnerability alerts for the repository - .collaborators - returns a repository's collaborators - .check_assignee - checks to see if a particular user is an assignee for a repository - .edit_deploy_key - modifies a deploy key - .deploy_key - returns a specific deploy key for a repo - .contributors - returns repository contributors excluding anonymous - returns repository contributors - .watchers - returns all repository watchers - .delete_subscription - returns true when repo subscription deleted - .edit_repository - is_template is passed in params -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. - uses the template repositories preview flag and succeeds - .update_subscription - updates a repository subscription - .set_private - sets a repository private - .all_repositories - returns all repositories on github - .languages - returns a repository's languages - .repository? - returns false if the repository doesn't exist - returns false if the repository has more than one slash - returns false if the repository has an invalid format - returns true if the repository exists - .transfer_repository - repository transfer from myself to my organization - .subscription - returns a repository subscription - .set_public - sets a repository public - .remove_deploy_key - removes a repository deploy keys - .network - returns a repository's network - with repository - .delete_repository - deletes a repository - .create_repository - creates a repository - .create_repository_from_template -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. -WARNING: The preview version of the Template_repositories API is not yet suitable for production use. -You can avoid this message by supplying an appropriate media type in the 'Accept' request -header. - generates a repository from the template - .repository_teams - returns all repository teams - .replace_all_topics - replaces all topics for a repository - .remove_collaborator - removes a repository collaborators - .update_repository - updates the matching repository - .add_collaborator - adds a repository collaborators - .deploy_keys - returns a repository's deploy keys - .dispatch_event - creates a dispatch event - .collaborator? - checks if a user is a repository collaborator - .topics - returns repository topics - .branch_protection - returns nil for an unprotected branch - with protected branch - returns branch protection summary - .repository - returns the matching repository - returns the repository, including topics - .fork - forks a repository - .watch - watches a repository - .branches - returns a repository's branches - returns a single branch - .tags - returns a repository's tags - .subscribers - lists all the users watching the repository - with repository - .protect_branch - protects a single branch with required_status_checks - protects a single branch - protects a single branch with required_approving_review_count - .permission_level - returns the permission level a user has on a repository - with protected branch - .unprotect_branch - unprotects a single branch - -Octokit::Client::Refs - .create_ref - does not duplicate refs/ in ref parameter - prepends refs/ to the ref parameter - with ref - .update_branch - updates a branch - .create_ref - creates a ref - .delete_ref - deletes an existing ref - .delete_branch - deletes an existing branch - .update_ref - updates a ref - .refs - returns all refs - returns all tag refs - .ref - returns a tags ref +Octokit::Client::ActionsSecrets + with a repo without secrets + .create_or_update_secret + creating secret returns 204 (even though API docs claims it should be 201) + .list_secrets + returns empty list of secrets + with a repo + .get_public_key + get repo specific public key for secrets encryption + with a repository with a secret + .delete_secret + delete existing secret + .get_secret + return timestamps related to one secret + .create_or_update_secret + updating existing secret returns 204 + .list_secrets + returns list of one secret Octokit::Client::Checks .create_check_run returns the check run creates a check run + .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 + filters by status returns check runs for a branch returns check runs for a commit - filters by status returns check runs for a tag - .update_check_run - updates the check run - returns the check run + .check_runs_for_check_suite + returns check runs for a check suite + filters by status .check_suites_for_ref - returns check suites for a branch - filters by check name returns check suites for a tag returns check suites for a commit - .check_run_annotations - returns annotations for the check run - .check_run - returns the check run - .rerequest_check_suite - requests the check suite again + returns check suites for a branch + filters by check name .create_check_suite - returns the check suite creates a check suite + returns the check suite .set_check_suite_preferences sets check suite preferences - .check_runs_for_check_suite - filters by status - returns check runs for a check suite + .check_run_annotations + returns annotations for the check run -Octokit::Client::Projects - .projects - returns a list of projects for a repository - with repository - with project - .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 - .project_columns - returns the columns for a project - .project - returns a project - with 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 - with project card - .move_project_card - moves the project card - .project_card - returns a project card by id - .delete_project_card - deletes the project card - .update_project_card - updates the project card - .column_cards - returns a list of the cards in a project column - .project_column - returns a project column by id - .delete_project_column - deletes the project column - .org_projects - returns the projects for an organization - .create_project - returns the newly created project - .create_org_project - returns the new org project +Octokit::Client::Contents + .delete_contents + deletes repository contents at a path + .create_contents + creates contents from file path + does not add new lines + creates repository contents at a path + creates contents from Tempfile object + creates contents from File object + .update_contents + updates repository contents at a path + does not add new lines + .archive_link + returns the headers of the request + .contents + returns the contents of a file + .readme + returns the default readme + +Octokit::Client::Authorizations + .create_authorization + without :idempotent => true + creates a new authorization with options + creates a new API authorization each time + creates an API authorization + with :idempotent => true + creates a new authorization with options + creates a new authorization with fingerprint + returns an existing API authorization if one already exists + .authorize_url + requires client_id and client_secret + with passed options hash + appends options hash as query params + escapes values before adding to query params + with preconfigured client credentials + returns the authorize_url + with passed client credentials + returns the authorize_url + .revoke_all_application_authorizations + returns false + .authorizations + lists existing authorizations + .authorization + returns a single authorization + .scopes + checks the scopes on the current token + checks the scopes on a one-off token + .delete_authorization + deletes an existing authorization + .update_authorization + updates and existing authorization + +Octokit::Client::CommitPulls + .commit_pulls + returns a list of all pull requests associated with a commit Octokit::Organization .path - with name - returns name api path with id returns id api path + with name + returns name api path -Octokit::Client::Stats - .commit_activity_stats - returns the commit activity stats - with cold graph cache - .participation_stats - retries - returns the owner and contributor participation stats - .contributors_stats - returns nil on timeout - returns contributors and their contribution stats - retries - .code_frequency_stats - returns the code frequency stats - retries - .commit_activity_stats - retries - returns the commit activity stats - .punch_card_stats - retries - returns commit count by hour punch card stats - with empty repo - .contributors_stats - returns nil when statistics are not ready - returns nil on timeout - doesn't retry when GitHub returns 204 - returns [] when GitHub returns 204 - .code_frequency_stats - returns the code frequency stats - .participation_stats - returns the owner and contributor participation stats - .punch_card_stats - returns commit count by hour punch card stats - .contributors_stats - returns contributors and their contribution stats +Octokit::Client::Reviews + .pull_request_review_comments + returns all comments for a single review + with repository + with pull request + .create_pull_request_review + creates a pull request review with comments + with pending pull request review + .submit_pull_request_review + submits a pending pull request review + .create_pull_request_review + creates a pull request review + .delete_pull_request_review + deletes a pending pull request review + with collaborator + .delete_pull_request_review_request + deletes a requests for a pull request review from a team + deletes a requests for a pull request review from a user + .request_pull_request_review + requests a new pull request review from a user + requests a new pull request review from a team + .pull_request_review_requests + returns all requested reviewers + .pull_request_review + returns a single pull request review + .dismiss_pull_request_review + dismisses a request for change pull request review + .pull_request_reviews + returns a list of all pull request reviews + with pull request review + .update_pull_request_review + updates the review summary comment with new text -Octokit::Client::Marketplace - .list_plans - returns plans for a marketplace listing - .plan_for_account - returns the plan for a given account - .list_accounts_for_plan - returns accounts for a given plan - .marketplace_purchases - returns marketplace purchases for user +Octokit::Client::Labels + with issue + .replace_all_labels + replaces all labels for an issue + .add_labels_to_an_issue + adds labels to a given issue + .remove_all_labels + removes all labels from the specified issue + .remove_label + removes a label from the specified issue + .labels_for_issue + returns all labels for a given issue + .label + returns a single label + .lables_for_milestone + returns all labels for a repository + .add_label + adds a label with a color + adds a label with default color + with label + .update_label + updates a label with a new color + .delete_label! + deletes a label from the repository + .labels + returns labels -Octokit::Client::Markdown - .markdown - renders markdown +Octokit::Client::CommitBranches + .commit_branches + returns a list of all branches associated with a commit -Octokit::Client::Downloads - .download - gets a single download - .downloads - lists available downloads - .delete_download - deletes a download +Octokit::EnterpriseManagementConsoleClient::ManagementConsole + .add_authorized_key + adds a new authorized SSH keys (via a string contents) + adds a new authorized SSH keys (via a file path) + adds a new authorized SSH keys (via a File handler) + .set_maintenance_status + enables the Enterprise maintenance mode + .settings + returns information about the Enterprise settings + .start_configuration + starts a configuration process for the Enterprise installation + .config_status + returns information about the installation + .maintenance_status + returns information about the Enterprise maintenance status + .upgrade + upgrades the Enterprise installation + .upload_license + uploads a license for the Enterprise installation + .authorized_keys + gets the authorized SSH keys + .edit_settings + edits the Enterprise settings + .remove_authorized_key + removes a new authorized SSH keys (via a File handler) + removes a new authorized SSH keys (via a string contents) + removes a new authorized SSH keys (via a file path) -Octokit::Client::Meta - .github_meta - returns meta information about github +Octokit::Client::Statuses + .statuses + lists commit statuses + .combined_status + gets a combined status + with repository + .create_status + creates status -Octokit::Client::OauthApplications - .delete_app_authorization - revokes the app's access to the user - .delete_app_token - has a .delete_application_authorization alias - deletes the token - has a .revoke_application_authorization alias - works in Enterprise mode - .check_token - works in Enterprise mode - checks the token is valid - has a .check_application_authorization alias - .reset_token - has a .reset_application_authorization alias - resets the token - works in Enterprise mode +Octokit::Client::Objects + .tag + returns a tag + .create_blob + creates a blob + .create_tree + creates a tree + .blob + returns a blob + .create_tag + creates a tag + .tree + gets a tree recursively + gets a tree + +Octokit::Client::CommitComments + .commit_comment + returns a single commit comment + .commit_comments + returns a list of comments for a specific commit + with commit comment + .delete_commit_comment + deletes a commit comment + .create_commit_comment + creates a commit comment + .update_commit_comment + updates a commit comment + .list_commit_comments + returns a list of all commit comments + +Octokit::Client::Markdown + .markdown + renders markdown Octokit::Client::Hooks - .parse_payload - parses payload string - .available_hooks - returns all the hooks supported by GitHub with their parameters + .org_hooks + returns an organization's hooks + returns an organization's hooks by ID with org hook - .remove_org_hook - removes an org hook by ID - removes an org hook .edit_org_hook edits an org hook by ID edits an org hook - .ping_org_hook - pings an org hook by ID - pings an org hook - .create_org_hook - creates an org hook - creates an org hook for by ID .org_hook returns a single org hook by ID returns a single org hook + .create_org_hook + creates an org hook + creates an org hook for by ID + .remove_org_hook + removes an org hook by ID + removes an org hook + .ping_org_hook + pings an org hook by ID + pings an org hook with repository + .hooks + returns a repository's hooks with hook - .create_hook - creates a hook - .remove_hook - removes a hook .hook returns a repository's single hook + .remove_hook + removes a hook + .ping_hook + pings a hook .edit_hook edits a hook + .create_hook + creates a hook .test_hook tests a hook - .ping_hook - pings a hook - .hooks - returns a repository's hooks - .org_hooks - returns an organization's hooks - returns an organization's hooks by ID + .available_hooks + returns all the hooks supported by GitHub with their parameters + .parse_payload + parses payload string -Octokit::Client::PubSubHubbub - .subscribe_service_hook - subscribes to pull event on specified topic - encodes URL parameters - unsubscribe_service_hook - unsubscribes to stop receiving events on specified topic - .unsubscribe - unsubscribes from pull events - .subscribe - raises an error when topic is not recognized - subscribes to pull events +Octokit::Client::ActionsWorkflows + .workflow_dispatch + creates a workflow dispatch event + .workflows + returns the repository workflows + .workflow + returns the repository workflows -Octokit::Client::Releases - .latest_release - returns the latest release - .release_for_tag - returns the release for a tag - .update_release - updates a release - .delete_release - deletes a release - .releases - lists releases for a repo - .release - gets a single release - .create_release - creates a release - handling release assets - .delete_release_asset - deletes a release asset - .release_asset - gets a single release asset - .release_assets - lists assets for a release - .update_release_asset - edits a release asset - .upload_release_asset - uploads a release asset as file object - uploads a release asset by path - guesses the content type for an asset - uploads a release asset with a default name +Octokit::Client::Events + .issue_events + lists issue events for a repository + .repository_events + returns events for a repository + .repo_issue_events + lists issue events for a repository + .user_events + returns all user events + .user_public_events + returns public events performed by a user + .received_events + returns all user received events + .received_public_events + returns public user received events + .issue_event + lists issue events for a repository + .organization_public_events + returns an organization's public events + .public_events + returns all public events + .repository_network_events + returns events for a repository's network + .organization_events + returns all events for an organization -Octokit::Client::ActionsSecrets - with a repository with a secret - .list_secrets - returns list of one secret - .create_or_update_secret - updating existing secret returns 204 - .delete_secret - delete existing secret - .get_secret - return timestamps related to one secret - with a repo without secrets - .list_secrets - returns empty list of secrets - .create_or_update_secret - creating secret returns 204 (even though API docs claims it should be 201) - with a repo - .get_public_key - get repo specific public key for secrets encryption +Octokit::User + .path + with login + returns login api path + with id + returns id api path + with no user passed + returns default path + +Octokit::Client::Licenses + .repository_license_contents + returns a repository's license file + .license + returns a particular license + .licenses + returns all licenses + +Octokit::Client::Stats + with empty repo + .contributors_stats + returns [] when GitHub returns 204 + returns nil on timeout + returns nil when statistics are not ready + doesn't retry when GitHub returns 204 + .contributors_stats + returns contributors and their contribution stats + with cold graph cache + .commit_activity_stats + returns the commit activity stats + retries + .punch_card_stats + retries + returns commit count by hour punch card stats + .code_frequency_stats + returns the code frequency stats + retries + .participation_stats + returns the owner and contributor participation stats + retries + .contributors_stats + returns nil on timeout + retries + returns contributors and their contribution stats + .commit_activity_stats + returns the commit activity stats + .punch_card_stats + returns commit count by hour punch card stats + .code_frequency_stats + returns the code frequency stats + .participation_stats + returns the owner and contributor participation stats Octokit::Client::Emojis .emojis returns all github emojis -Octokit::Client::Objects - .tree - gets a tree - gets a tree recursively - .create_tag - creates a tag - .blob - returns a blob - .create_blob - creates a blob - .tag - returns a tag - .create_tree - creates a tree +Octokit::Client::Refs + .ref + returns a tags ref + with ref + .create_ref + creates a ref + .delete_ref + deletes an existing ref + .update_branch + updates a branch + .delete_branch + deletes an existing branch + .update_ref + updates a ref + .refs + returns all tag refs + returns all refs + .create_ref + prepends refs/ to the ref parameter + does not duplicate refs/ in ref parameter -Finished in 2 minutes 16.4 seconds (files took 6.52 seconds to load) +Finished in 2 minutes 3.3 seconds (files took 5.13 seconds to load) 823 examples, 0 failures -Randomized with seed 36111 +Randomized with seed 35940 Coverage report generated for RSpec to /build/ruby-octokit-4.20.0/coverage. 7281 / 7332 LOC (99.3%) covered. @@ -2890,12 +2933,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/8504/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8504/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/5696 and its subdirectories -I: Current time: Thu May 25 14:51:43 -12 2023 -I: pbuilder-time-stamp: 1685069503 +I: removing directory /srv/workspace/pbuilder/8504 and its subdirectories +I: Current time: Fri May 26 16:57:36 +14 2023 +I: pbuilder-time-stamp: 1685069856