Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 25, 2016 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/2e259685cabdaebf275da8e9864ac9b2 to your computer and use it in GitHub Desktop.
Save Whateverable/2e259685cabdaebf275da8e9864ac9b2 to your computer and use it in GitHub Desktop.
bisectable
m: use MONKEY-TYPING; augment class IO::Path { multi method basename (:$ext!) { $.basename.substr: 0, *-$.extension } }; "foo.txt.bak".IO.basename(:!ext).say
Bisecting: 783 revisions left to test after this (roughly 10 steps)
[cc4dd7c2c95945761980b64f78e1ca025c0a176f] Make Version comparisons abouut 2x as fast
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing cc4dd7c2c95945761980b64f78e1ca025c0a176f
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 391 revisions left to test after this (roughly 9 steps)
[10c86cfcb63a72a11e5992d8fe6c0f86dbfbf704] claim next release
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 10c86cfcb63a72a11e5992d8fe6c0f86dbfbf704
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 195 revisions left to test after this (roughly 8 steps)
[9b8773d7095accd22ca67741db45aa13e1e0c959] Handle errors from nqp::fileops
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 9b8773d7095accd22ca67741db45aa13e1e0c959
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 97 revisions left to test after this (roughly 7 steps)
[d1ff735ffdb6db508fba022dbe605c145783cde8] Fix for RT #127166
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing d1ff735ffdb6db508fba022dbe605c145783cde8
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 48 revisions left to test after this (roughly 6 steps)
[c268635f5f8e79ac43bcf69e5da5ff579b4bbdf8] Make sure we're testing Christmas too
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing c268635f5f8e79ac43bcf69e5da5ff579b4bbdf8
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[373adc0a6a078ca8975ab5dbdd1c1fd31e7227da] improve error message on differing list assoc ops
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 373adc0a6a078ca8975ab5dbdd1c1fd31e7227da
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[4fe18ce14c87c4d63f18db3c38cf32733ba72c31] Add RAKUDO_PRECOMP_PREFIX env var
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 4fe18ce14c87c4d63f18db3c38cf32733ba72c31
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 5 revisions left to test after this (roughly 3 steps)
[cb2db79b8609253aeae391cf312176491e7321fa] Sorta voluntell Coke, japhb++
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing cb2db79b8609253aeae391cf312176491e7321fa
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 1 revision left to test after this (roughly 1 step)
[446a3ca324052080ac9edaa9010bc6bbe7b6fe05] Merge pull request #652 from autarch/patch-1
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 446a3ca324052080ac9edaa9010bc6bbe7b6fe05
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
Bisecting: 1 revision left to test after this (roughly 1 step)
[07fecb52eb1fd07397659f19a5cf36dc61f84053] I appreciate the thanks, but once is enough
running /home/bisectable/git/bisectable/test-commit /home/bisectable/git/bisectable/builds /tmp/_rmdx_43p_ /tmp/Pz60pXE5Ts
»»»»» Testing 07fecb52eb1fd07397659f19a5cf36dc61f84053
»»»»» Script output:
foo.txt.bak
»»»»» Script exit code: 0
»»»»» Bisecting by using the output
»»»»» Comparing the output to:
===SORRY!=== Error while compiling /tmp/_rmdx_43p_
Cannot have a multi candidate for 'basename' when an only method is also in the package 'IO::Path'
at /tmp/_rmdx_43p_:1
»»»»» The output is different
»»»»» Final exit code: 1
»»»»» -------------------------------------------------------------------------
07fecb52eb1fd07397659f19a5cf36dc61f84053 is the first bad commit
commit 07fecb52eb1fd07397659f19a5cf36dc61f84053
Author: Dave Rolsky <autarch@urth.org>
Date: Fri Dec 25 23:13:46 2015 -0600
I appreciate the thanks, but once is enough
:040000 040000 a021c33002ff4b5b46ebcb9b0293bb27319273d1 f3eb869e39284eecab14e13dc913b0a3e1cdfd3e M docs
bisect run success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment