all: update repository url
For the upcoming rename of security org to rosa. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -3,7 +3,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -15,8 +15,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Process static files
|
- name: Process static files
|
||||||
run: >-
|
run: >-
|
||||||
nix build --print-out-paths --print-build-logs .#hakurei-static &&
|
nix build \
|
||||||
nix shell nixpkgs#gnutar nixpkgs#zstd --command tar -C result --zstd -cf hakurei.app-${{ github.ref_name }}.tar.zst .
|
--print-out-paths \
|
||||||
|
--print-build-logs \
|
||||||
|
--out-link hakurei.app-${{ github.ref_name }}.tar.zst \
|
||||||
|
.#dist
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
run: >-
|
run: >-
|
||||||
export HAKUREI_REV="$(git rev-parse --short HEAD)" &&
|
export HAKUREI_REV="$(git rev-parse --short HEAD)" &&
|
||||||
sed -i.old 's/version = /version = "0.0.0-'$HAKUREI_REV'"; # version = /' package.nix &&
|
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 &&
|
mv package.nix.old package.nix &&
|
||||||
echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT
|
echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
18
flake.nix
18
flake.nix
@@ -67,17 +67,25 @@
|
|||||||
packages = forAllSystems (
|
packages = forAllSystems (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
inherit (self.packages.${system}) hakurei-static caddy-hakurei-static;
|
inherit (self.packages.${system}) static caddy;
|
||||||
pkgs = nixpkgsFor.${system};
|
pkgs = nixpkgsFor.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = caddy-hakurei-static;
|
default = caddy;
|
||||||
hakurei-static = pkgs.callPackage ./package.nix { };
|
static = pkgs.callPackage ./package.nix { };
|
||||||
caddy-hakurei-static = pkgs.writeShellScriptBin "caddy-hakurei-static" ''
|
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 \
|
exec ${pkgs.caddy}/bin/caddy \
|
||||||
file-server \
|
file-server \
|
||||||
-a -l ":49151" \
|
-a -l ":49151" \
|
||||||
-r ${hakurei-static}
|
-r ${static}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
stdenvNoCC,
|
stdenv,
|
||||||
runCommandNoCC,
|
runCommand,
|
||||||
util-linux,
|
util-linux,
|
||||||
moreutils,
|
moreutils,
|
||||||
parallel,
|
parallel,
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
python3,
|
python3,
|
||||||
buildNpmPackage,
|
buildNpmPackage,
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hakurei.app";
|
pname = "hakurei.app";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
util-linux
|
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
|
parallel
|
||||||
openssl
|
openssl
|
||||||
libxml2
|
libxml2
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<h1><a href="#page-not-found">Page not found</a></h1>
|
<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
|
<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>
|
</main>
|
||||||
{% include "footer.html" %}
|
{% include "footer.html" %}
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -55,6 +55,6 @@
|
|||||||
|
|
||||||
Hakurei is a collaboratively developed open source project.
|
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.
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
<meta name="color-scheme" content="dark light"/>
|
<meta name="color-scheme" content="dark light"/>
|
||||||
<meta name="msapplication-TileColor" content="#ffffff"/>
|
<meta name="msapplication-TileColor" content="#ffffff"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
|
<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-import" content="hakurei.app git https://git.gensokyo.uk/rosa/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-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: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:description" content="Hakurei is a security-focused Linux container runtime for desktop applications."/>
|
||||||
<meta property="og:type" content="website"/>
|
<meta property="og:type" content="website"/>
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
<p>Hakurei is a security-focused Linux container runtime for running unmodified
|
<p>Hakurei is a security-focused Linux container runtime for running unmodified
|
||||||
desktop applications, developed as a non-profit <a
|
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
|
project. It also implements <a href="/package.html">planterette</a>, an
|
||||||
experimental self-contained Android-like package manager with modern security
|
experimental self-contained Android-like package manager with modern security
|
||||||
features.</p>
|
features.</p>
|
||||||
@@ -81,9 +81,9 @@
|
|||||||
sandbox.</p>
|
sandbox.</p>
|
||||||
|
|
||||||
<p>Official releases are available via <a
|
<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> 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>
|
target="_blank">here</a>.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -36,9 +36,9 @@
|
|||||||
|
|
||||||
<p>Hakurei can be installed to almost any Linux-based operating system by running
|
<p>Hakurei can be installed to almost any Linux-based operating system by running
|
||||||
<code>install.sh</code> from a release tarball found <a
|
<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
|
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>
|
target="_blank">companion NixOS module</a>.</p>
|
||||||
|
|
||||||
<p>We strongly recommend using one of the official installation methods. Third party
|
<p>We strongly recommend using one of the official installation methods. Third party
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<a href="/"><img src="[[path|/mask-icon.svg]]" width="512" height="512" alt=""/>Hakurei</a>
|
<a href="/"><img src="[[path|/mask-icon.svg]]" width="512" height="512" alt=""/>Hakurei</a>
|
||||||
<ul id="social">
|
<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>
|
<li><a href="/discord">Discord</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user