History

Merge branch 'main' into git-sec

Sebastian Thiel committed 4 years ago

Commit 2fe70f92 parents 8443330 498e44f11 files · +117 −0Browse files

Unified · Split

11 files
  1. Cargo.lock +8 −0
  2. Cargo.toml +2 −0
  3. README.md +2 −0
  4. crate-status.md +9 −0
  5. git-lfs/CHANGELOG.md +29 −0
  6. git-lfs/Cargo.toml +15 −0
  7. git-lfs/src/lib.rs +1 −0
  8. git-lock/src/acquire.rs +6 −0
  9. git-rebase/CHANGELOG.md +29 −0
  10. git-rebase/Cargo.toml +15 −0
  11. git-rebase/src/lib.rs +1 −0
Cargo.lock+8−0
@@ -1234,6 +1234,10 @@ dependencies = [ · 1233 unmodified lines
12341234 "smallvec",
12351235 ]
12361236
1237+[[package]]
1238+name = "git-lfs"
1239+version = "0.0.0"
1240+
12371241 [[package]]
12381242 name = "git-lock"
12391243 version = "2.0.0"
@@ -1383,6 +1387,10 @@ dependencies = [ · 143 unmodified lines
13831387 "quick-error",
13841388 ]
13851389
1390+[[package]]
1391+name = "git-rebase"
1392+version = "0.0.0"
1393+
13861394 [[package]]
13871395 name = "git-ref"
13881396 version = "0.12.1"
Cargo.toml+2−0
@@ -147,6 +147,8 @@ members = [ · 146 unmodified lines
147147 "git-mailmap",
148148 "git-note",
149149 "git-sec",
150+ "git-lfs",
151+ "git-rebase",
150152 "git-submodule",
151153 "git-transport",
152154 "git-credentials",
README.md+2−0
@@ -125,6 +125,8 @@ Crates that seem feature complete and need to see some more use before they can · 124 unmodified lines
125125 * [git-sec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-sec)
126126 * [git-note](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-note)
127127 * [git-date](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-date)
128+ * [git-lfs](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-lfs)
129+ * [git-rebase](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-rebase)
128130 * [git-pathspec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-pathspec)
129131 * [git-subomdule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule)
130132 * [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui)
crate-status.md+9−0
@@ -241,6 +241,15 @@ A mechanism to associate metadata with any object, and keep revisions of it usin · 240 unmodified lines
241241
242242 Provides a trust model to share across gitoxide crates. It helps configuring how to interact with external processes, among other things.
243243
244+### git-rebase
245+* [ ] obtain rebase status
246+* [ ] drive a rebase operation
247+
248+### git-lfs
249+
250+Implement git large file support using the process protocol and make it flexible enough to handle a variety of cases.
251+Make it the best-performing implementation and the most convenient one.
252+
244253 ### git-glob
245254 * [x] parse pattern
246255 * [x] a type for pattern matching of paths and non-paths, optionally case-insensitively.
git-lfs/CHANGELOG.md+29−0
@@ -0,0 +1,29 @@
1+# Changelog
2+
3+All notable changes to this project will be documented in this file.
4+
5+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+## 0.0.0 (2022-04-17)
9+
10+An empty crate without any content to reserve the name for the gitoxide project.
11+
12+### Commit Statistics
13+
14+<csr-read-only-do-not-edit/>
15+
16+ - 1 commit contributed to the release.
17+ - 0 commits where understood as [conventional](https://www.conventionalcommits.org).
18+ - 1 unique issue was worked on: [#382](https://github.com/Byron/gitoxide/issues/382)
19+
20+### Commit Details
21+
22+<csr-read-only-do-not-edit/>
23+
24+<details><summary>view details</summary>
25+
26+ * **[#382](https://github.com/Byron/gitoxide/issues/382)**
27+ - add dummy crates for git-rebase and git-lfs ([`94c8122`](https://github.com/Byron/gitoxide/commit/94c81226e2713c869462241429df608e04c4418d))
28+</details>
29+
git-lfs/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1+[package]
2+name = "git-lfs"
3+version = "0.0.0"
4+repository = "https://github.com/Byron/gitoxide"
5+license = "MIT/Apache-2.0"
6+description = "A WIP crate of the gitoxide project dealing with handling git large file support"
7+authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
8+edition = "2018"
9+
10+[lib]
11+doctest = false
12+
13+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14+
15+[dependencies]
git-lfs/src/lib.rs+1−0
@@ -0,0 +1 @@
1+#![forbid(unsafe_code, rust_2018_idioms)]
git-lock/src/acquire.rs+6−0
@@ -121,6 +121,12 @@ fn lock_with_mode<T>( · 120 unmodified lines
121121 attempts += 1;
122122 match try_lock(&lock_path, directory, cleanup.clone()) {
123123 Ok(v) => return Ok((lock_path, v)),
124+ #[cfg(windows)]
125+ Err(err) if err.kind() == AlreadyExists || err.kind() == PermissionDenied => {
126+ std::thread::sleep(wait);
127+ continue;
128+ }
129+ #[cfg(not(windows))]
124130 Err(err) if err.kind() == AlreadyExists => {
125131 std::thread::sleep(wait);
126132 continue;
git-rebase/CHANGELOG.md+29−0
@@ -0,0 +1,29 @@
1+# Changelog
2+
3+All notable changes to this project will be documented in this file.
4+
5+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+## 0.0.0 (2022-04-17)
9+
10+An empty crate without any content to reserve the name for the gitoxide project.
11+
12+### Commit Statistics
13+
14+<csr-read-only-do-not-edit/>
15+
16+ - 1 commit contributed to the release.
17+ - 0 commits where understood as [conventional](https://www.conventionalcommits.org).
18+ - 1 unique issue was worked on: [#382](https://github.com/Byron/gitoxide/issues/382)
19+
20+### Commit Details
21+
22+<csr-read-only-do-not-edit/>
23+
24+<details><summary>view details</summary>
25+
26+ * **[#382](https://github.com/Byron/gitoxide/issues/382)**
27+ - add dummy crates for git-rebase and git-lfs ([`94c8122`](https://github.com/Byron/gitoxide/commit/94c81226e2713c869462241429df608e04c4418d))
28+</details>
29+
git-rebase/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1+[package]
2+name = "git-rebase"
3+version = "0.0.0"
4+repository = "https://github.com/Byron/gitoxide"
5+license = "MIT/Apache-2.0"
6+description = "A WIP crate of the gitoxide project dealing rebases"
7+authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
8+edition = "2018"
9+
10+[lib]
11+doctest = false
12+
13+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14+
15+[dependencies]
git-rebase/src/lib.rs+1−0
@@ -0,0 +1 @@
1+#![forbid(unsafe_code, rust_2018_idioms)]