Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 23, 2023 20:49
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/bd315141cd5da37c9a68988ce996cd4d to your computer and use it in GitHub Desktop.
Save Whateverable/bd315141cd5da37c9a68988ce996cd4d to your computer and use it in GitHub Desktop.
bisectable6
my $d = Distribution::Path.new($*CWD); say $d.meta<files> = (1 => 1,);
Bisecting: 118 revisions left to test after this (roughly 7 steps)
[dc6c8117fb0d30aca88944254f993dbcaa36ca35] Bump NQP to get MoarVM JIT atposref_u + getattrref_u
»»»»» Testing dc6c8117fb0d30aca88944254f993dbcaa36ca35
»»»»» Script output:
Cannot assign to an immutable value
in block <unit> at /tmp/6dJgmK7X53 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 c243e0e7551885558ff98de9cca57073636b1aeb
»»»»» Script output:
(1 => 1)
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 da54063c230fd12db407b6893dc2e251b2680906
»»»»» Script output:
Cannot assign to an immutable value
in block <unit> at /tmp/6dJgmK7X53 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 15abaf412db5b9762518d18aa7d3f5a7e4f83768
»»»»» Script output:
(1 => 1)
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» 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 530e1784846e79ffa019709ca5dcb9a544d846eb
»»»»» Script output:
Cannot assign to an immutable value
in block <unit> at /tmp/6dJgmK7X53 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 f66b598132f8d771050f3715ad7dfd6de49f5be1
»»»»» Script output:
Cannot assign to an immutable value
in block <unit> at /tmp/6dJgmK7X53 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» 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 90d876a3fdaa5b381f2e765060aac67fe7e923ab
»»»»» Script output:
(1 => 1)
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
f66b598132f8d771050f3715ad7dfd6de49f5be1 is the first new commit
commit f66b598132f8d771050f3715ad7dfd6de49f5be1
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Thu Mar 24 21:10:48 2022 +0100
Streamline creation of Distribution::Path
- fewer IO -> Str -> IO conversions
- no intermediate hashes to create
- make it a more normal object using new Raku features
- $!meta-file now has IO of default file, instead of being unset
- expose .meta-file: it's also shown in .raku, so makes sense
- add more gradual typing
src/core.c/Distribution/Path.pm6 | 78 +++++++++++++++++++++++++---------------
1 file changed, 49 insertions(+), 29 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment