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
1070 "serde",1070 "serde",
1071]1071]
1072 1072
1073[[package]]
1074name = "git-attributes"
1075version = "0.0.0"
1076
1073[[package]]1077[[package]]
1074name = "git-bitmap"1078name = "git-bitmap"
1075version = "0.0.1"1079version = "0.0.1"
@@ -1172,6 +1176,10 @@ dependencies = [ · 96 unmodified lines
1172 "serde",1176 "serde",
1173]1177]
1174 1178
1179[[package]]
1180name = "git-ignore"
1181version = "0.0.0"
1182
1175[[package]]1183[[package]]
1176name = "git-index"1184name = "git-index"
1177version = "0.1.0"1185version = "0.1.0"
Cargo.toml+2−0
@@ -148,6 +148,8 @@ members = [ · 147 unmodified lines
148 "git-odb",148 "git-odb",
149 "git-tempfile",149 "git-tempfile",
150 "git-lock",150 "git-lock",
151 "git-ignore",
152 "git-attributes",
151 "git-repository",153 "git-repository",
152 "gitoxide-core",154 "gitoxide-core",
153 "git-tui",155 "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
104 * [git-index](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-index)104 * [git-index](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-index)
105 * [git-worktree](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-worktree)105 * [git-worktree](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-worktree)
106 * [git-bitmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bitmap)106 * [git-bitmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bitmap)
107* **idea**
108 * [git-revision](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-revision)107 * [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)
109 * [git-subomdule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule)111 * [git-subomdule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule)
110 * [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui)112 * [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui)
111 * [git-bundle](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bundle)113 * [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
206 * [ ] general purpose `accept(…)` for servers206 * [ ] general purpose `accept(…)` for servers
207* [x] API documentation207* [x] API documentation
208 * [ ] Some examples208 * [ ] 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.
209 218
210### git-worktree219### git-worktree
211* handle the working tree/checkout220* handle the working tree/checkout
git-attributes/CHANGELOG.md+13−0
@@ -0,0 +1,13 @@
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and 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
12Initial release with no content.
13
git-attributes/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1[package]
2name = "git-attributes"
3version = "0.0.0"
4repository = "https://github.com/Byron/gitoxide"
5license = "MIT/Apache-2.0"
6description = "A WIP crate of the gitoxide project dealing .gitattributes files"
7authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
8edition = "2018"
9
10[lib]
11doctest = 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
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and 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
12Initial release with no content.
13
git-ignore/Cargo.toml+15−0
@@ -0,0 +1,15 @@
1[package]
2name = "git-ignore"
3version = "0.0.0"
4repository = "https://github.com/Byron/gitoxide"
5license = "MIT/Apache-2.0"
6description = "A WIP crate of the gitoxide project dealing .gitignore files"
7authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
8edition = "2018"
9
10[lib]
11doctest = 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