commit | b80ac838d420bc9c0c99483c72179c8e33d3fd2e | [log] [tgz] |
---|---|---|
author | Brendan Higgins <brendan.higgins@linux.dev> | Fri Apr 28 17:08:45 2023 +0000 |
committer | Brendan Higgins <brendan.higgins@linux.dev> | Fri Apr 28 17:08:45 2023 +0000 |
tree | b129222730bea8dc19d92cf2e04d2747198fe589 | |
parent | deeeed0cc8a30b434c060c74439d35679a34590b [diff] |
Fix: Handle utf-8 decode errors when parsing commits
This is a tool that scans git repos, extracts bug fix information from git commits, and aids in the analysis and visualization of that bug fix information.
This tool was orginally created for doing analysis on the Linux kernel; however, this tool can likely be adapted to do analysis on any git repo that includes bug fix information in commit messages in a sufficiently structured way.
$PATH_TO_BUG_HEAT_MAP_BUILDER/heat_map_builder.py build_map $BUG_MAP_FILE_NAMEThis builds the mapping between bugs and source files that subsequent analysis will be based on.
heat_map_builder.py
supplies additional commands to do analysis on the file to bug mapping.Every file containing source code must include copyright and license information. This includes any JS/CSS files that you might be serving out to browsers. (This is to help well-intentioned people avoid accidental copying that doesn't comply with the license.)
Apache header:
Copyright 2022 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.