Diff of the two buildlogs: -- --- b1/build.log 2024-10-12 17:30:17.223722135 +0000 +++ b2/build.log 2024-10-12 17:30:58.521966196 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 12 05:29:26 -12 2024 -I: pbuilder-time-stamp: 1728754166 +I: Current time: Sat Nov 15 13:53:16 +14 2025 +I: pbuilder-time-stamp: 1763164396 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ 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/16768/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4681/tmp/hooks/D01_modify_environment starting +debug: Running on infom08-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 14 23:53 /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/4681/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4681/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0ded9ea4060d412787f82e373d490917' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='16768' - PS1='# ' - PS2='> ' + INVOCATION_ID=b9e821c375304389b85f21ff89f67c45 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4681 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.20iktz1o/pbuilderrc_iCV9 --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.20iktz1o/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-1.dsc' - SUDO_GID='111' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.20iktz1o/pbuilderrc_wOLW --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.20iktz1o/b2 --logfile b2/build.log ruby-tty-prompt_0.23.1-1.dsc' + SUDO_GID=111 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom07-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/16768/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4681/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -260,7 +292,7 @@ Get: 139 http://deb.debian.org/debian unstable/main i386 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 140 http://deb.debian.org/debian unstable/main i386 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 141 http://deb.debian.org/debian unstable/main i386 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 44.8 MB in 5s (8957 kB/s) +Fetched 44.8 MB in 1s (81.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19785 files and directories currently installed.) @@ -735,8 +767,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Oct 12 17:29:56 UTC 2024. -Universal Time is now: Sat Oct 12 17:29:56 UTC 2024. +Local time is now: Fri Nov 14 23:53:34 UTC 2025. +Universal Time is now: Fri Nov 14 23:53:34 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-tty-color (0.6.0-1) ... @@ -860,7 +892,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/4681/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4681/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 @@ -889,7 +925,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/d20241012-26102-cok9bs/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20251115-9514-kpup4n/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' @@ -901,7 +937,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/d20241012-26102-cok9bs/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/d20251115-9514-kpup4n/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 @@ -970,707 +1006,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/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-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 59045 +Randomized with seed 24559 -TTY::Prompt::ConverterRegistry - register - fails to register conversion - registers new conversion under multiple names - registers new conversion under single name - fetch - retrieves uppcase named converter - retrieves converter from the registry - fails to retrieve conversion - contain - checks conversion with object type - contains conversion - doesn't have conversion +TTY::Prompt::BlockPaginator#paginate + finds both start and end index for current selection + paginates items matching per_page count + starts with default selection + doesn't accept invalid pagination + ignores per_page when equal items + paginates items not matching per_page count + ignores per_page when less items -TTY::Prompt::Question convert numbers +TTY::Prompt::Question::Modifier#whitespace + string with whitespaces + collapses text + trims whitespace + removes whitespace + chomps whitespace + nil (empty user input) + remove returns nil + collapse returns nil + trim returns nil + chomp returns nil + +TTY::Prompt#expand + fails to expand due to lack of key attribute + automatically expands hint + specifies options through DSL and executes value + fails to expand due to duplicate key + expands chosen option with extra information + sets quiet mode through DSL + informs about invalid input when automatically expanding hint + expands default option + fails to expand due to reserve key + expands help option and then defaults + changes default option + specifies options through DSL + fails to expand due to wrong key length + sets quiet mode + +TTY::Prompt::Result + checks value to be valid + checks value to be invalid + +TTY::Prompt#suggest + suggests with different text and indentation + suggests a single match for two characters + suggests few matches + suggests a single match for one character + +TTY::Prompt::Question::Validation#coerce + doesn't coerce symbols + fails to coerce pattern into validation + coerces into regex + coerces lambda into proc + +TTY::Prompt::Question convert file 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. - converts integer - fails to convert float - converts float - fails to convert integer + converts to file + +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled + +TTY::Prompt::Question convert char + reads single character + +TTY::Prompt#ask + asks question + asks a question with a prefix [?] + asks a question with block + permits nil default parameter + overwrites global settings + permits empty default parameter + asks an empty question with prepopulated value + asks an empty question + asks an empty question and returns nil if EOF is sent to stdin + sets quiet mode through DSL + asks question with prepopulated value + changes question color + sets quiet mode + +TTY::Prompt + changes global symbols through DSL + paginates long selections + sets choice value to nil through DSL + selects option through DSL with key and value + selects default choice by name + doesn't paginate short selections + shows pages matching input + changes colors for selection, hint and error + sets quiet mode through DSL + displays error with unrecognized input + sets quiet mode + doesn't cycle around by default + raises configuration error when default is higher than number of choices + selects option through DSL + changes global symbols + cycles around when configured to do so + raises when default choice name is not found + raises when default name matches a disabled choice + switches through pages with tab key + selects option by index from the list + selects default option when return pressed immediately + with :disabled choice + finds first non-disabled index + fails when active item is also disabled + omits disabled choice when navigating with numbers + doesn't allow to choose disabled choice and defaults TTY::Prompt::Question#keypress - timeouts when no key provided - asks for a keypress with echo off + asks for a keypress with echo on receives line feed with echo on interrupts input - asks for a keypress with echo on + asks for a keypress with echo off + timeouts when no key provided -TTY::Prompt::Question convert path - converts pathname +TTY::Prompt#slider + mixes choices as values and via DSL and keeps ordering + changes display colors + formats via proc + specifies choices through DSL + changes all display symbols + specifies default value + sets choice value to proc and executes it + changes to always show help + changes all display symbols per instance + specifies choices through DSL + specifies quiet mode through DSL + doesn't allow values outside of range + specifies range through DSL + sets quiet mode + changes to never show help + sets default choice by name + sets default choice by index number + specifies ranges & step + specifies choices instead of calculated range TTY::Prompt::Question - passes range check - fails validation check with custom message - fails validation check with inlined custom message - fails validation check fails required check + fails convert check with custom message + fails convert check + passes convert check + passes validation check + fails validation check with inlined custom message + fails validation check with custom message passes required check + passes range check fails range check + fails validation check fails range check - passes validation check fails required check with custom message - fails convert check with custom message - passes convert check - fails convert check -TTY::Prompt::Question convert regexp - converts regex +TTY::Prompt::ConverterRegistry + register + registers new conversion under multiple names + registers new conversion under single name + fails to register conversion + contain + doesn't have conversion + checks conversion with object type + contains conversion + fetch + fails to retrieve conversion + retrieves uppcase named converter + retrieves converter from the registry -TTY::Prompt::Question#validate - deprecates :validation option - validates input with proc - validates input with regex - understands custom validation like :email - provides default error message for wrong input - provides custom error message for wrong input +TTY::Prompt + raises error for defaults out of range + sets choice name and value through DSL + sets prompt prefix + sets choice value to nil through DSL + changes help text and color + sets default choices using names + selects nothing when return pressed immediately + selects item when space pressed + sets default options through DSL syntax + changes to always show help + changes to never show help + changes selected item color & marker + selects item when space pressed but doesn't echo item if echo: false + sets choice custom values + sets default options through hash syntax + sets prompt to quiet mode + with :max + limits number of choices + disables Ctrl+a/Ctrl+r selection when :max option is specified + with :cycle + cycles choices using left/right arrows + doesn't cycle by default + cycles when configured to do so + cycles filtered choices left and right + with :disabled + selects all non-disabled choices when ctrl+a is pressed + fails when default item is also disabled + omits disabled choice when nagivating menu + adjusts active index to match first non-disabled choice + omits disabled choice when number key is pressed + with :min + requires number of choices + when paginated + paginates choices as hash object + paginates long selections + navigates left and right + navigates unevenly paged output with right arrow until the end of selection + reverts selection accross pages with Ctrl+r + navigates evenly paged output with right arrow until end of selection + selects all paged choices with ctrl+a + doesn't paginate short selections + paginates long selections through DSL + combines up/down navigation with left/right + with filter + doesn't lose the selection when switching between filters -TTY::Prompt#suggest - suggests a single match for one character - suggests a single match for two characters - suggests few matches - suggests with different text and indentation +TTY::Prompt::Question convert path + converts pathname + +TTY::Prompt#error + displays one message + displays message with option + displays many messages + changes default red color to cyan TTY::Prompt::Distance.distance - when single char - is expected to eql 2 + when unicode + is expected to eql 1 when empty is expected to eql 0 - when nil - is expected to eql 0 + when single char + is expected to eql 2 when similar - is expected to eql 1 - when contain similar is expected to eql 2 - when unicode - is expected to eql 1 when prefix is expected to eql 3 when similar - is expected to eql 2 - when end similar - is expected to eql 3 + is expected to eql 1 when similar is expected to eql 0 + when end similar + is expected to eql 3 + when contain similar + is expected to eql 2 with one non empty is expected to eql 3 + when nil + is expected to eql 0 -TTY::Prompt#new - sets output stream - sets prefix - sets input stream +TTY::Prompt::Choices#<< + adds choice to collection -TTY::Prompt::Choices#find_by - finds a matching choice by :name key - finds no matching choice - finds a matching choice by :key key - finds a matching choice by :value key +TTY::Prompt::Choices#each + iterates over collection -TTY::Prompt::Question convert date - converts date - converts datetime - fails to convert date +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::Question::Modifier#apply_to - combines letter case & whitespace modifications - doesn't apply modifiers - combines whitespace & letter case modifications +TTY::Prompt::Question convert bool + handles default values + handles default values + fails to convert boolean + converts negative boolean + converts positive boolean + converts single positive boolean -TTY::Prompt - raises configuration error when default is higher than number of choices - displays error with unrecognized input - selects option through DSL with key and value - switches through pages with tab key - changes global symbols through DSL - raises when default choice name is not found - raises when default name matches a disabled choice - selects option by index from the list - changes global symbols +TTY::Prompt#ok + changes color to cyan + prints multiple lines in green + prints text in green + +TTY::Prompt::SelectedChoices + inserts and deletes choices + initializes with selected choices + inserts choices by the index order + clears choices + +TTY::Prompt#decorate + decorates with a proc + decorates string with named colors + doesn't decorate empty string + doesn't decorate without additional arguments + doesn't decorate when disabled + decorates with a callable object + +TTY::Prompt::Question::Validation#call + validates with a proc + validates nil input + fails validation when not maching pattern + validates successfully when the value matches pattern + validates with custom name + +TTY::Prompt::Question#validate + validates input with proc + deprecates :validation option + understands custom validation like :email + validates input with regex + provides custom error message for wrong input + provides default error message for wrong input + +TTY::Prompt::Question#default sets quiet mode - cycles around when configured to do so - paginates long selections - changes colors for selection, hint and error - selects option through DSL - sets quiet mode through DSL - sets choice value to nil through DSL - doesn't cycle around by default - shows pages matching input - selects default choice by name - selects default option when return pressed immediately - doesn't paginate short selections - with :disabled choice - doesn't allow to choose disabled choice and defaults - omits disabled choice when navigating with numbers - finds first non-disabled index - fails when active item is also disabled -TTY::Prompt::Question::Validation#coerce - doesn't coerce symbols - fails to coerce pattern into validation - coerces lambda into proc - coerces into regex +TTY::Prompt::Paginator#paginate + finds both start and end index for current selection + paginates items matching per_page count + doesn't accept invalid pagination + paginates items not matching per_page count + starts with default selection + ignores per_page when less items + ignores per_page when equal items + +TTY::Prompt#say + prints an empty message + without color + prints message without ansi + with tab or space + prints + with color + prints message with ansi color without newline + prints message with ansi color + with new line + 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 + prints a message with newline + +TTY::Prompt::Question convert regexp + converts regex + +TTY::Prompt::Choices.new + creates choices collection + +TTY::Prompt::Question#modify + strips and collapses whitespace + converts to upper case + preserves answer for unkown modification + collapses whitespace + trims whitespace + +TTY::Prompt::Question#default + uses default value + uses default value in block + +TTY::Prompt::Evaluator + checks chained validation procs + checks chained validation objects + +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::Utils - #deep_copy - copies ["foo", {:bar=>"baz"}, :fum, 11] - copies "" #blank? - detects blank of "foo" as false - detects blank of "\n\t " as true - detects blank of "" as true - detects blank of " " as true detects blank of nil as true + detects blank of " " as true detects blank of :foo as false + detects blank of "\n\t " as true + detects blank of "foo" as false + detects blank of "" as true + #deep_copy + copies "" + copies ["foo", {:bar=>"baz"}, :fum, 11] -TTY::Prompt::Question#required - requires value to be present with option - uses required in validation check - requires value to be present - doesn't require value to be present - -TTY::Prompt::Question convert char - reads single character - -TTY::Prompt::Choices#each - iterates over collection - -TTY::Prompt::Choices#<< - adds choice to collection +TTY::Prompt::Question convert to array + converts answer to an array + converts answer to an array of booleans + converts answer to an array of integers -TTY::Prompt#expand - sets quiet mode - informs about invalid input when automatically expanding hint - fails to expand due to duplicate key - specifies options through DSL and executes value - fails to expand due to lack of key attribute - fails to expand due to wrong key length - expands help option and then defaults - expands chosen option with extra information - fails to expand due to reserve key - sets quiet mode through DSL - expands default option - specifies options through DSL - changes default option - automatically expands hint +TTY::Prompt confirmation + #yes? + disagrees with question + obeys quiet mode + fails to infer default value from a word + defaults suffix and converter + agrees with question + customizes question through options + customizes question through DSL + accepts regex conflicting characters as suffix + defaults positive and negative + warns about invalid entry when using defaults + changes default + assumes default true + infers default value from a word + #no? + warns about invalid entry when using defaults + agrees with question + changes default + defaults suffix and converter + customizes question through DSL + assumes default false + disagrees with question -TTY::Prompt#select - configures quiet mode - changes help text through DSL - sets choice name & value through DSL - sets choice name and value - sets default option through hash syntax - doesn't paginate short selections - allows navigation using events without errors - raises when default choice matches disabled choice - sets quiet mode through DSL - changes help text - changes to always show help - changes selected item color & marker - verifies default index range - selects default choice by name - selects by default first option - sets choice value to nil - changes to never show help - raises when default choice doesn't match any choices - sets choice name & value through DSL - sets prompt prefix - sets choice value to proc and executes it - sets choices and single choice through DSL - sets choice name through DSL - verifies default index format - with filter - filters and chooses the first of multiple matching entries - filters based on alphanumeric and punctuation characters - navigates left and right with filtered items - doesn't exit when there are no matching entries - doesn't allow mixing enumeration and filter - filters and chooses a uniquely matching entry, ignoring case - cancels a selection - with :cycle option - cycles around disabled items - cycles filtered choices left and right - cycles choices using left/right arrows - doesn't cycle by default - cycles around when configured to do so - cycles pages left/right with disabled items - with :disabled choice - doesn't show disabled choice when filtering choices - omits disabled choice when number key is pressed - sets active to be first non-disabled choice - prevents setting default to disabled choice - omits disabled choice when navigating menu - when paginated - combines up/down navigation with left/right - navigates pages left/right with disabled items - navigates evenly paged output with right arrow until end of selection - navigates pages up/down with disabled items - paginates long selections through DSL - paginates long selections - navigates left and right - navigates unevenly paged output with right arrow until the end of selection - paginates choices as hash object +TTY::Prompt::Question#initialize + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq [] + is expected to eq true TTY::Prompt::Statement.new forces newline after the prompt message displays prompt message in color -TTY::Prompt::SelectedChoices - inserts and deletes choices - inserts choices by the index order - initializes with selected choices - clears choices - -TTY::Prompt::Question#multiline - sets quiet mode - reads no lines - changes help text - reads multiple lines with empty lines - uses defualt when no input +TTY::Prompt::Question::Modifier#apply_to + combines letter case & whitespace modifications + combines whitespace & letter case modifications + doesn't apply modifiers -TTY::Prompt#warn - changes default yellow color to cyan - displays one message - displays many messages - displays message with option +TTY::Prompt::Choice#from + creates choice from a symbol + creates choice from an array with name and a value + creates disabled choice + creates choice from an arbitrary object that responds to to_s call + creates choice from an array with key-value pair + creates choice from an array with a hash with name and value keys + creates choice from an array with name only and defaults value + creates choice from a hash with name, value and key keys + creates choice from a hash with a value + creates choice from an array with name and false value + skips Choice instance + creates choice from a string + creates choice from array with name and nil value + creates choice from an array with a hash without value key + creates choice from a hash with a nil value -TTY::Prompt#collect - collects more than one answer - when receiving multiple answers - collects as a list if values method used in chain with block - collects as a list if values method used in chain - overrides a non-array key on multiple answers - with multiple keys - collects into the appropriate keys +TTY::Prompt::Question#in + overwrites default error message when wrong input + reads number within digit range + reads number within string range + reads range from option + reads letters within range + provides default error message when wrong input -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled +TTY::Prompt::Question#echo + asks with echo on + asks with echo off TTY::Prompt::Question convert string - converts symbol converts string + converts symbol -TTY::Prompt::Question::Modifier#letter_case - string - capitalizes text - changes to uppercase - changes to lower case - nil (empty user input) - up returns nil - down returns nil - capitalize returns nil +TTY::Prompt::Question convert numbers + converts float + converts integer + fails to convert float + fails to convert integer TTY::Prompt::Converters - :string - converts "" to "" - converts "input\n" to "input" - :time - converts "unknown" to "undefined" - converts "11:12:13" to 2024-10-12 11:12:13 -1200 - :date - converts "2020/05/21" to # + :char + converts "" to nil + converts "input" to "i" + :range + 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.0" to 1.0..1.0 + converts "a . . . z" to "a"..."z" + converts "a..z" to "a".."z" + 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 + :uri + converts "http://foobar.com" to # :array/:list - 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 "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 ",," to [] + converts "t,t,f" to [true, true, false] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",b,c" to ["b", "c"] converts "t,t,f" to [true, true, false] converts "a,b,c" to [:a, :b, :c] converts "a, , c" to ["a", "c"] - converts "a,b,c" to [/a/, /b/, /c/] - converts ",b,c" to ["b", "c"] - 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 "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 , b , c" to ["a", "b", "c"] + converts ["a", "b", "c"] to ["a", "b", "c"] + converts "1,2,3" to [1, 2, 3] + converts ",," to [] + converts "a,b,c" to [/a/, /b/, /c/] converts "1,2,3" to [1, 2, 3] + :time + converts "11:12:13" to 2025-11-15 11:12:13 +1400 + converts "unknown" to "undefined" :integer converts "12" to 12 converts "unknown" to "undefined" - :datetime + :boolean + converts "f" to false + converts "t" to true + converts "true" to true + converts "YES" to true + converts "y" to true + converts "1" to true + converts "no" to false converts "unknown" to "undefined" - converts "2020/05/21 11:12:13" to # - :range - converts "1...10" to 1...10 - converts 1..10 to 1..10 - converts "a..z" to "a".."z" - converts "1-10" to 1..10 - converts "1.2-5.0" to 1.2..5.0 - converts "1.0" to 1.0..1.0 - converts "1 . . . 10" to 1...10 - converts "1" to 1..1 - converts "1 , 10" to 1..10 - converts "a . . . z" to "a"..."z" - converts "-5--1" to -5..-1 + converts "0" to false + converts "FALSE" to false + :float + converts "12.3" to 12.3 converts "unknown" to "undefined" - converts "1..10" to 1..10 + :regexp + converts "\\d+" to /\d+/ + converts "unknown" to /unknown/ :path converts "/foo/bar/baz" to # - :uri - converts "http://foobar.com" to # - :float - converts "12.3" to 12.3 + :datetime converts "unknown" to "undefined" - :char - converts "" to nil - converts "input" to "i" + converts "2020/05/21 11:12:13" to # + :string + converts "input\n" to "input" + converts "" to "" + :date + converts "unknown" to "undefined" + converts "2020/05/21" to # :hash/:map - converts "a=1&b=2" to {:a=>"1", :b=>"2"} - converts "a=&b=2" to {:a=>"", :b=>"2"} - 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" to {:a=>"1"} + 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" to {:a=>"1", :b=>"2"} + 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&a=3" to {:a=>["1", "3"], :b=>"2"} + converts "a=&b=2" to {:a=>"", :b=>"2"} + converts "a=1&b=2" to {:a=>"1", :b=>"2"} converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts "a=1" to {:a=>"1"} + converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} 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", :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" to {:a=>"1", :b=>"2"} - converts "" to {} - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - :boolean - converts "unknown" to "undefined" - converts "t" to true - converts "YES" to true - converts "y" to true - converts "no" to false - converts "true" to true - converts "f" to false - converts "0" to false - converts "FALSE" to false - converts "1" to true - :regexp - converts "unknown" to /unknown/ - converts "\\d+" to /\d+/ -TTY::Prompt#ok - prints text in green - prints multiple lines in green - changes color to cyan +TTY::Prompt::Question convert custom + converts response with custom conversion -TTY::Prompt::BlockPaginator#paginate - finds both start and end index for current selection - doesn't accept invalid pagination - paginates items matching per_page count - ignores per_page when less items - paginates items not matching per_page count - ignores per_page when equal items - starts with default selection +TTY::Prompt::Question::Modifier#letter_case + string + changes to uppercase + changes to lower case + capitalizes text + nil (empty user input) + up returns nil + down returns nil + capitalize returns nil -TTY::Prompt::Question convert bool - converts negative boolean - converts single positive boolean - converts positive boolean - handles default values - fails to convert boolean - handles default values +TTY::Prompt#inspect + inspects instance attributes -TTY::Prompt#ask - overwrites global settings - asks a question with block - permits empty default parameter - asks a question with a prefix [?] - asks an empty question - changes question color - permits nil default parameter - asks question with prepopulated value - asks an empty question and returns nil if EOF is sent to stdin - sets quiet mode through DSL - asks an empty question with prepopulated value - asks question - sets quiet mode +TTY::Prompt#mask + masks output with custom character + ignores mask if echo is off + masks output by default + masks with unicode character + validates input -TTY::Prompt - sets default options through hash syntax - selects nothing when return pressed immediately - changes help text and color - sets prompt to quiet mode - sets default options through DSL syntax - sets default choices using names - selects item when space pressed but doesn't echo item if echo: false - raises error for defaults out of range - changes selected item color & marker - changes to always show help - sets choice custom values +TTY::Prompt#subscribe + subscribes to key events only for the current prompt + +TTY::Prompt#collect + collects more than one answer + when receiving multiple answers + collects as a list if values method used in chain with block + collects as a list if values method used in chain + overrides a non-array key on multiple answers + with multiple keys + collects into the appropriate keys + +TTY::Prompt#warn + changes default yellow color to cyan + displays one message + displays message with option + displays many messages + +TTY::Prompt::Question convert date + fails to convert date + converts datetime + converts date + +TTY::Prompt::Choices#pluck + plucks choice by key name + +TTY::Prompt#select + sets choices and single choice through DSL sets prompt prefix - sets choice value to nil through DSL - selects item when space pressed + selects default choice by name + raises when default choice doesn't match any choices + doesn't paginate short selections + changes selected item color & marker + changes help text + allows navigation using events without errors + configures quiet mode + sets choice value to proc and executes it + sets choice name & value through DSL + sets choice name & value through DSL + raises when default choice matches disabled choice changes to never show help - sets choice name and value through DSL - with :disabled + sets quiet mode through DSL + sets default option through hash syntax + changes to always show help + sets choice value to nil + verifies default index range + selects by default first option + verifies default index format + sets choice name through DSL + sets choice name and value + changes help text through DSL + with :disabled choice omits disabled choice when number key is pressed - 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 - with :min - requires number of choices + doesn't show disabled choice when filtering choices + omits disabled choice when navigating menu + prevents setting default to disabled choice + sets active to be first non-disabled choice when paginated - paginates choices as hash object - doesn't paginate short selections paginates long selections - navigates left and right + combines up/down navigation with left/right + paginates choices as hash object navigates unevenly paged output with right arrow until the end of selection navigates evenly paged output with right arrow until end of selection - combines up/down navigation with left/right + navigates pages left/right with disabled items paginates long selections through DSL - reverts selection accross pages with Ctrl+r - selects all paged choices with ctrl+a - with :max - disables Ctrl+a/Ctrl+r selection when :max option is specified - limits number of choices - with :cycle - cycles filtered choices left and right + navigates pages up/down with disabled items + navigates left and right + with filter + doesn't exit when there are no matching entries + filters and chooses a uniquely matching entry, ignoring case + cancels a selection + filters based on alphanumeric and punctuation characters + doesn't allow mixing enumeration and filter + filters and chooses the first of multiple matching entries + navigates left and right with filtered items + with :cycle option doesn't cycle by default - cycles when configured to do so cycles choices using left/right arrows - with filter - doesn't lose the selection when switching between filters - -TTY::Prompt#inspect - inspects instance attributes - -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::Choices#pluck - plucks choice by key name + cycles around when configured to do so + cycles around disabled items + cycles filtered choices left and right + cycles pages left/right with disabled items -TTY::Prompt#mask - validates input - ignores mask if echo is off - masks output by default - masks output with custom character - masks with unicode character +TTY::Prompt::Question#required + requires value to be present + uses required in validation check + requires value to be present with option + doesn't require value to be present -TTY::Prompt::Evaluator - checks chained validation objects - checks chained validation procs +TTY::Prompt#new + sets prefix + sets input stream + sets output stream -TTY::Prompt#decorate - decorates string with named colors - doesn't decorate without additional arguments - doesn't decorate empty string - decorates with a callable object - decorates with a proc - doesn't decorate when disabled +TTY::Prompt::Choice#== + is false with different key attribute + is false with different value attribute + is false with different name attribute + is true with the same name and value attributes + is false with non-choice object TTY::Prompt::Timer registers a tick event times out loop execution -TTY::Prompt#slider - changes all display symbols per instance - specifies quiet mode through DSL - changes to never show help - specifies choices through DSL - sets default choice by index number - specifies choices instead of calculated range - sets quiet mode - doesn't allow values outside of range - formats via proc - sets choice value to proc and executes it - specifies ranges & step - changes display colors - sets default choice by name - mixes choices as values and via DSL and keeps ordering - changes to always show help - specifies default value - specifies choices through DSL - changes all display symbols - specifies range through DSL - -TTY::Prompt::Question convert custom - converts response with custom conversion +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 TTY::Prompt::Question convert range converts with valid range fails to convert to range -TTY::Prompt::Question#initialize - is expected to eq true - is expected to eq TTY::Prompt::Question::UndefinedSetting - is expected to eq [] - -TTY::Prompt::Result - checks value to be valid - checks value to be invalid - -TTY::Prompt::Question::Modifier#whitespace - string with whitespaces - trims whitespace - removes whitespace - chomps whitespace - collapses text - nil (empty user input) - chomp returns nil - remove returns nil - trim returns nil - collapse returns nil - -TTY::Prompt#say - prints an empty message - without color - prints message without ansi - with color - prints message with ansi color - prints message with ansi color without newline - with new line - prints a message with newline within text and blank space - prints a message with implicit newline - prints a message with newline - prints a message with newline within text - prints a message without newline - with tab or space - prints - -TTY::Prompt::Question#default - sets quiet mode - -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::Validation#call - validates successfully when the value matches pattern - validates with custom name - validates nil input - fails validation when not maching pattern - validates with a proc - -TTY::Prompt::Choice#== - is false with different key attribute - 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 name attribute - -TTY::Prompt::Question#echo - asks with echo on - asks with echo off - -TTY::Prompt::Question convert file - converts to file - -TTY::Prompt::Paginator#paginate - doesn't accept invalid pagination - ignores per_page when equal items - ignores per_page when less items - finds both start and end index for current selection - paginates items matching per_page count - starts with default selection - paginates items not matching per_page count - -TTY::Prompt#error - displays message with option - changes default red color to cyan - displays one message - displays many messages - -TTY::Prompt::Question#default - uses default value - uses default value in block - -TTY::Prompt::Choices.new - creates choices collection - -TTY::Prompt::Question#in - provides default error message when wrong input - reads number within string range - reads number within digit range - reads range from option - reads letters within range - overwrites default error message when wrong input - -TTY::Prompt confirmation - #no? - warns about invalid entry when using defaults - changes default - customizes question through DSL - assumes default false - agrees with question - disagrees with question - defaults suffix and converter - #yes? - defaults positive and negative - agrees with question - changes default - infers default value from a word - accepts regex conflicting characters as suffix - customizes question through DSL - defaults suffix and converter - fails to infer default value from a word - obeys quiet mode - customizes question through options - assumes default true - disagrees with question - warns about invalid entry when using defaults - -TTY::Prompt::Question#modify - trims whitespace - converts to upper case - preserves answer for unkown modification - collapses whitespace - strips and collapses whitespace - -TTY::Prompt::Choice#from - creates choice from array with name and nil value - creates choice from an array with name and a value - creates choice from an array with name and false value - creates choice from an array with a hash with name and value keys - creates disabled choice - creates choice from an array with a hash without value key - creates choice from an array with name only and defaults value - creates choice from a symbol - skips Choice instance - creates choice from a hash with a nil value - creates choice from an arbitrary object that responds to to_s call - creates choice from a hash with name, value and key keys - creates choice from an array with key-value pair - creates choice from a string - creates choice from a hash with a value - -TTY::Prompt#subscribe - subscribes to key events only for the current prompt - -Top 2 slowest examples (0.06696 seconds, 11.1% of total time): +Top 2 slowest examples (0.06172 seconds, 15.6% of total time): TTY::Prompt::Timer times out loop execution - 0.03674 seconds ./spec/unit/timer_spec.rb:4 + 0.03155 seconds ./spec/unit/timer_spec.rb:4 TTY::Prompt::Timer registers a tick event - 0.03022 seconds ./spec/unit/timer_spec.rb:15 + 0.03017 seconds ./spec/unit/timer_spec.rb:15 Top 2 slowest example groups: TTY::Prompt::Timer - 0.03377 seconds average (0.06754 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 - TTY::Prompt#subscribe - 0.00697 seconds average (0.00697 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 + 0.03103 seconds average (0.06206 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + TTY::Prompt#collect + 0.00357 seconds average (0.01783 seconds / 5 examples) ./spec/unit/collect_spec.rb:3 -Finished in 0.60195 seconds (files took 0.3332 seconds to load) +Finished in 0.39574 seconds (files took 0.23888 seconds to load) 494 examples, 0 failures -Randomized with seed 59045 +Randomized with seed 24559 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1703,12 +1739,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/4681/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4681/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/16768 and its subdirectories -I: Current time: Sat Oct 12 05:30:16 -12 2024 -I: pbuilder-time-stamp: 1728754216 +I: removing directory /srv/workspace/pbuilder/4681 and its subdirectories +I: Current time: Sat Nov 15 13:53:54 +14 2025 +I: pbuilder-time-stamp: 1763164434