[PR #24] [MERGED] rbuild: ignore .hg directories when staging sources #83

Closed
opened 2026-11-03 22:04:29 -07:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RhapsodiOS/RhapsodiOS/pull/24
Author: @raynorpat
Created: 9/17/2026
Status: ✅ Merged
Merged: 9/17/2026
Merged by: @raynorpat

Base: qemu-debug-loop ← Head: rbuild-ignore-hg


📝 Commits (1)

  • a750a4c rbuild: ignore Mercurial .hg directories when staging sources

📊 Changes

3 files changed (+64 additions, -3 deletions)

View changed files

📝 src/rbuild-1/Makefile (+1 -1)
📝 src/rbuild-1/builder.c (+3 -2)
📝 src/rbuild-1/tests/test_builder.c (+60 -0)

📄 Description

Summary

  • Exclude Mercurial .hg/ trees from rbuild source staging, matching the existing CVS, SVN, and Git ignores.
  • Also exclude .hg from rbuild's own installsrc tarball.

Test plan

  • Guest tests/test_builder: 420 checks, 0 failures, including test_setupdirs_excludes_hg (failed before the exclude, passed after).

Closes #23

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RhapsodiOS/RhapsodiOS/pull/24 **Author:** [@raynorpat](https://github.com/raynorpat) **Created:** 9/17/2026 **Status:** ✅ Merged **Merged:** 9/17/2026 **Merged by:** [@raynorpat](https://github.com/raynorpat) **Base:** `qemu-debug-loop` ← **Head:** `rbuild-ignore-hg` --- ### 📝 Commits (1) - [`a750a4c`](https://github.com/RhapsodiOS/RhapsodiOS/commit/a750a4c520185a80847a47e4e694707c212738b9) rbuild: ignore Mercurial .hg directories when staging sources ### 📊 Changes **3 files changed** (+64 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/rbuild-1/Makefile` (+1 -1) 📝 `src/rbuild-1/builder.c` (+3 -2) 📝 `src/rbuild-1/tests/test_builder.c` (+60 -0) </details> ### 📄 Description ## Summary - Exclude Mercurial `.hg/` trees from rbuild source staging, matching the existing CVS, SVN, and Git ignores. - Also exclude `.hg` from rbuild's own `installsrc` tarball. ## Test plan - [x] Guest `tests/test_builder`: 420 checks, 0 failures, including `test_setupdirs_excludes_hg` (failed before the exclude, passed after). Closes #23 Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-11-03 22:04:29 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github-starred/RhapsodiOS#83
No description provided.