ravi688 / ravi688/BuildMaster

Bug: No pre-config hook execution if reconfigure doesn't happen with meson setup

Open
#95 0 comments 0 reactions 1 assignee View on GitHub

@ravi688 is already working on this.

Since Mar 30, 2025.

bug build_master_meson
Dominant language
C++
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Problem

Project reconfigure can happen even without running meson setup. If build_master.json is out of date, then a new meson.build will be generated, thus project reconfigure would occur even if you run meson compile, in which case build_master wouldn't know that project reconfiguring is happening and wouldn't execute the preconfigure hook scripts.

Solution

Use Inter-Process-Communication like PIPE, Message Queus, or Sockets to establish a communication channel between build_master process and meson process. When meson starts the project reconfiguration due to any stimuli, it would send a message or a signal to the build_master process to allow that to execute its pre-configuration hook scripts, and after script completion, build_master process would send an ACK to the meson process to let it continue further in project reconfiguration.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.