Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 14:12:01.927704340 +0000 +++ b2/build.log 2023-04-26 14:13:37.803451738 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 28 08:33:55 -12 2024 -I: pbuilder-time-stamp: 1716928435 +I: Current time: Thu Apr 27 04:12:06 +14 2023 +I: pbuilder-time-stamp: 1682518326 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-tty-prompt_0.23.1.orig.tar.gz] I: copying [./ruby-tty-prompt_0.23.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Oct 21 12:49:11 2021 -12 +gpgv: Signature made Fri Oct 22 14:49:11 2021 +14 gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C gpgv: issuer "kanashiro@debian.org" gpgv: Can't check signature: No public key @@ -26,52 +26,84 @@ dpkg-source: info: unpacking ruby-tty-prompt_0.23.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/14780/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24728/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 27 04:12 /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/24728/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24728/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='14780' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=24728 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.IlH8oieY/pbuilderrc_GCVG --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.IlH8oieY/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.IlH8oieY/pbuilderrc_aicz --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.IlH8oieY/b2 --logfile b2/build.log --extrapackages usrmerge ruby-tty-prompt_0.23.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 08:41 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/14780/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 26 00:27 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/24728/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -254,7 +286,7 @@ Get: 135 http://deb.debian.org/debian bookworm/main arm64 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 136 http://deb.debian.org/debian bookworm/main arm64 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 137 http://deb.debian.org/debian bookworm/main arm64 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 45.6 MB in 1s (34.2 MB/s) +Fetched 45.6 MB in 5s (9734 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -825,8 +857,17 @@ 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-tty-prompt-0.23.1/ && 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-tty-prompt_0.23.1-1_source.changes +I: user script /srv/workspace/pbuilder/24728/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/24728/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-tty-prompt-0.23.1/ && 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-tty-prompt_0.23.1-1_source.changes dpkg-buildpackage: info: source package ruby-tty-prompt dpkg-buildpackage: info: source version 0.23.1-1 dpkg-buildpackage: info: source distribution unstable @@ -855,7 +896,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-prompt/ -O--buildsystem=ruby dh_ruby --install /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240528-26168-xqbizc/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230427-30207-1z23dv/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -867,7 +908,7 @@ Name: tty-prompt Version: 0.23.1 File: tty-prompt-0.23.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20240528-26168-xqbizc/tty-prompt-0.23.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20230427-30207-1z23dv/tty-prompt-0.23.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty-prompt.rb /build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty/prompt.rb @@ -936,7 +977,7 @@ RUBYLIB=. GEM_PATH=/build/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/build/ruby-tty-prompt-0.23.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 26795 +Randomized with seed 9649 TTY::Prompt::Question convert bool No entry for terminal type "unknown"; @@ -946,697 +987,697 @@ No entry for terminal type "unknown"; using dumb terminal settings. converts positive boolean - handles default values - converts single positive boolean - converts negative boolean fails to convert boolean + converts negative boolean handles default values + handles default values + converts single positive boolean -TTY::Prompt::Question convert file - converts to file +TTY::Prompt::Question#multiline + changes help text + sets quiet mode + reads no lines + uses defualt when no input + reads multiple lines with empty lines -TTY::Prompt#decorate - decorates with a proc - doesn't decorate when disabled - doesn't decorate empty string - decorates string with named colors - decorates with a callable object - doesn't decorate without additional arguments +TTY::Prompt::Evaluator + checks chained validation procs + checks chained validation objects -TTY::Prompt#new - sets output stream - sets prefix - sets input stream +TTY::Prompt::Question convert numbers + converts float + fails to convert integer + fails to convert float + converts integer -TTY::Prompt#subscribe - subscribes to key events only for the current prompt +TTY::Prompt#ask + asks question with prepopulated value + sets quiet mode + asks question + asks an empty question with prepopulated value + asks a question with a prefix [?] + asks an empty question and returns nil if EOF is sent to stdin + overwrites global settings + permits empty default parameter + permits nil default parameter + asks an empty question + sets quiet mode through DSL + changes question color + asks a question with block -TTY::Prompt::Choices.new - creates choices collection +TTY::Prompt::Question#in + reads letters within range + provides default error message when wrong input + reads number within string range + reads number within digit range + reads range from option + overwrites default error message when wrong input + +TTY::Prompt::Converters + :date + converts "unknown" to "undefined" + converts "2020/05/21" to # + :range + converts "a..z" to "a".."z" + converts "-5--1" to -5..-1 + converts "unknown" to "undefined" + converts "1" to 1..1 + converts 1..10 to 1..10 + converts "1.0" to 1.0..1.0 + converts "1..10" to 1..10 + converts "1-10" to 1..10 + converts "a . . . z" to "a"..."z" + converts "1.2-5.0" to 1.2..5.0 + converts "1 , 10" to 1..10 + converts "1...10" to 1...10 + converts "1 . . . 10" to 1...10 + :time + converts "11:12:13" to 2023-04-27 11:12:13 +1400 + converts "unknown" to "undefined" + :char + converts "" to nil + converts "input" to "i" + :array/:list + converts ["a", "b", "c"] to ["a", "b", "c"] + converts "t,t,f" to [true, true, false] + converts "t,t,f" to [true, true, false] + converts "a,b,c" to ["a", "b", "c"] + converts "a,b,c" to [:a, :b, :c] + converts ",b,c" to ["b", "c"] + converts "a , b , c" to ["a", "b", "c"] + converts "a, b\\, c" to ["a", "b, c"] + converts "a,b,c" to [:a, :b, :c] + converts "t,t,f" to [true, true, false] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts "1,2,3" to [1, 2, 3] + converts "a,b,c" to [/a/, /b/, /c/] + converts "a, , c" to ["a", "c"] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",," to [] + :boolean + converts "f" to false + converts "y" to true + converts "true" to true + converts "unknown" to "undefined" + converts "0" to false + converts "FALSE" to false + converts "t" to true + converts "YES" to true + converts "no" to false + converts "1" to true + :regexp + converts "\\d+" to /\d+/ + converts "unknown" to /unknown/ + :uri + converts "http://foobar.com" to # + :string + converts "" to "" + converts "input\n" to "input" + :hash/:map + converts ["a=1", "b=2", "c=3"] to {:a=>"1", :b=>"2", :c=>"3"} + converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} + converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} + converts "a=1" to {:a=>"1"} + converts "a=1&b=2" to {:a=>"1", :b=>"2"} + converts "a=&b=2" to {:a=>"", :b=>"2"} + converts "a:1 b:2" to {:a=>"1", :b=>"2"} + converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} + converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} + converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} + converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} + converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} + converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} + converts "" to {} + converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} + :float + converts "unknown" to "undefined" + converts "12.3" to 12.3 + :integer + converts "12" to 12 + converts "unknown" to "undefined" + :path + converts "/foo/bar/baz" to # + :datetime + converts "2020/05/21 11:12:13" to # + converts "unknown" to "undefined" + +TTY::Prompt::Question::Modifier#whitespace + nil (empty user input) + trim returns nil + remove returns nil + collapse returns nil + chomp returns nil + string with whitespaces + removes whitespace + collapses text + trims whitespace + chomps whitespace TTY::Prompt::Question#validate - provides custom error message for wrong input - provides default error message for wrong input - validates input with proc - validates input with regex understands custom validation like :email deprecates :validation option + validates input with regex + validates input with proc + provides custom error message for wrong input + provides default error message for wrong input -TTY::Utils - #deep_copy - copies "" - copies ["foo", {:bar=>"baz"}, :fum, 11] - #blank? - detects blank of :foo as false - detects blank of "foo" as false - detects blank of "" as true - detects blank of "\n\t " as true - detects blank of " " as true - detects blank of nil as true - -TTY::Prompt::Question#initialize - is expected to eq true - is expected to eq [] - is expected to eq TTY::Prompt::Question::UndefinedSetting +TTY::Prompt#expand + automatically expands hint + sets quiet mode through DSL + changes default option + sets quiet mode + fails to expand due to duplicate key + expands chosen option with extra information + fails to expand due to reserve key + expands help option and then defaults + fails to expand due to lack of key attribute + informs about invalid input when automatically expanding hint + expands default option + specifies options through DSL and executes value + fails to expand due to wrong key length + specifies options through DSL TTY::Prompt::Question convert to array + converts answer to an array of integers converts answer to an array converts answer to an array of booleans - converts answer to an array of integers -TTY::Prompt::Paginator#paginate - ignores per_page when less items - doesn't accept invalid pagination - starts with default selection - paginates items matching per_page count - finds both start and end index for current selection - ignores per_page when equal items - paginates items not matching per_page count +TTY::Prompt::Choice#== + is false with non-choice object + is true with the same name and value attributes + is false with different key attribute + is false with different value attribute + is false with different name attribute + +TTY::Prompt::Choice#from + creates choice from an array with name and false value + creates choice from an array with name only and defaults value + creates choice from a symbol + creates choice from an array with name and a value + skips Choice instance + creates choice from an array with a hash with name and value keys + creates choice from a string + creates choice from a hash with a value + creates choice from an array with key-value pair + creates choice from a hash with name, value and key keys + creates choice from an arbitrary object that responds to to_s call + creates choice from an array with a hash without value key + creates choice from a hash with a nil value + creates choice from array with name and nil value + creates disabled choice + +TTY::Prompt::Question convert custom + converts response with custom conversion + +TTY::Prompt#decorate + decorates with a callable object + decorates with a proc + doesn't decorate empty string + doesn't decorate without additional arguments + doesn't decorate when disabled + decorates string with named colors + +TTY::Prompt#ok + changes color to cyan + prints text in green + prints multiple lines in green + +TTY::Prompt::Question convert range + converts with valid range + fails to convert to range + +TTY::Prompt::Question::Modifier#apply_to + doesn't apply modifiers + combines whitespace & letter case modifications + combines letter case & whitespace modifications + +TTY::Prompt::Choices#each + iterates over collection TTY::Prompt#select - changes help text through DSL - sets choice name & value through DSL - allows navigation using events without errors - selects by default first option - sets prompt prefix - changes to never show help + verifies default index range + verifies default index format changes help text - configures quiet mode - sets choice name through DSL - raises when default choice doesn't match any choices doesn't paginate short selections - verifies default index range - sets quiet mode through DSL sets choice name and value - raises when default choice matches disabled choice - changes to always show help + sets choice name & value through DSL + allows navigation using events without errors + raises when default choice doesn't match any choices + selects by default first option sets choices and single choice through DSL - sets default option through hash syntax - verifies default index format + raises when default choice matches disabled choice sets choice value to proc and executes it + sets default option through hash syntax + sets choice name & value through DSL + sets prompt prefix + sets choice name through DSL + configures quiet mode + selects default choice by name + changes help text through DSL sets choice value to nil + sets quiet mode through DSL + changes to never show help changes selected item color & marker - selects default choice by name - sets choice name & value through DSL + changes to always show help when paginated + combines up/down navigation with left/right + paginates choices as hash object + paginates long selections + navigates unevenly paged output with right arrow until the end of selection + paginates long selections through DSL navigates left and right - navigates evenly paged output with right arrow until end of selection navigates pages up/down with disabled items - paginates long selections through DSL - navigates unevenly paged output with right arrow until the end of selection - paginates choices as hash object - combines up/down navigation with left/right + navigates evenly paged output with right arrow until end of selection navigates pages left/right with disabled items - paginates long selections with :disabled choice doesn't show disabled choice when filtering choices omits disabled choice when navigating menu - sets active to be first non-disabled choice prevents setting default to disabled choice omits disabled choice when number key is pressed + sets active to be first non-disabled choice with filter - filters and chooses a uniquely matching entry, ignoring case - doesn't exit when there are no matching entries - doesn't allow mixing enumeration and filter - filters based on alphanumeric and punctuation characters navigates left and right with filtered items filters and chooses the first of multiple matching entries + filters and chooses a uniquely matching entry, ignoring case cancels a selection + doesn't allow mixing enumeration and filter + doesn't exit when there are no matching entries + filters based on alphanumeric and punctuation characters with :cycle option cycles around disabled items + cycles choices using left/right arrows doesn't cycle by default cycles pages left/right with disabled items - cycles choices using left/right arrows cycles filtered choices left and right cycles around when configured to do so -TTY::Prompt::Question convert char - reads single character +TTY::Prompt::Question#initialize + is expected to eq [] + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq true -TTY::Prompt::Question::Validation#coerce - coerces lambda into proc - fails to coerce pattern into validation - doesn't coerce symbols - coerces into regex +TTY::Prompt::Question#echo + asks with echo off + asks with echo on + +TTY::Prompt::Choices.new + creates choices collection + +TTY::Prompt confirmation + #yes? + customizes question through DSL + obeys quiet mode + accepts regex conflicting characters as suffix + fails to infer default value from a word + changes default + agrees with question + defaults suffix and converter + warns about invalid entry when using defaults + defaults positive and negative + customizes question through options + assumes default true + disagrees with question + infers default value from a word + #no? + customizes question through DSL + defaults suffix and converter + disagrees with question + agrees with question + changes default + warns about invalid entry when using defaults + assumes default false + +TTY::Prompt::Question + passes validation check + fails validation check + passes convert check + fails range check + passes range check + fails required check + fails convert check + fails convert check with custom message + fails validation check with inlined custom message + fails required check with custom message + fails validation check with custom message + passes required check + fails range check + +TTY::Prompt::Choices#<< + adds choice to collection + +TTY::Prompt#say + prints an empty message + with color + prints message with ansi color without newline + prints message with ansi color + with new line + prints a message with newline + prints a message without newline + prints a message with newline within text + prints a message with newline within text and blank space + prints a message with implicit newline + with tab or space + prints + without color + prints message without ansi TTY::Prompt::Statement.new forces newline after the prompt message displays prompt message in color -TTY::Prompt::ConverterRegistry - contain - contains conversion - doesn't have conversion - checks conversion with object type - fetch - retrieves converter from the registry - retrieves uppcase named converter - fails to retrieve conversion - register - registers new conversion under single name - registers new conversion under multiple names - fails to register conversion +TTY::Prompt + raises error for defaults out of range + sets choice name and value through DSL + selects nothing when return pressed immediately + selects item when space pressed + selects item when space pressed but doesn't echo item if echo: false + sets choice value to nil through DSL + sets default options through DSL syntax + sets choice custom values + sets prompt to quiet mode + sets prompt prefix + changes to always show help + changes help text and color + changes selected item color & marker + changes to never show help + sets default options through hash syntax + sets default choices using names + with :min + requires number of choices + with filter + doesn't lose the selection when switching between filters + with :cycle + cycles choices using left/right arrows + cycles when configured to do so + doesn't cycle by default + cycles filtered choices left and right + with :disabled + fails when default item is also disabled + selects all non-disabled choices when ctrl+a is pressed + omits disabled choice when nagivating menu + adjusts active index to match first non-disabled choice + omits disabled choice when number key is pressed + with :max + disables Ctrl+a/Ctrl+r selection when :max option is specified + limits number of choices + when paginated + paginates choices as hash object + navigates left and right + selects all paged choices with ctrl+a + paginates long selections + combines up/down navigation with left/right + reverts selection accross pages with Ctrl+r + paginates long selections through DSL + doesn't paginate short selections + navigates unevenly paged output with right arrow until the end of selection + navigates evenly paged output with right arrow until end of selection -TTY::Prompt::Choices#pluck - plucks choice by key name +TTY::Prompt::Question convert regexp + converts regex + +TTY::Prompt::Question#keypress + timeouts when no key provided + receives line feed with echo on + asks for a keypress with echo off + interrupts input + asks for a keypress with echo on TTY::Prompt - sets quiet mode - selects default choice by name - paginates long selections - raises configuration error when default is higher than number of choices + sets quiet mode through DSL raises when default name matches a disabled choice - shows pages matching input selects default option when return pressed immediately changes colors for selection, hint and error + cycles around when configured to do so + sets quiet mode + selects option by index from the list + paginates long selections + changes global symbols through DSL + selects default choice by name + selects option through DSL selects option through DSL with key and value + raises configuration error when default is higher than number of choices doesn't cycle around by default raises when default choice name is not found + doesn't paginate short selections + switches through pages with tab key changes global symbols - selects option by index from the list displays error with unrecognized input - sets quiet mode through DSL - doesn't paginate short selections - cycles around when configured to do so + shows pages matching input sets choice value to nil through DSL - switches through pages with tab key - changes global symbols through DSL - selects option through DSL with :disabled choice - omits disabled choice when navigating with numbers fails when active item is also disabled doesn't allow to choose disabled choice and defaults finds first non-disabled index + omits disabled choice when navigating with numbers -TTY::Prompt::Question - fails range check - fails convert check - passes required check - passes range check - fails required check - fails range check - fails convert check with custom message - fails validation check - fails required check with custom message - fails validation check with inlined custom message - passes validation check - fails validation check with custom message - passes convert check - -TTY::Prompt::Question convert numbers - fails to convert integer - converts integer - fails to convert float - converts float - -TTY::Prompt#inspect - inspects instance attributes - -TTY::Prompt#expand - specifies options through DSL and executes value - fails to expand due to duplicate key - informs about invalid input when automatically expanding hint - fails to expand due to reserve key - expands default option - specifies options through DSL - sets quiet mode through DSL - automatically expands hint - fails to expand due to wrong key length - fails to expand due to lack of key attribute - expands help option and then defaults - expands chosen option with extra information - sets quiet mode - changes default option - -TTY::Prompt::Choices#each - iterates over collection - -TTY::Prompt::Question::Modifier#apply_to - doesn't apply modifiers - combines letter case & whitespace modifications - combines whitespace & letter case modifications - -TTY::Prompt::Question#required - requires value to be present with option - uses required in validation check - doesn't require value to be present - requires value to be present - -TTY::Prompt#error - displays many messages - displays message with option - changes default red color to cyan - displays one message +TTY::Prompt::Question convert date + converts date + fails to convert date + converts datetime -TTY::Prompt::Result - checks value to be invalid - checks value to be valid +TTY::Prompt::Question::Validation#call + fails validation when not maching pattern + validates with custom name + validates successfully when the value matches pattern + validates with a proc + validates nil input TTY::Prompt::Distance.distance - when similar - is expected to eql 1 - when empty + when nil is expected to eql 0 - when unicode - is expected to eql 1 when contain similar is expected to eql 2 - with one non empty + when single char + is expected to eql 2 + when prefix is expected to eql 3 - when nil + when unicode + is expected to eql 1 + when similar + is expected to eql 2 + when similar is expected to eql 0 when similar + is expected to eql 1 + when empty is expected to eql 0 - when prefix + with one non empty is expected to eql 3 - when single char - is expected to eql 2 when end similar is expected to eql 3 - when similar - is expected to eql 2 -TTY::Prompt::Question#multiline - sets quiet mode - uses defualt when no input - reads multiple lines with empty lines - reads no lines - changes help text +TTY::Prompt#collect + collects more than one answer + when receiving multiple answers + collects as a list if values method used in chain + collects as a list if values method used in chain with block + overrides a non-array key on multiple answers + with multiple keys + collects into the appropriate keys -TTY::Prompt#ok - prints text in green - changes color to cyan - prints multiple lines in green +TTY::Prompt::Question convert char + reads single character TTY::Prompt::Question#default uses default value uses default value in block -TTY::Prompt#warn - displays message with option - displays one message - displays many messages - changes default yellow color to cyan - -TTY::Prompt::Question convert range - fails to convert to range - converts with valid range +TTY::Prompt::Question::Modifier#letter_case + nil (empty user input) + capitalize returns nil + down returns nil + up returns nil + string + capitalizes text + changes to lower case + changes to uppercase -TTY::Prompt confirmation - #yes? - infers default value from a word - warns about invalid entry when using defaults - assumes default true - fails to infer default value from a word - accepts regex conflicting characters as suffix - obeys quiet mode - disagrees with question - defaults suffix and converter - customizes question through DSL - changes default - customizes question through options - agrees with question - defaults positive and negative - #no? - changes default - disagrees with question - agrees with question - warns about invalid entry when using defaults - assumes default false - customizes question through DSL - defaults suffix and converter +TTY::Prompt::Choices#pluck + plucks choice by key name -TTY::Prompt::Question#in - reads letters within range - reads number within string range - provides default error message when wrong input - reads number within digit range - overwrites default error message when wrong input - reads range from option +TTY::Prompt#error + changes default red color to cyan + displays many messages + displays message with option + displays one message TTY::Prompt#suggest - suggests with different text and indentation + suggests few matches suggests a single match for two characters suggests a single match for one character - suggests few matches + suggests with different text and indentation -TTY::Prompt::Choices#<< - adds choice to collection +TTY::Prompt#new + sets input stream + sets prefix + sets output stream -TTY::Prompt - sets prompt prefix - changes selected item color & marker - changes help text and color - sets choice custom values - sets default choices using names - selects item when space pressed - sets prompt to quiet mode - sets choice value to nil through DSL - sets default options through DSL syntax - sets default options through hash syntax - changes to never show help - raises error for defaults out of range - sets choice name and value through DSL - changes to always show help - selects item when space pressed but doesn't echo item if echo: false - selects nothing when return pressed immediately - with :disabled - selects all non-disabled choices when ctrl+a is pressed - fails when default item is also disabled - omits disabled choice when number key is pressed - omits disabled choice when nagivating menu - adjusts active index to match first non-disabled choice - with :min - requires number of choices - with filter - doesn't lose the selection when switching between filters - when paginated - paginates long selections through DSL - combines up/down navigation with left/right - paginates choices as hash object - navigates left and right - selects all paged choices with ctrl+a - navigates evenly paged output with right arrow until end of selection - navigates unevenly paged output with right arrow until the end of selection - doesn't paginate short selections - reverts selection accross pages with Ctrl+r - paginates long selections - with :max - limits number of choices - disables Ctrl+a/Ctrl+r selection when :max option is specified - with :cycle - doesn't cycle by default - cycles when configured to do so - cycles choices using left/right arrows - cycles filtered choices left and right +TTY::Prompt::ConverterRegistry + fetch + retrieves converter from the registry + retrieves uppcase named converter + fails to retrieve conversion + contain + doesn't have conversion + checks conversion with object type + contains conversion + register + fails to register conversion + registers new conversion under multiple names + registers new conversion under single name -TTY::Prompt::Question convert string - converts symbol - converts string +TTY::Prompt#subscribe + subscribes to key events only for the current prompt -TTY::Prompt::Question::Modifier#whitespace - nil (empty user input) - trim returns nil - remove returns nil - chomp returns nil - collapse returns nil - string with whitespaces - collapses text - trims whitespace - removes whitespace - chomps whitespace +TTY::Prompt#warn + displays one message + displays many messages + changes default yellow color to cyan + displays message with option -TTY::Prompt::Question convert regexp - converts regex +TTY::Prompt::Paginator#paginate + doesn't accept invalid pagination + finds both start and end index for current selection + paginates items not matching per_page count + ignores per_page when equal items + starts with default selection + ignores per_page when less items + paginates items matching per_page count -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled +TTY::Prompt::Question#modify + strips and collapses whitespace + trims whitespace + converts to upper case + collapses whitespace + preserves answer for unkown modification + +TTY::Prompt::BlockPaginator#paginate + paginates items matching per_page count + paginates items not matching per_page count + ignores per_page when less items + finds both start and end index for current selection + starts with default selection + ignores per_page when equal items + doesn't accept invalid pagination + +TTY::Prompt::Question#default + sets quiet mode TTY::Prompt#slider + specifies choices instead of calculated range specifies choices through DSL changes all display symbols - mixes choices as values and via DSL and keeps ordering specifies choices through DSL - specifies ranges & step - specifies choices instead of calculated range sets quiet mode sets choice value to proc and executes it - changes to always show help - doesn't allow values outside of range - sets default choice by index number - specifies default value changes to never show help - changes display colors - formats via proc specifies range through DSL - sets default choice by name changes all display symbols per instance + specifies default value + specifies ranges & step + sets default choice by index number + sets default choice by name + changes to always show help + doesn't allow values outside of range + formats via proc + changes display colors + mixes choices as values and via DSL and keeps ordering specifies quiet mode through DSL -TTY::Prompt::Evaluator - checks chained validation objects - checks chained validation procs - -TTY::Prompt::Question convert date - converts date - converts datetime - fails to convert date - -TTY::Prompt::Converters - :time - converts "11:12:13" to 2024-05-28 11:12:13 -1200 - converts "unknown" to "undefined" - :date - converts "unknown" to "undefined" - converts "2020/05/21" to # - :array/:list - converts "1,2,3" to [1, 2, 3] - converts "1,2,3" to [1.0, 2.0, 3.0] - converts "a,b,c" to [:a, :b, :c] - converts "t,t,f" to [true, true, false] - converts "a , b , c" to ["a", "b", "c"] - converts ",," to [] - converts "a, b\\, c" to ["a", "b, c"] - converts "t,t,f" to [true, true, false] - converts "t,t,f" to [true, true, false] - converts ",b,c" to ["b", "c"] - converts "a,b,c" to [/a/, /b/, /c/] - converts "1,2,3" to [1, 2, 3] - converts "a, , c" to ["a", "c"] - converts "1,2,3" to [1, 2, 3] - converts "a,b,c" to ["a", "b", "c"] - converts "a,b,c" to [:a, :b, :c] - converts "1,2,3" to [1.0, 2.0, 3.0] - converts "1,2,3" to [1, 2, 3] - converts ["a", "b", "c"] to ["a", "b", "c"] - :integer - converts "unknown" to "undefined" - converts "12" to 12 - :range - converts "1-10" to 1..10 - converts "a..z" to "a".."z" - converts "1" to 1..1 - converts "-5--1" to -5..-1 - converts "1..10" to 1..10 - converts "1 . . . 10" to 1...10 - converts "1...10" to 1...10 - converts "a . . . z" to "a"..."z" - converts "unknown" to "undefined" - converts "1.2-5.0" to 1.2..5.0 - converts "1 , 10" to 1..10 - converts 1..10 to 1..10 - converts "1.0" to 1.0..1.0 - :string - converts "" to "" - converts "input\n" to "input" - :datetime - converts "2020/05/21 11:12:13" to # - converts "unknown" to "undefined" - :uri - converts "http://foobar.com" to # - :char - converts "" to nil - converts "input" to "i" - :float - converts "unknown" to "undefined" - converts "12.3" to 12.3 - :boolean - converts "YES" to true - converts "y" to true - converts "0" to false - converts "1" to true - converts "f" to false - converts "FALSE" to false - converts "unknown" to "undefined" - converts "true" to true - converts "no" to false - converts "t" to true - :hash/:map - converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} - converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} - converts ["a=1", "b=2", "c=3"] to {:a=>"1", :b=>"2", :c=>"3"} - converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} - converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} - converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} - converts "a=1&b=2" to {:a=>"1", :b=>"2"} - converts "a=&b=2" to {:a=>"", :b=>"2"} - converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} - converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "" to {} - converts "a=1" to {:a=>"1"} - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts "a:1 b:2" to {:a=>"1", :b=>"2"} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - :regexp - converts "\\d+" to /\d+/ - converts "unknown" to /unknown/ - :path - converts "/foo/bar/baz" to # - -TTY::Prompt::Question convert to hash - converts answer to a hash of boolean values - converts answer to a hash of integer values - converts answer to a hash - -TTY::Prompt::Question::Validation#call - validates with custom name - fails validation when not maching pattern - validates with a proc - validates successfully when the value matches pattern - validates nil input - -TTY::Prompt::Question#echo - asks with echo off - asks with echo on - -TTY::Prompt::Choice#from - creates choice from an array with name only and defaults value - creates choice from a hash with a nil value - creates choice from an array with name and false value - creates choice from array with name and nil value - creates choice from a hash with a value - creates choice from a hash with name, value and key keys - creates choice from an array with a hash with name and value keys - creates disabled choice - skips Choice instance - creates choice from a symbol - creates choice from an array with name and a value - creates choice from an array with key-value pair - creates choice from a string - creates choice from an arbitrary object that responds to to_s call - creates choice from an array with a hash without value key - -TTY::Prompt#say - prints an empty message - without color - prints message without ansi - with color - prints message with ansi color without newline - prints message with ansi color - with new line - prints a message with newline within text and blank space - prints a message with newline - prints a message with newline within text - prints a message with implicit newline - prints a message without newline - with tab or space - prints +TTY::Prompt::Result + checks value to be invalid + checks value to be valid -TTY::Prompt::Question::Modifier#letter_case - string - capitalizes text - changes to lower case - changes to uppercase - nil (empty user input) - capitalize returns nil - down returns nil - up returns nil +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled -TTY::Prompt::Question#modify - collapses whitespace - trims whitespace - strips and collapses whitespace - preserves answer for unkown modification - converts to upper case +TTY::Prompt::Question::Validation#coerce + coerces lambda into proc + fails to coerce pattern into validation + doesn't coerce symbols + coerces into regex -TTY::Prompt::Question convert custom - converts response with custom conversion +TTY::Utils + #blank? + detects blank of :foo as false + detects blank of "foo" as false + detects blank of "" as true + detects blank of nil as true + detects blank of "\n\t " as true + detects blank of " " as true + #deep_copy + copies ["foo", {:bar=>"baz"}, :fum, 11] + copies "" -TTY::Prompt::Question#keypress - asks for a keypress with echo off - timeouts when no key provided - receives line feed with echo on - interrupts input - asks for a keypress with echo on +TTY::Prompt::Choices#find_by + finds a matching choice by :name key + finds a matching choice by :value key + finds a matching choice by :key key + finds no matching choice TTY::Prompt::Timer registers a tick event times out loop execution -TTY::Prompt#ask - asks question with prepopulated value - asks an empty question with prepopulated value - permits nil default parameter - asks question - permits empty default parameter - asks a question with a prefix [?] - changes question color - asks an empty question - asks a question with block - sets quiet mode - overwrites global settings - sets quiet mode through DSL - asks an empty question and returns nil if EOF is sent to stdin - -TTY::Prompt::BlockPaginator#paginate - starts with default selection - finds both start and end index for current selection - doesn't accept invalid pagination - ignores per_page when less items - paginates items matching per_page count - paginates items not matching per_page count - ignores per_page when equal items +TTY::Prompt::Question convert file + converts to file -TTY::Prompt::Question#default - sets quiet mode +TTY::Prompt::Question convert path + converts pathname -TTY::Prompt#collect - collects more than one answer - when receiving multiple answers - overrides a non-array key on multiple answers - collects as a list if values method used in chain with block - collects as a list if values method used in chain - with multiple keys - collects into the appropriate keys +TTY::Prompt::SelectedChoices + inserts choices by the index order + initializes with selected choices + clears choices + inserts and deletes choices -TTY::Prompt::Choices#find_by - finds a matching choice by :key key - finds no matching choice - finds a matching choice by :value key - finds a matching choice by :name key +TTY::Prompt::Question convert string + converts string + converts symbol TTY::Prompt#mask + masks output with custom character + masks output by default validates input ignores mask if echo is off masks with unicode character - masks output with custom character - masks output by default -TTY::Prompt::SelectedChoices - clears choices - inserts choices by the index order - inserts and deletes choices - initializes with selected choices +TTY::Prompt::Question#required + uses required in validation check + requires value to be present + doesn't require value to be present + requires value to be present with option -TTY::Prompt::Choice#== - is false with different value attribute - is true with the same name and value attributes - is false with different key attribute - is false with different name attribute - is false with non-choice object +TTY::Prompt#inspect + inspects instance attributes -TTY::Prompt::Question convert path - converts pathname +TTY::Prompt::Question convert to hash + converts answer to a hash + converts answer to a hash of boolean values + converts answer to a hash of integer values -Top 2 slowest examples (0.06947 seconds, 3.7% of total time): - TTY::Prompt#subscribe subscribes to key events only for the current prompt - 0.03653 seconds ./spec/unit/subscribe_spec.rb:4 +Top 2 slowest examples (0.07453 seconds, 3.6% of total time): + TTY::Prompt#select verifies default index range + 0.04108 seconds ./spec/unit/select_spec.rb:852 TTY::Prompt::Timer times out loop execution - 0.03294 seconds ./spec/unit/timer_spec.rb:4 + 0.03345 seconds ./spec/unit/timer_spec.rb:4 Top 2 slowest example groups: - TTY::Prompt#subscribe - 0.03727 seconds average (0.03727 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 TTY::Prompt::Timer - 0.03241 seconds average (0.06482 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + 0.03277 seconds average (0.06554 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + TTY::Prompt#subscribe + 0.02825 seconds average (0.02825 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 -Finished in 1.88 seconds (files took 1.1 seconds to load) +Finished in 2.05 seconds (files took 1.17 seconds to load) 494 examples, 0 failures -Randomized with seed 26795 +Randomized with seed 9649 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1669,12 +1710,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/24728/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24728/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/14780 and its subdirectories -I: Current time: Tue May 28 08:35:00 -12 2024 -I: pbuilder-time-stamp: 1716928500 +I: removing directory /srv/workspace/pbuilder/24728 and its subdirectories +I: Current time: Thu Apr 27 04:13:36 +14 2023 +I: pbuilder-time-stamp: 1682518416