Re: tip: Windows, Git, and those nice Linux utilities
On 2020-04-09 20:36, Tobias Boege wrote: On Thu, 09 Apr 2020, ToddAndMargo via perl6-users wrote: On 2020-04-09 09:39, Richard Hainsworth wrote: Am I missing something here? It would seem obvious to me that Git and Raku are not linked in any way, except of course for developers who only use Git with Raku, or who only have a dependency on Git through zef. It would therefore seem to me that a Raku / Zef distribution should NOT bundle Git. Consequently, 'Git' is not "forgotten" and that is *should* be installed independently. Git is required for Zef to operate. So Git is a dependency of Zef. Therefor Zef should either include Git or warn the user that he needs to download it himself That's an exaggeration. git is a dependency of the p6c ecosystem that zef is preconfigured to support. But zef currently supports CPAN as well which does not need git. If you don't have git installed, you get access to CPAN (and of course modules you install from your own local filesystem) but not p6c. Whether that is enough is your call. AFAICS, git is not a dependency of the zef packge in Fedora either. I just started a fresh VM, installed Rakudo and zef and then via zef a module and its dependencies -- all without git. Regards, Tobias Tobias, If I can not do a `zef install [package]` without first install git, then it is a dependency. Maybe not all packages are supporting CPAN? -T
Re: tip: Windows, Git, and those nice Linux utilities
On 2020-04-09 09:39, Richard Hainsworth wrote: Am I missing something here? It would seem obvious to me that Git and Raku are not linked in any way, except of course for developers who only use Git with Raku, or who only have a dependency on Git through zef. It would therefore seem to me that a Raku / Zef distribution should NOT bundle Git. Consequently, 'Git' is not "forgotten" and that is *should* be installed independently. Git is required for Zef to operate. So Git is a dependency of Zef. Therefor Zef should either include Git or warn the user that he needs to download it himself
Re: tip: Windows, Git, and those nice Linux utilities
Am I missing something here? It would seem obvious to me that Git and Raku are not linked in any way, except of course for developers who only use Git with Raku, or who only have a dependency on Git through zef. It would therefore seem to me that a Raku / Zef distribution should NOT bundle Git. Consequently, 'Git' is not "forgotten" and that is *should* be installed independently. In fact, since Github is now owned by Microsoft, it seems a little strange to require 'zef' to include it in an installation. Regards, Richard On 09/04/2020 11:47, ToddAndMargo via perl6-users wrote: Hi All, Since the Raku Windows Installer forgets to install Git along with Zef: https://github.com/rakudo/star/issues/145 You have to install Git yourself: https://git-for-windows.github.io/ Now here is a sweet feature of having Git installed. It comes with all kind of nice Linux utilities, like ls, tar, more, etc.. To get access to them: --> sysdm.cpl --> Advanced (tab at the top) --> Environmental Variables (button, lower right) --> Path, Edit, add to the end ;C:\Program Files\Git\usr\bin I don't know about you guys, but every time I want a directory listing in Windows, I type `ls` and have to go back and change it to `dir`. No longer! :-) -T
Re: tip: Windows, Git, and those nice Linux utilities
To get access to them: --> sysdm.cpl --> Advanced (tab at the top) --> Environmental Variables (button, lower right) --> Path, Edit, add to the end ;C:\Program Files\Git\usr\bin I edited my local user path before installing: C:\Program Files (x86)\Common Files\Oracle\Java\javapath C:\ProgramData\Oracle\Java\javapath C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files\Perceptive Workgroup Search 10 c:\JFW c:\JFW-scanclient C:\WINDOWS\System32\OpenSSH\ C:\Program Files\PuTTY\ C:\Users\andybach\AppData\Local\Microsoft\WindowsApps c:\program files\git\usr\bin I saw it did some PATH munging on its own - after installing : C:\Users\andybach>echo %path% | tr ';' '\n' C:\Program Files (x86)\Common Files\Oracle\Java\javapath ... C:\WINDOWS\System32\OpenSSH\ C:\Program Files\PuTTY\ C:\Program Files\Git\cmd C:\Program Files\Git\mingw64\bin C:\Program Files\Git\usr\bin C:\Users\andybach\AppData\Local\Microsoft\WindowsApps c:\program files\git\usr\bin so you don't need to munge it yourself. Nice to have ls and tr though I meant to try MS's linux extension at some point. From: ToddAndMargo via perl6-users Sent: Thursday, April 9, 2020 5:47 AM To: perl6-users Subject: tip: Windows, Git, and those nice Linux utilities Hi All, Since the Raku Windows Installer forgets to install Git along with Zef: https://github.com/rakudo/star/issues/145 You have to install Git yourself: https://git-for-windows.github.io/ Now here is a sweet feature of having Git installed. It comes with all kind of nice Linux utilities, like ls, tar, more, etc.. To get access to them: --> sysdm.cpl --> Advanced (tab at the top) --> Environmental Variables (button, lower right) --> Path, Edit, add to the end ;C:\Program Files\Git\usr\bin I don't know about you guys, but every time I want a directory listing in Windows, I type `ls` and have to go back and change it to `dir`. No longer! :-) -T
tip: Windows, Git, and those nice Linux utilities
Hi All, Since the Raku Windows Installer forgets to install Git along with Zef: https://github.com/rakudo/star/issues/145 You have to install Git yourself: https://git-for-windows.github.io/ Now here is a sweet feature of having Git installed. It comes with all kind of nice Linux utilities, like ls, tar, more, etc.. To get access to them: --> sysdm.cpl --> Advanced (tab at the top) --> Environmental Variables (button, lower right) --> Path, Edit, add to the end ;C:\Program Files\Git\usr\bin I don't know about you guys, but every time I want a directory listing in Windows, I type `ls` and have to go back and change it to `dir`. No longer! :-) -T
Re: zef and tar.gz
On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about? Rakudo Star forget another dependency? psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. K:\Windows\NtUtil>zef install OAuth2::Client::Google ===> Searching for: OAuth2::Client::Google Enabled extracting backends [git path psunzip] don't understand C:\Users\todd/.zef/tmp\1585022838.2848..088006717173\OAuth2-Client-Google-0.1.1.tar.gz You may need to configure one of the following backends, or install its underlying software - [tar p5tar unzip] Many thanks, -T Okay, I have a fix (workaround?) for this. Windows 10 works without this: --> sysdm.cpl --> Advanced (tab at the top) --> Environmental Variables (button, lower right) --> Path, Edit, add to the end ;C:\Program Files\Git\usr\bin