Package Details: lando 3.21.2-4

Git Clone URL: https://aur.archlinux.org/lando.git (read-only, click to copy)
Package Base: lando
Description: A free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology
Upstream URL: https://docs.lando.dev
Keywords: lamp lando web xampp
Licenses: GPL
Conflicts: lando-git
Provides: lando
Submitter: dmp1ce
Maintainer: tiziodcaio
Last Packager: tiziodcaio
Votes: 7
Popularity: 0.031423
First Submitted: 2019-01-30 15:06 (UTC)
Last Updated: 2024-10-06 09:52 (UTC)

Latest Comments

1 2 Next › Last »

VVS commented on 2024-09-13 16:03 (UTC)

Why makeddependency changed from "nodejs" to "nodejs-lts-iron"?

dmp1ce commented on 2024-05-28 13:48 (UTC)

I cannot add co-maintainers anymore. Hopefully @ElijahLynn is still around.

tiziodcaio commented on 2024-05-28 13:34 (UTC)

Meanwhile... I will publish the build here in the comments...

# Maintainer: David Parrish <daveparrish@tutanota.com>
# Contributor: Daniele Basso <d dot bass05 at pm dot me>
# Thank you inversechi and eschwartz

pkgname=lando
pkgver=3.21.0
_target_version=${pkgver//_/-}
pkgrel=1
pkgdesc="A free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology"
arch=('x86_64')
url="https://docs.lando.dev"
license=('GPL')
depends=('docker' 'docker-compose')
optdepends=('gcc-libs')
makedepends=('npm' 'git' 'nodejs-lts-hydrogen')
source=("${pkgname}::git+https://github.com/lando/cli.git#tag=v${_target_version}")
sha256sums=('6277f55042703804510ce8d3d913d1e8014e06404ae572e5309c6d6f91edb81a')
conflicts=("lando-git")
provides=("lando")

# strip breaks executable
options=(!strip)

build() {
  cd "${srcdir}/$pkgname" || exit

  npm clean-install --prefer-offline --frozen-lockfile --omit="dev"
  scripts/fatcore-install.sh

  npm run pkg
}

package() {
  cd "${srcdir}/$pkgname" || exit
  install -D -m 755 "dist/@lando/cli" "${pkgdir}/usr/bin/lando"
}

tiziodcaio commented on 2024-05-28 13:16 (UTC)

I've sucessfully build lando 3.12.0... If the currently mantainer won't mantain this anymore, I can help as comantainer.

killua99 commented on 2023-01-29 15:11 (UTC)

Hey,

could you build this package against lando.pacman files? https://github.com/lando/lando/releases/tag/v3.11.0

mpolishchuck commented on 2022-01-08 23:38 (UTC) (edited on 2022-01-08 23:48 (UTC) by mpolishchuck)

I've figured out how to build version 3.6.0. They have slightly changed build command and location of output file.

However lando requires docker-compose version 1 to work (in community repository we have 2.2.3 at the moment). Luckily lando can use its own version of docker-compose located at /usr/share/lando/bin/docker-compose. So I've put the official 1.29.2 to that location. I couldn't figure out how to compile docker-compose itself inside of Docker container, so using pre-built executable from release.

Also I've tried to use compose-switch here as a replacement of docker-compose and it does not resolve the problem completely. Proxy container is created with hyphens instead if underscores, so lando cannot handle it properly.

Here is my PKGBUILD diff:

diff --git a/PKGBUILD b/PKGBUILD
index 5da9f08..15cf304 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # https://bbs.archlinux.org/viewtopic.php?id=235884

 pkgname=lando
-pkgver=3.1.4
+pkgver=3.6.0
 _target_version=${pkgver//_/-}
 pkgrel=1
 pkgdesc="A free, open source, cross-platform, local development environment and DevOps tool built on Docker container technology"
@@ -13,8 +13,14 @@ license=('GPL')
 depends=('docker' 'docker-compose')
 optdepends=('gcc-libs')
 makedepends=('npm' 'yarn' 'git' 'nodejs')
-source=("${pkgname}::git+https://github.com/lando/lando.git#tag=v${_target_version}")
-sha256sums=('SKIP')
+source=(
+  "${pkgname}::git+https://github.com/lando/cli.git#tag=v${_target_version}"
+  "docker-compose-1.29.2-Linux-x86_64::https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64"
+)
+sha256sums=(
+  'SKIP'
+  'f3f10cf3dbb8107e9ba2ea5f23c1d2159ff7321d16f0a23051d68d8e2547b323'
+)
 conflicts=("lando-git")
 provides=("lando")

@@ -25,10 +31,10 @@ build() {
   cd "${srcdir}/$pkgname" || exit

   yarn install
-  yarn pkg:cli
+  yarn build:cli
 }

 package() {
-  cd "${srcdir}/$pkgname" || exit
-  install -D -m 755 "dist/cli/lando-linux-x64-v${_target_version}" "${pkgdir}/usr/bin/lando"
+  install -D -m 755 "${srcdir}/${pkgname}/dist/@lando/cli" "${pkgdir}/usr/bin/lando"
+  install -D -m 755 "${srcdir}/docker-compose-1.29.2-Linux-x86_64" "${pkgdir}/usr/share/lando/bin/docker-compose"
 }

GreggHendrix commented on 2021-12-16 17:44 (UTC)

I knew that I shouldnt have installed the new version of lando...I just got SO excited by everyone updating! Does anyone have any insight on this error?

After running lando start I got this :

ERROR ==> Error: (HTTP code 404) no such container - No such container: landoproxyhyperion5000gandalfedition_proxy_1 message=Error: (HTTP code 404) no such container - No such container: landoproxyhyperion5000gandalfedition_proxy_1 , stack=Error: Error: (HTTP code 404) no such container - No such container: landoproxyhyperion5000gandalfedition_proxy_1 at /snapshot/cli/lib/docker.js at processImmediate (internal/timers.js:464:21) From previous event: at containerOpt (/snapshot/cli/lib/docker.js) at Landerode.scan (/snapshot/cli/lib/docker.js) at Object.scan (/snapshot/cli/lib/router.js) at run (/snapshot/cli/lib/engine.js) at /snapshot/cli/lib/router.js From previous event: at Object.eventWrapper (/snapshot/cli/lib/router.js) at Engine.engineCmd (/snapshot/cli/lib/engine.js) at Engine.scan (/snapshot/cli/lib/engine.js) at /snapshot/cli/plugins/lando-networking/app.js From previous event: at AsyncEvents.<anonymous> (/snapshot/cli/plugins/lando-networking/app.js) at AsyncEvents.handle (/snapshot/cli/lib/events.js) at /snapshot/cli/lib/events.js at processImmediate (internal/timers.js:464:21) From previous event: at AsyncEvents.emit (/snapshot/cli/lib/events.js) at /snapshot/cli/lib/app.js From previous event: at App.start (/snapshot/cli/lib/app.js) at Object.run (/snapshot/cli/plugins/lando-core/tasks/start.js) at /snapshot/cli/lib/cli.js at processImmediate (internal/timers.js:464:21) From previous event: at /snapshot/cli/lib/cli.js From previous event: at Object.handler (/snapshot/cli/lib/cli.js) at Object.runCommand (/snapshot/cli/node_modules/yargs/lib/command.js:238:44) at Object.parseArgs [as _parseArgs] (/snapshot/cli/node_modules/yargs/yargs.js:1063:30) at Function.get [as argv] (/snapshot/cli/node_modules/yargs/yargs.js:1004:21) at Cli.init (/snapshot/cli/lib/cli.js) at Cli.run (/snapshot/cli/lib/cli.js) at Object.<anonymous> (/snapshot/cli/bin/lando.js) at Module._compile (pkg/prelude/bootstrap.js:1751:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Function.runMain (pkg/prelude/bootstrap.js:1804:12) at internal/main/run_main_module.js:17:47, stackCleaned=true

I then ran lando rebuild and got this error :

ERROR ==> database reported as unhealthy. ERROR ==> Error: (HTTP code 404) no such container - No such container: landoproxyhyperion5000gandalfedition_proxy_1

I'm SUPER out of my depth with lando in general (haha). I'm thinking that since I don't really know what I'm doing...Perhaps the best thing for me is to uninstall and re-install the previous version that was working? Any thoughts would be appreciated

P.S - I also tried lando poweroff, then lando start

dmp1ce commented on 2021-08-29 23:06 (UTC)

I couldn't figure out how to build 3.3.0. I created an issue here: https://github.com/lando/lando/issues/3052

Luckily, the devs were kind enough to release a .deb so I created a new lando-bin PKGBUILD. https://aur.archlinux.org/packages/lando-bin/

dmp1ce commented on 2021-08-10 20:08 (UTC)

Thanks! Updated with @mpolishchuck suggestions.

mpolishchuck commented on 2021-08-10 06:54 (UTC)

I've succeeded to build the latest version (3.1.4 at this particular moment). To do that I've replaced build() subroutine with this:

cd "${srcdir}/$pkgname" || exit

yarn install
yarn pkg:cli

And also I've removed nvm from dependencies since it is not needed. Moreover I don't get why it was used here since lando can be built with nodejs which currently in main repository.