Package Details: lando 3.1.4-1

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.devwithlando.io
Licenses: GPL
Conflicts: lando-git
Provides: lando
Submitter: dmp1ce
Maintainer: ElijahLynn
Last Packager: dmp1ce
Votes: 6
Popularity: 0.002182
First Submitted: 2019-01-30 15:06 (UTC)
Last Updated: 2021-08-10 20:07 (UTC)

Pinned Comments

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/

Latest Comments

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.

dmp1ce commented on 2021-06-17 20:39 (UTC) (edited on 2021-06-17 20:40 (UTC) by dmp1ce)

I don't know how to create a new version from source but I did create a -bin PKGBUILD of the new release. https://aur.archlinux.org/packages/lando-bin/

I created an issue here: https://github.com/lando/lando/issues/3052

dmp1ce commented on 2020-10-09 14:31 (UTC)

@ElijahLynn Thanks!

I added you as a co-maintainer. Please make sure you understand how to maintain a PKGBUILD. People often forget to update the .SRCINFO with makepkg --printsrcinfo > .SRCINFO before pushing.

The package can be cloned with the ssh: link.

Also, I typically only update the version for full releases and not pre-releases.

ElijahLynn commented on 2020-10-08 15:58 (UTC)

Is this package in a git repo we can make PRs to to help with maintenance?

ElijahLynn commented on 2020-10-08 15:58 (UTC)

Is this package in a git repo we can make PRs to to help with maintenance?

ElijahLynn commented on 2020-09-30 22:29 (UTC)

https://github.com/lando/lando/releases/tag/v3.0.14 is out.

damonh commented on 2020-07-07 02:09 (UTC)

There's a new version https://github.com/lando/lando/releases/tag/v3.0.7

ElijahLynn commented on 2020-05-15 16:41 (UTC)

https://github.com/lando/lando/releases/tag/v3.0.1 is out as of 8 days ago now.