summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-30Merge pull request #52 from jemstep/Merge-reproduction-perf-improvementsHEADmainjemstep-edward
Merge reproduction perf improvements
2020-03-30Version bumpJustin Worthe
2020-03-30Replace temp repo clone from libgit with using the Git CLI and the --shared flagJustin Worthe
Shared sets up Git's alternative object database mechanism, letting it read objects from the original repo on demand rather than cloning everything.
2020-03-30Rearranged checks so that the expensive reproducing merge commit happens ↵Justin Worthe
after rebase check
2020-03-30Added a lazily-executed variant of policy result chainingJustin Worthe
2020-03-26Merge pull request #51 from jemstep/Missing-dir-issuejemstep-edward
Fix issue where iterating through references in a fully garbage collected repo failed
2020-03-26Made temp repo cloning a bare clone to save in storage spaceJustin Worthe
tmp is often a ramdisk, so this is probably actually often saving in memory usage rather than temporary storage.
2020-03-25Updated transitive dependenciesJustin Worthe
2020-03-25Added comment to explain LTO flogJustin Worthe
2020-03-25Removed unneccessary 'return'Justin Worthe
2020-03-25Patch version bumpJustin Worthe
2020-03-25Added caching of the temp repoJustin Worthe
Now that we need to clone the whole repo, it makes more sense to clone it once (lazily) and use that one clone of the repo for any subsequent checks that need it.
2020-03-24Changed merge commit reproduction to use a cloned temporary repoJustin Worthe
This is necessary because, in newer versions of libgit, writing a tree fails if you're writing into a repo that doesn't actually have the necessary files.
2020-03-24Updated libgit dependenciesJustin Worthe
This appears to fix the original problem. The new version fixes the problem with failing when /refs/heads doesn't exist. However, this introduces a new problem with how we've implemented the trivial merge check.
2020-03-24GCed test repo and removed .gitkeep files to reproduce issueJustin Worthe
2020-03-17Merge pull request #50 from jemstep/PYKE-11910-Enforce-RebasingJustin Wernick
Pyke 11910 enforce rebasing
2020-03-16Minor version bumpJustin Worthe
2020-03-16PYKE-11910: Fixed is_tag test to not error if the tag doesn't exist yetJustin Worthe
2020-03-16Merge pull request #49 from jemstep/PYKE-11910-Enforce-RebasingJustin Wernick
Pyke 11910 enforce rebasing
2020-03-16Version bumpJustin Worthe
2020-03-13Updated documentation for using the test GPG key in testsJustin Worthe
The previous one didn't say how to import the GPG key.
2020-03-13Removed bad equals character in getting started docs!Justin Worthe
2020-03-13PYKE-11910: Simplified hairy iterator code with a mutable for loopJustin Worthe
2020-03-13PYKE-11910: Inlined condition so we don't run it if we don't need toJustin Worthe
2020-03-13PYKE-11910: Moved reference update and gave it some testsJustin Worthe
2020-03-13Moved ReferenceUpdate parsing to happen with the rest of hook info parsingJustin Worthe
2020-03-13PYKE-11910: Created a central way of identifying the different branch update ↵Justin Worthe
cases
2020-03-13Refactored PolicyResult into its own fileJustin Worthe
2020-03-10PYKE-11910: implemented edge-case for force-pushesJeff Chien
2020-03-10PYKE-11910: implemented working rebase logicJeff Chien
2020-03-10PYKE-11910: test-repo additions for rebase testJeff Chien
2020-03-10PYKE-11910: Add test case verifying that rebased branch is allowed when ↵Janco Wolmarans
checking rebase config enforced
2020-03-04PYKE-11910: Updated wording in logging for rebase checkJustin Worthe
2020-03-04PYKE-11910: Added tests for blocking unrebased changesJustin Worthe
2020-03-04PYKE-11910-Enforce-Rebasing: Added additional test data to test repoJustin Worthe
2020-03-04PYKE-11910: Added checks for verifying code is rebased before merging into ↵Justin Worthe
mainline
2020-03-04Merge pull request #48 from jemstep/github-prereceive-environmentjemstep-edward
GitHub prereceive sandbox environment
2020-03-03Added additional info on the firejail sandbox in the readmeJustin Worthe
2020-03-03Made script to build Github environment independent of where it's called fromJustin Worthe
2020-03-03Switched GPG version to 1 instead of 2 for Github sandboxJustin Worthe
It seems like the way Github has set up their pre-receive sandbox is preventing socket communication between gpg2 and dirmngr, which completely breaks our ability to fetch keys. Hopefully gpg1 will still work, since it's before these were split into different processes.
2020-02-20Wrote a section in the readme on monitoringJustin Worthe
2020-02-20Documented runtime dependenciesJustin Worthe
2020-02-20Changed base image to ubuntu since it includes glibcJustin Worthe
2020-02-19Added dockerfile for setting up github pre-receive environmentJustin Worthe
2020-02-19Improved logging in the GPG error case for parallel fetching of keysJustin Worthe
2020-02-19Merge pull request #47 from jemstep/improve-gpg-loggingDaniel Paulo Pimenta Cabral
Improved logging of GPG errors
2020-02-19Improved logging of GPG errorsJustin Worthe
2020-02-03Merge pull request #46 from jemstep/version-bumpJustin Wernick
Bumped version number
2020-02-03Bumped version numberJustin Worthe
2020-02-03Merge pull request #45 from jemstep/PYKE-11909-multiple-mainline-branchesjemstep-edward
Pyke 11909 multiple mainline branches