Skip to content

Releases: Theyashsawarkar/sangam

sangam v2.0.2

Choose a tag to compare

@Theyashsawarkar Theyashsawarkar released this 21 Oct 17:02
  • Follows your theme: with varna
    installed, sangam takes the current theme's colours (fzf's list and
    borders, the PR state badges, review states, section tabs, the commit line
    and the key sheet) instead of its fixed palette; without it, nothing
    changes. All colours now come from one place at the top of the script.

sangam v2.0.1

Choose a tag to compare

@Theyashsawarkar Theyashsawarkar released this 21 Oct 08:26
  • A website (GitHub Pages, https://theyashsawarkar.github.io/sangam/): the README as a home page, the
    changelog, and architecture decision records (docs/adr/), built from these files by
    scripts/build-site.py; CI checks the site is up to date.

sangam v2.0.0

Choose a tag to compare

@Theyashsawarkar Theyashsawarkar released this 19 Oct 12:48

tmux-gh-pr is now sangam: a command-line tool first, a tmux popup
second.

  • sangam runs in any terminal, inside tmux or not, like lazygit. Its
    layout runs on a private tmux server (own socket, -f /dev/null, so
    none of your tmux config applies) that goes away when you quit.
  • New commands: sangam doctor (checks every dependency and its minimum
    version, the GitHub sign-in and the optional tools), sangam -C <dir>,
    --help, --version. Starting without a required tool or a gh sign-in
    says what's missing instead of failing later.
  • Install it with a per-user installer (install.sh, curl | bash, no
    root), make install, or an Arch PKGBUILD (packaging/arch). The repo
    is still a TPM plugin: sangam.tmux binds the popup key.
  • Breaking: tmux options are @sangam-key, @sangam-width,
    @sangam-height, @sangam-title, @sangam-launcher (were @gh-pr-*).
    The TPM line is set -g @plugin 'Theyashsawarkar/sangam'.
  • Sections live in ~/.config/sangam/sections and the cache in
    ~/.cache/sangam; an existing ~/.config/gh-pr/sections is copied
    over on first run.
  • The popup's key closing it now works through the private server: it
    takes your tmux prefix and the configured key. The key sheet (?) shows
    the real combination (e.g. "or Ctrl+a G").
  • Fixed: on a cold cache the preview could show "mv: cannot stat ..."
    when it and the background prefetch fetched the same PR at once (they
    shared one temp file). Every fetch now writes its own temp file.
  • Notifications carry the sangam icon and app name; the editor falls back
    to vi (was nvim) when neither VISUAL nor EDITOR is set.
  • A logo (two streams meeting: a sangam, a merge), a full README with
    install steps, requirements, every feature, key and option, and
    troubleshooting, and CI (ShellCheck, syntax, CLI, make install).

Install:

curl -fsSL https://raw.githubusercontent.com/Theyashsawarkar/sangam/main/install.sh | bash

Other ways (Arch PKGBUILD, make install, tmux plugin): see the README.