 
      
    | You are here | phpstan.org | ||
| | | | | stribny.name | |
| | | | | ||
| | | | | mark.biek.org | |
| | | | | At work, we've spent a lot of time trying to figure out the best way to handling linting Pull Requests. We had some success with [mergeatron](https://github.com/SnapInteractive/mergeatron) + Jenkins for a long time, but eventually started to run into problems (like it crashing the server it was running on and being super slow). We spent some... | |
| | | | | www.brandonpugh.com | |
| | | | | TLDR: Git hooks are an awesome way to automatically verify your code as you commit your changes I'm sure we've all been there where we accidentally committed a change that we were supposed to undo or wasn't ready to be pushed and don't realize it until the build breaks or QA finds a bug. The first step I take to avoid committing anything unintentionally is instead of just running git add -A I make sure to review all the changes in the files I'm potentially committing. This is where a graphical tool like Gitk or SmartGit comes in handy as they allow you to click on your modified files and easily view a diff and then select which changes to stage. Unfortunately changes still slip through as happened to me yesterday when a change of mine got pushed all the way to Test before it was noticed. This led me to create an additional safety net. | |
| | | | | robr.dev | |
| | | Three things from this week. This week I've been following a lot of random threads again. Here are a few of them. Octoprint If you use a 3d printer you might be interested in Octoprint. It runs on a computer connected to the printer and handles a bunch of features like managing prints sent to the printer, tracking progress, or (with a webcam) streams video of the printer while it works. | ||