Commits

100 commits · main · older page 6
MRMax Rakhimov · 2026-10-02 · 46a6c94be012
A commit that moved to a new home has a stale row and a live row. The mention and trailer notifications and the trailer references of an item read the live row only.
MRMax Rakhimov · 2026-10-02 · fbfea9556561
SyncWorkspaceOrigin runs the home sync with the workspace sync functions of its options, and those include the mention and trailer processors. With no function it leaves the gate open for the caller. Options.WorkspaceBranch had no reader and is removed.
MRMax Rakhimov · 2026-10-02 · 464e3cee95a1
The sync walks local branches and origin and gives each commit one home: the default branch, then the gitmsg branches, then the other branches, ancestor first. A row under a different branch is stale, so a rebuild and a long-lived cache have the same live rows, and a merge moves
MRMax Rakhimov · 2026-10-02 · 273e5797ac79
A ref in a body is a styled link. A commit ref opens the view of its item (pull request, issue, release, post, memo). Any other cached commit opens the post view, and a commit outside the cache opens the raw diff. A tag ref opens its release, else the diff of the tagged commit.
MRMax Rakhimov · 2026-10-02 · 64cc3579189d
Dimming carried four meanings, so a quoted or replied-to parent read as unpushed. The nested parent card now has normal-brightness text. Dimming means only state: stale, unpushed, read. No caller dims a nested card now, so the Dimmed field of NestedCard is removed.
MRMax Rakhimov · 2026-10-02 · fd276c5ed657
The dimmed gray was too dark to read comfortably. The secondary text tier moves one step: dark 242 to 245, light 244 to 242 (darker on light). The dimmed syntax style for stale and retracted code now takes the same tier as hex, in place of the flat #808080 and #9e9e9e constants,
MRMax Rakhimov · 2026-10-01 · a17008e61516
The site showed its loading state as text in several spellings: the boot placeholders said Loading…, buttons swapped their labels for Loading… or Diffing…, and the deep item search wrote a sentence. One ring now stands for loading everywhere: a .spinner class in pages-full.css,
MRMax Rakhimov · 2026-09-30 · 7664ff1a94c6
The PR page already renders its Changes section through enrichDetail, but the section vanished when the header carried no base-tip or head-tip, and when the section producer threw: the reader saw a blank where the diff belongs, against design rule 5. Every unresolvable range now
MRMax Rakhimov · 2026-09-30 · 54be7ca17716
A ::: block (note, tip, info, warning, danger, caution, with an optional custom title after the type) rendered as short paragraphs, so a Docusaurus page lost its callouts on the front page, the file pages and the app. Both markdown grammars now parse the block into one
MRMax Rakhimov · 2026-09-30 · 19fab013f89b
Fifty timeline rows cost about 45 packmap shard reads after paint, one object read per card body. hydrateItems now fills hollow commits from the bodies corpus first: the manifest, the newest shard and the head load once per extension, and an older shard loads only while a shown
MRMax Rakhimov · 2026-10-01 · 9ceed93961bc
The graph now keys tag decorations by the peeled commit, so the annotated fixture tag badges its row. verify_site_features.js still asserted the old absence and the battery went red on main; the assertion now pins the new behavior. The branch battery reported green with its
MRMax Rakhimov · 2026-09-30 · e186d2e46a67
The shell is a fixed-width column, so about three 15rem columns fit and the columns after them fell off with no cue. The board keeps its own horizontal scroll box, the shape the phone layout already uses, and gains edge fades that show only over a clipped edge; a page that
MRMax Rakhimov · 2026-09-30 · 6052009d170f
The graph keyed its tag decorations by the raw ref sha, so an annotated tag, whose ref names a tag object, never reached a commit row, and the branch log and the branch list carried no tags at all. A per-context map from peeled commit to tag names now feeds the graph decorations
MRMax Rakhimov · 2026-09-30 · 6f748f916788
A #commit ref in an issue body or a comment rendered as plain text on every surface, dead where the convention makes it the way to name things. The three renderers now link them from one grammar: the app and the pre-rendered pages wrap workspace-relative commit, branch, tag and
MRMax Rakhimov · 2026-09-30 · c75e983b4694
The push confirm gains a third choice: a re-targets to every configured remote through client.AllRemotes, the seam the CLI flag uses, and re-renders the confirm listing each remote before anything pushes; a second a there is absorbed, and a remoteless workspace gets the message
MRMax Rakhimov · 2026-09-30 · cbf046b81285
An edge that cached a root-level script under an old policy served it stale for hours after a deploy. The shell now uploads to .gitsocial/site/shell/<rev>/, the first 12 hex of the existing version hash, written before the no-cache root index.html flips its references, so a
MRMax Rakhimov · 2026-09-30 · ee5a6ec846ae
The walk windowed from MAX(timestamp) minus one minute, and creating an item inserts its commit into the cache directly at wall-clock now, so a merge followed within the minute by a comment on its issue left the merged commits outside every future window: present on main, absent
MRMax Rakhimov · 2026-09-28 · b52cdd047a69
Four of the eight lanes sat in one blue/violet band after the palette update, and in dark the two most-used adjacent lanes were nearly the same violet. The lane order now alternates warm and cool tokens so neighboring lanes never share a hue band, wrap included since lane
MRMax Rakhimov · 2026-09-28 · 541f6b7f2950
The one place the mono sweep did not reach: a code commit's detail page headed with the 36px serif subject while its rows, the graph and a release's commit rows are mono. The commit detail's subject takes a subject-commit class set in mono at the h4 step; item detail subjects
MRMax Rakhimov · 2026-09-28 · 616b6ce2fb43
gitsocial serve needs the disk-backed bucket handler in process, and locals3 held it as a main with package-level state. The handler moves to core/objstore/localbucket as Handler(root) with the root and the lock in the handler value, so the package holds no mutable state;
MRMax Rakhimov · 2026-09-28 · 179994fe5605
tuikeydoc never registered /diff or /errorlog, so TUI-KEYS.md showed only globals for the commit diff view and nothing for the error log; both now register, and the doc regenerates with their key tables. Nothing failed when a generated copy drifted from its source, and it went
MRMax Rakhimov · 2026-09-28 · 56fe0a2c0e01
The social importer commits posts and comments to the workspace's configured social branch but recorded a literal gitmsg/social in the mapping file, so on a repository with a non-default social branch a re-import resolved its references against a branch the items are not on.
MRMax Rakhimov · 2026-09-28 · 702d73267fc8
The two recount queries filtered edits and retracted items but not stale commits, so a comment whose commit left its branch kept counting: an item's comment count could exceed the comments its list shows, which excludes stale. Both queries now filter stale_since, like every
MRMax Rakhimov · 2026-09-28 · 96f0cf11916b
A dry run against a completely empty remote failed in the tags step: with no local tags and nothing pushed before it, git push --tags answers 'No refs in common and none specified' and exits non-zero. A real push never hit it, because the code branch lands first. Local tags are
MRMax Rakhimov · 2026-09-28 · f1a8c5696ac7
Validate accepted 0 for every int key while Set requires at least 1, so a zero written through the personal-config backend passed the check that guards it and failed only on the overlay. No registered int key accepts zero; the floor moves to 1 and the interval keeps its 60.
MRMax Rakhimov · 2026-09-28 · c9cebd3a8983
A push targets the resolved remotes or the named ones, so pushing everywhere (the bucket, the mirror, a backup) took naming each remote every time. --all-remotes pushes to every configured remote in alphabetical order, and each remote gets what a push already sends: the gitmsg
MRMax Rakhimov · 2026-09-28 · 0d2b3a4704be
A push from a checked-out feature branch pointed the bucket HEAD at that branch and computed the site stats from it, and the data push does not send a plain feature branch, so the published site's HEAD named a branch the bucket lacks.
MRMax Rakhimov · 2026-09-27 · 6a379c803f08
`pm issue list` and `pm status` read every repository in the cache, so a workspace that follows other repositories listed and counted their issues too. The CLI, the TUI issue form and RPC `pm.getIssues` now read the workspace and its registered forks, as the TUI issue view does,
MRMax Rakhimov · 2026-09-27 · 658d9dd72744
`pm issue show` and `pm issue comments` gave an empty repository to the lookup, so a ref without a URL found nothing. The pm and release lookups now fall back to a hash prefix, as memo and review do, and refuse an ambiguous one. The header fields that name an item (milestone,
MRMax Rakhimov · 2026-09-27 · 8ecd60bfddd0
`gitsocial config credentials set` refused to run outside a git repository, although the credentials file is in the user config directory. A remote name still needs a repository; an endpoint host or s3:// URL now works in any directory.
MRMax Rakhimov · 2026-09-27 · 853cfe119587
- git 2.38: git merge-tree --write-tree, for the review merge checks - git 2.31: GIT_CONFIG_COUNT, which gives gitsocial's own git calls the s3 helper alias - git 2.29: git runs the s3 helper as `git remote-s3`, which resolves alias.remote-s3; earlier versions look only for
MRMax Rakhimov · 2026-09-27 · 86348d7a9419
A short hash that matched two items resolved to the newest one without a warning, so a command could show or change the wrong item. The memo, pm and release lookups now read at most two distinct hashes, as review does, and fail with both when the prefix is ambiguous; the callers
MRMax Rakhimov · 2026-09-27 · c082a1967c26
MRMax Rakhimov · 2026-09-27 · 30ffc8e40570
A tag that the local clone lacks is carried from the prior tags.json with its old previous tag and count. A shallow push, or a carried tag that now sorts last, kept both for a pair that no longer held. Each entry now starts without them; a shallow push copies the count of an
MRMax Rakhimov · 2026-09-27 · 461b0b38fd5b
A tag off the default branch made the tag page walk each commit since the previous tag and each changed tree, one read after another. The push now writes the merge base, the commits and the changed files of each adjacent tag pair from the local git, as an immutable document that
MRMax Rakhimov · 2026-09-27 · 4aa811be32b0
A tree or blob has no pack map entry, so each lookup searched the pack indexes in list order, with slice reads even of a small index. A diff reads from the packs of both of its sides, and the one remembered pack sent every other lookup through the full list. An index up to 64
MRMax Rakhimov · 2026-09-27 · a7996cd863c0
Without a code index for both tips, the compare list and the merge base read the ancestors of one tip before the other tip. One walk ordered by committer time now gives both, so its reads follow the range, not the history. Review: a failed read now drops the cached walk, also
MRMax Rakhimov · 2026-09-26 · 739ddcdbbcf9
MRMax Rakhimov · 2026-09-26 · 79a672485154
The Tags page showed only names, and a tag page could take a long time: a hash suffix in a tag name (v<version>.<hash>) was read as a version number, so the previous tag could be on another branch, far away.
MRMax Rakhimov · 2026-09-26 · b29b680f0d72
MRMax Rakhimov · 2026-09-22 · 1470596134a1
Terms follow the specs, design reasons leave the prose, and long sentences are split or joined by idea. Facts checked in code: pm --sort updated, the two seal thresholds, RPC time formats, fork refs, and when branch notifications clear. Three broken anchors are fixed, worktrees
MRMax Rakhimov · 2026-09-26 · 37db63d8053c
The specs are now the dictionary for the docs, so they must not drift: retract replaces delete, attest replaces affirm, accepting edit replaces mirror, and "Config" headings become "Configuration". Header, original, owner, binding, registered fork, content branch and thread are
MRMax Rakhimov · 2026-09-26 · b77f5fc966b3
Docs read unevenly: one concept had several words and long sentences carried design reasons. STYLE.md now takes STE as the base, with terms from specs/, RFC 2119, git and established software use, a 25-word target, lowercase RFC words in docs, openers about the subject, and "is
MRMax Rakhimov · 2026-09-26 · aa967e8c5316
The page layer and the app took an adopted copy's author from its GitMsg-Ref but not its time, and the app's detail listed adopts as a raw field. The index entry now carries adoptedTime, both renderers use it after origin-time, and an edited copy keeps its original email.
MRMax Rakhimov · 2026-09-26 · bfb81ba85832
The hook left out refs/gitmsg/* but not the gitmsg/* branches, so issue titles from other authors failed the subject rule and blocked the push. A push of data alone now skips check.sh, which has no code to check.
MRMax Rakhimov · 2026-09-26 · f70f9bac249a
Only merge and close adopted a fork's pull request; now any change does, as do A, review pr adopt and review.adoptPR, and apply suggestion moves to s. Review: homeForkPR copies the full state, and one missing rule caused three findings, so writers check the copy, the copy counts
MRMax Rakhimov · 2026-09-26 · a014426f977e
A change to a fork's issue wrote a cross-repo edit the upstream never applied; it now copies the issue with adopts and its author's GitMsg-Ref, as do A, pm issue adopt and pm.adoptIssue, and every client shows the original author. Review: a redirect in GetPMItemByRef, three
MRMax Rakhimov · 2026-09-26 · 5cce66f19734
GITMSG 1.2 now orders accepts and adopts before retracted, so the header writer places adopts itself and the review extension no longer lists it among its own fields.
MRMax Rakhimov · 2026-09-26 · 93d1c4d0dc5a
A repository could change a fork's issue only by a cross-repo edit, which the spec makes a proposal, so the upstream never took it over. GITMSG 1.5 now lets it adopt the item as its own copy, and orders accepts and adopts among the core fields; the extension specs stop restating
MRMax Rakhimov · 2026-09-26 · 4a8ab68ae0e5
The sidebar count left out a sprint in state open, which the Sprints list opens on, and counted a pull request or release with no type, which its list filters out. Page version 33 restamps the pages-core rules the counts commit changed without a bump.
MRMax Rakhimov · 2026-09-25 · 6f86eb6aa604
The page layer writes per-list open counts into pages.json on a complete pass, merging duplicate milestones and sprints as the app does, and the app shows them with the commits total and the ref counts. Lists open on Open, so the number matches the first view; a generated page's
MRMax Rakhimov · 2026-09-25 · c148b700cf32
The glyph stood at the 21px body size beside a 15px subject, and a symbol sits at a height set by its own size, so it read high, the small commit circle most of all. At the subject's size both share a baseline, and a rem width keeps the glyph column the meta row indents to.
MRMax Rakhimov · 2026-09-23 · dbabdbc5366a
MRMax Rakhimov · 2026-09-23 · 65778327c264
MRMax Rakhimov · 2026-09-23 · 2e82ca27d099
MRMax Rakhimov · 2026-09-22 · 416e2b343f49
MRMax Rakhimov · 2026-09-22 · 50bb9c1f6eae
refs/gitmsg/* carry data commits whose message is the config JSON, and the subject rule failed every push of a site config change.
MRMax Rakhimov · 2026-09-22 · 74a58db08643
MRMax Rakhimov · 2026-09-22 · 7d885e4b3174
MRMax Rakhimov · 2026-09-22 · b4dba1991a2d
MRMax Rakhimov · 2026-09-22 · 1bea4df7d39a
MRMax Rakhimov · 2026-09-22 · d7319bccd33f
MRMax Rakhimov · 2026-09-21 · c614927d6928
MRMax Rakhimov · 2026-09-21 · b621b3847950
MRMax Rakhimov · 2026-09-21 · 447b5af263cf
MRMax Rakhimov · 2026-09-21 · aa0058572b23
The package shares one cache, and two tests that import the same pull request in the same second write one commit hash under two repository URLs. A bare-hash GetPR then read either row, so the closed-state test saw the other test's open item about one run in six. The lookups now
MRMax Rakhimov · 2026-09-21 · cd4a011b063e
Six places read in the body serif where the rule calls them chrome: a detail page's trailer values (a pull request's base, its tips, the reviewers), the back and action links, the search facet label and the branches and tags counts, a branch, tag or list name as a page title,
MRMax Rakhimov · 2026-09-21 · eaff80bc7789
A push of a repository holding pkg/afl++/ failed with SignatureDoesNotMatch: objectURL cleared RawPath, so Go serialized the URL from the decoded path and left the + literal, while the signer encoded it as %2B per RFC 3986. The provider read the literal + as a space, signed %20,
MRMax Rakhimov · 2026-09-20 · 88f0543b6343
parseRoute stopped accepting the detail forms shared before 2026-09-12, #/issue/<hash>, #/pr/<hash>, #/release/<hash> and #/commit/<hash>, and the app stopped rewriting a route's canonical fragment into the URL, since only those forms carried one. They now parse as notfound.
MRMax Rakhimov · 2026-09-20 · 8ee314dd6e54
MRMax Rakhimov · 2026-09-21 · 35d0c67de1a4
The serif body drops from 24px to 21px at a 1.2 leading, an h1 sets at line-height 1, and a markdown heading takes air by level: h2 0.6rem of padding above it, h3 0.4rem, h4 0.2rem.
MRMax Rakhimov · 2026-09-20 · de347df2dd6e
CreateCommitOnBranch passed the empty tree to commit-tree even when the branch had a tip. On gitmsg/* the parent's tree is already empty, so the new commit matched its parent and nobody saw it.
MRMax Rakhimov · 2026-09-20 · a248d9675649
The spec stopped defining a branch key and a resolution algorithm, and three places in the client still depended on them.
MRMax Rakhimov · 2026-09-20 · 16c80f4db527
GITMSG.md 1.5 now requires an edit to sit on the branch of the message it edits, and GITMSG.md 3.4 lets social messages live on any branch. The old guard refused every target off a gitmsg/ branch, so a blog run from main could post but never edit or retract.
MRMax Rakhimov · 2026-09-20 · b5a2c4aa4221
schemaVersion goes to 5, so Open deletes and recreates every cache written before this branch and no migration can reach one. That makes all nine registrations unreachable, and each already had its result in a schema constant: the five resolved_* columns are in core_commits,
MRMax Rakhimov · 2026-09-20 · 353e21ecde69
Each of these read a format no current binary writes, and the author's workspace, personal repository, cache and published bucket hold none of them, checked on 2026-09-20.
MRMax Rakhimov · 2026-09-20 · 4f31e8b6cb70
The timeline window awaited hydrateItems before it returned, so the first paint waited on one bucket read per item: 50 rows cost about 45 packmap shard reads and a pack range ahead of the first card. The window now returns on the merged metadata, which already carries every
MRMax Rakhimov · 2026-09-20 · 501cf61107f5
An item page whose commit is outside the index eager set resolves by deepening the ext walk, and itemDetail repaints "Searching history…" from findItemDeep's progress callback while that runs. The callback wrote through the module setView instead of the route's
MRMax Rakhimov · 2026-09-20 · 8bf76dd69de6
Reported against a Docusaurus documentation site, where a page rendered as debris. Two causes, both in the shared strip, and both hit .md too.
MRMax Rakhimov · 2026-09-20 · 0b00c5c76f1c
Three things the author found off in manual testing are visual, so each rule went into STATIC-SITE-DESIGN.md before either renderer changed.
MRMax Rakhimov · 2026-09-20 · 9acc355f6b77
The section list consumed esc to unfocus a link, clear a navigation highlight or leave search, but returned no command, and app.go reads a nil command as "the view did not handle the key", so the global esc binding navigated back in the same keystroke. Returning ConsumedCmd
MRMax Rakhimov · 2026-09-20 · 60ab66ddc05c
A create or edit handler that claimed a failed save stopped the message before the form view, so the form never cleared its submitting flag and the user could not resubmit: the only way out was esc and a retyped form. Twelve handlers across pm, memo, release, review and social
MRMax Rakhimov · 2026-09-20 · 41c306e6c839
Twenty message handlers dropped the error their command carried. A failed timeline, notifications, memo, release, pull request, repository, list, explore, history or search load left the panel empty with nothing said; a failed memo retract or list delete looked like nothing
MRMax Rakhimov · 2026-09-20 · 931d573b1a4a
GetExtBranch honored a configured branch for every extension, while the same three names were literal defaults in a dozen more places, so a custom branch for pm, review or release only half worked. It now honors the config for social alone, where a code branch is the real use,
MRMax Rakhimov · 2026-09-20 · b0e804064730
MRMax Rakhimov · 2026-09-20 · f8c79bb04776
A same-repo pull request took base-tip and head-tip from local refs, so a clone whose base branch is behind the forge stamped a stale base and the diff carried every upstream commit since: 560 files for a change of a few. The forge already answers this for both sides: GitHub's
MRMax Rakhimov · 2026-09-20 · 95abb804ddfe
The view rendered its rows from a hand-kept category list while the cursor indexed settings.ListAll, so the two orders diverged at the first key the list left out: with the cursor on the output.color row, enter wrote s3.concurrency, and every row below it wrote its neighbour.
MRMax Rakhimov · 2026-09-20 · 83e81385ef21
In a diff view tab toggled the panes instead of moving between files. Two causes. The view runs first and did handle the key, but returned no command, and its label-only binding let the global focus toggle run as well; the binding now claims tab, and shift+tab for the previous
MRMax Rakhimov · 2026-09-20 · 498217adad77
Every *CreatedMsg had a bus handler except the milestone and sprint ones, so a successful create reached nobody: the form stayed in its submitting state and the new item never opened. Both now report the create, forward to the list when it is the active view, and otherwise
MRMax Rakhimov · 2026-09-20 · 9c5b3fb9608e
The Registry carried a Desc sentence per key that nothing read. A key's one-line description is what a settings listing should print, so ListAll now fills it into KeyValue and all three clients render it: the CLI text listing indents it under the key, --json and RPC carry a
MRMax Rakhimov · 2026-09-19 · f8978c9da1d2
The follow-up to the wrapper fold. Three review count helpers that ran the full notification query and returned its length are inlined at their one caller, and git.PushRemotes goes with the mirror command calling the resolver itself. Five functions no production path reached
MRMax Rakhimov · 2026-09-19 · 2b77faf225ac
A manual audit found that each consolidation left the old name behind as a one-line wrapper, so N functions became N+1. Twenty-two of them go: seven second names for the same call (the surviving name is the exported one where a caller sits outside the package), thirteen
MRMax Rakhimov · 2026-09-19 · 8d200bd4dafa
STYLE.md asks for one line above every function saying what it does. The func-comment rule counted 445 without one, most in the CLI, the RPC handlers and the TUI packages; each now carries a line written after reading the function, not from its name. The func-comment baseline
MRMax Rakhimov · 2026-09-19 · 4bf2ebabdcf4
The five extension TUI packages exported their views, forms, message types, card adapters and constructors although only their own Register and message handler used them. Each name was checked by reach: what host.go and the tuicore interfaces name stays exported, everything else
MRMax Rakhimov · 2026-09-19 · 903fb5d98221
STYLE.md asks for one line above every function; the func-comment rule lists each non-test function under library and cli without one and the baseline ratchets the count down. comment-heavy, which counts a commit's net new comment lines against its code lines, now skips a
MRMax Rakhimov · 2026-09-19 · 68de4f8e1c2c
The site step sends no refs, so naming it Push contradicted the split the CLI help and STATIC-SITE.md draw: a push sends refs, the site is rebuilt. site.Push is now site.Rebuild, client.Publish and PublishAll are Push and PushAll, and the site-step helpers read rebuildSite and
MRMax Rakhimov · 2026-09-19 · 4b6a6f914669
original_message sat beside the origin fields in one struct, where original means the post a comment or repost points at. The pre-edit message is now raw_message in the five resolved views and RawMessage in ResolvedMeta, so resolved and raw name the pair. The views drop and
MRMax Rakhimov · 2026-09-19 · b114c5b9d3a8
The follow-up's mutation sample caught 36 of 50 mutants; every survivor that could change behaviour named a missing assertion. Eleven tests across review, pm, gitmsg, cache, protocol and proposals kill them: the push set with an open head, live observation, a range-diff over a
MRMax Rakhimov · 2026-09-19 · 44a613a196b4
cache.EscapeLike already existed with three callers, so the two private copies go; cache.FromNullString replaces three copies beside ToNullString; text.Fit, an ellipsis inside the budget, takes three byte-cutting truncate copies and text.Truncate the fourth, rune-safe
MRMax Rakhimov · 2026-09-19 · 7845de6edbd1
Three migrations targeted schema shapes no shipped binary wrote, under the schemaVersion 4 reseed floor of 2026-04-26; depends_on and the observations table now come from the schema itself, and the tags-branch repair runs once per cache behind a marker instead of on every open.