mirror of
https://github.com/fosrl/olm.git
synced 2026-05-06 10:47:55 -05:00
[PR #100] [MERGED] feat(DNS): Add static cleanup funcs #101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/olm/pull/100
Author: @LaurenceJJones
Created: 3/12/2026
Status: ✅ Merged
Merged: 4/8/2026
Merged by: @oschwartz10612
Base:
main← Head:fix/issue-38-stale-dns-cleanup📝 Commits (2)
8549dc8enhance(dns): expose stale cleanup functionalityf250702feat(DNS): Add static cleanup funcs📊 Changes
9 files changed (+245 additions, -2 deletions)
View changed files
📝
dns/override/dns_override_android.go(+7 -1)📝
dns/override/dns_override_darwin.go(+17 -0)📝
dns/override/dns_override_ios.go(+7 -1)📝
dns/override/dns_override_unix.go(+46 -0)📝
dns/override/dns_override_windows.go(+16 -0)📝
dns/platform/darwin.go(+56 -0)📝
dns/platform/file.go(+24 -0)📝
dns/platform/network_manager.go(+38 -0)📝
dns/platform/resolvconf.go(+34 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Add static cleanup functions inside olm so other implementations can invoke these to cleanup configuration of olm without explicitly needing to know which configuration olm creates.
How to test?
Currently this is purely just a SDK improvement to which the CLI will need to implement these as either prerun hooks to
upanddownor we add apangolin cleanupfunction so it explicit.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.