description: GitTree is a desktop Git client with a commit graph, staging, merges, conflict resolution and an integrated terminal. It runs the user’s Git hooks, shell, external editors and coding-agent CLIs.
snapcraft: PRIVATE (not in a public repository; the recipe can be shared with reviewers)
reasoning: GitTree needs to run programs the user chooses, at paths that are not known when the snap is built. Git hooks are arbitrary executables stored in each repository. The integrated terminal runs the user’s shell. Open-in-editor and the coding-agent actions launch whatever editor or agent CLI the user has installed. The home, removable-media, personal-files and ssh-keys interfaces cover repository files and ~/.ssh. They do not allow execution of those host programs. Shipping a copy of Git inside the snap would not run the user’s hooks, shell, editor or agent CLIs.
I understand that strict confinement is generally preferred over classic.
I’ve tried the existing interfaces to make the snap work under strict confinement.
Revision 1 (2.2.1, amd64, core22) is uploaded by publisher kodmora and is not on a channel. The classic build bundles its own runtime and is patched for core22. It does not use the host GTK or libc.
Revision 2 (3.0.1, amd64, core22) is now uploaded by publisher kodmora and is not on a channel. It replaces revision 1 (2.2.1). Could a reviewer please take a look at the classic request? Happy to share the snapcraft.yaml or answer questions.
IDEs: it is a Git development environment that runs the user’s Git, including the repository’s Git hooks (arbitrary executables in each repository).
Terminal emulators, multiplexers and shells: it has an integrated terminal that runs the user’s login shell.
AI agent/assistant that runs arbitrary user-directed code and needs to reach files and programs that aren’t known at build time: its assistant runs the coding-agent CLI the user installed (for example Claude Code or Codex) in the user’s repositories.
It also opens the user’s chosen external editor. None of these programs or paths are known when the snap is built.
Hi @reviewers, I noticed this request never received the store-requests-bot “added to the queue” message that other classic requests get, so it may not be in the review queue. Could someone add it? Revision 2 (3.0.1) is uploaded and waiting.
For precedent: GitTree runs the user’s git, including repository hooks, and an integrated login shell, similar to gh and gitea-cli, which were granted classic. @shishirsub10 or jslarraz, if either of you has time to take a look, thank you.
Apologies for the delay and you are right about the request not being added to the queue.
It is plausible that there are technical reasons why gittree needs classic to work properly in all scenarios, but please note that classic confinement is a sensitive matter and it is reserved for mature, well-known applications published by mature, well-known entities. As of today, I believe that gittree doesn’t meet this criteria because of the following reasons:
The project seems to be very fresh, according to the upstream repository
The projects seems to have little/none community around according to upstream repository (contributors, issues, PRs, etc.)
I could not find evidences that the project has a strong enough user base currently
Thus, considering these factors, I think gittree should not get classic confinement as of now.