git-span 1.0.131 → 1.0.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/man/git-span.1 +3 -9
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,7 +6,9 @@ The primary CLI surface lives in `src/cli/mod.rs`. Run `git span --help` or `git
|
|
|
6
6
|
|
|
7
7
|
### Upgrading from the sqlite cache
|
|
8
8
|
|
|
9
|
-
The trail cache now lives at `<common_dir>/span/cache/v1/` as a BLAKE3-keyed content-addressed filesystem store. The previous sqlite-backed cache at `<common_dir>/span/cache/span_cache.sqlite` (or `<git_dir>/span/cache/span_cache.sqlite` on older per-worktree installations), along with its `-shm` and `-wal` companions, is unused and can be removed with a single `rm -f <common_dir>/span/cache/span_cache.sqlite*` (and the `<git_dir>` variant if present). Nothing reads those files anymore
|
|
9
|
+
The trail cache now lives at `<common_dir>/span/cache/v1/` as a BLAKE3-keyed content-addressed filesystem store. The previous sqlite-backed cache at `<common_dir>/span/cache/span_cache.sqlite` (or `<git_dir>/span/cache/span_cache.sqlite` on older per-worktree installations), along with its `-shm` and `-wal` companions, is unused and can be removed with a single `rm -f <common_dir>/span/cache/span_cache.sqlite*` (and the `<git_dir>` variant if present). Nothing reads those files anymore.
|
|
10
|
+
|
|
11
|
+
Separately, and unrelated to the sqlite cache above, `git span stale` (and related resolution paths) are backed by a second, currently-active cache: a SQLite database at `<common_dir>/span/stale-cache.db` (see `src/resolver/cache_v2/schema.rs`). Cleanup of the on-disk footprint needs to account for both stores — the `cache/v1/` filesystem store and `stale-cache.db` (plus its `-shm`/`-wal` companions) — not just one.
|
|
10
12
|
|
|
11
13
|
## Profiling
|
|
12
14
|
|
package/man/git-span.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH git-span 1 "git-span 1.0.
|
|
3
|
+
.TH git-span 1 "git-span 1.0.134"
|
|
4
4
|
.ie \n(.g .ds Aq \(aq
|
|
5
5
|
.el .ds Aq '
|
|
6
6
|
.SH NAME
|
|
@@ -8,7 +8,7 @@ git\-span \- Track implicit semantic dependencies in a git repo.
|
|
|
8
8
|
.ie \n(.g .ds Aq \(aq
|
|
9
9
|
.el .ds Aq '
|
|
10
10
|
.SH SYNOPSIS
|
|
11
|
-
\fBgit\-span\fR [\fB\-\-perf\fR] [\fB
|
|
11
|
+
\fBgit\-span\fR [\fB\-\-perf\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR]
|
|
12
12
|
.SH DESCRIPTION
|
|
13
13
|
.B git span
|
|
14
14
|
tracks implicit semantic dependencies in a Git repository: couplings between
|
|
@@ -76,9 +76,6 @@ Emit performance timings for major git\-span operation groups to stderr.
|
|
|
76
76
|
|
|
77
77
|
Can also be enabled with `GIT_SPAN_PERF=1`.
|
|
78
78
|
.TP
|
|
79
|
-
\fB\-\-span\-dir\fR \fI<SPAN_DIR>\fR
|
|
80
|
-
Span root directory (default: .span). Overrides GIT_SPAN_DIR and git config git\-span.dir
|
|
81
|
-
.TP
|
|
82
79
|
\fB\-h\fR, \fB\-\-help\fR
|
|
83
80
|
Print help (see a summary with \*(Aq\-h\*(Aq)
|
|
84
81
|
.TP
|
|
@@ -109,9 +106,6 @@ Read or stage the span\*(Aqs why — a one\-sentence definition of the subsystem
|
|
|
109
106
|
git\-span\-delete(1)
|
|
110
107
|
Delete a span
|
|
111
108
|
.TP
|
|
112
|
-
git\-span\-move(1)
|
|
113
|
-
Rename a span
|
|
114
|
-
.TP
|
|
115
109
|
git\-span\-doctor(1)
|
|
116
110
|
Audit the local span setup
|
|
117
111
|
.TP
|
|
@@ -129,7 +123,7 @@ Print this message or the help of the given subcommand(s)
|
|
|
129
123
|
.ie \n(.g .ds Aq \(aq
|
|
130
124
|
.el .ds Aq '
|
|
131
125
|
.SH VERSION
|
|
132
|
-
v1.0.
|
|
126
|
+
v1.0.134
|
|
133
127
|
.SH EXAMPLES
|
|
134
128
|
Anchor a new span alongside a code change:
|
|
135
129
|
.PP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-span",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.134",
|
|
4
4
|
"bin": "bin/git-span.exe",
|
|
5
5
|
"man": [
|
|
6
6
|
"man/git-span.1"
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"scripts/postinstall.js"
|
|
25
25
|
],
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"git-span-darwin-arm64": "1.0.
|
|
28
|
-
"git-span-darwin-x64": "1.0.
|
|
29
|
-
"git-span-linux-arm64": "1.0.
|
|
30
|
-
"git-span-linux-x64": "1.0.
|
|
31
|
-
"git-span-win32-x64": "1.0.
|
|
27
|
+
"git-span-darwin-arm64": "1.0.134",
|
|
28
|
+
"git-span-darwin-x64": "1.0.134",
|
|
29
|
+
"git-span-linux-arm64": "1.0.134",
|
|
30
|
+
"git-span-linux-x64": "1.0.134",
|
|
31
|
+
"git-span-win32-x64": "1.0.134"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
35
|
"url": "git+https://github.com/goodfoot-io/git-span.git"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|