Preparing to package for Stormux.
This commit is contained in:
1 parent
825ea596ab
commit
a697aa7cff
2 files changed
+26
-2
No files matched your search
@@ -10,8 +10,10 @@ Run `sas --version` to see which version is installed.
|
|||||||
|
|
||||||
The version is a date, such as `2026.11.19`. Use a suffix such as `2026.11.19.1` for a second release on the same day.
|
The version is a date, such as `2026.11.19`. Use a suffix such as `2026.11.19.1` for a second release on the same day.
|
||||||
|
|
||||||
1. Set `VERSION` near the top of `sas.py`, commit, and push to master.
|
1. Set `VERSION` near the top of `sas.py` and set `pkgver` in `distro-packages/ArchLinux/PKGBUILD` to the same version. Reset `pkgrel` to `1` for a new version.
|
||||||
2. Build the package from `distro-packages/ArchLinux`. The PKGBUILD builds the latest master and takes its version from `VERSION`, so no tag or PKGBUILD edit is needed.
|
2. From `distro-packages/ArchLinux`, run `makepkg --printsrcinfo > .SRCINFO` and commit the version and metadata changes together. Stormux's managed package controller reads the committed recipe version to detect releases and requires the committed `.SRCINFO` to stage a build.
|
||||||
|
3. Push to master before building: the PKGBUILD fetches the latest master and takes its version from `VERSION`. No tag is needed.
|
||||||
|
4. Build the package from `distro-packages/ArchLinux`, or use the Stormux managed package controller to build and publish it for both architectures.
|
||||||
|
|
||||||
Always bump `VERSION` when releasing. pacman only upgrades systems when the version goes up, so a rebuild with the same `VERSION` will not reach anyone.
|
Always bump `VERSION` when releasing. pacman only upgrades systems when the version goes up, so a rebuild with the same `VERSION` will not reach anyone.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
pkgbase = sas
|
||||||
|
pkgdesc = Stormux Assistance Service: request remote help from a Stormux assistant
|
||||||
|
pkgver = 2026.11.19
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://git.stormux.org/storm/sas
|
||||||
|
install = sas.install
|
||||||
|
arch = any
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
depends = ii
|
||||||
|
depends = magic-wormhole
|
||||||
|
depends = openssh
|
||||||
|
depends = procps-ng
|
||||||
|
depends = python
|
||||||
|
depends = shadow
|
||||||
|
depends = speech-dispatcher
|
||||||
|
depends = sudo
|
||||||
|
depends = systemd
|
||||||
|
source = git+https://git.stormux.org/storm/sas.git#branch=master
|
||||||
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
pkgname = sas
|
||||||
Reference in new issue
Block a user