git-pkgs 0.3.0 → 0.5.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/LICENSE +189 -189
- data/README.md +89 -39
- data/lib/git/pkgs/analyzer.rb +36 -13
- data/lib/git/pkgs/cli.rb +86 -29
- data/lib/git/pkgs/color.rb +1 -0
- data/lib/git/pkgs/commands/blame.rb +26 -8
- data/lib/git/pkgs/commands/branch.rb +27 -15
- data/lib/git/pkgs/commands/completions.rb +234 -0
- data/lib/git/pkgs/commands/diff.rb +34 -31
- data/lib/git/pkgs/commands/diff_driver.rb +171 -0
- data/lib/git/pkgs/commands/history.rb +0 -7
- data/lib/git/pkgs/commands/hooks.rb +8 -8
- data/lib/git/pkgs/commands/info.rb +70 -2
- data/lib/git/pkgs/commands/init.rb +40 -24
- data/lib/git/pkgs/commands/list.rb +2 -2
- data/lib/git/pkgs/commands/log.rb +5 -12
- data/lib/git/pkgs/commands/show.rb +3 -23
- data/lib/git/pkgs/commands/stale.rb +26 -7
- data/lib/git/pkgs/commands/stats.rb +9 -12
- data/lib/git/pkgs/commands/tree.rb +1 -1
- data/lib/git/pkgs/commands/update.rb +9 -7
- data/lib/git/pkgs/commands/upgrade.rb +4 -4
- data/lib/git/pkgs/commands/where.rb +166 -0
- data/lib/git/pkgs/config.rb +73 -0
- data/lib/git/pkgs/database.rb +7 -7
- data/lib/git/pkgs/models/commit.rb +19 -0
- data/lib/git/pkgs/output.rb +13 -0
- data/lib/git/pkgs/repository.rb +35 -1
- data/lib/git/pkgs/version.rb +1 -1
- data/lib/git/pkgs.rb +36 -0
- metadata +6 -8
- data/CODE_OF_CONDUCT.md +0 -10
- data/Rakefile +0 -8
- data/benchmark_bulk.rb +0 -167
- data/benchmark_db.rb +0 -138
- data/benchmark_detailed.rb +0 -151
- data/benchmark_full.rb +0 -131
- data/docs/schema.md +0 -129
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ff583fee83b937717da50de39743a8cfa5a75ce987df064edeaf89ea713f90f
|
|
4
|
+
data.tar.gz: eea893e5bacae2af0f2fdf8a8c1736f1d080a4b4bb111a2b94891f481f65c805
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95795186a511d176679a98a4f6e8e246bb1548456f041c3e5379d9705d3382deac69df2d81f0d187c294ba9af164f8c8372724b1f228326784a32a2952c98b98
|
|
7
|
+
data.tar.gz: 8fffd3620a9bfe95b4aa46e51c80dad6db2984829f653f6f28eccfc7d5a7c19aa480a20f7c7be30a929d1fe23cdfe6e368a2a529c9b2204319102ff9d1bbd9cd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## [Unreleased]
|
|
2
|
+
|
|
3
|
+
## [0.5.0] - 2026-01-04
|
|
4
|
+
|
|
5
|
+
- `git pkgs init` now installs git hooks by default (use `--no-hooks` to skip)
|
|
6
|
+
- Parallel prefetching of git diffs for ~2x speedup on large repositories (1500+ commits)
|
|
7
|
+
- Performance tuning via environment variables: `GIT_PKGS_BATCH_SIZE`, `GIT_PKGS_SNAPSHOT_INTERVAL`, `GIT_PKGS_THREADS`
|
|
8
|
+
- `git pkgs completions` command for bash/zsh tab completion
|
|
9
|
+
- Fix N+1 queries in `blame`, `stale`, `stats`, and `log` commands
|
|
10
|
+
- Configuration via git config: `pkgs.ecosystems`, `pkgs.ignoredDirs`, `pkgs.ignoredFiles`
|
|
11
|
+
- `git pkgs info --ecosystems` to show available ecosystems and their status
|
|
12
|
+
- `-q, --quiet` flag to suppress informational messages
|
|
13
|
+
- `git pkgs diff` now supports `commit..commit` range syntax
|
|
14
|
+
- `--git-dir` and `--work-tree` global options (also respects `GIT_WORK_TREE` env var)
|
|
15
|
+
- Grouped commands by category in help output
|
|
16
|
+
- Fix crash when parsing manifests that return no dependencies
|
|
17
|
+
|
|
18
|
+
## [0.4.0] - 2026-01-04
|
|
19
|
+
|
|
20
|
+
- `git pkgs where` command to find where a package is declared in manifest files
|
|
21
|
+
- `git pkgs diff-driver` command for semantic lockfile diffs in `git diff`
|
|
22
|
+
- Ruby 4.0 support
|
|
23
|
+
- Fix branch name retrieval and final snapshot storage in `git pkgs init`
|
|
24
|
+
- Fix `git pkgs info` snapshot coverage output when zero snapshots
|
|
25
|
+
- Fix manifest file pattern matching for wildcard characters
|
|
26
|
+
- Fix co-author name parsing in `git pkgs blame`
|
|
27
|
+
|
|
1
28
|
## [0.3.0] - 2026-01-03
|
|
2
29
|
|
|
3
30
|
- Pager support for long output (respects `GIT_PAGER`, `core.pager`, `PAGER`)
|