git-pkgs 0.2.0 → 0.4.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 +26 -0
- data/CONTRIBUTING.md +27 -0
- data/LICENSE +189 -189
- data/README.md +101 -2
- data/SECURITY.md +7 -0
- data/lib/git/pkgs/analyzer.rb +1 -1
- data/lib/git/pkgs/cli.rb +12 -4
- data/lib/git/pkgs/color.rb +83 -0
- data/lib/git/pkgs/commands/blame.rb +24 -21
- data/lib/git/pkgs/commands/branch.rb +11 -35
- data/lib/git/pkgs/commands/diff.rb +27 -35
- data/lib/git/pkgs/commands/diff_driver.rb +169 -0
- data/lib/git/pkgs/commands/history.rb +14 -16
- data/lib/git/pkgs/commands/hooks.rb +2 -0
- data/lib/git/pkgs/commands/info.rb +8 -6
- data/lib/git/pkgs/commands/init.rb +13 -12
- data/lib/git/pkgs/commands/list.rb +21 -18
- data/lib/git/pkgs/commands/log.rb +157 -0
- data/lib/git/pkgs/commands/schema.rb +161 -0
- data/lib/git/pkgs/commands/search.rb +10 -11
- data/lib/git/pkgs/commands/show.rb +17 -23
- data/lib/git/pkgs/commands/{outdated.rb → stale.rb} +16 -13
- data/lib/git/pkgs/commands/stats.rb +59 -17
- data/lib/git/pkgs/commands/tree.rb +13 -10
- data/lib/git/pkgs/commands/update.rb +55 -58
- data/lib/git/pkgs/commands/upgrade.rb +54 -0
- data/lib/git/pkgs/commands/where.rb +166 -0
- data/lib/git/pkgs/commands/why.rb +5 -10
- data/lib/git/pkgs/database.rb +55 -1
- data/lib/git/pkgs/output.rb +44 -0
- data/lib/git/pkgs/pager.rb +68 -0
- data/lib/git/pkgs/repository.rb +3 -3
- data/lib/git/pkgs/version.rb +1 -1
- data/lib/git/pkgs.rb +8 -1
- metadata +13 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 794ba02ad93776f2d013177ae9b6cc8574788b84d9a51ea05e4e1db6a18399c5
|
|
4
|
+
data.tar.gz: 8a1d4e1fc30f73add57a69a9f4f29fa3ae3883fe73350b8d6121217dd24a6592
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5204cc1a63d3838322e465d70ac1a16e8cf215e193e15baf8425c1f88ec40affd9ceb0647a821cfa9a2384dc684a3c912baf32ac960352a8591c6105777a210
|
|
7
|
+
data.tar.gz: b6b6b47009f511022f1e824671a3ff47a654a8d4bb128ec933371c13e65106952b8c5322db2914c5b3d4d924206f09d0f6264e6457fccfc64b2518e1f86cfdcb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.4.0] - 2026-01-04
|
|
4
|
+
|
|
5
|
+
- `git pkgs where` command to find where a package is declared in manifest files
|
|
6
|
+
- `git pkgs diff-driver` command for semantic lockfile diffs in `git diff`
|
|
7
|
+
- Ruby 4.0 support
|
|
8
|
+
- Fix branch name retrieval and final snapshot storage in `git pkgs init`
|
|
9
|
+
- Fix `git pkgs info` snapshot coverage output when zero snapshots
|
|
10
|
+
- Fix manifest file pattern matching for wildcard characters
|
|
11
|
+
- Fix co-author name parsing in `git pkgs blame`
|
|
12
|
+
|
|
13
|
+
## [0.3.0] - 2026-01-03
|
|
14
|
+
|
|
15
|
+
- Pager support for long output (respects `GIT_PAGER`, `core.pager`, `PAGER`)
|
|
16
|
+
- `--no-pager` option for commands with long output
|
|
17
|
+
- Colored output (respects `NO_COLOR`, `color.ui`, `color.pkgs`)
|
|
18
|
+
- `GIT_DIR` and `GIT_PKGS_DB` environment variable support
|
|
19
|
+
- `git pkgs stats` now supports `--since` and `--until` date filters
|
|
20
|
+
- Consistent error handling across all commands (JSON errors when `--format=json`)
|
|
21
|
+
- `git pkgs update` now uses a transaction for atomicity and better performance
|
|
22
|
+
- Renamed `git pkgs outdated` to `git pkgs stale` (outdated remains as alias)
|
|
23
|
+
- `git pkgs log` command to list commits with dependency changes
|
|
24
|
+
- `git pkgs schema` command to output database schema in text, SQL, JSON, or markdown
|
|
25
|
+
- `git pkgs praise` alias for `blame`
|
|
26
|
+
- `git pkgs upgrade` command to handle schema upgrades after updating git-pkgs
|
|
27
|
+
- Schema version tracking with automatic detection of outdated databases
|
|
28
|
+
|
|
3
29
|
## [0.2.0] - 2026-01-02
|
|
4
30
|
|
|
5
31
|
- `git pkgs show` command to display dependency changes in a single commit
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
git clone https://github.com/andrew/git-pkgs
|
|
7
|
+
cd git-pkgs
|
|
8
|
+
bin/setup
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Running tests
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
bundle exec rake test
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Pull requests
|
|
18
|
+
|
|
19
|
+
1. Fork the repo
|
|
20
|
+
2. Create a branch
|
|
21
|
+
3. Make your changes
|
|
22
|
+
4. Run tests
|
|
23
|
+
5. Open a PR
|
|
24
|
+
|
|
25
|
+
## Reporting bugs
|
|
26
|
+
|
|
27
|
+
Open an issue with steps to reproduce.
|