Working with large monorepos can be challenging, especially when it comes to managing Git operations like fetching. In repositories with hundreds or thousands of branches, a simple git fetch can become slow and resource-intensive. Understanding how to configure fetch rules can dramatically improve your workflow.
Other articles
Migrating from WordPress to Pelican with Python
Migrating from WordPress to Pelican with Python: Building HTML to Markdown Extraction Tools
Recently, I finished migrating this blog from WordPress to Pelican, a Python-based static site generator. Instead of manually converting dozens of posts, I built a collection of Python scripts to automate the extraction and conversion process. The …
read moreHow to Shade Dependencies in Java with Bazel
How to Shade Dependencies in Java with Bazel
Shading Dependencies
What: Shading is the process of making two versions of a dependency available at compile time to Java code.
Why: Two versions of a dependency otherwise will “shadow” or conflict with each other on the classpath if they share the …
read moreHow to read files in Java with Bazel
How to read files in Java with Bazel
Bazel Build/Test Sandbox
What: The Bazel sandbox is an isolation mechanism that ensures targets only have visibility of specified files.
Why: The sandbox ensures Bazel targets are compiled and tested with exactly the same files across different build hosts, enabling hermetic …
read moreCurrency Inputs in AngularJS (1.x)
Currency inputs seem to be a forgotten area of standard libraries. Even the batteries included .NET MVC framework doesn’t really answer the question for you. They often are omitted completely, and the community variants are many and buggy. This soup of conflicting standards over a very basic problem brings …
read moreHow I Am Learning React
I’ve recently gotten a new project where I’m having to pick up a slew of new skills, including Facebook’s React JS library. As with learning any new library, it can be easy to get “tutorialized”, but harder to get truly proficient. Effectively you need to move to …
read moreYou Aren’t Going To Need It – Until It Kills You
Not too long ago a Internet of Things (IoT) startup posted a impassioned piece on how their cloud provider had changed their billing procedures, and nearly drove the startup out of business. They had put significant functionality behind a cloud provider, given themselves no way to update their products, no …
read moreDiscounting Adulting Skills
When I taught at my local community college, I could identify my best students quickly.
They were on time.
They showed up on time. They did the homework on time.
They had prepared for class ahead of time. They read the chapter before class. They had reliable transportation. They were …
read moreAutomatic Versioning of C# MVC Applications
I recently had a project that had me delving into the following blog post on assembly versioning: https://blogs.msdn.microsoft.com/jjameson/2009/04/03/best-practices-for-net-assembly-versioning/
The blog post had a couple of problems. The first that came to mind was that the linked examples were using Team Foundation …
read more