Raku / App-Rakubrew

Raku environment manager
https://rakubrew.org/
Other
26 stars 13 forks source link

broke on downloading&switching 2020.08.2 #39

Closed Veraellyunjie closed 3 years ago

Veraellyunjie commented 3 years ago
> rakubrew download moar 2021.02.1 # 100% OK
> rakubrew switch moar-2021.02.1   # 100% OK
> rakubrew download moar 2020.08.2 # OK as far as I recall — the terminal output scrolled beyond history

> rakubrew switch moar-2020.08.2
Switching to moar-2020.08.2
Use of uninitialized value $cur in scalar chomp at /opt/olve/rakubrew/bin/rakubrew line 2692.
Use of uninitialized value $version in string ne at /opt/olve/rakubrew/bin/rakubrew line 1223.
Use of uninitialized value in subroutine entry at /opt/olve/rakubrew/bin/rakubrew line 2777.
Use of uninitialized value $version in concatenation (.) or string at /opt/olve/rakubrew/bin/rakubrew line 2782.
Invalid version found:  at /opt/olve/rakubrew/bin/rakubrew line 2782.

> raku --version
Welcome to Rakudo(tm) v2021.02.1.
Implementing the Raku(tm) programming language v6.d.
Built on MoarVM version 2021.02.

> rakubrew switch moar-2021.07
Switching to moar-2021.07
Use of uninitialized value $cur in scalar chomp at /opt/olve/rakubrew/bin/rakubrew line 2692.
Use of uninitialized value $version in string ne at /opt/olve/rakubrew/bin/rakubrew line 1223.
Use of uninitialized value in subroutine entry at /opt/olve/rakubrew/bin/rakubrew line 2777.
Use of uninitialized value $version in concatenation (.) or string at /opt/olve/rakubrew/bin/rakubrew line 2782.
Invalid version found:  at /opt/olve/rakubrew/bin/rakubrew line 2782.

> raku --version
Welcome to Rakudo(tm) v2021.02.1.
Implementing the Raku(tm) programming language v6.d.
Built on MoarVM version 2021.02.

And in a new terminal window:

> raku
fish: Unknown command: raku

OS: antiX 19 (Debian 10 Buster without systemd) shell: fish

Veraellyunjie commented 3 years ago

My fault, run out of space. I feature-request rakubrew checking for available storage space

patrickbkr commented 3 years ago

@ithgub Thanks for the bug report and idea of checking for disk space. I have pondered the idea and I think I won't add logic to do this for two reasons:

I hope this reasoning makes sense to you.