You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master, or reinstall using the deb file.
In your Pacscripts, if a package must forcefully be downgraded, you should include the variable epoch="num" in your script. If left out, Pacstall will not take it into account during the version generation. If it is included, the version will end up looking like this: $epoch:$version. An example would be if you had the version 1.0.0, however an issue required you to force downgrade, you would specify epoch="1", version="0.9.0", and Pacstall will force downgrade. Use this feature sparingly.
incompatible array
This array is used to prevent certain distros and versions from being able to run your script. This could be used for a variety of reasons, but the most common are missing or outdated dependencies on those distros (maybe make a Pacscript for those!). You may specify a glob (*) for a catch all selection, or the full name. Codenames and version numbers are valid. Using a glob for both sides (*:*) is invalid. The array takes a form like this:
# Disallow on Debian Stretch, any Ubuntu version, anything with the codename `jammy`, and anything with the version `17.04`
incompatible=('debian:stretch''debian:sid''ubuntu:*''*:jammy''*:17.04')
You can retrieve your distro name by running lsb_release -si 2>/dev/null | tr '[:upper:]' '[:lower:]'.
To get the version name you can run lsb_release -sc 2>/dev/null | tr '[:upper:]' '[:lower:]'.
Logged functions
Pacstall will now log the output of prepare, build, and install to logs in /var/log/pacstall/error_log/$(date +"%Y-%m-%d_%T")-$name-$func.log where $name is the name of the package and $func is the function currently running. Logs will be automatically deleted after 30 days.
xz compresssion with -B flag
This simply means that when you use the -B flag to create a Deb, Pacstall will compress data.tar and control.tar with the xz format, instead of gz. Benchmarks are provided here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pacstall v3.1.0 Pearl
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with
pacstall -U pacstall master
, or reinstall using the deb file.Developers, Developers, Developers...
Features
epoch
variable by @henryws (feat: addepoch
#720, fix(upgrade): take epoch into account #740)incompatible
array by @henryws (feat: addincompatible
array #717)-B
are compressed withxz
by @henryws (feat(createdeb): usexz
instead ofgzip
#729)Bug Fixes
PACSTALL_EDITOR
if editor cannot be found by @henryws (fix(PACSTALL_EDITOR): fall back to EDITOR if not found #708)DEBIAN_FRONTEND
asnoninteractive
on-P
flag by @henryws (fix(-P): use noninteractive #713)gives
beforename
when pinning package by @henryws (fix(pin): use gives first #728)gives
is if it does not exist on Deb packages by @henryws (fix(log): figure out whatgives
is based on Deb #739)0$version
is the same as$remotever
without the leading0
by @henryws (fix(upgrade.sh): skip git packages if0$version
equals$remoteversion
without0
#742)wait
to prevent some upgrades from failing to show by @henryws (fix(upgrade): place wait to prevent overwritten variables #746)Internal changes
grep
calls with bash comparisons by @henryws (fix(install-local): move somegrep
commands to bash comparisons #709)How to use new features
epoch
variableIn your Pacscripts, if a package must forcefully be downgraded, you should include the variable
epoch="num"
in your script. If left out, Pacstall will not take it into account during the version generation. If it is included, the version will end up looking like this:$epoch:$version
. An example would be if you had the version1.0.0
, however an issue required you to force downgrade, you would specifyepoch="1"
,version="0.9.0"
, and Pacstall will force downgrade. Use this feature sparingly.incompatible
arrayThis array is used to prevent certain distros and versions from being able to run your script. This could be used for a variety of reasons, but the most common are missing or outdated dependencies on those distros (maybe make a Pacscript for those!). You may specify a glob (
*
) for a catch all selection, or the full name. Codenames and version numbers are valid. Using a glob for both sides (*:*
) is invalid. The array takes a form like this:You can retrieve your distro name by running
lsb_release -si 2>/dev/null | tr '[:upper:]' '[:lower:]'
.To get the version name you can run
lsb_release -sc 2>/dev/null | tr '[:upper:]' '[:lower:]'
.Logged functions
Pacstall will now log the output of
prepare
,build
, andinstall
to logs in/var/log/pacstall/error_log/$(date +"%Y-%m-%d_%T")-$name-$func.log
where$name
is the name of the package and$func
is the function currently running. Logs will be automatically deleted after 30 days.xz
compresssion with-B
flagThis simply means that when you use the
-B
flag to create a Deb, Pacstall will compressdata.tar
andcontrol.tar
with thexz
format, instead ofgz
. Benchmarks are provided here.🔧 Pacscript for this releases Deb
This discussion was created from the release 3.1.0 Pearl.
Beta Was this translation helpful? Give feedback.
All reactions