5.1.0 Periwinkle #1121
oklopfer
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pacstall v5.1.0 Periwinkle
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 4.0.0 or higher with
pacstall -U pacstall:master
, or reinstall using the deb file.Developers, Developers, Developers...
Features
_DISTRO
arrays/vars by @oklopfer (feat(*): add_DISTRO
arrays/vars #1106)--nosandbox
/-Ns
flag by @oklopfer (feat(bwrap.sh):--nosandbox
/-Ns
flag #1116)-Rr
/--remove-repo
by @oklopfer (feat(add-repo.sh): allow-Rr
/--remove-repo
#1118)Bug Fixes
exit 0
in places that needed it by @oklopfer (fix(fetch-sources,package): provide neededexit 0
s #1112)PACDIR
exists when running-Up
by @oklopfer (fix(upgrade.sh): ensurePACDIR
exists before creating tmps #1117)bwrap
'd functions by @vigress8 (fix(bwrap.sh): make untarring work #1115)For the Pacscript Maintainers
Important
Breaking changes to the pacscript spec were added in 5.0.0 (Release)
Refer to the release notes when updating pacscripts in the official or third party repos.
How to use the new features
_DISTRO
arrays and variablesIn aim to make pacscript declarations more static, and to improve the accuracy of
.SRCINFO
in pacstall/pacstall-programs, over 2000 new arrays and variables have been introduced; pacscripts should deprecate their usage of$DISTRO
checks wherever possible in favor of these additions. These are used just as_CARCH
options are, and on all of the same arrays and variables. They provide the following options:var_DISTROBASE
, whereDISTROBASE
is eitherubuntu
ordebian
; e.g.source_ubuntu
ordepends_debian
var_DISTROVER
, whereDISTROVER
is a version codename; e.g.source_jammy
ordepends_bookworm
22.04
or12
var_DISTROBASE_CARCH
, e.g.source_ubuntu_arm64
ordepends_debian_i386
var_DISTROVER_CARCH
, e.g.source_jammy_arm64
ordepends_bookworm_i386
A CI maintained file at https://github.com/pacstall/pacstall-programs/blob/master/distrolist will provide an up-to-date list of the supported
DISTROVER
options.-Ns
/--nosandbox
Some environments, namely
chroot
orchroot-like
ones, are purely incompatible withbwrap
(e.g. Debian'slive-build
, which uses chroot). These environments need to be able to build pacscripts withoutbwrap
involved. While this is how pacstall worked before5.0.0
, this lack of isolation is still potentially dangerous and could lead to unwanted harm on a system. This flag should be used with caution, and is intended for use in those aforementioned environments, which already have other levels of isolation.-Rr
/--remove-repo
and repo metalinksThe
-A
/--add-repo
command has existed for a long time, with no accommodating removal function. The new-Rr
/--remove-repo
command can be used with the exact same syntax as its adding counterpart. In addition to passing links as normal (e.g.https://github.com/user/repo
orfile://path/to/dir
), metalinks (which are used in-Qa
and displayed in-Up
) may also be used for more user-friendly handling of the commands. They are formatted with the following options:provider:user/repo
, whereprovider
is eithergithub
orgitlab
; defaults to branchmaster
provider:user/repo#branch
local:/path/to/dir
Example usage:
Pacscript for this releases Deb
This discussion was created from the release 5.1.0 Periwinkle.
Beta Was this translation helpful? Give feedback.
All reactions