WSL-Torizon needs an update to git

I’ve just installed Torizon IDE Extension Environment on my Windows 11 PC using the wizard as described here.

I have git already configured on my Windows PC to use the git credential manager.

On other WSL Ubuntu distros I can usa the same credential-manager from WSL as described here.

On WSL-Torizon this doesn’t work, with the error

git credential-manager --version
git: 'credential-manager' is not a git command. See 'git --help'.

I suppose this is because WSL-Torizon includes an old git 2.39.5

I suggest Toradex to update git inside WSL-Torizon

I know I can update it by myself, but then every time I found something “strange” the tech support will go crazy trying to support me (because I customized too much WSL-Torizon).

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I understand your concern about the Git credential manager issue in WSL-Torizon. The Torizon IDE Extension installation wizard automatically sets up WSL with specific configurations optimized for Torizon development (1).

Current Setup Approach

The documentation shows that the Torizon IDE Extension uses an automated installation wizard for Windows that configures the WSL environment (1). This wizard installs and configures the necessary dependencies, including WSL 2 with a specific Linux distribution (1).

Git Configuration in WSL Environment

The installation process includes setting up WSL 2 with the following steps (1):

  1. Choose one of the Torizon IDE officially supported Linux distributions (1)
  2. Install the selected Linux distribution on Windows with WSL (1)
  3. Ensure WSL 2 is being used (1)

Recommendation for Your Use Case

Since you need Git credential manager functionality and want to maintain support compatibility, I recommend reaching out through the Toradex Community to discuss this specific requirement. Your feedback about updating Git in the WSL-Torizon environment is valuable for the development team.

Alternative Approach

While the documentation emphasizes using the installation wizard for optimal support (1), you might consider:

  1. Using Git credentials directly within the WSL environment
  2. Configuring Git authentication through SSH keys
  3. Setting up Git credentials manually within the WSL-Torizon instance

The installation wizard is designed to provide a tested and supported configuration (1), so any modifications should be carefully considered against your support requirements.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Greetings @vix,

Thank you for bringing this to our attention, I’ll pass it on to our team.

Best Regards,
Jeremias

After discussing with the team, they said it should be acceptable to just update the git package in the WSL-distro. As right now there are no immediate plans from the team to update or change the WSL-Torizon distro.

Best Regards,
Jeremias

I’ve just found that git 2.39.5 is the last release for debian bookworm (and so for WSL-Torizon).

Updating to a new release is tricky.

Sad to say that my WSL-Ubuntu on old Windows 10 PC seems better than this WSL-Torizon (to build torizon).

The main purpose of WSL-Torizon is compatibility with our IDE extension. So it’s not ideal as a general use WSL distribution in that respect.

What I can say is that there is an item in our backlog to eventually update WSL-Torizon to be based on Debian Trixie. However, there’s no timeline for this at the moment, as it depends on other priorities. But, eventually it should be doable.

Best Regards,
Jeremias