Skip to content

Unexpose config headers (low hanging fruit only) (backport #12773)#12779

Merged
mergify[bot] merged 1 commit into2.26-maintenancefrom
mergify/bp/2.26-maintenance/pr-12773
Mar 28, 2025
Merged

Unexpose config headers (low hanging fruit only) (backport #12773)#12779
mergify[bot] merged 1 commit into2.26-maintenancefrom
mergify/bp/2.26-maintenance/pr-12773

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Mar 28, 2025

  • Some headers were completely redundant and have been removed.
  • Other headers have been turned private.
  • Unnecessary meson.build code has been removed.
  • libutil-tests now has a private config header, where previously it had none. This removes the need to expose a package version macro publicly.

I've left a few comments about usage as a public header. It doesn't seem like all that many places.

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #12773 done by [Mergify](https://mergify.com).

- Some headers were completely redundant and have been removed.
- Other headers have been turned private.
- Unnecessary meson.build code has been removed.
- libutil-tests now has a private config header, where previously
  it had none. This removes the need to expose a package version
  macro publicly.

(cherry picked from commit b86a760)
@mergify mergify bot requested a review from Ericson2314 as a code owner March 28, 2025 16:44
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Mar 28, 2025
@mergify mergify bot requested a review from edolstra as a code owner March 28, 2025 16:44
@github-actions github-actions bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority c api Nix as a C library with a stable interface labels Mar 28, 2025
@Ericson2314
Copy link
Member

Ericson2314 commented Mar 28, 2025

@Mergifyio queue

@mergify
Copy link
Contributor Author

mergify bot commented Mar 28, 2025

enqueue

❌ Sorry but I didn't understand the command. Please consult the commands documentation 📚.

@mergify
Copy link
Contributor Author

mergify bot commented Mar 28, 2025

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at e393b2c

mergify bot added a commit that referenced this pull request Mar 28, 2025
@mergify mergify bot merged commit e393b2c into 2.26-maintenance Mar 28, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.26-maintenance/pr-12773 branch March 28, 2025 18:43
@Ericson2314
Copy link
Member

@edolstra if we're not doing #12780 (comment), then we should revert this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) c api Nix as a C library with a stable interface merge-queue new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants