Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: liferay/liferay-environment-composer

0.2

19 Sep 15:31
Compare
Choose a tag to compare

Introducing the lec CLI, and improved support for LXC, and more

💡 lec command-line tool to make working with multiple projects easier

This release includes the lec command-line tool. It makes initializing and jumping between multiple Composer workspaces much easier.

How to install

See this section in the README

Create a new project

lec init
# or
lec init <LPP ticket number>
# or
lec init <LPP ticket number> <Liferay version>

If you don't provide the LPP or Liferay version, you will be prompted for that info

Jump between your projects

lecd

Try it!

Start/stop/clean up projects

lec start
lec stop
lec clean # <-- like lec stop, but will also remove Docker volumes

💡 Improved parity with Spinner features - LXC Database import assistance

Support for importing an LXC backup is greatly improved, courtesy of @holatuwol!
Some highlights:

  • Can accept .sql, .gz, .7z and .zip file formats
  • Can be configured with a password to unzip the file if it's password-protected
  • Can pull in customer configs from the liferay-lxc repo (if found)
  • Can reset user passwords for easier access
  • Can append .localhost to virtual host names for easier access

See more at the README.md.

💡 Mail server support

The maildev mail server can be enabled with this property:

lr.docker.environment.service.enabled[mail]=true

Read more here: Mail Features

💡 Bug fixes

  • Fixed an issue where certain environments would not properly invoke shell commands from Gradle

PR:

Jira tickets:

LPD-55579 Composer - Support Spinner feature set
LPD-64401 create lec script to make setup and management of worktrees easier
LPD-64587 Document basic usage
LPD-64975 Technical Task | [Composer] Add mail server support
LPD-65048 LEC - ports should default to the lowest open port in the range
LPD-65114 Composer prints multiple Docker Compose project names
LPD-65138 LEC - init new projects off of HEAD instead of master, for testing
LPD-65237 composer - sub-process fails intermittently with x not found error
LPD-65332 composer tries to use the same port across cluster nodes
LPD-65363 Check for dependencies in the script
LPD-65521 lec cli - provide command to print the published ports for the started containers
LPD-65679 lec - allow starting a non-git project

Full Changelog: 0.1...0.2