docs: form an official process/policy for updating our Zig version #1122
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#1122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Context
Today we hold PRs like https://github.com/hexops/mach-glfw/pull/32 and don't merge them until we're ready to upgrade all Mach projects to the latest Zig version.
Sometimes upgrading to the latest Zig version is easy, other times it can be more complex. For example, many times we can complete this in all ~40 projects we have in under a day - but sometimes more extensive changes have been made to Zig and we need to put in more time.
In cases where we know it will take more time to upgrade, users of standalone libraries often send PRs like https://github.com/hexops/mach-glfw/pull/32 wanting to use the latest Zig version .. but we can't merge those until we're ready to upgrade all our projects, otherwise they will frequently be supporting different Zig versions which makes developing, testing, and in general using them more difficult - especially by normal Mach users.
For example, someone may stumble across mach-sysaudio and decide to try it, then try to use mach-flac to decode FLAC audio files.. only to find they don't support the same Zig version yet because we're in the middle of an upgrade. Using 'the older version' isn't really a great option either, as then you are unable to easily send PRs to fix real issues unrelated to upgrading Zig.
Aspiration
github.com/hexops/mach@9250310c4a/build.zig.zon (L18-L21)Helped by new issue template: https://github.com/hexops/mach/issues/1135