Update snipeit.sh for v7 Requirements #14105
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update changelog
update snipeit DB user name to not collide with database name
remove Fedora surpport, add amazoni linux 2 and Alma 8/9
Add php8.2 support in centos/alma
Split apart mysql user creation and permissions grant. Can't do them
as one operation anymore
In general, we'll only support LTS Ubuntu repos because of this, but if
they happen to ship with our preferred PHP versions and otherwise work w/o
heroics, we'll include nominal support in the script
the Ondrej repo we use for installing arbitrary PHP versions doesn't
(easily) support non-LTS versions of ubuntu, which means that 23.04 and
23.10 are problematic using the repo
However, these versions ship with php8.1 and php8.2 (respectively), so we
don't even need the Ondrej repo for these, so we'll remove it
split-out ubuntu 23* versions
since 2023 didn't produce and LTS ubuntu versions
remove remaining 8.2 references in Ubuntu 23* block, because they
ship with new-enough php (for now.. see below)
update Ubuntu versions comment in code block
stop quoting run_as_app_user args
because "$@" splits positional parameters, but quoting the args makes them
one arg, which doesn't work
fix up ondrej repo
add new ubuntu/debian versions, change php to 8.2