GIT
Can you add support for Git in a-shell?
git itself is impossible, because it is covered by the GPL, and it is the FSF position that the GPL is incompatible with distribution on the AppStore. We have lg2, which is a git replacement with a license compatible with the AppStore. It provides most of git functionalities, although it's not a 1-to-1 replacement. You can call the command pkg install git, which adds a wrapper around lg2, so that calling git actually calls lg2.
git itself is impossible, because it is covered by the GPL, and it is the FSF position that the GPL is incompatible with distribution on the AppStore. We have lg2, which is a git replacement with a license compatible with the AppStore. It provides most of git functionalities, although it's not a 1-to-1 replacement. You can call the command
pkg install git, which adds a wrapper around lg2, so that calling git actually calls lg2.
Aha. So that's what it was for. (In the meantime I broke the temporary JB I told you about and had a look around in A-Shell unrestrained.)
That's a bummer, though.
git itself is impossible, because it is covered by the GPL, and it is the FSF position that the GPL is incompatible with distribution on the AppStore. We have lg2, which is a git replacement with a license compatible with the AppStore. It provides most of git functionalities, although it's not a 1-to-1 replacement. You can call the command
pkg install git, which adds a wrapper around lg2, so that calling git actually calls lg2.
Not sure how iSH managed to stay on AppStore...users can install git and other programs through apk. Is it because iSH is a Alpine Linux app port?
iSH works around both the FSF and the AppStore restrictions because they are not, technically, distributing binaries. Ot at least, not Arm64 binaries that they execute. They distribute x86 binaries, which they run through an emulator. a-Shell comes with native Arm64 binaries, that are executed directly. The result is that the commands are fast, but it's more difficult to add commands.
iSH works around both the FSF and the AppStore restrictions because they are not, technically, distributing binaries. Ot at least, not Arm64 binaries that they execute. They distribute x86 binaries, which they run through an emulator. a-Shell comes with native Arm64 binaries, that are executed directly. The result is that the commands are fast, but it's more difficult to add commands.
I see. I was surprised that iSH emulates i686... so it can bypass the restriction. Thank you for explaining.
Since lg2 is similar to git, is there any way to let other programs recognize lg2 as git? So that their git push git pull can work with lg2?
if you type the command pkg install git, it wil install a fake "git" command that is actually lg2 with all arguments forwarded. It works with some of the other programs that use git, but not with all of them, you'll have to test individually with your own programs.
if you type the command
pkg install git, it wil install a fake "git" command that is actually lg2 with all arguments forwarded. It works with some of the other programs that use git, but not with all of them, you'll have to test individually with your own programs.
Tested, didn't work with many, e.g. fugitive.