# BONUS: Listener Question on Repository Organization

- Show: [The Pragmatic Embedded Podcast](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast)
- Published: 2025-04-24
- Length: 15m
- Page: https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization
- Listen: https://agileembeddedpodcast.com/episodes/e78-minimumcd-listener-question-rMeORqn_

## Summary

Luca Ingianni responds to a listener's question about repository granularity in safety-critical embedded development, arguing against the use of separate repositories for different work products. He advocates for a monorepo approach with trunk-based development, suggesting that splitting code into micro-repositories leads to architectural errors and hidden divergences. Instead, he recommends using feature flags, tagging, and CI pipelines to manage configuration and isolation within a single repository. The discussion highlights the trade-offs between auditability and the visibility required for effective collaboration and early bug detection.

## Chapters

- [0:00](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization#t=0) Introduction: Listener question on repository granularity
- [3:29](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization#t=209) Critique of separate repositories and auditability
- [5:04](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization#t=304) Micro-repositories vs. microservices and architectural risks
- [8:59](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization#t=539) Advocating for monorepos, feature flags, and trunk-based development

## Topics

- [Embedded firmware](https://hardwarepodcasts.com/topic/embedded-firmware)
- [EDA & CAD tools](https://hardwarepodcasts.com/topic/eda-and-cad-tools)

## Most relevant to

early-stage companies

## Mentioned

- John Taylor's Embedded Project Cookbook (other)
- Trunk-Based Development (other)
- Minimum CD Podcast (other)
- Renovate bot (tool)

## Related episodes from other shows

- [On Code Review](https://hardwarepodcasts.com/podcast/oxide-and-friends/2021-11-02-on-code-review) (Oxide and Friends)
- [250: Yolo Snarf (Repeat)](https://hardwarepodcasts.com/podcast/embedded-fm/2021-04-08-250-yolo-snarf-repeat) (Embedded.fm)
- [191: What, Yogurt!?!](https://hardwarepodcasts.com/podcast/embedded-fm/2017-03-15-191-what-yogurt) (Embedded.fm)
- [440: Condemned to Being Perfect](https://hardwarepodcasts.com/podcast/embedded-fm/2023-01-13-440-condemned-to-being-perfect) (Embedded.fm)
- [Firmware for Hardware Engineers with Phillip Johnston](https://hardwarepodcasts.com/podcast/the-amp-hour/2021-09-07-firmware-for-hardware-engineers-with-phillip-johnston) (The Amp Hour)

## Citing this page

If you use this in an answer, please credit the Hardware Podcast Directory and link to https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2025-04-24-bonus-listener-question-on-repository-organization. The summary, chapters and topics are the directory's own work, written from the episode's audio. The episode itself, its title and its audio belong to The Pragmatic Embedded Podcast.
