git-span 1.0.145 → 1.0.148
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 +1 -1
- package/man/git-span.1 +2 -2
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ The primary CLI surface lives in `src/cli/mod.rs`. Run `git span --help` or `git
|
|
|
8
8
|
|
|
9
9
|
`git span drift` (and related resolution paths) are backed by a single persistent cache: a SQLite database at `<common_dir>/span/store.db` (plus its `-wal` and `-shm` companions), implemented in `src/resolver/store/`. This is the whole on-disk cache footprint — remove `store.db*` to reset it. Setting `GIT_SPAN_CACHE=0` disables it for a run.
|
|
10
10
|
|
|
11
|
-
The store is bounded by a
|
|
11
|
+
The store is bounded by a count-based sweep: stale non-live generations are swept to a 16-generation reuse buffer, and maintenance runs after a publish and at drift open. It lives in the Git *common* directory, so it is shared across linked worktrees of one clone on one host; it is not shared cross-host or cross-clone. Earlier releases kept two separate caches (a `cache/v1/` filesystem trail store and a `stale-cache.db`); both were replaced by this one store and leave no files behind on a fresh clone.
|
|
12
12
|
|
|
13
13
|
### The shared executable-digest store
|
|
14
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.148"
|
|
4
4
|
.ie \n(.g .ds Aq \(aq
|
|
5
5
|
.el .ds Aq '
|
|
6
6
|
.SH NAME
|
|
@@ -136,7 +136,7 @@ Print this message or the help of the given subcommand(s)
|
|
|
136
136
|
.ie \n(.g .ds Aq \(aq
|
|
137
137
|
.el .ds Aq '
|
|
138
138
|
.SH VERSION
|
|
139
|
-
v1.0.
|
|
139
|
+
v1.0.148
|
|
140
140
|
.SH EXAMPLES
|
|
141
141
|
Anchor a new span alongside a code change:
|
|
142
142
|
.PP
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-span",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.148",
|
|
4
4
|
"bin": "bin/git-span.exe",
|
|
5
5
|
"man": [
|
|
6
6
|
"man/git-span.1"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
9
|
"postinstall": "node scripts/postinstall.js",
|
|
10
|
-
"build:man": "bash scripts/with-target-lock.sh shared env
|
|
11
|
-
"build": "yarn build:man
|
|
10
|
+
"build:man": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/build\" cargo run --quiet --locked --bin gen-manpage -- man/git-span.1",
|
|
11
|
+
"build": "yarn build:man",
|
|
12
12
|
"build:local": "bash scripts/build-local.sh",
|
|
13
13
|
"build:clean": "bash scripts/cleanup-stale-target.sh && bash scripts/clean-shared-build.sh && yarn build",
|
|
14
|
-
"test": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT
|
|
15
|
-
"lint": "bash scripts/with-target-lock.sh shared env
|
|
16
|
-
"typecheck": "bash scripts/with-target-lock.sh shared env
|
|
17
|
-
"bench:check": "bash scripts/with-target-lock.sh shared env
|
|
18
|
-
"bench": "bash scripts/with-target-lock.sh shared env
|
|
19
|
-
"udeps": "bash scripts/with-target-lock.sh shared env
|
|
14
|
+
"test": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/build\" cargo nextest run --locked",
|
|
15
|
+
"lint": "bash scripts/with-target-lock.sh shared env RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/check\" cargo clippy --quiet --locked -- -D warnings",
|
|
16
|
+
"typecheck": "bash scripts/with-target-lock.sh shared env RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/check\" cargo clippy --quiet --locked -- -D warnings",
|
|
17
|
+
"bench:check": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/build\" cargo bench --no-run --locked --features bench-corpus",
|
|
18
|
+
"bench": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/build\" cargo bench --locked",
|
|
19
|
+
"udeps": "bash scripts/with-target-lock.sh shared env CARGO_TARGET_DIR=\"${GIT_SPAN_CARGO_TARGET_ROOT:-/var/cache/git-span/cargo-target}/git-span/udeps\" cargo +nightly udeps"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"bin/git-span.exe",
|
|
@@ -24,11 +24,11 @@
|
|
|
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.148",
|
|
28
|
+
"git-span-darwin-x64": "1.0.148",
|
|
29
|
+
"git-span-linux-arm64": "1.0.148",
|
|
30
|
+
"git-span-linux-x64": "1.0.148",
|
|
31
|
+
"git-span-win32-x64": "1.0.148"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|