Lines Matching full:commits
17 // updates. It fetches the commits over a user-specified timeframe, derives
18 // a little metadata about each commit, organizes the commits, and renders
23 // Get the commits from the user-specified timeframe.
30 let commits = [];
32 // The commits are pulled from the Pigweed mirror on GitHub because
34 let url = new URL(`https://api.github.com/repos/google/pigweed/commits`);
55 commits = commits.concat(data);
58 return commits;
64 async function normalize(commits) { argument
72 commits.forEach((commit) => {
84 async function annotate(commits) { argument
132 for (let i = 0; i < commits.length; i++) {
133 let commit = commits[i];
145 // pw_tokenizer and they should be able to see all commits that affected
170 return commits;
173 // If there are any categories of commits that we don't want to surface
175 async function filter(commits) { argument
176 const filteredCommits = commits.filter((commit) => {
184 async function render(commits) { argument
185 function organizeByCategoryAndTopic(commits) { argument
187 commits.forEach((commit) => {
199 async function createRestSection(commits) { argument
242 if (!(category in commits)) continue;
245 let topics = Object.keys(commits[category]);
256 commits[category][topic].forEach((commit) => {
287 const organizedCommits = organizeByCategoryAndTopic(commits);