all: update repository url
All checks were successful
Static / Flake checks (push) Successful in 29s
Static / Create distribution (push) Successful in 56s

For the upcoming rename of security org to rosa.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-15 17:21:31 +09:00
parent dd44d349fc
commit 9b3eb58a3f
9 changed files with 35 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- '*'
jobs:
release:
@@ -15,8 +15,11 @@ jobs:
- name: Process static files
run: >-
nix build --print-out-paths --print-build-logs .#hakurei-static &&
nix shell nixpkgs#gnutar nixpkgs#zstd --command tar -C result --zstd -cf hakurei.app-${{ github.ref_name }}.tar.zst .
nix build \
--print-out-paths \
--print-build-logs \
--out-link hakurei.app-${{ github.ref_name }}.tar.zst \
.#dist
- name: Release
uses: https://gitea.com/actions/release-action@main

View File

@@ -27,7 +27,7 @@ jobs:
run: >-
export HAKUREI_REV="$(git rev-parse --short HEAD)" &&
sed -i.old 's/version = /version = "0.0.0-'$HAKUREI_REV'"; # version = /' package.nix &&
nix build --print-out-paths --print-build-logs .#hakurei-static &&
nix build --print-out-paths --print-build-logs .#static &&
mv package.nix.old package.nix &&
echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT

View File

@@ -67,17 +67,25 @@
packages = forAllSystems (
system:
let
inherit (self.packages.${system}) hakurei-static caddy-hakurei-static;
inherit (self.packages.${system}) static caddy;
pkgs = nixpkgsFor.${system};
in
{
default = caddy-hakurei-static;
hakurei-static = pkgs.callPackage ./package.nix { };
caddy-hakurei-static = pkgs.writeShellScriptBin "caddy-hakurei-static" ''
default = caddy;
static = pkgs.callPackage ./package.nix { };
dist = pkgs.runCommand "hakurei-static-${static.version}.tar.zst" { } ''
PATH="${pkgs.zstd}/bin:$PATH" \
${pkgs.gnutar}/bin/tar \
-C '${static}' \
--zstd \
-cf \
"$out" .
'';
caddy = pkgs.writeShellScriptBin "caddy-hakurei-static" ''
exec ${pkgs.caddy}/bin/caddy \
file-server \
-a -l ":49151" \
-r ${hakurei-static}
-r ${static}
'';
}
);

View File

@@ -1,6 +1,6 @@
{
stdenvNoCC,
runCommandNoCC,
stdenv,
runCommand,
util-linux,
moreutils,
parallel,
@@ -15,7 +15,7 @@
python3,
buildNpmPackage,
}:
stdenvNoCC.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "hakurei.app";
version = "0.1.0";
@@ -41,7 +41,7 @@ stdenvNoCC.mkDerivation rec {
nativeBuildInputs = [
util-linux
(runCommandNoCC "sponge" { } "mkdir -p $out/bin && ln -s ${moreutils}/bin/sponge $out/bin")
(runCommand "sponge" { } "mkdir -p $out/bin && ln -s ${moreutils}/bin/sponge $out/bin")
parallel
openssl
libxml2

View File

@@ -32,7 +32,7 @@
<h1><a href="#page-not-found">Page not found</a></h1>
<p>The requested page does not exist. If you think this is a mistake, please
<a href="https://git.gensokyo.uk/security/hakurei.app/issues">report an issue</a>.</p>
<a href="https://git.gensokyo.uk/rosa/hakurei.app/issues">report an issue</a>.</p>
</main>
{% include "footer.html" %}
</body>

View File

@@ -55,6 +55,6 @@
Hakurei is a collaboratively developed open source project.
See the repositories at https://git.gensokyo.uk/security for more details.
See the repositories at https://git.gensokyo.uk/rosa for more details.
This website is developed in the https://git.gensokyo.uk/security/hakurei.app repository.
This website is developed in the https://git.gensokyo.uk/rosa/hakurei.app repository.

View File

@@ -8,8 +8,8 @@
<meta name="color-scheme" content="dark light"/>
<meta name="msapplication-TileColor" content="#ffffff"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta name="go-import" content="hakurei.app git https://git.gensokyo.uk/security/hakurei"/>
<meta name="go-source" content="hakurei.app _ https://git.gensokyo.uk/security/hakurei/src/branch/master{/dir} https://git.gensokyo.uk/security/hakurei/src/branch/master{/dir}/{file}#L{line}"/>
<meta name="go-import" content="hakurei.app git https://git.gensokyo.uk/rosa/hakurei"/>
<meta name="go-source" content="hakurei.app _ https://git.gensokyo.uk/rosa/hakurei/src/branch/master{/dir} https://git.gensokyo.uk/rosa/hakurei/src/branch/master{/dir}/{file}#L{line}"/>
<meta property="og:title" content="Hakurei: the secure desktop application sandbox"/>
<meta property="og:description" content="Hakurei is a security-focused Linux container runtime for desktop applications."/>
<meta property="og:type" content="website"/>
@@ -62,7 +62,7 @@
<p>Hakurei is a security-focused Linux container runtime for running unmodified
desktop applications, developed as a non-profit <a
href="https://git.gensokyo.uk/security/hakurei" target="_blank">open source</a>
href="https://git.gensokyo.uk/rosa/hakurei" target="_blank">open source</a>
project. It also implements <a href="/package.html">planterette</a>, an
experimental self-contained Android-like package manager with modern security
features.</p>
@@ -81,9 +81,9 @@
sandbox.</p>
<p>Official releases are available via <a
href="https://git.gensokyo.uk/security/hakurei/releases" target="_blank">Gitea
href="https://git.gensokyo.uk/rosa/hakurei/releases" target="_blank">Gitea
</a> and documentation for the included NixOS module can be found
<a href="https://git.gensokyo.uk/security/hakurei/src/branch/master/options.md"
<a href="https://git.gensokyo.uk/rosa/hakurei/src/branch/master/options.md"
target="_blank">here</a>.</p>
</section>

View File

@@ -36,9 +36,9 @@
<p>Hakurei can be installed to almost any Linux-based operating system by running
<code>install.sh</code> from a release tarball found <a
href="https://git.gensokyo.uk/security/hakurei/releases" target="_blank">here</a>.
href="https://git.gensokyo.uk/rosa/hakurei/releases" target="_blank">here</a>.
With that said, the current easiest method for using Hakurei with desktop apps would be
via the <a href="https://git.gensokyo.uk/security/hakurei/src/branch/master/options.md"
via the <a href="https://git.gensokyo.uk/rosa/hakurei/src/branch/master/options.md"
target="_blank">companion NixOS module</a>.</p>
<p>We strongly recommend using one of the official installation methods. Third party

View File

@@ -1,7 +1,7 @@
<footer>
<a href="/"><img src="[[path|/mask-icon.svg]]" width="512" height="512" alt=""/>Hakurei</a>
<ul id="social">
<li><a href="https://git.gensokyo.uk/security">Gitea</a></li>
<li><a href="https://git.gensokyo.uk/rosa">Gitea</a></li>
<li><a href="/discord">Discord</a></li>
</ul>
</footer>