在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:google/git-appraise开源软件地址:https://github.com/google/git-appraise开源编程语言:Go 100.0%开源软件介绍:Distributed Code Review For GitThis repo contains a command line tool for performing code reviews on git repositories. OverviewThis tool is a distributed code review system for git repos. By "distributed", we mean that code reviews are stored inside of the repository as git objects. Every developer on your team has their own copy of the review history that they can push or pull. When pulling, updates from the remote repo are automatically merged by the tool. This design removes the need for any sort of server-side setup. As a result, this tool can work with any git hosting provider, and the only setup required is installing the client on your workstation. InstallationAssuming you have the Go tools installed, run the following command:
Then, either make sure that
Windows:
RequirementsThis tool expects to run in an environment with the following attributes:
UsageRequesting a code review:
Pushing code reviews to a remote:
Pulling code reviews from a remote:
Listing open code reviews:
Showing the status of the current review, including comments:
Showing the diff of a review:
Commenting on a review:
Accepting the changes in a review:
Submitting the current review:
A more detailed getting started doc is available here. MetadataThe code review data is stored in git-notes, using the formats described below. Each item stored is written as a single line of JSON, and is written with at most one such item per line. This allows the git notes to be automatically merged using the "cat_sort_uniq" strategy. Since these notes are not in a human-friendly form, all of the refs used to track them start with the prefix "refs/notes/devtools". This helps make it clear that these are meant to be read and written by automated tools. When a field named "v" appears in one of these notes, it is used to denote the version of the metadata format being used. If that field is missing, then it defaults to the value 0, which corresponds to this initial version of the formats. Code Review RequestsCode review requests are stored in the "refs/notes/devtools/reviews" ref, and annotate the first revision in a review. They must conform to the request schema. If there are multiple requests for a single commit, then they are sorted by timestamp and the final request is treated as the current one. This sorting should be done in a stable manner, so that if there are multiple requests with the same timestamp, then the last such request in the note is treated as the current one. This design allows a user to update a review request by re-running the
Continuous Integration StatusContinuous integration build and test results are stored in the "refs/notes/devtools/ci" ref, and annotate the revision that was built and tested. They must conform to the ci schema. Robot CommentsRobot comments are comments generated by static analysis tools. These are stored in the "refs/notes/devtools/analyses" ref, and annotate the revision. They must conform to the analysis schema. Review CommentsReview comments are comments that were written by a person rather than by a machine. These are stored in the "refs/notes/devtools/discuss" ref, and annotate the first revision in the review. They must conform to the comment schema. IntegrationsLibrariesGraphical User InterfacesPluginsMirrors to other systemsContributingPlease see the CONTRIBUTING file for information on contributing to Git Appraise. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论