Diff of the two buildlogs: -- --- b1/build.log 2024-11-21 05:44:50.090217009 +0000 +++ b2/build.log 2024-11-21 05:45:42.639834967 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 20 17:43:21 -12 2024 -I: pbuilder-time-stamp: 1732167801 +I: Current time: Thu Nov 21 19:44:53 +14 2024 +I: pbuilder-time-stamp: 1732167893 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying ruby-version-mismatch.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3397375/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2228807/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 21 05:45 /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/2228807/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2228807/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='9f3dbe962d1147cf8bca23c6af97f27e' - 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='3397375' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ed29330b4614b17acdb7478e7d5fb31 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2228807 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.ZRdQhZCL/pbuilderrc_T7vk --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.ZRdQhZCL/b1 --logfile b1/build.log ruby-dry-cli_1.1.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.ZRdQhZCL/pbuilderrc_LjUZ --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.ZRdQhZCL/b2 --logfile b2/build.log ruby-dry-cli_1.1.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-cloud-arm64 #1 SMP Debian 6.1.115-1 (2024-11-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3397375/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/2228807/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -248,7 +280,7 @@ Get: 133 http://deb.debian.org/debian unstable/main arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 134 http://deb.debian.org/debian unstable/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 135 http://deb.debian.org/debian unstable/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 42.9 MB in 0s (100 MB/s) +Fetched 42.9 MB in 0s (173 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20084 files and directories currently installed.) @@ -703,8 +735,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Nov 21 05:44:06 UTC 2024. -Universal Time is now: Thu Nov 21 05:44:06 UTC 2024. +Local time is now: Thu Nov 21 05:45:15 UTC 2024. +Universal Time is now: Thu Nov 21 05:45:15 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -824,7 +856,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-dry-cli-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-dry-cli_1.1.0-2_source.changes +I: user script /srv/workspace/pbuilder/2228807/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2228807/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-dry-cli-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-dry-cli_1.1.0-2_source.changes dpkg-buildpackage: info: source package ruby-dry-cli dpkg-buildpackage: info: source version 1.1.0-2 dpkg-buildpackage: info: source distribution unstable @@ -857,7 +893,7 @@ │ ruby-dry-cli: Installing files and building extensions for ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241120-3403450-hmhq0d/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241121-2233631-5iidz1/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help @@ -865,7 +901,7 @@ Name: dry-cli Version: 1.1.0 File: dry-cli-1.1.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-cli/usr/share/rubygems-integration/all /tmp/d20241120-3403450-hmhq0d/dry-cli-1.1.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-cli/usr/share/rubygems-integration/all /tmp/d20241121-2233631-5iidz1/dry-cli-1.1.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all/gems/dry-cli-1.1.0/lib/dry/cli.rb /build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all/gems/dry-cli-1.1.0/lib/dry/cli/banner.rb @@ -911,98 +947,132 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-dry-cli-1.1.0/debian/ruby-dry-cli/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-dry-cli-1.1.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --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 50795 +Randomized with seed 56812 -Rendering - prints available commands for unknown command - -Commands - with extra params - when there is a required argument - and there are options - parses both separately - -Inherited commands - works for subclasses - when --help flag - subclass do not - -Third-party gems - allows to add callbacks as a block +Dry::CLI::Registry + .after + when object is given + raises error when it doesn't respond to #call + when class is given + raises error when #initialize arity is not equal to 0 + when command can't be found + raises error + .before + when class is given + raises error when #initialize arity is not equal to 0 + when command can't be found + raises error + when object is given + raises error when it doesn't respond to #call Single command - root command with arguments and subcommands - with options - with arguments with command with combination of aliases shows help shows usage with option_one + root command with arguments and subcommands + with options + with arguments Subcommands - works with params - with help param works with root command subcommands - with params with options + with params + works with params + with help param + +Inherited commands + works for subclasses + when --help flag + subclass do not + +Commands + with extra params + when there is a required argument + and there are options + parses both separately CLI with command - with option_one alias - with required_argument with underscored option_one - with combination of aliases - shows help - with optional_arg + with underscoreed option_with_default alias with underscored boolean_option + with combination of aliases with boolean_option alias - with underscoreed option_with_default alias + with optional_arg + shows help + with required_argument + with option_one alias when registry passing module - prints subcommand's subcommand - prints available commands for unknown command + allows to override basic commands + prints subcommand's commands + prints available commands for unknown subcommand calls basic command - prints required params - prints list options when calling help - calls subcommand via intermediate alias - calls basic command with alias - allows to override a subcommand + prints available commands for unknown command + allows to invoke a subcommand via an inherited subcomand aliases prints first level - prints available commands for unknown subcommand + prints list options when calling help allows to add a subcommand prints required params with labels - allows to invoke a subcommand via an inherited subcomand aliases + calls subcommand via intermediate alias + prints required params allows to call array option + prints subcommand's subcommand + allows to override a subcommand calls subcommand - prints subcommand's commands - allows to override basic commands - with description - subclasses subclass does not inherit it + calls basic command with alias + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + with example subclass does not inherit it - with inherited options - run has default verbosity_level - addons has verbosity_level set to debug - logs has verbosity_level set to WARNING - subrun has default verbosity_level too + works with command with arguments and subcommands + shows help + works with params + with option using equal sign + without params + with params + with option using space + with inherited arguments + subrun expects APP_NAME and CMD_NAME + logs expects APP_NAME + run expects APP_NAME and CMD_NAME + addons expects APP_NAME works with params + a param using space without params - a param with unknown param a param using alias - with help param - a param using space a param using equal sign + with help param + with required params + more than one param + more than required params + only one param + an error is displayed if there aren't required params + an error is displayed if there are some required params + more than one param and with boolean params + more than one param and with optional params + and a default value + returns the passed value + returns the default value if nothing is passed + callbacks + allows to add callbacks as a block + works with params with boolean param + a param with unknown param + a param using space + with help param + a param using alias with flag param - with array param - allows to omit optional array argument - capture all the remaining arguments + without params + a param using equal sign with required params - with default value and using options + can be used an error is displayed if there aren't required params - no required + with default value and using options with unknown param - can be used + no required with extra params is accessible via options[:args] when there is a required argument @@ -1010,239 +1080,224 @@ and there are options parses both separately with supported values - and with supported value passed - call the command with the option and with an unknown value passed prints error + and with supported value passed + call the command with the option + with array param + allows to omit optional array argument + capture all the remaining arguments + with description + subclasses subclass does not inherit it + subclass does not inherit it + with help flag + shows log's help + shows addon's help + shows run's help + shows subcommands + shows subrun's help + with inherited options + run has default verbosity_level + addons has verbosity_level set to debug + subrun has default verbosity_level too + logs has verbosity_level set to WARNING works with root command shows help works with params + without params with option using equal sign - with params with option using space - without params + with params + works with instances of commands + executes instance + passing block with no arguments + prints required params + allows to override a subcommand + prints subcommand's commands + prints list options when calling help + prints available commands for unknown subcommand + calls basic command with alias + allows to override basic commands + prints first level + allows to invoke a subcommand via an inherited subcomand aliases + prints available commands for unknown command + calls basic command + calls subcommand via intermediate alias + allows to add a subcommand + prints subcommand's subcommand + calls subcommand + allows to call array option + prints required params with labels + with example + subclass does not inherit it + with inherited arguments + subrun expects APP_NAME and CMD_NAME + addons expects APP_NAME + logs expects APP_NAME + run expects APP_NAME and CMD_NAME + with description + subclass does not inherit it + subclasses subclass does not inherit it + works with instances of commands + executes instance with help flag - shows subcommands - shows addon's help - shows run's help shows subrun's help + shows subcommands shows log's help - works with instances of commands - executes instance + shows run's help + shows addon's help works with params with help param + a param using alias + a param using space without params a param using equal sign - a param using space - a param using alias with required params - more than one param and with boolean params only one param - more than required params - more than one param and with optional params an error is displayed if there are some required params - more than one param an error is displayed if there aren't required params + more than one param and with boolean params + more than one param + more than one param and with optional params + more than required params and a default value returns the passed value returns the default value if nothing is passed - with multible subclasses of Dry::CLI::Command - subclasses do nod share options + callbacks + allows to add callbacks as a block works with command with arguments and subcommands shows help works with params - with params with option using space - with option using equal sign + with params without params - with inherited arguments - logs expects APP_NAME - run expects APP_NAME and CMD_NAME - subrun expects APP_NAME and CMD_NAME - addons expects APP_NAME - with example - subclass does not inherit it - callbacks - allows to add callbacks as a block - passing block - calls subcommand via intermediate alias - prints first level - calls basic command - calls subcommand - prints required params - allows to invoke a subcommand via an inherited subcomand aliases - allows to add a subcommand - prints list options when calling help - calls basic command with alias - prints available commands for unknown subcommand - prints required params with labels - allows to override basic commands - prints subcommand's subcommand - allows to call array option - prints subcommand's commands - allows to override a subcommand - prints available commands for unknown command - with help flag - shows log's help - shows run's help - shows subrun's help - shows subcommands - shows addon's help + with option using equal sign with inherited options + logs has verbosity_level set to WARNING subrun has default verbosity_level too addons has verbosity_level set to debug - logs has verbosity_level set to WARNING run has default verbosity_level - with example - subclass does not inherit it - with inherited arguments - subrun expects APP_NAME and CMD_NAME - run expects APP_NAME and CMD_NAME - logs expects APP_NAME - addons expects APP_NAME - works with root command - shows help - works with params - with option using equal sign - without params - with params - with option using space + with multible subclasses of Dry::CLI::Command + subclasses do nod share options works with params - a param using space - with flag param without params - a param using equal sign - with help param - with boolean param a param using alias + with flag param + with boolean param + with help param + a param using equal sign + a param using space a param with unknown param with supported values and with an unknown value passed prints error and with supported value passed call the command with the option + with required params + can be used + with default value and using options + with unknown param + no required + an error is displayed if there aren't required params with extra params is accessible via options[:args] when there is a required argument parses both separately and there are options parses both separately - with required params - with unknown param - with default value and using options - no required - an error is displayed if there aren't required params - can be used with array param - allows to omit optional array argument capture all the remaining arguments - with multible subclasses of Dry::CLI::Command - subclasses do nod share options - works with command with arguments and subcommands + allows to omit optional array argument + works with root command shows help works with params - with option using equal sign - without params with option using space with params - callbacks - allows to add callbacks as a block - with description - subclasses subclass does not inherit it - subclass does not inherit it - works with instances of commands - executes instance - works with params - a param using alias - a param using space - without params - with help param - a param using equal sign - with required params - more than required params - more than one param - more than one param and with optional params - more than one param and with boolean params - an error is displayed if there aren't required params - only one param - an error is displayed if there are some required params - and a default value - returns the default value if nothing is passed - returns the passed value - passing block with no arguments - prints list options when calling help - calls subcommand + without params + with option using equal sign + passing block + allows to call array option + calls subcommand via intermediate alias + allows to invoke a subcommand via an inherited subcomand aliases allows to add a subcommand prints available commands for unknown command - allows to override a subcommand - prints available commands for unknown subcommand - calls basic command with alias - prints required params with labels - allows to invoke a subcommand via an inherited subcomand aliases - prints first level + prints list options when calling help + calls subcommand calls basic command - prints required params - prints subcommand's subcommand allows to override basic commands - calls subcommand via intermediate alias + calls basic command with alias + prints available commands for unknown subcommand + prints subcommand's subcommand prints subcommand's commands - allows to call array option + prints required params with labels + allows to override a subcommand + prints required params + prints first level + works with instances of commands + executes instance + with inherited options + addons has verbosity_level set to debug + logs has verbosity_level set to WARNING + subrun has default verbosity_level too + run has default verbosity_level + with description + subclass does not inherit it + subclasses subclass does not inherit it + callbacks + allows to add callbacks as a block + with inherited arguments + logs expects APP_NAME + addons expects APP_NAME + subrun expects APP_NAME and CMD_NAME + run expects APP_NAME and CMD_NAME + works with command with arguments and subcommands + shows help + works with params + with option using equal sign + with params + without params + with option using space works with params - a param using equal sign a param using alias - with help param a param using space + a param using equal sign without params + with help param with required params + more than one param and with optional params more than required params only one param - more than one param - an error is displayed if there are some required params more than one param and with boolean params - more than one param and with optional params + more than one param an error is displayed if there aren't required params + an error is displayed if there are some required params and a default value returns the default value if nothing is passed returns the passed value with help flag + shows addon's help + shows subrun's help shows subcommands shows run's help shows log's help - shows addon's help - shows subrun's help - with description - subclasses subclass does not inherit it + with example subclass does not inherit it - with multible subclasses of Dry::CLI::Command - subclasses do nod share options - works with instances of commands - executes instance - works with command with arguments and subcommands + works with root command shows help works with params - without params + with option using space with option using equal sign + without params with params - with option using space - callbacks - allows to add callbacks as a block - with inherited options - subrun has default verbosity_level too - logs has verbosity_level set to WARNING - addons has verbosity_level set to debug - run has default verbosity_level works with params - with boolean param - with flag param - a param using alias - a param using equal sign with help param + a param using equal sign + with boolean param a param with unknown param a param using space without params - with array param - capture all the remaining arguments - allows to omit optional array argument + a param using alias + with flag param with supported values and with supported value passed call the command with the option @@ -1255,109 +1310,90 @@ and there are options parses both separately with required params - can be used with unknown param an error is displayed if there aren't required params no required with default value and using options - with inherited arguments - logs expects APP_NAME - run expects APP_NAME and CMD_NAME - addons expects APP_NAME - subrun expects APP_NAME and CMD_NAME - works with root command - shows help - works with params - with option using space - with option using equal sign - without params - with params - with example - subclass does not inherit it + can be used + with array param + capture all the remaining arguments + allows to omit optional array argument + with multible subclasses of Dry::CLI::Command + subclasses do nod share options + +Rendering + prints available commands for unknown command + +Processes Errors + when SignalException + returns correct statuscode + when Pipe Exception + handles EPIPE without stacktrace Inline with command with underscored option_one shows help -Dry::CLI::Registry - .after - when command can't be found - raises error - when class is given - raises error when #initialize arity is not equal to 0 - when object is given - raises error when it doesn't respond to #call - .before - when command can't be found - raises error - when class is given - raises error when #initialize arity is not equal to 0 - when object is given - raises error when it doesn't respond to #call - Dry::CLI::Inflector .dasherize - accepts any object that respond to #to_s downcases input - replaces spaces with dashes replaces underscores with dashes + accepts any object that respond to #to_s returns nil if input is nil + replaces spaces with dashes -Processes Errors - when Pipe Exception - handles EPIPE without stacktrace - when SignalException - returns correct statuscode +Third-party gems + allows to add callbacks as a block -Top 10 slowest examples (2.48 seconds, 53.3% of total time): +Top 10 slowest examples (1.95 seconds, 55.8% of total time): Processes Errors when SignalException returns correct statuscode - 0.54382 seconds ./spec/integration/processes_errors_spec.rb:5 - Subcommands works with root command subcommands with options - 0.24649 seconds ./spec/integration/subcommands_spec.rb:48 - Subcommands works with root command subcommands with params - 0.2272 seconds ./spec/integration/subcommands_spec.rb:37 - Single command root command with arguments and subcommands with arguments - 0.21945 seconds ./spec/integration/single_command_spec.rb:59 - Inherited commands works for subclasses - 0.20892 seconds ./spec/integration/inherited_commands_spec.rb:18 - Single command with command shows usage - 0.20859 seconds ./spec/integration/single_command_spec.rb:9 - Rendering prints available commands for unknown command - 0.20676 seconds ./spec/integration/rendering_spec.rb:6 - Single command root command with arguments and subcommands with options - 0.2055 seconds ./spec/integration/single_command_spec.rb:70 + 0.50962 seconds ./spec/integration/processes_errors_spec.rb:5 + Processes Errors when Pipe Exception handles EPIPE without stacktrace + 0.16283 seconds ./spec/integration/processes_errors_spec.rb:24 Single command with command with combination of aliases - 0.20537 seconds ./spec/integration/single_command_spec.rb:49 + 0.16279 seconds ./spec/integration/single_command_spec.rb:49 Inherited commands when --help flag subclass do not - 0.20448 seconds ./spec/integration/inherited_commands_spec.rb:5 + 0.15944 seconds ./spec/integration/inherited_commands_spec.rb:5 + Subcommands works with root command subcommands with options + 0.15929 seconds ./spec/integration/subcommands_spec.rb:48 + Single command with command shows help + 0.15926 seconds ./spec/integration/single_command_spec.rb:16 + Inline with command shows help + 0.15892 seconds ./spec/integration/inline_spec.rb:9 + Inherited commands works for subclasses + 0.1587 seconds ./spec/integration/inherited_commands_spec.rb:18 + Subcommands works with params with help param + 0.15824 seconds ./spec/integration/subcommands_spec.rb:7 + Single command with command with option_one + 0.15794 seconds ./spec/integration/single_command_spec.rb:41 Top 10 slowest example groups: Processes Errors - 0.35207 seconds average (0.70414 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 + 0.3368 seconds average (0.67359 seconds / 2 examples) ./spec/integration/processes_errors_spec.rb:3 + Inherited commands + 0.1597 seconds average (0.31939 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 Subcommands - 0.22662 seconds average (0.67985 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 + 0.15722 seconds average (0.47167 seconds / 3 examples) ./spec/integration/subcommands_spec.rb:5 Rendering - 0.20724 seconds average (0.20724 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 - Inherited commands - 0.20715 seconds average (0.4143 seconds / 2 examples) ./spec/integration/inherited_commands_spec.rb:3 - Single command - 0.20698 seconds average (1.24 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 - Inline - 0.19713 seconds average (0.39426 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 + 0.15706 seconds average (0.15706 seconds / 1 example) ./spec/integration/rendering_spec.rb:5 Commands - 0.19713 seconds average (0.19713 seconds / 1 example) ./spec/integration/commands_spec.rb:3 + 0.15705 seconds average (0.15705 seconds / 1 example) ./spec/integration/commands_spec.rb:3 Third-party gems - 0.18946 seconds average (0.18946 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 - CLI - 0.00237 seconds average (0.59011 seconds / 249 examples) ./spec/unit/dry/cli/cli_spec.rb:3 + 0.15677 seconds average (0.15677 seconds / 1 example) ./spec/integration/third_party_gems_spec.rb:3 + Inline + 0.1556 seconds average (0.31119 seconds / 2 examples) ./spec/integration/inline_spec.rb:5 + Single command + 0.15108 seconds average (0.90647 seconds / 6 examples) ./spec/integration/single_command_spec.rb:5 Dry::CLI::Registry - 0.00198 seconds average (0.01189 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 + 0.00156 seconds average (0.00938 seconds / 6 examples) ./spec/unit/dry/cli/registry_spec.rb:3 + CLI + 0.00127 seconds average (0.3174 seconds / 249 examples) ./spec/unit/dry/cli/cli_spec.rb:3 -Finished in 4.64 seconds (files took 0.70714 seconds to load) +Finished in 3.49 seconds (files took 0.49411 seconds to load) 278 examples, 0 failures -Randomized with seed 50795 +Randomized with seed 56812 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1388,12 +1424,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2228807/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2228807/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/3397375 and its subdirectories -I: Current time: Wed Nov 20 17:44:49 -12 2024 -I: pbuilder-time-stamp: 1732167889 +I: removing directory /srv/workspace/pbuilder/2228807 and its subdirectories +I: Current time: Thu Nov 21 19:45:41 +14 2024 +I: pbuilder-time-stamp: 1732167941