Repository navigation
0.16
Gittan 0.16.141, an automated build of the latest source (build 141).
Changes
Added
- Extensions can add to the GitHub view: a tab of their own after Batch, with rows that open a link or a repository and buttons that act on them; an operation on the Batch tab that runs once for each picked repository and says what it found, a card per repository; and commands in the view's own Extensions menu. A new permission,
forge, lets an extension run the forge's tool with your account (Gittan.forge.cli, andGittan.forges.gh.runfor gh, which runs only where the forge is GitHub) without theexecpermission: only gh's commands that read and change what is on GitHub (api, pr, issue, repo, run, workflow, release, search, label, status, cache), never an alias, a gh extension, its config or login, or anything that reads or writes a local file or starts another program, and@forges githubin its manifest keeps it to repositories on GitHub and to GitHub's view. What an extension added is marked with a puzzle piece and says which extension it is from. The sampleforge-overview.jsshows a tab of your pull requests that have waited, the open pull requests and issues of each repository, and who you are logged in as. - The GitHub view has a third tab, Batch, for work in several repositories at once. Pick repositories from the repository list and the recent ones (a folder's box picks all in it; the choice is kept), then Scan: each is fetched with --prune and its local branches whose branch on the remote was deleted are listed, each marked merged, squash-merged or not merged into the default branch. The merged ones are picked; Delete removes the picked branches after asking, and shows the commit each was at.
- The Batch tab shows one operation at a time, picked with a row of pills (Overview, Gone branches) and kept between starts, and the list of repositories folds to one line naming the picked ones once something is picked; a click on its heading, with a chevron as the welcome view's folders have, unfolds it.
- The Batch tab has an Overview of what is left undone in the picked repositories, read each time the tab is shown and with Check: a card per repository with changed and untracked files, stashes, commits not pushed and branches with commits on no remote (with their counts), a merge or rebase in progress, a detached HEAD or no remote at all. Nothing is fetched or changed, and a click on a card's head opens that repository.
- The Batch tab has an Identity check: who each picked repository commits as (name and e-mail, and whether it is set in the repository itself) and whether it signs its commits, grouped by identity. A repository is marked when the others of the same owner on the forge commit under another e-mail, such as a work repository committed to with a private address. A click on a repository opens it.
- The Batch tab has Maintenance: Scan finds, in each picked repository, a remote's HEAD left on the old default branch after it was renamed on the forge, worktrees whose folder is gone, and loose objects or packs enough to pack; Run follows the remote's new default branch locally (refs/remotes/origin/HEAD; the remote is not touched), forgets those worktrees and packs, for the tasks picked, and shows what each did.
Changed
Gittan.gh.runis nowGittan.forges.gh.run, which needs theforgepermission instead ofexecand runs only where the forge is GitHub; an extension that used it addsforgeto@perms.Gittan.exec.run("gh", ...)still runs gh withexec.- A new icon and logo: a flat window on a dark tile, a red line with a minus over a green line with a plus. The application icon, the dialogs' icon and the welcome view's wordmark follow. On Windows and Linux the icon is the window alone, without the tile, with a light rim so it shows on light and dark task bars, and the .ico has 20 and 40 pixel sizes for 125 % scaling.
Fixed
- Removing a great many files from the repository at once no longer fails on a command line too long for the system.
- Putting changes into their commits no longer leaves the fixup commits on the branch when git refuses to start the rebase (a pre-rebase hook, an autostash that fails); they are taken back, and if that fails too, it says so. Taking them back no longer fails on a command line too long for the system when many files were picked.
- Deleting the branches whose branch on the remote was deleted no longer lists a branch that follows a local branch, and finds a branch that has the name of a tag.
- A gh path set in the settings that no longer exists counts as no gh, rather than failing each time gh runs.
make ide(andmake.ps1 ide) installs ATSynEdit and ATFlatControls in the IDE before rebuilding it, so a fresh Lazarus can open the forms in the designer.
Downloads
- Gittan-macos-silicon.dmg — macOS on Apple Silicon. The app is signed ad hoc, so macOS blocks it at first: drag it to Applications, then run
xattr -cr /Applications/Gittan.appin Terminal. - Gittan-macos-intel.dmg — macOS on Intel Macs, installed the same way. On Apple Silicon take the one above.
- Gittan-windows-x64-setup.exe — Windows x64 installer, for the current user without an administrator or for everyone; adds Open in Gittan to folders' context menu and the gittan command to the PATH. It is not signed, so SmartScreen warns: More info, then Run anyway.
- Gittan-windows-x64.zip — Windows x64 without installing. Unzip anywhere and run Gittan.exe.
- Gittan-linux-amd64.deb — Debian and Ubuntu:
sudo apt install ./Gittan-linux-amd64.deb. - Gittan-linux-x86_64.rpm — Fedora and other RPM distributions:
sudo dnf install ./Gittan-linux-x86_64.rpm(zypper installon openSUSE). - Gittan-linux-amd64.tar.gz — Linux amd64 without installing, needs GTK 3. Unpacked, it has no launcher or icon in the desktop's menu.
- Gittan-linux-arm64.deb, Gittan-linux-aarch64.rpm and Gittan-linux-arm64.tar.gz — the same for arm64 Linux, such as Raspberry Pi OS (64-bit):
sudo apt install ./Gittan-linux-arm64.deb. - Gittan-haiku-x86_64.tar.gz — Haiku (64-bit) without installing, needs Qt 6 from HaikuPorts (
pkgman install libqt6pas). Unpack anywhere and run Gittan. - Gittan-windows-arm64.zip — Windows 11 on Arm, native, without installing; built with a development version of Free Pascal (3.3.1). Unpack anywhere and run Gittan.exe.
Gittan runs the git command line tool, so git must be on your PATH.