Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What the plugin does
Git Panel puts a source-control panel beside the thread. It pins one workspace and
repository, then shows the working tree as a flat list or a folder tree with stage,
unstage, discard, and a commit box; a diff viewer (unified or split, whitespace
folding, whole file); a lane graph over every local branch, remote-tracking branch
and tag; a linear history of the checked-out branch; a per-file history; and stash
push/apply/pop/drop. Clicking a file or a commit file opens its diff as a tab in
BB's own side panel, with the panel's own drawer as the fallback.
New plugin id, no existing entry, no v1 document change.
Release source
{ "git": { "url": "https://github.com/mifhud/bb-plugin-git.git", "range": "^0.1.0" } }v0.1.0on commita6352e9(packagebb-plugin-git@0.1.0, the first release).scripts/derive-plugin-id.mjs:git.Plugin checks that passed
npm run typecheck(tsc --noEmit) — clean.npm test(node --test src/*.test.ts lib/*.test.ts) — 82 tests, 12 suites, 0 failures.bb plugin build— builtdist/server.js,dist/app.js,dist/app.csson bb 0.50.1.Marketplace checks that passed
npm run build— 680 entries, no errors.npm test— pass.npm run gate:v1— "The v1 entry gate passed. 1 new entries do not need an exception."Permissions, external services, security
giton BB's primary host.runGit([...])on an argv array — never a shell string — throughnode:child_processin the plugin server.rootIdplus repo-relative data, and the server re-resolves the root and confines the repo selector to the pinned root on BB's primary host. Branch names, hashes, and paths are validated (charset, no leading-, hex, containment under the repo) before use.Screenshots
All four are captured from the running plugin in BB 0.50.1 against a real repository
(the public
get-bb/marketplaceclone), with a wide panel and no private data.changes.png— Changes tab: commit box, Staged Changes / Changes sections, and three untracked files of the very entry this PR adds.diff.png— the diff view for one of those files: unified lines with line numbers,+n −ncounts, and the Unified / Split / WS / Full toggles.graph.png— Graph tab: one commit expanded with its hash, author, refs, Undo Commit / Revert / Reset / Rebase actions and the file it touched, above the lane graph.file-history.png— File tab: every commit that touchedscripts/build.mjs, newest first.Overview text
Copied from the plugin repository's
PLUGIN_OVERVIEW.md, with one sentence addedfor the Stash tab (the file said "five tabs" and described four); the same sentence
was added to the plugin repository in the
v0.1.0release commit, so the two filesstay identical.