Package Details: incus-ui-canonical 0.14-2

Git Clone URL: https://aur.archlinux.org/incus-ui-canonical.git (read-only, click to copy)
Package Base: incus-ui-canonical
Description: lxd-ui rebranded to incus
Upstream URL: https://github.com/zabbly/incus-ui-canonical
Licenses: GPL-3.0-only
Submitter: KosmX
Maintainer: KosmX
Last Packager: KosmX
Votes: 0
Popularity: 0.000000
First Submitted: 2023-12-30 15:12 (UTC)
Last Updated: 2024-12-03 23:25 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Pinned Comments

KosmX commented on 2024-04-15 16:36 (UTC) (edited on 2024-04-15 16:38 (UTC) by KosmX)

Incusd will host the server if configured correctly, any other HTTP server is not needed.

To set-up, add/edit the daemon config. To open the config, use incus config edit

config:
  core.https_address: '[::]:8443'

If the listen address is not a loopback address, the server will be accessible from the network (if no firewall is configured to block).

Once incusd is configured, you might need to restart it, and the control panel will be accessible from a browser on the configured address/port. by default: https://localhost:8443

Lastly, follow the instructions on the web UI!

Latest Comments

1 2 Next › Last »

Levitating commented on 2024-12-03 16:35 (UTC)

For the changes I mentioned, I now personally use /usr/share/incus-ui as install directory now. The original application was called lxd-ui so I think calling this incus-ui makes most sense.

/opt/incus/ui is not wrong, it's what debian uses. But arch rarely makes use of /opt so it feels unnatural there.

And I later realized npm does need to be a dependency, yarn is not enough.

In any case, do as you please, it's your package :)

KosmX commented on 2024-12-02 22:52 (UTC)

Zabbly fork is re-structuring itself, I'll wait a few days to see what ends up happening.

@Levitating I'll also add those changes, thank you!

Levitating commented on 2024-08-21 18:30 (UTC)

I created another package yesterday because this package had a few faults. See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=incus-ui.

You've already resolved most issues I had, so I'll request my own package for deletion.

However there are still some issue:

Could you move the installation directory from /opt to /usr/share/incus-ui-canonical? That should be a better location for ArchLinux.

Also yarn install should be part of prepare. (build needs to be able to run offline).

And npm need not be a dependency.

Architecture can be any.

If you want you can add me as co-maintainer and I'll help out.

KosmX commented on 2024-08-21 12:43 (UTC)

Thanks, that actually works.

intelfx commented on 2024-08-21 12:32 (UTC) (edited on 2024-08-21 12:42 (UTC) by intelfx)

Nevermind the last comment.

Try this workaround instead?

diff --git a/PKGBUILD b/PKGBUILD
index abae7a9..4c380dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,10 +22,10 @@ sha256sums=('a82779ba405bda6bf0c704edbd3c153a7719197383928512e8a9519650662849'
 prepare() {
     cd "lxd-ui-${pkgver}"

-    git init # https://github.com/KosmX/incus-ui-canonical-arch/issues/3
-
     # https://github.com/zabbly/incus/blob/75f9f3de023f13d1d54e133fb2ea60de8a0c3006/.github/workflows/builds.yml#L306
-    git apply "${srcdir}/incus-zabbly/patches"/ui-canonical-*.patch
+    # `GIT_DIR=` is needed to unbreak builds from within a PKGBUILD repo checkout (w/o $BUILDDIR),
+    # see https://github.com/KosmX/incus-ui-canonical-arch/issues/3
+    GIT_DIR= git apply "${srcdir}/incus-zabbly/patches"/ui-canonical-*.patch
     find src -type f -name '*.ts*' -exec sed -f "${srcdir}/incus-zabbly/patches/ui-canonical-renames.sed" -i {} \+
 }

KosmX commented on 2024-08-21 12:30 (UTC)

git init is an ugly hack, but I don't have any better solution.
I've tried git apply --unsafe-paths and others, without success.

intelfx commented on 2024-08-21 12:30 (UTC) (edited on 2024-08-21 12:30 (UTC) by intelfx)

Hmm. git apply --unsafe-paths doesn't seem to work for me, and we can't use plain old patch because some patches are binary diffs.

Sounds like a bug in git, but I can't think of a less ugly workaround. Argh.

intelfx commented on 2024-08-21 12:22 (UTC)

That sounds like a particularly ugly hack. Maybe try git apply --unsafe-paths?

KosmX commented on 2024-08-21 11:31 (UTC)

@intelfx Thanks for the patch :)

I'll have to add the git init line, please read the issue why, otherwise, your patch is welcome.

intelfx commented on 2024-08-21 06:57 (UTC)

This package is indeed in a need of cleanup.

I've been sitting on this patch for sometime already, so please apply: https://0x0.st/XJDR.patch