No project description provided
Project description
# DFFML Features For Git Version Control
Git features scrape data from Git repositories.
## Demo
![Demo](https://github.com/intel/dffml/raw/master/docs/images/commits_demo.gif)
## Usage
Here's how you scrape data on the number of commits using the `commit` feature.
```console
dffml evaluate repo -keys https://github.com/intel/dffml -features commits \
-log debug
```
## Data Flow Usage
```console
export OPIMPS="group_by quarters_back_to_date check_if_valid_git_repository_URL clone_git_repo git_repo_default_branch git_repo_checkout git_repo_commit_from_date git_repo_author_lines_for_dates work git_repo_release lines_of_code_by_language lines_of_code_to_comments git_commits count_authors cleanup_git_repo"
dffml operations repo \
-log debug \
-keys https://github.com/intel/dffml \
-repo-def URL \
-remap \
group_by.cloc=cloc \
group_by.release=release \
group_by.work=work \
group_by.commits=commits \
group_by.authors=authors \
group_by.relase=release \
-ops $OPIMPS \
-opimpn-memory-opimps $OPIMPS \
-inputs \
{0,1,2,3,4,5,6,7,8,9}=quarter \
"'2019-03-29 13:24'=quarter_start_date" \
True=no_git_branch_given \
-output-specs '{
"cloc": {
"group": "quarter",
"by": "language_to_comment_ratio",
"fill": 0
},
"authors": {
"group": "quarter",
"by": "author_count",
"fill": 0
},
"work": {
"group": "quarter",
"by": "work_spread",
"fill": 0
},
"release": {
"group": "quarter",
"by": "release_within_period",
"fill": False
},
"commits": {
"group": "quarter",
"by": "commit_count",
"fill": 0
}
}=group_by_spec'
```
## TODO
- Transforms
- Take data of one defintion and label it as another definition.
```json
{
"defintions": {},
"operations": {},
"transforms": {
"quarter_date_to_git_date": {
"quarter_date": ["git_date"]
},
"thing_to_other_data_types": {
"thing": ["first_data_type", "second_data_type"]
},
},
}
```
## License
DFFML DFFML Features For Git Version Control are distributed under the
[MIT License](LICENSE).
Git features scrape data from Git repositories.
## Demo
![Demo](https://github.com/intel/dffml/raw/master/docs/images/commits_demo.gif)
## Usage
Here's how you scrape data on the number of commits using the `commit` feature.
```console
dffml evaluate repo -keys https://github.com/intel/dffml -features commits \
-log debug
```
## Data Flow Usage
```console
export OPIMPS="group_by quarters_back_to_date check_if_valid_git_repository_URL clone_git_repo git_repo_default_branch git_repo_checkout git_repo_commit_from_date git_repo_author_lines_for_dates work git_repo_release lines_of_code_by_language lines_of_code_to_comments git_commits count_authors cleanup_git_repo"
dffml operations repo \
-log debug \
-keys https://github.com/intel/dffml \
-repo-def URL \
-remap \
group_by.cloc=cloc \
group_by.release=release \
group_by.work=work \
group_by.commits=commits \
group_by.authors=authors \
group_by.relase=release \
-ops $OPIMPS \
-opimpn-memory-opimps $OPIMPS \
-inputs \
{0,1,2,3,4,5,6,7,8,9}=quarter \
"'2019-03-29 13:24'=quarter_start_date" \
True=no_git_branch_given \
-output-specs '{
"cloc": {
"group": "quarter",
"by": "language_to_comment_ratio",
"fill": 0
},
"authors": {
"group": "quarter",
"by": "author_count",
"fill": 0
},
"work": {
"group": "quarter",
"by": "work_spread",
"fill": 0
},
"release": {
"group": "quarter",
"by": "release_within_period",
"fill": False
},
"commits": {
"group": "quarter",
"by": "commit_count",
"fill": 0
}
}=group_by_spec'
```
## TODO
- Transforms
- Take data of one defintion and label it as another definition.
```json
{
"defintions": {},
"operations": {},
"transforms": {
"quarter_date_to_git_date": {
"quarter_date": ["git_date"]
},
"thing_to_other_data_types": {
"thing": ["first_data_type", "second_data_type"]
},
},
}
```
## License
DFFML DFFML Features For Git Version Control are distributed under the
[MIT License](LICENSE).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dffml_feature_git-0.1.3.tar.gz
(15.8 kB
view details)
File details
Details for the file dffml_feature_git-0.1.3.tar.gz
.
File metadata
- Download URL: dffml_feature_git-0.1.3.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 723b4794df00017b40aa0c09e9fc5449ea8556ea099fd0293ad66bf4d50111f7 |
|
MD5 | 75b25cc740176579bb85fd203192ddaa |
|
BLAKE2b-256 | 173969e0e13106643758c6db280956d057f436d2e2f1bfda25a96b9565605fa9 |