Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 1, 2019 14:42
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/b722945dbccebd818f4d75fea006f7ff to your computer and use it in GitHub Desktop.
Save Whateverable/b722945dbccebd818f4d75fea006f7ff to your computer and use it in GitHub Desktop.
bisectable6
class A { method distribution() { $?DISTRIBUTION } }
Bisecting: 4739 revisions left to test after this (roughly 12 steps)
[5154b620c19aa9fbb5081c941de06378497441da] Include Proc::Async into JVM core setting.
»»»»» Testing 5154b620c19aa9fbb5081c941de06378497441da
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8ce20ae1fc1bf5202a9d653126fbac32a2f37825
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5fe0140cfd4dbacd3a696aaefedc8ad30e6a6269
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8854bbd3fc940174308237aa3402ec23f2114fcc
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6b078a052a7c71c3310dfb927682440d3b65eab4
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bfff01a55aa4fd587a256d9e5f090c0faed45107
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d195e146230ec99d6cd61cfe9ed2edf6cf6b3ab0
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 922d41b3d0116c9bf67daa196db2717ec63b0b4f
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 01d2e11c88a56428064c0768e41e02e5182409f1
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing c9fe9463e6f172664125a36113aaefd4e9fe5bd3
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 26c0e620a8517794a770103b88566095855e8f88
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 420abcb9739a86868ef3c020d9caef031aa5dacf
»»»»» Script output:
===SORRY!=== Error while compiling /tmp/ahf71VWVN5
Variable '$?DISTRIBUTION' is not declared. Did you mean 'Distribution'?
at /tmp/ahf71VWVN5:1
------> class A { method distribution() { ⏏$?DISTRIBUTION } }
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 32d480aba043245d380ae1d2f089c9bb76412d01
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 1
»»»»» Note that on “old” revision exit code is normally 0, you are probably trying to find when something was fixed
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
32d480aba043245d380ae1d2f089c9bb76412d01 is the first new commit
commit 32d480aba043245d380ae1d2f089c9bb76412d01
Author: Nick Logan <nlogan@gmail.com>
Date: Mon Dec 31 00:07:55 2018 -0500
Add $?DISTRIBUTION (#2574)
Add a variable to give module authors a way to access *any* file in their distribution as well as the distribution meta data.
It might seem like `$?FILE` can provide everything required, but some `CompUnit::Repository` may not have an e.g. on-disk representation of the files listed in the meta data -- this allows IO access using the file names as listed in the meta data regardless of the `CompUnit::Repository` that loaded it.
Some uses:
* `say "Version: " ~ $?DISTRIBUTION.meta<ver>`
* `$?DISTRIBUTION.content('lib/Any/Module/In/Distribution.pm6').open.slurp(:close)`
* `$?DISTRIBUTION.content('resources/libraries/p5helper').open.slurp(:close)` ( similar to `%?RESOURCES<libraries/p5helper>.IO.open.slurp(:close)` )
:040000 040000 43b2b8fdd0f1789b9a1eda073c0968c23391b177 8ef084dfbb93c219f7142cf5ef43d145a2018ca3 M src
:040000 040000 8b652ba5a71edd1b7c45adaa4a40dd763e7a47e7 476d9ac0bdbc09e6988dc0157cf3480697bd317a M t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment