未提供项目描述
项目描述
DFFML Features For Git版本控制
Git功能从Git仓库抓取数据。
演示
用法
抓取特定Git仓库的注释行与代码行比例、作者多样性、提交次数、作者数量和发布频率数据。
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 \
  -dff-memory-operation-network-ops $OPIMPS \
  -dff-memory-opimp-network-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'
待办事项
- 转换- 将一个定义的数据转换为另一个定义的数据。
 
{
  "defintions": {},
  "operations": {},
  "transforms": {
    "quarter_date_to_git_date": {
      "quarter_date": ["git_date"]
    },
    "thing_to_other_data_types": {
      "thing": ["first_data_type", "second_data_type"]
    },
  },
}
许可证
DFFML DFFML Features For Git版本控制遵循MIT许可协议。
项目详情
    
       关闭
    
      
        
    
    
  
哈希值 for dffml_feature_git-0.3.0.post0-py3-none-any.whl
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 8473f37a8488406e45c9d8578b3a6d372756d44703e5cfad0a3894208ca44073 | |
| MD5 | 7505d952fed9dc0c2a51f3d4f40eb007 | |
| BLAKE2b-256 | ad47a534a7378402c31f12ef389ff3c03f300f5d3e2867b6a8c385049e75ca00 |