{"id":17713648,"url":"https://github.com/sprinining/mdfile","last_synced_at":"2025-03-31T10:28:03.526Z","repository":{"id":258615162,"uuid":"874129132","full_name":"Sprinining/mdFile","owner":"Sprinining","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-03T02:35:24.000Z","size":35756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-13T12:16:26.804Z","etag":null,"topics":["algorithms","android","cpp","designpatterns","git","java"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sprinining.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T09:53:36.000Z","updated_at":"2024-11-03T02:35:28.000Z","dependencies_parsed_at":"2024-11-02T17:27:10.303Z","dependency_job_id":null,"html_url":"https://github.com/Sprinining/mdFile","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"e805125de16e415c255510bb108fd6f477cee671"},"previous_names":["sprinining/mdfile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sprinining%2FmdFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sprinining%2FmdFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sprinining%2FmdFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sprinining%2FmdFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sprinining","download_url":"https://codeload.github.com/Sprinining/mdFile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237494264,"owners_count":19319096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","android","cpp","designpatterns","git","java"],"created_at":"2024-10-25T10:05:36.881Z","updated_at":"2025-02-06T14:57:27.349Z","avatar_url":"https://github.com/Sprinining.png","language":null,"readme":"## 仓库用途\r\n\r\n------\r\n\r\n记录学习内容\r\n\r\n## 历史变更\r\n\r\n------\r\n\r\n### 2024.10.17\r\n\r\n- 迁移自原来的仓库（已修改为 private），修改了文件目录结构\r\n\r\n## 提交规范\r\n\r\n------\r\n\r\n采用 [Angular 提交信息规范](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)，提交格式如下：\r\n\r\n```txt\r\n\u003ctype\u003e(\u003cscope\u003e): \u003csubject\u003e\r\n\u003cBLANK LINE\u003e\r\n\u003cbody\u003e\r\n\u003cBLANK LINE\u003e\r\n\u003cfooter\u003e\r\n```\r\n\r\n每次提交可以包含页眉(`header`)、正文(`body`)和页脚(`footer`)，每次提交**必须包含页眉内容**\r\n\r\n每次提交的信息不超过`100`个字符\r\n\r\n详细文档：[AngularJS Git Commit Message Conventions](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#)\r\n\r\n### 1.页眉设置\r\n\r\n页眉的格式指定为提交类型(`type`)、作用域(`scope`，可选)和主题(`subject`)\r\n\r\n#### 1.1提交类型\r\n\r\n提交类型指定为下面其中一个：\r\n\r\n1. `build`：对构建系统或者外部依赖项进行了修改\r\n2. `ci`：对CI配置文件或脚本进行了修改\r\n3. `docs`：对文档进行了修改\r\n4. `feat`：增加新的特征\r\n5. `fix`：修复`bug`\r\n6. `pref`：提高性能的代码更改\r\n7. `refactor`：既不是修复`bug`也不是添加特征的代码重构\r\n8. `style`：不影响代码含义的修改，比如空格、格式化、缺失的分号等\r\n9. `test`：增加确实的测试或者矫正已存在的测试\r\n\r\n#### 1.2作用域\r\n\r\n范围可以是任何指定提交更改位置的内容\r\n\r\n#### 1.3主题\r\n\r\n主题包括了对本次修改的简洁描述，有以下准则\r\n\r\n1. 使用命令式，现在时态：“改变”不是“已改变”也不是“改变了”\r\n2. 不要大写首字母\r\n3. 不在末尾添加句号\r\n\r\n### 2.正文设置\r\n\r\n和主题设置类似，使用命令式、现在时态\r\n\r\n应该包含修改的动机以及和之前行为的对比\r\n\r\n### 3.页脚设置\r\n\r\n#### 3.1 Breaking changes\r\n\r\n不兼容修改指的是本次提交修改了不兼容之前版本的`API`或者环境变量\r\n\r\n所有不兼容修改都必须在页脚中作为中断更改块提到，以`BREAKING CHANGE`:开头，后跟一个空格或者两个换行符，其余的信息就是对此次修改的描述，修改的理由和修改注释\r\n\r\n```txt\r\nBREAKING CHANGE: isolate scope bindings definition has changed and\r\n    the inject option for the directive controller injection was removed.\r\n\r\n    To migrate the code follow the example below:\r\n\r\n    Before:\r\n\r\n    。。。\r\n    。。。\r\n\r\n    After:\r\n\r\n    。。。\r\n    。。。\r\n\r\n    The removed `inject` wasn't generaly useful for directives so there should be no code using it.\r\n```\r\n\r\n#### 3.2 引用提交的问题\r\n\r\n如果本次提交目的是修改`issue`的话，需要在页脚引用该`issue`\r\n\r\n以关键字`Closes`开头，比如\r\n\r\n```txt\r\nCloses #234\r\n```\r\n\r\n如果修改了多个`bug`，以逗号隔开\r\n\r\n```txt\r\nCloses #123, #245, #992\r\n```\r\n\r\n### 4.回滚设置\r\n\r\n当此次提交包含回滚(`revert`)操作，那么页眉以`\"revert:\"`开头，同时在正文中添加`\"This reverts commit hash\"`，其中`hash`值表示被回滚前的提交\r\n\r\n```txt\r\nrevert:\u003ctype\u003e(\u003cscope\u003e): \u003csubject\u003e\r\n\u003cBLANK LINE\u003e\r\nThis reverts commit hash\r\n\u003cother-body\u003e\r\n\u003cBLANK LINE\u003e\r\n\u003cfooter\u003e\r\n```\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprinining%2Fmdfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsprinining%2Fmdfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprinining%2Fmdfile/lists"}