mirror of
https://github.com/awfixers-stuff/src.git
synced 2026-03-31 14:15:59 +00:00
create src
This commit is contained in:
273
src-shallow/CHANGELOG.md
Normal file
273
src-shallow/CHANGELOG.md
Normal file
@@ -0,0 +1,273 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 0.8.1 (2026-02-10)
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 3 commits contributed to the release over the course of 18 calendar days.
|
||||
- 18 days passed between releases.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Merge pull request #2407 from GitoxideLabs/dependabot/cargo/cargo-fb4135702f ([`8bceefb`](https://github.com/GitoxideLabs/gitoxide/commit/8bceefbfc5f897517bfdd24744695a82cfa0d5be))
|
||||
- Bump the cargo group with 59 updates ([`7ce3c55`](https://github.com/GitoxideLabs/gitoxide/commit/7ce3c5587aec1ca813039c047783b9cb2a106826))
|
||||
- Merge pull request #2393 from GitoxideLabs/report ([`f7d0975`](https://github.com/GitoxideLabs/gitoxide/commit/f7d09758d245aaa89409e39bb6ba1ed6b7118ea5))
|
||||
</details>
|
||||
|
||||
## 0.8.0 (2026-01-22)
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 7 commits contributed to the release over the course of 30 calendar days.
|
||||
- 30 days passed between releases.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 1 unique issue was worked on: [#2363](https://github.com/GitoxideLabs/gitoxide/issues/2363)
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **[#2363](https://github.com/GitoxideLabs/gitoxide/issues/2363)**
|
||||
- Regenerate all changelogs with a more recent CSR version ([`cbbdef5`](https://github.com/GitoxideLabs/gitoxide/commit/cbbdef5095b894a944a526fb57dfebeb0f3ab5eb))
|
||||
* **Uncategorized**
|
||||
- Release src-dir v0.20.0, src-mailmap v0.30.0, src-revision v0.40.0, src-merge v0.11.0, src-negotiate v0.26.0, src-pack v0.65.0, src-odb v0.75.0, src-refspec v0.36.0, src-shallow v0.8.0, src-transport v0.53.0, src-protocol v0.56.0, src-status v0.25.0, src-submodule v0.25.0, src-worktree-state v0.25.0, src v0.78.0, src-fsck v0.17.0, gitoxide-core v0.53.0, gitoxide v0.50.0 ([`a5225a7`](https://github.com/GitoxideLabs/gitoxide/commit/a5225a78484d0a83378e09b8ba817505549d8088))
|
||||
- Release src-error v0.0.0, src-date v0.13.0, src-actor v0.38.0, src-validate v0.11.0, src-path v0.11.0, src-features v0.46.0, src-hash v0.22.0, src-hashtable v0.12.0, src-object v0.55.0, src-glob v0.24.0, src-attributes v0.30.0, src-command v0.7.0, src-packetline v0.21.0, src-filter v0.25.0, src-fs v0.19.0, src-chunk v0.5.0, src-commitgraph v0.32.0, src-revwalk v0.26.0, src-traverse v0.52.0, src-worktree-stream v0.27.0, src-archive v0.27.0, src-tempfile v21.0.0, src-lock v21.0.0, src-index v0.46.0, src-config-value v0.17.0, src-pathspec v0.15.0, src-ignore v0.19.0, src-worktree v0.47.0, src-diff v0.58.0, src-blame v0.8.0, src-ref v0.58.0, src-sec v0.13.0, src-config v0.51.0, src-prompt v0.13.0, src-url v0.35.0, src-credentials v0.35.0, src-discover v0.46.0, src-dir v0.20.0, src-mailmap v0.30.0, src-revision v0.40.0, src-merge v0.11.0, src-negotiate v0.26.0, src-pack v0.65.0, src-odb v0.75.0, src-refspec v0.36.0, src-shallow v0.8.0, src-transport v0.53.0, src-protocol v0.56.0, src-status v0.25.0, src-submodule v0.25.0, src-worktree-state v0.25.0, src v0.78.0, src-fsck v0.17.0, gitoxide-core v0.53.0, gitoxide v0.50.0, safety bump 50 crates ([`562e684`](https://github.com/GitoxideLabs/gitoxide/commit/562e684319fa649db6a96c0a22d64bbe3c11e9e6))
|
||||
- Merge pull request #2364 from GitoxideLabs/changelogs ([`0a333e5`](https://github.com/GitoxideLabs/gitoxide/commit/0a333e5941a0a58727c694fcf7dc48f95d7481db))
|
||||
- Merge pull request #2346 from GitoxideLabs/release ([`c663b3f`](https://github.com/GitoxideLabs/gitoxide/commit/c663b3f05791db86d2e0a683e26e149f620bf2e4))
|
||||
- Release src-trace v0.1.17, src-features v0.45.2, src-command v0.6.5, src-hash v0.21.2, src-date v0.12.1, src-actor v0.37.1, src-object v0.54.1, src-filter v0.24.1, src-fs v0.18.2, src-tempfile v20.0.1, src-lock v20.0.1, src-traverse v0.51.1, src-index v0.45.1, src-diff v0.57.1, src-pack v0.64.1 ([`7be8f90`](https://github.com/GitoxideLabs/gitoxide/commit/7be8f9068ab875ca4123300ba08df9d32fd63941))
|
||||
- Merge pull request #2299 from GitoxideLabs/report ([`d6c5b9d`](https://github.com/GitoxideLabs/gitoxide/commit/d6c5b9d7843c24663ffcf20bd756ea3eb747ca0a))
|
||||
</details>
|
||||
|
||||
## 0.7.0 (2025-12-22)
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 2 commits contributed to the release.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-date v0.11.1, src-actor v0.36.1, src-trace v0.1.16, src-features v0.45.0, src-hash v0.21.0, src-hashtable v0.11.0, src-object v0.53.0, src-glob v0.23.0, src-attributes v0.29.0, src-filter v0.23.0, src-fs v0.18.0, src-commitgraph v0.31.0, src-revwalk v0.24.0, src-traverse v0.50.0, src-worktree-stream v0.25.0, src-archive v0.25.0, src-tempfile v20.0.0, src-lock v20.0.0, src-index v0.44.0, src-config-value v0.16.0, src-pathspec v0.14.0, src-ignore v0.18.0, src-worktree v0.45.0, src-diff v0.56.0, src-blame v0.6.0, src-ref v0.56.0, src-config v0.49.0, src-prompt v0.12.0, src-url v0.34.0, src-credentials v0.33.0, src-discover v0.44.0, src-dir v0.18.0, src-mailmap v0.28.1, src-revision v0.38.0, src-merge v0.9.0, src-negotiate v0.24.0, src-pack v0.63.0, src-odb v0.73.0, src-refspec v0.34.0, src-shallow v0.7.0, src-transport v0.51.0, src-protocol v0.54.0, src-status v0.23.0, src-submodule v0.23.0, src-worktree-state v0.23.0, src v0.76.0, src-fsck v0.15.0, gitoxide-core v0.51.0, gitoxide v0.48.0, safety bump 43 crates ([`21fecdf`](https://github.com/GitoxideLabs/gitoxide/commit/21fecdf928336ac5fa3dd1402f92e8200d8aff62))
|
||||
- Merge pull request #2224 from GitoxideLabs/report ([`3313233`](https://github.com/GitoxideLabs/gitoxide/commit/3313233aa4e7009aed0ddf644f4271fd2a98e8d4))
|
||||
</details>
|
||||
|
||||
## 0.6.0 (2025-10-22)
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 7 commits contributed to the release over the course of 99 calendar days.
|
||||
- 99 days passed between releases.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-dir v0.16.0, src-mailmap v0.27.3, src-revision v0.36.0, src-merge v0.7.0, src-negotiate v0.22.0, src-pack v0.61.0, src-odb v0.71.0, src-refspec v0.32.0, src-shallow v0.6.0, src-packetline v0.19.2, src-transport v0.49.0, src-protocol v0.52.0, src-status v0.21.0, src-submodule v0.21.0, src-worktree-state v0.21.0, src v0.74.0, src-fsck v0.13.0, gitoxide-core v0.49.0, gitoxide v0.46.0 ([`49f8d53`](https://github.com/GitoxideLabs/gitoxide/commit/49f8d5373501c82699fec76809f4d445c3327c5a))
|
||||
- Release src-date v0.10.6, src-utils v0.3.1, src-actor v0.35.5, src-trace v0.1.14, src-validate v0.10.1, src-path v0.10.21, src-features v0.44.0, src-hash v0.20.0, src-hashtable v0.10.0, src-object v0.51.0, src-glob v0.22.0, src-quote v0.6.1, src-attributes v0.28.0, src-command v0.6.3, src-packetline-blocking v0.19.2, src-filter v0.21.0, src-fs v0.17.0, src-chunk v0.4.12, src-commitgraph v0.30.0, src-revwalk v0.22.0, src-traverse v0.48.0, src-worktree-stream v0.23.0, src-archive v0.23.0, src-bitmap v0.2.15, src-tempfile v19.0.0, src-lock v19.0.0, src-index v0.42.0, src-config-value v0.15.2, src-pathspec v0.13.0, src-ignore v0.17.0, src-worktree v0.43.0, src-diff v0.54.0, src-blame v0.4.0, src-ref v0.54.0, src-sec v0.12.1, src-config v0.47.0, src-prompt v0.11.2, src-url v0.33.0, src-credentials v0.31.0, src-discover v0.42.0, src-dir v0.16.0, src-mailmap v0.27.3, src-revision v0.36.0, src-merge v0.7.0, src-negotiate v0.22.0, src-pack v0.61.0, src-odb v0.71.0, src-refspec v0.32.0, src-shallow v0.6.0, src-packetline v0.19.2, src-transport v0.49.0, src-protocol v0.52.0, src-status v0.21.0, src-submodule v0.21.0, src-worktree-state v0.21.0, src v0.74.0, src-fsck v0.13.0, gitoxide-core v0.49.0, gitoxide v0.46.0, safety bump 42 crates ([`89fb308`](https://github.com/GitoxideLabs/gitoxide/commit/89fb308f1283b404b55916304f7d161fbf13fe10))
|
||||
- Merge pull request #2217 from GitoxideLabs/copilot/update-msrv-to-rust-1-82 ([`4da2927`](https://github.com/GitoxideLabs/gitoxide/commit/4da2927629c7ec95b96d62a387c61097e3fc71fa))
|
||||
- Update MSRV to 1.82 and replace once_cell with std equivalents ([`6cc8464`](https://github.com/GitoxideLabs/gitoxide/commit/6cc84641cb7be6f70468a90efaafcf142a6b8c4b))
|
||||
- Merge pull request #2202 from GitoxideLabs/dependabot/cargo/cargo-4a7155215a ([`9365cc3`](https://github.com/GitoxideLabs/gitoxide/commit/9365cc3ae8ad92ba2703170ac2f9a1e4df2ac3be))
|
||||
- Bump the cargo group across 1 directory with 64 updates ([`838ff95`](https://github.com/GitoxideLabs/gitoxide/commit/838ff95cca60c453bd97bd458ce31b384d00347e))
|
||||
- Merge pull request #2075 from GitoxideLabs/improvements ([`784c046`](https://github.com/GitoxideLabs/gitoxide/commit/784c0465bf87011fe7dbf71a590d3f9e6c8696a8))
|
||||
</details>
|
||||
|
||||
## 0.5.0 (2025-07-15)
|
||||
|
||||
A maintenance release without user-facing changes.
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 3 commits contributed to the release over the course of 79 calendar days.
|
||||
- 79 days passed between releases.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-date v0.10.3, src-actor v0.35.2, src-trace v0.1.13, src-path v0.10.19, src-features v0.43.0, src-hash v0.19.0, src-hashtable v0.9.0, src-object v0.50.0, src-glob v0.21.0, src-attributes v0.27.0, src-command v0.6.2, src-packetline-blocking v0.19.1, src-filter v0.20.0, src-fs v0.16.0, src-commitgraph v0.29.0, src-revwalk v0.21.0, src-traverse v0.47.0, src-worktree-stream v0.22.0, src-archive v0.22.0, src-tempfile v18.0.0, src-lock v18.0.0, src-index v0.41.0, src-config-value v0.15.1, src-pathspec v0.12.0, src-ignore v0.16.0, src-worktree v0.42.0, src-diff v0.53.0, src-blame v0.3.0, src-ref v0.53.0, src-sec v0.12.0, src-config v0.46.0, src-prompt v0.11.1, src-url v0.32.0, src-credentials v0.30.0, src-discover v0.41.0, src-dir v0.15.0, src-mailmap v0.27.2, src-revision v0.35.0, src-merge v0.6.0, src-negotiate v0.21.0, src-pack v0.60.0, src-odb v0.70.0, src-refspec v0.31.0, src-shallow v0.5.0, src-packetline v0.19.1, src-transport v0.48.0, src-protocol v0.51.0, src-status v0.20.0, src-submodule v0.20.0, src-worktree-state v0.20.0, src v0.73.0, src-fsck v0.12.0, gitoxide-core v0.48.0, gitoxide v0.45.0, safety bump 43 crates ([`5a919c4`](https://github.com/GitoxideLabs/gitoxide/commit/5a919c48393020d47c7034946108577dd213b80a))
|
||||
- Update changelogs prior to release ([`65037b5`](https://github.com/GitoxideLabs/gitoxide/commit/65037b56918b90ac07454a815b0ed136df2fca3b))
|
||||
- Merge pull request #1971 from GitoxideLabs/new-release ([`8d4c4d1`](https://github.com/GitoxideLabs/gitoxide/commit/8d4c4d1e09f84c962c29d98a686c64228196ac13))
|
||||
</details>
|
||||
|
||||
## 0.4.0 (2025-04-26)
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 3 commits contributed to the release.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-date v0.10.1, src-utils v0.3.0, src-actor v0.35.1, src-validate v0.10.0, src-path v0.10.17, src-features v0.42.1, src-hash v0.18.0, src-hashtable v0.8.1, src-object v0.49.1, src-glob v0.20.0, src-quote v0.6.0, src-attributes v0.26.0, src-command v0.6.0, src-packetline-blocking v0.19.0, src-filter v0.19.1, src-fs v0.15.0, src-commitgraph v0.28.0, src-revwalk v0.20.1, src-traverse v0.46.1, src-worktree-stream v0.21.1, src-archive v0.21.1, src-tempfile v17.1.0, src-lock v17.1.0, src-index v0.40.0, src-config-value v0.15.0, src-pathspec v0.11.0, src-ignore v0.15.0, src-worktree v0.41.0, src-diff v0.52.1, src-blame v0.2.1, src-ref v0.52.1, src-sec v0.11.0, src-config v0.45.1, src-prompt v0.11.0, src-url v0.31.0, src-credentials v0.29.0, src-discover v0.40.1, src-dir v0.14.1, src-mailmap v0.27.1, src-revision v0.34.1, src-merge v0.5.1, src-negotiate v0.20.1, src-pack v0.59.1, src-odb v0.69.1, src-refspec v0.30.1, src-shallow v0.4.0, src-packetline v0.19.0, src-transport v0.47.0, src-protocol v0.50.1, src-status v0.19.1, src-submodule v0.19.1, src-worktree-state v0.19.0, src v0.72.1, src-fsck v0.11.1, gitoxide-core v0.47.1, gitoxide v0.44.0 ([`e104545`](https://github.com/GitoxideLabs/gitoxide/commit/e104545b78951ca882481d4a58f4425a8bc81c87))
|
||||
- Bump all prior pratch levels to majors ([`5f7f805`](https://github.com/GitoxideLabs/gitoxide/commit/5f7f80570e1a5522e76ea58cccbb957249a0dffe))
|
||||
- Merge pull request #1969 from GitoxideLabs/new-release ([`631f07a`](https://github.com/GitoxideLabs/gitoxide/commit/631f07ad0c1cb93d9da42cf2c8499584fe91880a))
|
||||
</details>
|
||||
|
||||
## 0.3.1 (2025-04-25)
|
||||
|
||||
A maintenance release without user-facing changes.
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 6 commits contributed to the release.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-path v0.10.16, src-features v0.42.0, src-hash v0.17.1, src-object v0.49.0, src-glob v0.19.1, src-quote v0.5.1, src-attributes v0.25.1, src-command v0.5.1, src-packetline-blocking v0.18.4, src-filter v0.19.0, src-fs v0.14.1, src-commitgraph v0.27.1, src-revwalk v0.20.0, src-traverse v0.46.0, src-worktree-stream v0.21.0, src-archive v0.21.0, src-tempfile v17.0.1, src-lock v17.0.1, src-index v0.39.1, src-config-value v0.14.13, src-pathspec v0.10.1, src-ignore v0.14.1, src-worktree v0.40.1, src-diff v0.52.0, src-blame v0.2.0, src-ref v0.52.0, src-sec v0.10.13, src-config v0.45.0, src-prompt v0.10.1, src-url v0.30.1, src-credentials v0.28.1, src-discover v0.40.0, src-dir v0.14.0, src-mailmap v0.27.0, src-revision v0.34.0, src-merge v0.5.0, src-negotiate v0.20.0, src-pack v0.59.0, src-odb v0.69.0, src-refspec v0.30.0, src-shallow v0.3.1, src-packetline v0.18.5, src-transport v0.46.1, src-protocol v0.50.0, src-status v0.19.0, src-submodule v0.19.0, src-worktree-state v0.18.1, src v0.72.0, src-fsck v0.11.0, gitoxide-core v0.47.0, gitoxide v0.43.0 ([`cc5b696`](https://github.com/GitoxideLabs/gitoxide/commit/cc5b696b7b73277ddcc3ef246714cf80a092cf76))
|
||||
- Release src-date v0.10.0, src-utils v0.2.1, src-actor v0.35.0, src-validate v0.9.5, src-path v0.10.15, src-features v0.42.0, src-hash v0.17.1, src-object v0.49.0, src-glob v0.19.1, src-quote v0.5.1, src-attributes v0.25.0, src-command v0.5.1, src-packetline-blocking v0.18.4, src-filter v0.19.0, src-fs v0.14.0, src-commitgraph v0.27.1, src-revwalk v0.20.0, src-traverse v0.46.0, src-worktree-stream v0.21.0, src-archive v0.21.0, src-tempfile v17.0.1, src-lock v17.0.1, src-index v0.39.0, src-config-value v0.14.13, src-pathspec v0.10.1, src-ignore v0.14.1, src-worktree v0.40.0, src-diff v0.52.0, src-blame v0.2.0, src-ref v0.51.0, src-sec v0.10.13, src-config v0.45.0, src-prompt v0.10.1, src-url v0.30.1, src-credentials v0.28.1, src-discover v0.40.0, src-dir v0.14.0, src-mailmap v0.27.0, src-revision v0.34.0, src-merge v0.5.0, src-negotiate v0.20.0, src-pack v0.59.0, src-odb v0.69.0, src-refspec v0.30.0, src-shallow v0.3.1, src-packetline v0.18.5, src-transport v0.46.0, src-protocol v0.50.0, src-status v0.19.0, src-submodule v0.19.0, src-worktree-state v0.18.0, src v0.72.0, src-fsck v0.11.0, gitoxide-core v0.46.0, gitoxide v0.43.0, safety bump 30 crates ([`db0b095`](https://github.com/GitoxideLabs/gitoxide/commit/db0b0957930e3ebb1b3f05ed8d7e7a557eb384a2))
|
||||
- Update changelogs prior to release ([`0bf84db`](https://github.com/GitoxideLabs/gitoxide/commit/0bf84dbc041f59efba06adcf422c60b5d6e350f0))
|
||||
- Merge pull request #1949 from GitoxideLabs/dependabot/cargo/cargo-6893e2988a ([`b5e9059`](https://github.com/GitoxideLabs/gitoxide/commit/b5e905991155ace32ef21464e69a8369a773f02b))
|
||||
- Bump the cargo group with 21 updates ([`68e6b2e`](https://github.com/GitoxideLabs/gitoxide/commit/68e6b2e54613fe788d645ea8c942c71a39c6ede1))
|
||||
- Merge pull request #1919 from GitoxideLabs/release ([`420e730`](https://github.com/GitoxideLabs/gitoxide/commit/420e730f765b91e1d17daca6bb1f99bdb2e54fda))
|
||||
</details>
|
||||
|
||||
## 0.3.0 (2025-04-04)
|
||||
|
||||
A maintenance release without user-facing changes.
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 5 commits contributed to the release.
|
||||
- 0 commits were understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-dir v0.13.0, src-mailmap v0.26.0, src-revision v0.33.0, src-merge v0.4.0, src-negotiate v0.19.0, src-pack v0.58.0, src-odb v0.68.0, src-refspec v0.29.0, src-shallow v0.3.0, src-packetline v0.18.4, src-transport v0.46.0, src-protocol v0.49.0, src-status v0.18.0, src-submodule v0.18.0, src-worktree-state v0.18.0, src v0.71.0, src-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0 ([`d248e3d`](https://github.com/GitoxideLabs/gitoxide/commit/d248e3d87d45ca3983cb9fd7c6143dacbd8301cc))
|
||||
- Release src-sec v0.10.12, src-config v0.44.0, src-prompt v0.10.0, src-url v0.30.0, src-credentials v0.28.0, src-discover v0.39.0, src-dir v0.13.0, src-mailmap v0.26.0, src-revision v0.33.0, src-merge v0.4.0, src-negotiate v0.19.0, src-pack v0.58.0, src-odb v0.68.0, src-refspec v0.29.0, src-shallow v0.3.0, src-packetline v0.18.4, src-transport v0.46.0, src-protocol v0.49.0, src-status v0.18.0, src-submodule v0.18.0, src-worktree-state v0.18.0, src v0.71.0, src-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0 ([`ada5a94`](https://github.com/GitoxideLabs/gitoxide/commit/ada5a9447dc3c210afbd8866fe939c3f3a024226))
|
||||
- Release src-date v0.9.4, src-utils v0.2.0, src-actor v0.34.0, src-features v0.41.0, src-hash v0.17.0, src-hashtable v0.8.0, src-path v0.10.15, src-validate v0.9.4, src-object v0.48.0, src-glob v0.19.0, src-quote v0.5.0, src-attributes v0.25.0, src-command v0.5.0, src-packetline-blocking v0.18.3, src-filter v0.18.0, src-fs v0.14.0, src-commitgraph v0.27.0, src-revwalk v0.19.0, src-traverse v0.45.0, src-worktree-stream v0.20.0, src-archive v0.20.0, src-tempfile v17.0.0, src-lock v17.0.0, src-index v0.39.0, src-config-value v0.14.12, src-pathspec v0.10.0, src-ignore v0.14.0, src-worktree v0.40.0, src-diff v0.51.0, src-blame v0.1.0, src-ref v0.51.0, src-config v0.44.0, src-prompt v0.10.0, src-url v0.30.0, src-credentials v0.28.0, src-discover v0.39.0, src-dir v0.13.0, src-mailmap v0.26.0, src-revision v0.33.0, src-merge v0.4.0, src-negotiate v0.19.0, src-pack v0.58.0, src-odb v0.68.0, src-refspec v0.29.0, src-shallow v0.3.0, src-packetline v0.18.4, src-transport v0.46.0, src-protocol v0.49.0, src-status v0.18.0, src-submodule v0.18.0, src-worktree-state v0.18.0, src v0.71.0, src-fsck v0.10.0, gitoxide-core v0.46.0, gitoxide v0.42.0, safety bump 48 crates ([`b41312b`](https://github.com/GitoxideLabs/gitoxide/commit/b41312b478b0d19efb330970cf36dba45d0fbfbd))
|
||||
- Update changelogs prior to release ([`38dff41`](https://github.com/GitoxideLabs/gitoxide/commit/38dff41d09b6841ff52435464e77cd012dce7645))
|
||||
- Merge pull request #1778 from GitoxideLabs/new-release ([`8df0db2`](https://github.com/GitoxideLabs/gitoxide/commit/8df0db2f8fe1832a5efd86d6aba6fb12c4c855de))
|
||||
</details>
|
||||
|
||||
## 0.2.0 (2025-01-18)
|
||||
|
||||
<csr-id-17835bccb066bbc47cc137e8ec5d9fe7d5665af0/>
|
||||
|
||||
### Chore
|
||||
|
||||
- <csr-id-17835bccb066bbc47cc137e8ec5d9fe7d5665af0/> bump `rust-version` to 1.70
|
||||
That way clippy will allow to use the fantastic `Option::is_some_and()`
|
||||
and friends.
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 5 commits contributed to the release over the course of 27 calendar days.
|
||||
- 27 days passed between releases.
|
||||
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-utils v0.1.14, src-actor v0.33.2, src-hash v0.16.0, src-trace v0.1.12, src-features v0.40.0, src-hashtable v0.7.0, src-path v0.10.14, src-validate v0.9.3, src-object v0.47.0, src-glob v0.18.0, src-quote v0.4.15, src-attributes v0.24.0, src-command v0.4.1, src-packetline-blocking v0.18.2, src-filter v0.17.0, src-fs v0.13.0, src-chunk v0.4.11, src-commitgraph v0.26.0, src-revwalk v0.18.0, src-traverse v0.44.0, src-worktree-stream v0.19.0, src-archive v0.19.0, src-bitmap v0.2.14, src-tempfile v16.0.0, src-lock v16.0.0, src-index v0.38.0, src-config-value v0.14.11, src-pathspec v0.9.0, src-ignore v0.13.0, src-worktree v0.39.0, src-diff v0.50.0, src-blame v0.0.0, src-ref v0.50.0, src-sec v0.10.11, src-config v0.43.0, src-prompt v0.9.1, src-url v0.29.0, src-credentials v0.27.0, src-discover v0.38.0, src-dir v0.12.0, src-mailmap v0.25.2, src-revision v0.32.0, src-merge v0.3.0, src-negotiate v0.18.0, src-pack v0.57.0, src-odb v0.67.0, src-refspec v0.28.0, src-shallow v0.2.0, src-packetline v0.18.3, src-transport v0.45.0, src-protocol v0.48.0, src-status v0.17.0, src-submodule v0.17.0, src-worktree-state v0.17.0, src v0.70.0, src-fsck v0.9.0, gitoxide-core v0.45.0, gitoxide v0.41.0, safety bump 42 crates ([`dea106a`](https://github.com/GitoxideLabs/gitoxide/commit/dea106a8c4fecc1f0a8f891a2691ad9c63964d25))
|
||||
- Update all changelogs prior to release ([`1f6390c`](https://github.com/GitoxideLabs/gitoxide/commit/1f6390c53ba68ce203ae59eb3545e2631dd8a106))
|
||||
- Merge pull request #1762 from GitoxideLabs/fix-1759 ([`7ec21bb`](https://github.com/GitoxideLabs/gitoxide/commit/7ec21bb96ce05b29dde74b2efdf22b6e43189aab))
|
||||
- Bump `rust-version` to 1.70 ([`17835bc`](https://github.com/GitoxideLabs/gitoxide/commit/17835bccb066bbc47cc137e8ec5d9fe7d5665af0))
|
||||
- Merge pull request #1739 from GitoxideLabs/new-release ([`d22937f`](https://github.com/GitoxideLabs/gitoxide/commit/d22937f91b8ecd0ece0930c4df9d580f3819b2fe))
|
||||
</details>
|
||||
|
||||
## 0.1.0 (2024-12-22)
|
||||
|
||||
### New Features (BREAKING)
|
||||
|
||||
- <csr-id-6367c7d0a796aff8ee8778916c1a1ddae68b654d/> Add `src-shallow` crate and use it from `src` and `src-protocol`
|
||||
That way it's easier to reuse shallow-handling code from plumbing crates.
|
||||
|
||||
Note that this is a breaking change as `src-protocol` now uses the `src-shallow::Update`
|
||||
type, which doesn't implement a formerly public `from_line()` method anymore.
|
||||
Now it is available as `fetch::response::shallow_update_from_line()`.
|
||||
|
||||
### Commit Statistics
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
- 6 commits contributed to the release over the course of 7 calendar days.
|
||||
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
|
||||
- 0 issues like '(#ID)' were seen in commit messages
|
||||
|
||||
### Commit Details
|
||||
|
||||
<csr-read-only-do-not-edit/>
|
||||
|
||||
<details><summary>view details</summary>
|
||||
|
||||
* **Uncategorized**
|
||||
- Release src-dir v0.11.0, src-revision v0.31.1, src-merge v0.2.0, src-pack v0.56.0, src-odb v0.66.0, src-shallow v0.1.0, src-packetline v0.18.2, src-transport v0.44.0, src-protocol v0.47.0, src-status v0.16.0, src-worktree-state v0.16.0, src v0.69.0, gitoxide-core v0.44.0, gitoxide v0.40.0 ([`beb0ea8`](https://github.com/GitoxideLabs/gitoxide/commit/beb0ea8c4ff94c64b7773772a9d388ccb403f3c1))
|
||||
- Release src-date v0.9.3, src-object v0.46.1, src-command v0.4.0, src-filter v0.16.0, src-fs v0.12.1, src-traverse v0.43.1, src-worktree-stream v0.18.0, src-archive v0.18.0, src-ref v0.49.1, src-prompt v0.9.0, src-url v0.28.2, src-credentials v0.26.0, src-diff v0.49.0, src-dir v0.11.0, src-revision v0.31.1, src-merge v0.2.0, src-pack v0.56.0, src-odb v0.66.0, src-shallow v0.1.0, src-packetline v0.18.2, src-transport v0.44.0, src-protocol v0.47.0, src-status v0.16.0, src-worktree-state v0.16.0, src v0.69.0, gitoxide-core v0.44.0, gitoxide v0.40.0, safety bump 16 crates ([`c1ba571`](https://github.com/GitoxideLabs/gitoxide/commit/c1ba5719132227410abefeb54e3032b015233e94))
|
||||
- Update changelogs prior to release ([`7ea8582`](https://github.com/GitoxideLabs/gitoxide/commit/7ea85821c6999e3e6cf50a2a009904e9c38642a4))
|
||||
- Finalize src-shallow crate ([`2cc65bb`](https://github.com/GitoxideLabs/gitoxide/commit/2cc65bbdeeeb04248aa2570530e21b9f1fdeadda))
|
||||
- Merge pull request #1634 from GitoxideLabs/remove-delegates ([`ddeb97f`](https://github.com/GitoxideLabs/gitoxide/commit/ddeb97f550bb95835648841b476d7647dd7c1dc0))
|
||||
- Add `src-shallow` crate and use it from `src` and `src-protocol` ([`6367c7d`](https://github.com/GitoxideLabs/gitoxide/commit/6367c7d0a796aff8ee8778916c1a1ddae68b654d))
|
||||
</details>
|
||||
|
||||
34
src-shallow/Cargo.toml
Normal file
34
src-shallow/Cargo.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
lints.workspace = true
|
||||
|
||||
[package]
|
||||
name = "src-shallow"
|
||||
version = "0.9.0"
|
||||
repository = "https://github.com/GitoxideLabs/gitoxide"
|
||||
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Handle files specifying the shallow boundary"
|
||||
edition = "2021"
|
||||
include = ["src/**/*", "LICENSE-*"]
|
||||
rust-version = "1.82"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
test = false
|
||||
|
||||
[features]
|
||||
## Enable support for the SHA-1 hash by enabling the respective feature in the `src-hash` crate.
|
||||
sha1 = ["src-hash/sha1"]
|
||||
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
|
||||
serde = ["dep:serde", "src-hash/serde", "nonempty/serialize"]
|
||||
|
||||
[dependencies]
|
||||
src-hash = { version = "^0.22.1", path = "../src-hash" }
|
||||
src-lock = { version = "^21.0.0", path = "../src-lock" }
|
||||
|
||||
thiserror = "2.0.18"
|
||||
bstr = { version = "1.12.0", default-features = false }
|
||||
nonempty = "0.12.0"
|
||||
serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["sha1"]
|
||||
1
src-shallow/LICENSE-APACHE
Symbolic link
1
src-shallow/LICENSE-APACHE
Symbolic link
@@ -0,0 +1 @@
|
||||
../LICENSE-APACHE
|
||||
1
src-shallow/LICENSE-MIT
Symbolic link
1
src-shallow/LICENSE-MIT
Symbolic link
@@ -0,0 +1 @@
|
||||
../LICENSE-MIT
|
||||
114
src-shallow/src/lib.rs
Normal file
114
src-shallow/src/lib.rs
Normal file
@@ -0,0 +1,114 @@
|
||||
//! [Read](read()) and [write](write()) shallow files, while performing typical operations on them.
|
||||
#![deny(missing_docs, rust_2018_idioms)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
/// An instruction on how to
|
||||
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub enum Update {
|
||||
/// Shallow the given `id`.
|
||||
Shallow(gix_hash::ObjectId),
|
||||
/// Don't shallow the given `id` anymore.
|
||||
Unshallow(gix_hash::ObjectId),
|
||||
}
|
||||
|
||||
/// Return a list of shallow commits as unconditionally read from `shallow_file`.
|
||||
///
|
||||
/// The list of shallow commits represents the shallow boundary, beyond which we are lacking all (parent) commits.
|
||||
/// Note that the list is never empty, as `Ok(None)` is returned in that case indicating the repository
|
||||
/// isn't a shallow clone.
|
||||
pub fn read(shallow_file: &std::path::Path) -> Result<Option<nonempty::NonEmpty<gix_hash::ObjectId>>, read::Error> {
|
||||
use bstr::ByteSlice;
|
||||
let buf = match std::fs::read(shallow_file) {
|
||||
Ok(buf) => buf,
|
||||
Err(err) if err.kind() == std::io::ErrorKind::NotFound => return Ok(None),
|
||||
Err(err) => return Err(err.into()),
|
||||
};
|
||||
|
||||
let mut commits = buf
|
||||
.lines()
|
||||
.map(gix_hash::ObjectId::from_hex)
|
||||
.collect::<Result<Vec<_>, _>>()?;
|
||||
|
||||
commits.sort();
|
||||
Ok(nonempty::NonEmpty::from_vec(commits))
|
||||
}
|
||||
|
||||
///
|
||||
pub mod write {
|
||||
pub(crate) mod function {
|
||||
use std::io::Write;
|
||||
|
||||
use super::Error;
|
||||
use crate::Update;
|
||||
|
||||
/// Write the [previously obtained](crate::read()) (possibly non-existing) `shallow_commits` to the shallow `file`
|
||||
/// after applying all `updates`.
|
||||
///
|
||||
/// If this leaves the list of shallow commits empty, the file is removed.
|
||||
///
|
||||
/// ### Deviation
|
||||
///
|
||||
/// Git also prunes the set of shallow commits while writing, we don't until we support some sort of pruning.
|
||||
pub fn write(
|
||||
mut file: gix_lock::File,
|
||||
shallow_commits: Option<nonempty::NonEmpty<gix_hash::ObjectId>>,
|
||||
updates: &[Update],
|
||||
) -> Result<(), Error> {
|
||||
let mut shallow_commits = shallow_commits.map(Vec::from).unwrap_or_default();
|
||||
for update in updates {
|
||||
match update {
|
||||
Update::Shallow(id) => {
|
||||
shallow_commits.push(*id);
|
||||
}
|
||||
Update::Unshallow(id) => shallow_commits.retain(|oid| oid != id),
|
||||
}
|
||||
}
|
||||
if shallow_commits.is_empty() {
|
||||
if let Err(err) = std::fs::remove_file(file.resource_path()) {
|
||||
if err.kind() != std::io::ErrorKind::NotFound {
|
||||
return Err(err.into());
|
||||
}
|
||||
}
|
||||
drop(file);
|
||||
return Ok(());
|
||||
}
|
||||
shallow_commits.sort();
|
||||
let mut buf = Vec::<u8>::new();
|
||||
for commit in shallow_commits {
|
||||
commit.write_hex_to(&mut buf).map_err(Error::Io)?;
|
||||
buf.push(b'\n');
|
||||
}
|
||||
file.write_all(&buf).map_err(Error::Io)?;
|
||||
file.flush().map_err(Error::Io)?;
|
||||
file.commit()?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
/// The error returned by [`write()`](crate::write()).
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
#[allow(missing_docs)]
|
||||
pub enum Error {
|
||||
#[error(transparent)]
|
||||
Commit(#[from] gix_lock::commit::Error<gix_lock::File>),
|
||||
#[error("Could not remove an empty shallow file")]
|
||||
RemoveEmpty(#[from] std::io::Error),
|
||||
#[error("Failed to write object id to shallow file")]
|
||||
Io(std::io::Error),
|
||||
}
|
||||
}
|
||||
pub use write::function::write;
|
||||
|
||||
///
|
||||
pub mod read {
|
||||
/// The error returned by [`read`](crate::read()).
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
#[allow(missing_docs)]
|
||||
pub enum Error {
|
||||
#[error("Could not open shallow file for reading")]
|
||||
Io(#[from] std::io::Error),
|
||||
#[error("Could not decode a line in shallow file as hex-encoded object hash")]
|
||||
DecodeHash(#[from] gix_hash::decode::Error),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user