Posts

21 June Jens Grassel / Software

VCS usually have hooks into which commands can be “plugged” to be executed automatically upon certain events and the great darcs is no exception.

Having your code checked for formatting guidelines before you record (commit) it is quite convenient and so let us implement a prerecord hook for darcs that instruments sbt to check you code style.

31 May Jens Grassel / Software

There are scenarios when you might want to automatically create snapshots via ZFS to have a backup ready if needed. The features of ZFS make this straightforward and easy. However this also means that you might run into trouble because of having too many snapshots.

23 March Jens Grassel / Software

It is nice if your CI/CD pipeline does also check for code format compliance but sometimes you may want to have feedback earlier or even prevent unformatted code to enter the repository.

In such a case the git DVCS offers hooks to the rescue. You can either dive into their documentation or simply use the script provided below. ;-)

10 July Jens Grassel / Software

Sometime you need or want to move a commit or several of them between different git branches. One possible scenario would involve a created feature branch which runs a bit longer and multiple important fixes have been made on it. Some might argue that this shouldn’t happen but guess what: this happens all the time. ;-)

19 May Jens Grassel / Software

For some time now the usage of metals for Scala development is no longer a choice for the brave but could be considered the “should be default” variant. However the installation for the neovim plugins has changed from using coursier bootstrap to something supposed to be easier. But at least under FreeBSD I ran into some issues. So here is a workaround to get a clean installation.