Diff of the two buildlogs: -- --- b1/build.log 2024-05-23 05:32:31.699539464 +0000 +++ b2/build.log 2024-05-23 05:35:37.783601859 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 24 23:54:50 -12 2025 -I: pbuilder-time-stamp: 1750852490 +I: Current time: Thu May 23 19:32:34 +14 2024 +I: pbuilder-time-stamp: 1716442354 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -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/2063032/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/958311/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 23 05:33 /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/958311/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/958311/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='0e130a9dad2d4bdc837a51acbafc5bea' - 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='2063032' - PS1='# ' - PS2='> ' + INVOCATION_ID=47249da3dec84b4b89b52cd2fded7fc7 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=958311 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.CR522kgo/pbuilderrc_iBXq --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.CR522kgo/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.CR522kgo/pbuilderrc_kFCx --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.CR522kgo/b2 --logfile b2/build.log ruby-tty-prompt_0.23.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 24 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2063032/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 21 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/958311/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -258,7 +290,7 @@ Get: 139 http://deb.debian.org/debian unstable/main amd64 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 140 http://deb.debian.org/debian unstable/main amd64 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 141 http://deb.debian.org/debian unstable/main amd64 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 42.8 MB in 6s (7201 kB/s) +Fetched 42.8 MB in 2s (21.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19718 files and directories currently installed.) @@ -728,8 +760,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Jun 25 11:55:17 UTC 2025. -Universal Time is now: Wed Jun 25 11:55:17 UTC 2025. +Local time is now: Thu May 23 05:34:52 UTC 2024. +Universal Time is now: Thu May 23 05:34:52 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-tty-color (0.6.0-1) ... @@ -856,7 +888,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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/958311/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/958311/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -885,7 +921,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-prompt/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250624-2074053-if6wxb/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240523-1021631-j16kk/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' @@ -897,7 +933,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/d20250624-2074053-if6wxb/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/d20240523-1021631-j16kk/tty-prompt-0.23.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/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/reproducible-path/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 @@ -966,707 +1002,707 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/build/reproducible-path/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/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 21641 +Randomized with seed 57644 -TTY::Prompt::Result - checks value to be valid - checks value to be invalid - -TTY::Prompt::Question::Modifier#letter_case - string - changes to lower case - changes to uppercase - capitalizes text - nil (empty user input) - up returns nil - down returns nil - capitalize returns nil - -TTY::Prompt::Question convert date +TTY::Prompt::Question convert custom No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. - fails to convert date + converts response with custom conversion + +TTY::Prompt::Question convert date converts date + fails to convert date converts datetime -TTY::Prompt::Question#default - sets quiet mode - TTY::Prompt::ConverterRegistry fetch retrieves converter from the registry fails to retrieve conversion retrieves uppcase named converter register - fails to register conversion registers new conversion under single name registers new conversion under multiple names + fails to register conversion contain - checks conversion with object type - doesn't have conversion contains conversion + doesn't have conversion + checks conversion with object type -TTY::Prompt#collect - collects more than one answer - when receiving multiple answers - collects as a list if values method used in chain - overrides a non-array key on multiple answers - collects as a list if values method used in chain with block - with multiple keys - collects into the appropriate keys - -TTY::Prompt::Question convert to array - converts answer to an array of integers - converts answer to an array of booleans - converts answer to an array - -TTY::Prompt::Question#keypress - asks for a keypress with echo off - asks for a keypress with echo on - receives line feed with echo on - interrupts input - timeouts when no key provided - -TTY::Prompt::Choices#pluck - plucks choice by key name - -TTY::Prompt::Question convert range - converts with valid range - fails to convert to range +TTY::Prompt::Question::Modifier#apply_to + combines letter case & whitespace modifications + doesn't apply modifiers + combines whitespace & letter case modifications -TTY::Prompt::Question#in - reads number within digit range - reads number within string range - reads letters within range - provides default error message when wrong input - reads range from option - overwrites default error message when wrong input +TTY::Prompt::Question convert bool + handles default values + converts negative boolean + converts single positive boolean + fails to convert boolean + converts positive boolean + handles default values TTY::Prompt::Distance.distance with one non empty is expected to eql 3 - when prefix - is expected to eql 3 - when similar - is expected to eql 2 when nil is expected to eql 0 - when contain similar + when unicode + is expected to eql 1 + when empty + is expected to eql 0 + when end similar + is expected to eql 3 + when single char is expected to eql 2 when similar is expected to eql 0 - when empty - is expected to eql 0 when similar is expected to eql 1 - when single char + when similar is expected to eql 2 - when unicode - is expected to eql 1 - when end similar + when prefix is expected to eql 3 + when contain similar + is expected to eql 2 + +TTY::Prompt::Question convert to hash + converts answer to a hash of boolean values + converts answer to a hash + converts answer to a hash of integer values + +TTY::Prompt::Question convert numbers + converts float + fails to convert float + converts integer + fails to convert integer + +TTY::Prompt::Question::Modifier#whitespace + string with whitespaces + chomps whitespace + trims whitespace + collapses text + removes whitespace + nil (empty user input) + remove returns nil + collapse returns nil + chomp returns nil + trim returns nil + +TTY::Prompt::Question#validate + validates input with regex + understands custom validation like :email + provides custom error message for wrong input + deprecates :validation option + provides default error message for wrong input + validates input with proc + +TTY::Prompt::Question#echo + asks with echo on + asks with echo off + +TTY::Prompt::Result + checks value to be valid + checks value to be invalid + +TTY::Prompt#error + changes default red color to cyan + displays many messages + displays message with option + displays one message + +TTY::Prompt + doesn't cycle around by default + cycles around when configured to do so + changes global symbols + raises configuration error when default is higher than number of choices + selects default option when return pressed immediately + selects option through DSL + selects option through DSL with key and value + selects option by index from the list + raises when default choice name is not found + raises when default name matches a disabled choice + sets choice value to nil through DSL + changes colors for selection, hint and error + shows pages matching input + switches through pages with tab key + selects default choice by name + sets quiet mode + changes global symbols through DSL + displays error with unrecognized input + doesn't paginate short selections + paginates long selections + sets quiet mode through DSL + with :disabled choice + omits disabled choice when navigating with numbers + finds first non-disabled index + fails when active item is also disabled + doesn't allow to choose disabled choice and defaults + +TTY::Utils + #deep_copy + copies "" + copies ["foo", {:bar=>"baz"}, :fum, 11] + #blank? + detects blank of "\n\t " as true + detects blank of "" as true + detects blank of :foo as false + detects blank of nil as true + detects blank of "foo" as false + detects blank of " " as true + +TTY::Prompt + sets choice value to nil through DSL + changes selected item color & marker + sets default choices using names + sets prompt prefix + sets choice custom values + selects item when space pressed but doesn't echo item if echo: false + sets default options through DSL syntax + sets default options through hash syntax + sets choice name and value through DSL + selects item when space pressed + sets prompt to quiet mode + selects nothing when return pressed immediately + changes to never show help + raises error for defaults out of range + changes to always show help + changes help text and color + with filter + doesn't lose the selection when switching between filters + with :min + requires number of choices + with :cycle + doesn't cycle by default + cycles when configured to do so + cycles filtered choices left and right + cycles choices using left/right arrows + when paginated + combines up/down navigation with left/right + selects all paged choices with ctrl+a + paginates long selections + reverts selection accross pages with Ctrl+r + navigates evenly paged output with right arrow until end of selection + navigates unevenly paged output with right arrow until the end of selection + navigates left and right + paginates long selections through DSL + doesn't paginate short selections + paginates choices as hash object + with :disabled + selects all non-disabled choices when ctrl+a is pressed + adjusts active index to match first non-disabled choice + fails when default item is also disabled + omits disabled choice when nagivating menu + 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 + +TTY::Prompt::Timer + registers a tick event + times out loop execution + +TTY::Prompt#inspect + inspects instance attributes + +TTY::Prompt::Question#required + requires value to be present + uses required in validation check + doesn't require value to be present + requires value to be present with option + +TTY::Prompt#new + sets input stream + sets prefix + sets output stream + +TTY::Prompt::Question::Validation#call + validates nil input + fails validation when not maching pattern + validates with a proc + validates with custom name + validates successfully when the value matches pattern + +TTY::Prompt::Choices#find_by + finds a matching choice by :name key + finds a matching choice by :key key + finds a matching choice by :value key + finds no matching choice + +TTY::Prompt::Question convert path + converts pathname + +TTY::Prompt confirmation + #no? + warns about invalid entry when using defaults + defaults suffix and converter + agrees with question + customizes question through DSL + assumes default false + changes default + disagrees with question + #yes? + customizes question through DSL + agrees with question + customizes question through options + accepts regex conflicting characters as suffix + defaults suffix and converter + changes default + fails to infer default value from a word + warns about invalid entry when using defaults + infers default value from a word + obeys quiet mode + disagrees with question + defaults positive and negative + assumes default true TTY::Prompt::Converters - :path - converts "/foo/bar/baz" to # + :time + converts "unknown" to "undefined" + converts "11:12:13" to 2024-05-23 11:12:13 +1400 + :char + converts "" to nil + converts "input" to "i" :float converts "12.3" to 12.3 converts "unknown" to "undefined" - :regexp - converts "unknown" to /unknown/ - converts "\\d+" to /\d+/ - :integer - converts "unknown" to "undefined" - converts "12" to 12 :boolean + converts "y" to true + converts "f" to false + converts "no" to false + converts "YES" to true converts "t" to true + converts "true" to true converts "unknown" to "undefined" - converts "y" to true - converts "1" to true converts "FALSE" to false - converts "true" to true converts "0" to false - converts "no" to false - converts "f" to false - converts "YES" to true - :char - converts "" to nil - converts "input" to "i" + converts "1" to true :range - converts 1..10 to 1..10 - converts "1..10" to 1..10 converts "1 , 10" to 1..10 - converts "unknown" to "undefined" - converts "1.2-5.0" to 1.2..5.0 + converts "1-10" to 1..10 converts "1.0" to 1.0..1.0 converts "a . . . z" to "a"..."z" + converts "1 . . . 10" to 1...10 converts "a..z" to "a".."z" + converts 1..10 to 1..10 converts "-5--1" to -5..-1 - converts "1" to 1..1 - converts "1-10" to 1..10 converts "1...10" to 1...10 - converts "1 . . . 10" to 1...10 + converts "1.2-5.0" to 1.2..5.0 + converts "1" to 1..1 + converts "1..10" to 1..10 + converts "unknown" to "undefined" :array/:list - converts ["a", "b", "c"] to ["a", "b", "c"] - converts ",," to [] converts "t,t,f" to [true, true, false] + converts "a, , c" to ["a", "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"] - converts "1,2,3" to [1, 2, 3] - converts "1,2,3" to [1.0, 2.0, 3.0] - 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, , c" to ["a", "c"] converts "1,2,3" to [1, 2, 3] converts "a,b,c" to [:a, :b, :c] + converts ",," to [] + converts "a,b,c" to [:a, :b, :c] + converts "1,2,3" to [1, 2, 3] + converts "a,b,c" to ["a", "b", "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 ["a", "b", "c"] to ["a", "b", "c"] + converts "t,t,f" to [true, true, false] converts "t,t,f" to [true, true, false] 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 + :path + converts "/foo/bar/baz" to # :date converts "unknown" to "undefined" converts "2020/05/21" to # + :regexp + converts "\\d+" to /\d+/ + converts "unknown" to /unknown/ :string - converts "input\n" to "input" converts "" to "" - :uri - converts "http://foobar.com" to # + converts "input\n" to "input" :datetime converts "2020/05/21 11:12:13" to # converts "unknown" to "undefined" - :time - converts "11:12:13" to 2025-06-24 11:12:13 -1200 - converts "unknown" to "undefined" :hash/:map 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&a=3" to {:a=>["1", "3"], :b=>"2"} - converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "" to {} - converts "a=&b=2" to {:a=>"", :b=>"2"} - 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 c:3" to {:a=>1, :b=>2, :c=>3} converts "a=1&b=2" to {:a=>"1", :b=>"2"} converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} + converts "" to {} + 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: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 a:3" to {:a=>["1", "3"], :b=>"2"} converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts "a=1" to {:a=>"1"} + 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, "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 "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} + :uri + converts "http://foobar.com" to # -TTY::Prompt#inspect - inspects instance attributes +TTY::Prompt::Question#initialize + is expected to eq [] + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq true -TTY::Prompt::Question#default - uses default value in block - uses default value +TTY::Prompt#ok + changes color to cyan + prints multiple lines in green + prints text in green -TTY::Prompt::Timer - registers a tick event - times out loop execution +TTY::Prompt#ask + asks a question with a prefix [?] + asks an empty question and returns nil if EOF is sent to stdin + permits empty default parameter + asks an empty question + overwrites global settings + asks a question with block + sets quiet mode + sets quiet mode through DSL + asks question + permits nil default parameter + asks question with prepopulated value + asks an empty question with prepopulated value + changes question color -TTY::Prompt::Choices.new - creates choices collection +TTY::Prompt#decorate + doesn't decorate when disabled + decorates with a proc + decorates with a callable object + doesn't decorate without additional arguments + doesn't decorate empty string + decorates string with named colors -TTY::Prompt::Choices#each - iterates over collection +TTY::Prompt::Choice#== + is false with different key attribute + is false with different name attribute + is false with non-choice object + is true with the same name and value attributes + is false with different value attribute + +TTY::Prompt#suggest + suggests few matches + suggests a single match for two characters + suggests with different text and indentation + suggests a single match for one character + +TTY::Prompt#warn + changes default yellow color to cyan + displays message with option + displays many messages + displays one message TTY::Prompt#slider - specifies range through DSL - sets quiet mode - specifies choices through DSL - specifies choices through DSL - changes display colors - specifies choices instead of calculated range - changes all display symbols per instance - formats via proc - changes to never show help - specifies ranges & step - specifies default value mixes choices as values and via DSL and keeps ordering - doesn't allow values outside of range - sets default choice by index number changes all display symbols + changes all display symbols per instance + sets default choice by index number changes to always show help + changes to never show help sets default choice by name - sets choice value to proc and executes it + specifies default value + doesn't allow values outside of range + specifies choices through DSL specifies quiet mode through DSL + formats via proc + specifies choices instead of calculated range + sets choice value to proc and executes it + specifies range through DSL + specifies ranges & step + changes display colors + sets quiet mode + specifies choices through DSL + +TTY::Prompt::Choices#<< + adds choice to collection + +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 tab or space + prints + with new line + prints a message with newline + prints a message with newline within text + prints a message with newline within text and blank space + prints a message with implicit newline + prints a message without newline + +TTY::Prompt#expand + sets quiet mode through DSL + automatically expands hint + informs about invalid input when automatically expanding hint + sets quiet mode + fails to expand due to duplicate key + fails to expand due to wrong key length + fails to expand due to reserve key + fails to expand due to lack of key attribute + expands help option and then defaults + expands default option + specifies options through DSL and executes value + changes default option + expands chosen option with extra information + specifies options through DSL + +TTY::Prompt::Choices.new + creates choices collection + +TTY::Prompt::Choices#pluck + plucks choice by key name + +TTY::Prompt#collect + collects more than one answer + when receiving multiple answers + collects as a list if values method used in chain + overrides a non-array key on multiple answers + collects as a list if values method used in chain with block + with multiple keys + collects into the appropriate keys + +TTY::Prompt::Statement.new + displays prompt message in color + forces newline after the prompt message + +TTY::Prompt::Question#keypress + interrupts input + asks for a keypress with echo off + receives line feed with echo on + asks for a keypress with echo on + timeouts when no key provided + +TTY::Prompt::Question#multiline + sets quiet mode + uses defualt when no input + reads multiple lines with empty lines + changes help text + reads no lines + +TTY::Prompt#mask + masks with unicode character + masks output with custom character + ignores mask if echo is off + validates input + masks output by default + +TTY::Prompt::Question convert string + converts string + converts symbol + +TTY::Prompt::Question#default + sets quiet mode + +TTY::Prompt::Question convert file + converts to file + +TTY::Prompt::SelectedChoices + initializes with selected choices + clears choices + inserts and deletes choices + inserts choices by the index order TTY::Prompt::Choice#from - creates choice from a symbol - creates choice from a hash with a nil value - creates choice from a hash with name, value and key keys - creates choice from an array with name and a value creates choice from an array with a hash without value key + creates disabled choice creates choice from array with name and nil value - creates choice from an arbitrary object that responds to to_s call + creates choice from a string + creates choice from a hash with name, value and key keys + creates choice from an array with key-value pair skips Choice instance + creates choice from an array with name and false value + creates choice from a symbol creates choice from an array with name only and defaults value - creates choice from an array with a hash with name and value keys creates choice from a hash with a value - creates choice from an array with key-value pair - creates choice from a string - creates disabled choice - creates choice from an array with name and false value + creates choice from a hash with a nil value + creates choice from an array with a hash with name and value keys + creates choice from an array with name and a value + creates choice from an arbitrary object that responds to to_s call -TTY::Prompt#new - sets prefix - sets output stream - sets input stream +TTY::Prompt::Question convert char + reads single character + +TTY::Prompt::Choices#each + iterates over collection + +TTY::Prompt::Evaluator + checks chained validation objects + checks chained validation procs TTY::Prompt#select - verifies default index format + sets quiet mode through DSL + verifies default index range + selects default choice by name + sets choice name through DSL sets choice name & value through DSL - sets choices and single choice through DSL - changes to never show help + changes help text sets choice name and value - changes selected item color & marker - sets choice name through DSL - configures quiet mode - sets default option through hash syntax sets prompt prefix - sets choice value to proc and executes it - raises when default choice matches disabled choice - changes help text - verifies default index range - sets quiet mode through DSL - selects default choice by name changes help text through DSL + selects by default first option raises when default choice doesn't match any choices - allows navigation using events without errors doesn't paginate short selections - selects by default first option + changes selected item color & marker + sets choice value to proc and executes it changes to always show help - sets choice value to nil + configures quiet mode sets choice name & value through DSL + changes to never show help + sets choice value to nil + raises when default choice matches disabled choice + sets default option through hash syntax + verifies default index format + sets choices and single choice through DSL + allows navigation using events without errors with :cycle option + cycles filtered choices left and right cycles around disabled items - doesn't cycle by default + cycles pages left/right with disabled items cycles choices using left/right arrows cycles around when configured to do so - cycles filtered choices left and right - cycles pages left/right with disabled items + doesn't cycle by default with filter - filters based on alphanumeric and punctuation characters - doesn't exit when there are no matching entries - navigates left and right with filtered items filters and chooses the first of multiple matching entries doesn't allow mixing enumeration and filter + navigates left and right with filtered items filters and chooses a uniquely matching entry, ignoring case cancels a selection - with :disabled choice - omits disabled choice when navigating menu - omits disabled choice when number key is pressed - sets active to be first non-disabled choice - prevents setting default to disabled choice - doesn't show disabled choice when filtering choices + doesn't exit when there are no matching entries + filters based on alphanumeric and punctuation characters when paginated navigates pages left/right with disabled items - navigates evenly paged output with right arrow until end of selection - navigates unevenly paged output with right arrow until the end of selection paginates long selections through DSL paginates long selections - paginates choices as hash object - combines up/down navigation with left/right - navigates pages up/down with disabled items navigates left and right - -TTY::Prompt::Question convert char - reads single character - -TTY::Prompt confirmation - #no? - customizes question through DSL - defaults suffix and converter - changes default - warns about invalid entry when using defaults - disagrees with question - assumes default false - agrees with question - #yes? - defaults suffix and converter - agrees with question - changes default - accepts regex conflicting characters as suffix - defaults positive and negative - assumes default true - infers default value from a word - customizes question through options - fails to infer default value from a word - customizes question through DSL - disagrees with question - obeys quiet mode - warns about invalid entry when using defaults - -TTY::Prompt#error - displays message with option - displays many messages - changes default red color to cyan - displays one message - -TTY::Prompt::Question::Modifier#whitespace - string with whitespaces - chomps whitespace - removes whitespace - collapses text - trims whitespace - nil (empty user input) - chomp returns nil - remove returns nil - collapse returns nil - trim returns nil - -TTY::Prompt::Question::Modifier#apply_to - combines letter case & whitespace modifications - doesn't apply modifiers - combines whitespace & letter case modifications - -TTY::Prompt - sets prompt to quiet mode - changes to always show help - sets choice custom values - sets default choices using names - sets choice name and value through DSL - changes selected item color & marker - changes to never show help - sets default options through hash syntax - changes help text and color - raises error for defaults out of range - selects item when space pressed - sets choice value to nil through DSL - selects nothing when return pressed immediately - sets default options through DSL syntax - selects item when space pressed but doesn't echo item if echo: false - sets prompt prefix - with :min - requires number of choices - when paginated - doesn't paginate short selections + navigates pages up/down with disabled items navigates evenly paged output with right arrow until end of selection combines up/down navigation with left/right - paginates choices as hash object - selects all paged choices with ctrl+a - reverts selection accross pages with Ctrl+r - navigates left and right - paginates long selections - paginates long selections through DSL navigates unevenly paged output with right arrow until the end of selection - with :disabled - selects all non-disabled choices when ctrl+a is pressed - adjusts active index to match first non-disabled choice - omits disabled choice when nagivating menu + paginates choices as hash object + with :disabled choice omits disabled choice when number key is pressed - fails when default item is also disabled - with :max - disables Ctrl+a/Ctrl+r selection when :max option is specified - limits number of choices - with filter - doesn't lose the selection when switching between filters - with :cycle - cycles when configured to do so - cycles filtered choices left and right - cycles choices using left/right arrows - doesn't cycle by default + sets active to be first non-disabled choice + omits disabled choice when navigating menu + prevents setting default to disabled choice + doesn't show disabled choice when filtering choices -TTY::Prompt#mask - masks with unicode character - ignores mask if echo is off - validates input - masks output by default - masks output with custom character +TTY::Prompt::Question#in + provides default error message when wrong input + reads letters within range + overwrites default error message when wrong input + reads number within digit range + reads number within string range + reads range from option -TTY::Prompt#ok - prints text in green - prints multiple lines in green - changes color to cyan +TTY::Prompt::Question::Modifier#letter_case + string + changes to lower case + capitalizes text + changes to uppercase + nil (empty user input) + down returns nil + up returns nil + capitalize returns nil TTY::Prompt#subscribe subscribes to key events only for the current prompt -TTY::Prompt#decorate - decorates string with named colors - doesn't decorate without additional arguments - doesn't decorate empty string - decorates with a callable object - doesn't decorate when disabled - decorates with a proc - -TTY::Prompt#expand - sets quiet mode - expands help option and then defaults - expands default option - expands chosen option with extra information - sets quiet mode through DSL - changes default option - specifies options through DSL and executes value - informs about invalid input when automatically expanding hint - automatically expands hint - fails to expand due to lack of key attribute - fails to expand due to reserve key - specifies options through DSL - fails to expand due to duplicate key - fails to expand due to wrong key length - -TTY::Prompt::Question convert file - converts to file - -TTY::Prompt - changes global symbols through DSL - sets quiet mode - paginates long selections - raises configuration error when default is higher than number of choices - switches through pages with tab key - selects option by index from the list - selects default choice by name - selects option through DSL with key and value - sets quiet mode through DSL - doesn't paginate short selections - displays error with unrecognized input - selects option through DSL - selects default option when return pressed immediately - changes colors for selection, hint and error - shows pages matching input - cycles around when configured to do so - doesn't cycle around by default - sets choice value to nil through DSL - raises when default name matches a disabled choice - changes global symbols - raises when default choice name is not found - 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 - -TTY::Prompt::Question#echo - asks with echo on - asks with echo off - -TTY::Prompt::Choices#find_by - finds no matching choice - finds a matching choice by :value key - finds a matching choice by :key key - finds a matching choice by :name key - -TTY::Prompt::Statement.new - forces newline after the prompt message - displays prompt message in color - -TTY::Prompt::SelectedChoices - inserts choices by the index order - clears choices - initializes with selected choices - inserts and deletes choices +TTY::Prompt::Question#modify + preserves answer for unkown modification + converts to upper case + collapses whitespace + strips and collapses whitespace + trims whitespace -TTY::Prompt::Question convert path - converts pathname +TTY::Prompt::Question convert range + fails to convert to range + converts with valid range -TTY::Prompt::Choice#== - is false with different value attribute - 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 name attribute +TTY::Prompt::Question::Validation#coerce + fails to coerce pattern into validation + coerces lambda into proc + doesn't coerce symbols + coerces into regex -TTY::Prompt::Question convert bool - handles default values - converts single positive boolean - handles default values - fails to convert boolean - converts negative boolean - converts positive boolean +TTY::Prompt::Question convert regexp + converts regex TTY::Prompt::BlockPaginator#paginate - finds both start and end index for current selection - starts with default selection - doesn't accept invalid pagination ignores per_page when less items - paginates items not matching per_page count - ignores per_page when equal items paginates items matching per_page count - -TTY::Prompt::Question convert regexp - converts regex + doesn't accept invalid pagination + starts with default selection + ignores per_page when equal items + finds both start and end index for current selection + paginates items not matching per_page count TTY::Prompt::Paginator#paginate - paginates items not matching per_page count - ignores per_page when equal items - paginates items matching per_page count 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 doesn't accept invalid pagination ignores per_page when less items - finds both start and end index for current selection - -TTY::Prompt#ask - overwrites global settings - asks question with prepopulated value - asks a question with a prefix [?] - sets quiet mode - asks an empty question with prepopulated value - permits empty default parameter - asks question - asks a question with block - asks an empty question - changes question color - permits nil default parameter - sets quiet mode through DSL - asks an empty question and returns nil if EOF is sent to stdin - -TTY::Prompt#suggest - suggests a single match for one character - suggests few matches - suggests with different text and indentation - suggests a single match for two characters - -TTY::Prompt::Evaluator - checks chained validation objects - checks chained validation procs - -TTY::Prompt#warn - displays many messages - changes default yellow color to cyan - displays message with option - displays one message - -TTY::Prompt::Question::Validation#coerce - fails to coerce pattern into validation - doesn't coerce symbols - coerces lambda into proc - coerces into regex - -TTY::Prompt::Question convert to hash - converts answer to a hash of integer values - converts answer to a hash of boolean values - converts answer to a hash - -TTY::Prompt::Question#required - requires value to be present with option - requires value to be present - uses required in validation check - doesn't require value to be present - -TTY::Prompt::Question convert string - converts string - converts symbol - -TTY::Prompt::Question#initialize - is expected to eq [] - is expected to eq true - is expected to eq TTY::Prompt::Question::UndefinedSetting + paginates items not matching per_page count -TTY::Utils - #blank? - detects blank of " " as true - detects blank of :foo as false - detects blank of "" as true - detects blank of "foo" as false - detects blank of "\n\t " as true - detects blank of nil as true - #deep_copy - copies ["foo", {:bar=>"baz"}, :fum, 11] - copies "" +TTY::Prompt::Question#default + uses default value in block + uses default value -TTY::Prompt::Question#modify - strips and collapses whitespace - preserves answer for unkown modification - collapses whitespace - converts to upper case - trims whitespace +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled TTY::Prompt::Question - fails validation check with inlined custom message - fails range check - passes validation check - fails validation check with custom message - passes required check fails convert check with custom message - passes convert check - passes range check fails validation check fails range check - fails required check with custom message + fails validation check with inlined custom message fails convert check + fails validation check with custom message + fails required check with custom message + passes range check + fails range check + passes convert check + passes validation check fails required check + passes required check -TTY::Prompt::Question#multiline - sets quiet mode - reads multiple lines with empty lines - changes help text - uses defualt when no input - reads no lines - -TTY::Prompt#say - prints an empty message - with new line - prints a message with newline within text - prints a message with newline within text and blank space - prints a message with implicit newline - prints a message without newline - prints a message with newline - with tab or space - prints - without color - prints message without ansi - with color - prints message with ansi color without newline - prints message with ansi color - -TTY::Prompt::Question#validate - validates input with regex - understands custom validation like :email - validates input with proc - deprecates :validation option - provides custom error message for wrong input - provides default error message for wrong input - -TTY::Prompt::Question convert custom - converts response with custom conversion - -TTY::Prompt::Choices#<< - adds choice to collection - -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled - -TTY::Prompt::Question::Validation#call - validates with custom name - fails validation when not maching pattern - validates nil input - validates successfully when the value matches pattern - validates with a proc - -TTY::Prompt::Question convert numbers - fails to convert integer - converts float - fails to convert float - converts integer +TTY::Prompt::Question convert to array + converts answer to an array + converts answer to an array of integers + converts answer to an array of booleans -Top 2 slowest examples (0.06108 seconds, 11.0% of total time): +Top 2 slowest examples (0.07874 seconds, 8.8% of total time): + TTY::Prompt#collect when receiving multiple answers with multiple keys collects into the appropriate keys + 0.04665 seconds ./spec/unit/collect_spec.rb:49 TTY::Prompt::Timer times out loop execution - 0.03093 seconds ./spec/unit/timer_spec.rb:4 - TTY::Prompt::Timer registers a tick event - 0.03015 seconds ./spec/unit/timer_spec.rb:15 + 0.0321 seconds ./spec/unit/timer_spec.rb:4 Top 2 slowest example groups: TTY::Prompt::Timer - 0.0308 seconds average (0.0616 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 - TTY::Prompt#subscribe - 0.00577 seconds average (0.00577 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 + 0.03172 seconds average (0.06344 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + TTY::Prompt#collect + 0.01927 seconds average (0.09635 seconds / 5 examples) ./spec/unit/collect_spec.rb:3 -Finished in 0.55449 seconds (files took 0.26992 seconds to load) +Finished in 0.89987 seconds (files took 0.55623 seconds to load) 494 examples, 0 failures -Randomized with seed 21641 +Randomized with seed 57644 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1699,12 +1735,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/958311/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/958311/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/2063032 and its subdirectories -I: Current time: Tue Jun 24 23:55:30 -12 2025 -I: pbuilder-time-stamp: 1750852530 +I: removing directory /srv/workspace/pbuilder/958311 and its subdirectories +I: Current time: Thu May 23 19:35:36 +14 2024 +I: pbuilder-time-stamp: 1716442536