History

Name-crates for git-ignore and git-attributes handling (#301)

Sebastian Thiel committed 4 years ago

Commit 2e04a491 parent 0b4b90f10 files · +80 −1Browse files

Unified · Split

10 files
  1. Cargo.lock +8 −0
  2. Cargo.toml +2 −0
  3. README.md +3 −1
  4. crate-status.md +9 −0
  5. git-attributes/CHANGELOG.md +13 −0
  6. git-attributes/Cargo.toml +15 −0
  7. git-attributes/src/lib.rs +1 −0
  8. git-ignore/CHANGELOG.md +13 −0
  9. git-ignore/Cargo.toml +15 −0
  10. git-ignore/src/lib.rs +1 −0
Cargo.lock+8−0
@@ -1070,6 +1070,10 @@ dependencies = [ · 1069 unmodified lines
10701070 "serde",
10711071 ]
10721072
1073+[[package]]
1074+name = "git-attributes"
1075+version = "0.0.0"
1076+
10731077 [[package]]
10741078 name = "git-bitmap"
10751079 version = "0.0.1"
@@ -1172,6 +1176,10 @@ dependencies = [ · 96 unmodified lines
11721176 "serde",
11731177 ]
11741178
1179+[[package]]
1180+name = "git-ignore"
1181+version = "0.0.0"
1182+
11751183 [[package]]
11761184 name = "git-index"
11771185 version = "0.1.0"
Cargo.toml+2−0
@@ -148,6 +148,8 @@ members = [ · 147 unmodified lines
148148 "git-odb",
149149 "git-tempfile",
150150 "git-lock",
151+ "git-ignore",
152+ "git-attributes",
151153 "git-repository",
152154 "gitoxide-core",
153155 "git-tui",
README.md+3−1
@@ -104,8 +104,10 @@ Follow linked crate name for detailed status. Please note that all crates follow · 103 unmodified lines
104104 * [git-index](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-index)
105105 * [git-worktree](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-worktree)
106106 * [git-bitmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bitmap)
107−* **idea**
108107 * [git-revision](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-revision)
108+ * [git-ignore](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-ignore)
109+* **idea**
110+ * [git-attributes](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-attributes)
109111 * [git-subomdule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule)
110112 * [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui)
111113 * [git-bundle](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bundle)
crate-status.md+9−0
@@ -206,6 +206,15 @@ Check out the [performance discussion][git-traverse-performance] as well. · 205 unmodified lines
206206 * [ ] general purpose `accept(…)` for servers
207207 * [x] API documentation
208208 * [ ] Some examples
209+
210+### git-ignore
211+
212+* [ ] parse git-ignore files
213+
214+### git-attributes
215+
216+* [ ] parse git-attributes files
217+* [ ] create an attributes stack, ideally one that includes 'ignored' status from .gitignore files.
209218
210219 ### git-worktree
211220 * handle the working tree/checkout
git-attributes/CHANGELOG.md+13−0
@@ -0,0 +1,13 @@
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+## Unreleased
9+
10+## 0.0.0 (2022-03-04)
11+
12+Initial release with no content.
13+
git-attributes/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1+[package]
2+name = "git-attributes"
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 .gitattributes files"
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-attributes/src/lib.rs+1−0
@@ -0,0 +1 @@
1+#![forbid(unsafe_code, rust_2018_idioms)]
git-ignore/CHANGELOG.md+13−0
@@ -0,0 +1,13 @@
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+## Unreleased
9+
10+## 0.0.0 (2022-03-04)
11+
12+Initial release with no content.
13+
git-ignore/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1+[package]
2+name = "git-ignore"
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 .gitignore files"
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-ignore/src/lib.rs+1−0
@@ -0,0 +1 @@
1+#![forbid(unsafe_code, rust_2018_idioms)]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t