Diff of the two buildlogs: -- --- b1/build.log 2024-12-12 12:22:56.139691067 +0000 +++ b2/build.log 2024-12-12 12:28:34.672292382 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 12 00:12:24 -12 2024 -I: pbuilder-time-stamp: 1734005544 +I: Current time: Fri Dec 13 02:23:08 +14 2024 +I: pbuilder-time-stamp: 1734006188 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 0002-Add-patch-IGNORE-tmux-version-check.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12206/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2752/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 Dec 12 12:24 /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/2752/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2752/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='a1278ca4b9bf497aa0b3b2062a43dba4' - 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='12206' - PS1='# ' - PS2='> ' + INVOCATION_ID=290a76dc5bb24ceebd6256f839e0d867 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2752 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.ZEj0RIWn/pbuilderrc_dJVA --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZEj0RIWn/b1 --logfile b1/build.log tmuxinator_3.3.3-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ZEj0RIWn/pbuilderrc_cWI0 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZEj0RIWn/b2 --logfile b2/build.log tmuxinator_3.3.3-1.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4a 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/12206/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/2752/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -309,7 +341,7 @@ Get: 172 http://deb.debian.org/debian trixie/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 173 http://deb.debian.org/debian trixie/main armhf ruby-xdg all 2.2.3-1.1 [12.0 kB] Get: 174 http://deb.debian.org/debian trixie/main armhf tmux armhf 3.5a-2 [427 kB] -Fetched 45.7 MB in 7s (6988 kB/s) +Fetched 45.7 MB in 3s (17.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19680 files and directories currently installed.) @@ -888,8 +920,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Dec 12 12:16:59 UTC 2024. -Universal Time is now: Thu Dec 12 12:16:59 UTC 2024. +Local time is now: Thu Dec 12 12:25:57 UTC 2024. +Universal Time is now: Thu Dec 12 12:25:57 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -1042,7 +1074,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tmuxinator-3.3.3/ && 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 > ../tmuxinator_3.3.3-1_source.changes +I: user script /srv/workspace/pbuilder/2752/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2752/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tmuxinator-3.3.3/ && 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 > ../tmuxinator_3.3.3-1_source.changes dpkg-buildpackage: info: source package tmuxinator dpkg-buildpackage: info: source version 3.3.3-1 dpkg-buildpackage: info: source distribution unstable @@ -1121,74 +1157,51 @@ RUBYLIB=/build/reproducible-path/tmuxinator-3.3.3/debian/tmuxinator/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/tmuxinator-3.3.3/debian/tmuxinator/usr/share/rubygems-integration/all:/build/reproducible-path/tmuxinator-3.3.3/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/arm-linux-gnueabihf/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/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 44663 - -Tmuxinator::Hooks - #commands_from - config value is Array - joins array using ; - config value is string - returns the string +Randomized with seed 41220 Tmuxinator::Config - #directories - without TMUXINATOR_CONFIG environment - is empty if no configuration directories exist - contains #xdg before #home - with TMUXINATOR_CONFIG environment - is only [$TMUXINATOR_CONFIG] if set - #local_project - without project yml - gets the project as path to the yml file - with a project yml - gets the project as path to the yml file - #environment - environment variable $TMUXINATOR_CONFIG is set and empty - is an empty string - environment variable $TMUXINATOR_CONFIG is nil - is an empty string - environment variable $TMUXINATOR_CONFIG is not empty - is $TMUXINATOR_CONFIG #configs - gets a sorted list excluding active projects - gets a sorted list of all projects lists only projects in $TMUXINATOR_CONFIG when set gets a sorted list of all active projects - #local? - checks if the given project exists + gets a sorted list excluding active projects + gets a sorted list of all projects + #home + is ~/.tmuxinator #directory - both $XDG_CONFIG_HOME/tmuxinator and ~/.tmuxinator exist - is #xdg - only $XDG_CONFIG_HOME/tmuxinator exists - is #xdg + defaulting to xdg with parent directory(s) that do not exist + creates parent directories if required + environment variable $TMUXINATOR_CONFIG non-blank + is $TMUXINATOR_CONFIG only ~/.tmuxinator exists is ~/.tmuxinator - environment variable $TMUXINATOR_CONFIG non-blank + only $XDG_CONFIG_HOME/tmuxinator exists + is #xdg + both $XDG_CONFIG_HOME/tmuxinator and ~/.tmuxinator exist + is #xdg + #environment + environment variable $TMUXINATOR_CONFIG is nil + is an empty string + environment variable $TMUXINATOR_CONFIG is not empty is $TMUXINATOR_CONFIG - defaulting to xdg with parent directory(s) that do not exist - creates parent directories if required - #global_project - with duplicate project files - is the first .yml file found - with project yml - gets the project as path to the yml file - without project yml - gets the project as path to the yml file - with project yaml - gets the project as path to the yaml file - #xdg - is $XDG_CONFIG_HOME/tmuxinator - #default - gets the path of the default config - #default? - when the file exists - returns true - when the file doesn't exist - returns true - #exist? - checks if the given project exists - #sample - gets the path of the sample project + environment variable $TMUXINATOR_CONFIG is set and empty + is an empty string + #validate + when a project config file is provided + should raise if the project config file can't be found + should take precedence over a named project + should load and validate the project + should take precedence over a local project + when no project name is provided + should raise if the local project file doesn't exist + and tmuxinator.yaml exists + should load and validate the local project + and tmuxinator.yml exists + should load and validate the local project + when a project name is provided + should raise if the project file can't be found + should load and validate the project + when no project can be found + should raise with NO_PROJECT_FOUND_MSG #project without project yml gets the project as path to the yml file @@ -1196,286 +1209,301 @@ gets the project as path to the yml file with a local project, but no global project gets the project as path to the yml file - #default_path_option - >= 1.8 - returns -c - < 1.8 - returns default-path #version - when reported version is 'master' - is expected to eq Infinity - when reported version is 'foobar' - is expected to eq 0.0 - when reported version is '' - is expected to eq 0.0 + when reported version is '-123-' + is expected to eq 123.0 when reported version is '3.0-rc5' is expected to eq 3.0 when reported version is 'next-3.1' is expected to eq 3.1 - when reported version is 'v3.12.0' + when reported version is 'v3.12.5' is expected to eq 3.12 + when reported version is '2.9ä' + is expected to eq 2.9 + when reported version is 'v3.5' + is expected to eq 3.5 + when reported version is 'master' + is expected to eq Infinity + when reported version is '' + is expected to eq 0.0 + when reported version is '!@#^%' + is expected to eq 0.0 + when reported version is '2.9a' + is expected to eq 2.9 when reported version is '0.8' is expected to eq 0.8 + when reported version is '1.0' + is expected to eq 1.0 + when reported version is '2.4' + is expected to eq 2.4 + when reported version is 'foobar' + is expected to eq 0.0 + when reported version is 'v3.12.0' + is expected to eq 3.12 when reported version is '5935' is expected to eq 5935.0 - when reported version is '!@#^%' - is expected to eq 0.0 - when reported version is '-123-' - is expected to eq 123.0 when reported version is '1.9a' is expected to eq 1.9 - when reported version is '2.9ä' - is expected to eq 2.9 - when reported version is '2.4' - is expected to eq 2.4 when reported version is '1.9' is expected to eq 1.9 - when reported version is '2.9a' - is expected to eq 2.9 - when reported version is '1.0' - is expected to eq 1.0 - when reported version is 'v3.12.5' - is expected to eq 3.12 - when reported version is 'v3.5' - is expected to eq 3.5 + #local? + checks if the given project exists + #default? + when the file exists + returns true + when the file doesn't exist + returns true + #local_project + without project yml + gets the project as path to the yml file + with a project yml + gets the project as path to the yml file + #directories + with TMUXINATOR_CONFIG environment + is only [$TMUXINATOR_CONFIG] if set + without TMUXINATOR_CONFIG environment + is empty if no configuration directories exist + contains #xdg before #home #default_or_sample - with default? false - falls back to the sample config when the default is missing with default? true gets the default config when it exists - #home - is ~/.tmuxinator - #validate - when a project config file is provided - should raise if the project config file can't be found - should load and validate the project - should take precedence over a local project - should take precedence over a named project - when no project name is provided - should raise if the local project file doesn't exist - and tmuxinator.yaml exists - should load and validate the local project - and tmuxinator.yml exists - should load and validate the local project - when no project can be found - should raise with NO_PROJECT_FOUND_MSG - when a project name is provided - should load and validate the project - should raise if the project file can't be found + with default? false + falls back to the sample config when the default is missing + #default + gets the path of the default config + #exist? + checks if the given project exists + #global_project + with duplicate project files + is the first .yml file found + with project yml + gets the project as path to the yml file + without project yml + gets the project as path to the yml file + with project yaml + gets the project as path to the yaml file + #xdg + is $XDG_CONFIG_HOME/tmuxinator + #sample + gets the path of the sample project + #default_path_option + < 1.8 + returns default-path + >= 1.8 + returns -c -Tmuxinator::Project - should include Hooks - #render - renders the tmux config - custom name - renders the tmux config with custom name - with alias - renders the tmux config - wemux -sh: 1: wemux: not found - renders the wemux config - #send_keys - no command for window - returns empty string - command for window is not empty - returns the tmux command - #initialize - valid yaml - creates an instance - #name - window as non-string literal - will gracefully handle a window name given as a non-string literal - as emoji - will gracefully handle a name given as an emoji - with deprecations - still gets the name - without deprecations - gets the name - wemux - is wemux - without name - displays error message - as number - will gracefully handle a name given as a number - #deprecations - without deprecations - is empty - with deprecations - is not empty - ::parse_settings - removes settings from args - returns settings in a hash - #startup_window - startup window specified - gets the startup window from project config - startup window not specified - returns base index instead - #commands - splits commands into an array - #get_base_index - extracts base-index from the global tmux options - #pre_window - pre_window in yaml is Array +Tmuxinator::Hooks + #commands_from + config value is Array joins array using ; - pre_window in yaml is string + config value is string returns the string - with deprecations - rbenv option is present - still gets the correct pre_window command - pre_tab is present - still gets the correct pre_window command - rvm option is present - still gets the correct pre_window command - #get_pane_base_index - extracts pane-base-index from the global tmux window options - #windows - with deprecations - still gets the list of windows - without deprecations - gets the list of windows - #validate! - should raise if there are no windows defined - should raise if there is not a project name - #send_pane_command - command for pane is not empty - returns the tmux command - no command for pane - returns empty string - ::load - should return an instance of the class if the file loads - should raise if the project file doesn't parse - #base_index - when pane_base_index is 1 and base_index is unset - gets the tmux default of 0 - base index not present - defaults to 0 - base index present - gets the base index - #tmux_has_session? - no active sessions - should return false if no sessions are found - active sessions - should return true only when `tmux ls` has the named session - should return false if a partial (prefix) match is found - #tmux_options - no tmux options - returns nothing - with deprecations - still gets the tmux options + +Tmuxinator::Pane + creates an instance + is expected to eql "foo:0.1" + does not set pane title + when title is provided + sets pane title + +Tmuxinator::Window + #root + with absolute window root + gets the window root + without window root + gets the project root + with relative window root + joins the project root + #tmux_new_window_command + constructs window command with path, target, and name options + root not set + has an extra space instead of path_part + name not set + does not set name option + #build_commands + command is a string + returns the command + command is an array + returns the flattened command + command is empty + returns an empty array + command is a hash + returns an empty array + #name_options + with a name + specifies name with tmux name option + without a name + specifies no tmux name option + #synchronize_before? + synchronization not specified + is expected to equal false + synchronize is true + is expected to equal true + synchronization disabled + is expected to equal false + synchronize is 'after' + is expected to equal false + synchronize is 'before' + is expected to equal true + #initialize + creates an instance + #synchronize_after? + synchronization is true + is expected to equal false + synchronization disabled + is expected to equal false + synchronization is 'before' + is expected to equal false + synchronization is 'after' + is expected to equal true + synchronization not specified + is expected to equal false + #tmux_select_first_pane + targets the pane based on the configured pane_base_index + #panes + nested collections + with nested array + returns two panes in an Array + with nested hash + returns two panes in an Array + with a three element Array + returns three panes + creates three panes + with nil + returns an empty Array + titled panes + creates panes with titles + with a String + returns one pane in an Array + #tmux_synchronize_panes + synchronization enabled + should set the synchronize-panes window option on #pre - pre in yaml is string - returns the string - pre in yaml is Array - joins array using ; - #pane_titles - pane_title_position invalid - configures the default position - pane_titles not enabled - returns false - pane_title_position not configured - configures a default position of top - pane_title_format not configured - configures a default format - pane_title_format configured - configures the provided format - pane_titles enabled - returns true - pane_title_position configured - configures a position of bottom - #attach? - attach is true in yaml - returns true - attach is not defined in yaml + pre is a string + returns the pre command + pre is not present + returns nil + +Tmuxinator::WemuxSupport + #tmux + is expected to eq "wemux" + #name + is expected to eq "wemux" + #render + renders the template + +Tmuxinator::Doctor + .shell? + $SHELL is set returns true - attach is false in yaml + $SHELL is not set returns false - attach is false in yaml, but command line forces attach + .editor? + $EDITOR is set returns true - attach is true in yaml, but command line forces detach + $EDITOR is not set returns false - #window - gets the window and index for tmux - #socket - socket path is present - gets the socket path - tmux_kill_session_command - when first window has a name - returns command to start a new detached session - #windows? - windows are present - returns true - #name? - name is present - returns true - #root? - root are present + .installed? + tmux is installed returns true - tmux_new_session_command - when first window has a name - returns command to start a new detached session - when first window is nameless - returns command to for new detached session without a window name - #tmux_command - tmux_command specified - gets the custom tmux command - tmux_command is not specified - returns the default - #startup_pane - startup pane not specified - returns the base pane instead - startup pane specified - get the startup pane index from project config - #root - without root - doesn't throw an error - with deprecations - still gets the root - without deprecations - gets the root + tmux is not installed + returns false Tmuxinator::Cli - #doctor - checks requirements - exit status - returns a non-zero status when an error occurs - #list - set --newline flag - force output to be one entry per line - no arguments are given - lists all projects - set --active flag - is a valid option - #start(with project config file) + #start + unsupported version + prints the warning + with --suppress-tmux-version-warning flag + does not print the warning no deprecations - passes additional arguments through - does not start the project if given a bogus project config file - starts the project if given a valid project config file - does not set the project name + accepts additional arguments + accepts a project config file flag + starts the project + accepts a flag for alternate name + supported version + does not print the warning + deprecations + prints the deprecations + #debug + named project + force attach renders the project with attach code + renders the project with custom session + renders the project + force detach renders the project without attach code + project config file + does not render the project if given a bogus project config file + renders the project if given a valid project config file + #delete + with a single argument + project exists + deletes the project + project doesn't exist + outputs an error message + local project exists + deletes the local project + with multiple arguments + all projects exist + deletes the projects + only one project exists + deletes one project + outputs an error message + all projects do not exist + outputs multiple error messages + #local + when the command used is '.' + it should behave like local_project + starts the project + when the command used is 'local' + it should behave like local_project + starts the project + supported version + does not print the warning + unsupported version + prints the warning + with --suppress-tmux-version-warning flag + does not print the warning + #find_project_file + when the project file _does_ already exist + should _not_ generate a new project file + when the project file does not already exist + should generate a project file + #implode + confirms deletion of all projects + deletes the configuration directory(s) + $TMUXINATOR_CONFIG specified + only deletes projects in that directory + #stop + unsupported version + prints the warning + with --suppress-tmux-version-warning flag + does not print the warning + with project name + stops the project + without project name + stops the project using .tmuxinator.yml + supported version + does not print the warning ::bootstrap - and there is no local project config + and there is a local project config + when no args are supplied + should call #local when one or more args are supplied it should behave like bootstrap_with_arguments + and the first arg is a tmuxinator command + should call ::start and the first arg is - a tmuxinator project name - should call #start something else should call ::start + a tmuxinator project name + should call #start a thor command - (help) - should call ::start (-v) should call ::start - and the first arg is a tmuxinator command - should call ::start - when no args are supplied - should call ::start - and there is a local project config - when no args are supplied - should call #local + (help) + should call ::start + and there is no local project config when one or more args are supplied it should behave like bootstrap_with_arguments - and the first arg is a tmuxinator command - should call ::start and the first arg is a tmuxinator project name should call #start @@ -1486,150 +1514,268 @@ should call ::start something else should call ::start - #delete - with a single argument - project doesn't exist - outputs an error message - local project exists - deletes the local project - project exists - deletes the project - with multiple arguments - all projects exist - deletes the projects - all projects do not exist - outputs multiple error messages - only one project exists - outputs an error message - deletes one project - no arguments - runs without error + and the first arg is a tmuxinator command + should call ::start + when no args are supplied + should call ::start #start(custom_name) no deprecations starts the project + base thor functionality + with a local project config + it should behave like base_thor_functionality + supports help + supports -v + it should behave like base_thor_functionality + supports -v + supports help + #commands + lists the commands + no arguments + runs without error + #version + prints the current version + #copy + existing project doesn't exist + exit with error code + new project already exists + prompts user to confirm overwrite + #stop(with project config file) + stops the project + does not set the project name even when set + does not stop the project if given a bogus project config file + does not set the project name + #completions + gets completions + #list + no arguments are given + lists all projects + set --active flag + is a valid option + set --newline flag + force output to be one entry per line + #start(with project config file) + no deprecations + starts the project if given a valid project config file + does not start the project if given a bogus project config file + passes additional arguments through + does not set the project name #generate_project_file should always generate a project file should generate a project file using the correct project file path + #doctor + checks requirements #new - with the --local option - file exists - just opens the file - existing project doesn't exist - creates a new tmuxinator project file from a session + with tmux < 1.6 + is unsupported with tmux >= 1.6 session exists creates a project file for-testing-tmuxinator session doesn't exist fails - with tmux < 1.6 - is unsupported without the --local option file exists just opens the file existing project doesn't exist creates a new tmuxinator project file - #start - no deprecations - accepts additional arguments - starts the project - accepts a project config file flag - accepts a flag for alternate name - deprecations - prints the deprecations - unsupported version - prints the warning - with --suppress-tmux-version-warning flag - does not print the warning - supported version - does not print the warning - #completions - gets completions - base thor functionality - it should behave like base_thor_functionality - supports -v - supports help - with a local project config - it should behave like base_thor_functionality - supports -v - supports help + with the --local option + existing project doesn't exist + creates a new tmuxinator project file + file exists + just opens the file + exit status + returns a non-zero status when an error occurs + #edit + when the project file _does_ already exist + should _not_ generate a new project file #create_project + when creating a traditional named project + it should behave like a_proper_project + should create a valid project attach option - detach - sets force_detach to true when 'attach: false' is provided - sets force_detach to false when 'attach: true' is provided - sets force_detach to false when no attach argument is provided attach sets force_attach to false when no attach argument is provided sets force_attach to false when 'attach: false' is provided sets force_attach to true when 'attach: true' is provided - when creating a traditional named project - it should behave like a_proper_project - should create a valid project - #stop(with project config file) - does not stop the project if given a bogus project config file - does not set the project name - does not set the project name even when set - stops the project - #stop - with project name - stops the project - unsupported version - prints the warning - with --suppress-tmux-version-warning flag - does not print the warning - supported version - does not print the warning - without project name - stops the project using .tmuxinator.yml + detach + sets force_detach to false when no attach argument is provided + sets force_detach to true when 'attach: false' is provided + sets force_detach to false when 'attach: true' is provided + +Tmuxinator::Project + should include Hooks + #windows + with deprecations + still gets the list of windows + without deprecations + gets the list of windows + #windows? + windows are present + returns true + #root? + root are present + returns true + #pane_titles + pane_titles not enabled + returns false + pane_title_position invalid + configures the default position + pane_title_format configured + configures the provided format + pane_title_position configured + configures a position of bottom + pane_title_format not configured + configures a default format + pane_title_position not configured + configures a default position of top + pane_titles enabled + returns true #commands - lists the commands - #find_project_file - when the project file does not already exist - should generate a project file - when the project file _does_ already exist - should _not_ generate a new project file - #edit - when the project file _does_ already exist - should _not_ generate a new project file - #debug - project config file - renders the project if given a valid project config file - does not render the project if given a bogus project config file - named project - renders the project - force attach renders the project with attach code - renders the project with custom session - force detach renders the project without attach code - #implode - confirms deletion of all projects - deletes the configuration directory(s) - $TMUXINATOR_CONFIG specified - only deletes projects in that directory - #copy - existing project doesn't exist - exit with error code - new project already exists - prompts user to confirm overwrite - #local - when the command used is 'local' - it should behave like local_project - starts the project - unsupported version - prints the warning - with --suppress-tmux-version-warning flag - does not print the warning - when the command used is '.' - it should behave like local_project - starts the project - supported version - does not print the warning - #version - prints the current version + splits commands into an array + #base_index + base index not present + defaults to 0 + when pane_base_index is 1 and base_index is unset + gets the tmux default of 0 + base index present + gets the base index + #tmux_command + tmux_command is not specified + returns the default + tmux_command specified + gets the custom tmux command + ::parse_settings + returns settings in a hash + removes settings from args + #root + without root + doesn't throw an error + with deprecations + still gets the root + without deprecations + gets the root + #deprecations + with deprecations + is not empty + without deprecations + is empty + #name? + name is present + returns true + tmux_kill_session_command + when first window has a name + returns command to start a new detached session + tmux_new_session_command + when first window is nameless + returns command to for new detached session without a window name + when first window has a name + returns command to start a new detached session + #socket + socket path is present + gets the socket path + #name + with deprecations + still gets the name + as number + will gracefully handle a name given as a number + without name + displays error message + as emoji + will gracefully handle a name given as an emoji + without deprecations + gets the name + wemux + is wemux + window as non-string literal + will gracefully handle a window name given as a non-string literal + #initialize + valid yaml + creates an instance + #get_pane_base_index + extracts pane-base-index from the global tmux window options + #tmux_has_session? + no active sessions + should return false if no sessions are found + active sessions + should return false if a partial (prefix) match is found + should return true only when `tmux ls` has the named session + #attach? + attach is not defined in yaml + returns true + attach is false in yaml, but command line forces attach + returns true + attach is false in yaml + returns false + attach is true in yaml + returns true + attach is true in yaml, but command line forces detach + returns false + #window + gets the window and index for tmux + #startup_window + startup window specified + gets the startup window from project config + startup window not specified + returns base index instead + #send_keys + command for window is not empty + returns the tmux command + no command for window + returns empty string + #tmux_options + with deprecations + still gets the tmux options + no tmux options + returns nothing + #send_pane_command + no command for pane + returns empty string + command for pane is not empty + returns the tmux command + #startup_pane + startup pane not specified + returns the base pane instead + startup pane specified + get the startup pane index from project config + #get_base_index + extracts base-index from the global tmux options + #pre + pre in yaml is Array + joins array using ; + pre in yaml is string + returns the string + ::load + should raise if the project file doesn't parse + should return an instance of the class if the file loads + #pre_window + with deprecations + rbenv option is present + still gets the correct pre_window command + pre_tab is present + still gets the correct pre_window command + rvm option is present + still gets the correct pre_window command + pre_window in yaml is string + returns the string + pre_window in yaml is Array + joins array using ; + #render + renders the tmux config + custom name + renders the tmux config with custom name + with alias + renders the tmux config + wemux +sh: line 1: wemux: command not found + renders the wemux config + #validate! + should raise if there is not a project name + should raise if there are no windows defined Tmuxinator::Hooks::Project - #hook_on_project_first_start + #hook_on_project_stop it should behave like a project hook calls Hooks.commands_from hook value is string @@ -1639,25 +1785,25 @@ #hook_on_project_start it should behave like a project hook calls Hooks.commands_from - hook value is Array - joins array using ; hook value is string returns the string - #hook_on_project_restart + hook value is Array + joins array using ; + #hook_on_project_exit it should behave like a project hook calls Hooks.commands_from hook value is string returns the string hook value is Array joins array using ; - #hook_on_project_stop + #hook_on_project_first_start it should behave like a project hook calls Hooks.commands_from - hook value is Array - joins array using ; hook value is string returns the string - #hook_on_project_exit + hook value is Array + joins array using ; + #hook_on_project_restart it should behave like a project hook calls Hooks.commands_from hook value is Array @@ -1665,120 +1811,10 @@ hook value is string returns the string -Tmuxinator::Pane - is expected to eql "foo:0.1" - creates an instance - does not set pane title - when title is provided - sets pane title - -Tmuxinator::Doctor - .shell? - $SHELL is not set - returns false - $SHELL is set - returns true - .installed? - tmux is not installed - returns false - tmux is installed - returns true - .editor? - $EDITOR is not set - returns false - $EDITOR is set - returns true - -Tmuxinator::WemuxSupport - #render - renders the template - #name - is expected to eq "wemux" - #tmux - is expected to eq "wemux" - -Tmuxinator::Window - #initialize - creates an instance - #build_commands - command is empty - returns an empty array - command is an array - returns the flattened command - command is a string - returns the command - command is a hash - returns an empty array - #synchronize_after? - synchronization disabled - is expected to equal false - synchronization not specified - is expected to equal false - synchronization is 'after' - is expected to equal true - synchronization is true - is expected to equal false - synchronization is 'before' - is expected to equal false - #tmux_select_first_pane - targets the pane based on the configured pane_base_index - #synchronize_before? - synchronization disabled - is expected to equal false - synchronize is 'before' - is expected to equal true - synchronize is 'after' - is expected to equal false - synchronize is true - is expected to equal true - synchronization not specified - is expected to equal false - #root - with relative window root - joins the project root - without window root - gets the project root - with absolute window root - gets the window root - #panes - with a three element Array - creates three panes - returns three panes - nested collections - with nested hash - returns two panes in an Array - with nested array - returns two panes in an Array - with nil - returns an empty Array - with a String - returns one pane in an Array - titled panes - creates panes with titles - #pre - pre is not present - returns nil - pre is a string - returns the pre command - #tmux_new_window_command - constructs window command with path, target, and name options - root not set - has an extra space instead of path_part - name not set - does not set name option - #name_options - with a name - specifies name with tmux name option - without a name - specifies no tmux name option - #tmux_synchronize_panes - synchronization enabled - should set the synchronize-panes window option on - -Finished in 43.95 seconds (files took 16.67 seconds to load) +Finished in 19.81 seconds (files took 6.18 seconds to load) 291 examples, 0 failures -Randomized with seed 44663 +Randomized with seed 41220 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1820,12 +1856,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/2752/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2752/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/12206 and its subdirectories -I: Current time: Thu Dec 12 00:22:51 -12 2024 -I: pbuilder-time-stamp: 1734006171 +I: removing directory /srv/workspace/pbuilder/2752 and its subdirectories +I: Current time: Fri Dec 13 02:28:29 +14 2024 +I: pbuilder-time-stamp: 1734006509