{"id":34140664,"url":"https://github.com/henvic/wedeploycli","last_synced_at":"2026-05-29T22:31:29.439Z","repository":{"id":57518644,"uuid":"248267533","full_name":"henvic/wedeploycli","owner":"henvic","description":"Code for the old WeDeploy/Liferay Cloud Platform CLI (legacy, unmaintained)","archived":false,"fork":false,"pushed_at":"2020-03-19T01:14:41.000Z","size":15203,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-17T15:37:27.806Z","etag":null,"topics":["cli","cloud","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henvic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-THIRD-PARTY","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-18T15:19:07.000Z","updated_at":"2025-08-31T14:49:59.000Z","dependencies_parsed_at":"2022-09-26T18:01:44.952Z","dependency_job_id":null,"html_url":"https://github.com/henvic/wedeploycli","commit_stats":null,"previous_names":[],"tags_count":226,"template":false,"template_full_name":null,"purl":"pkg:github/henvic/wedeploycli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henvic%2Fwedeploycli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henvic%2Fwedeploycli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henvic%2Fwedeploycli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henvic%2Fwedeploycli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henvic","download_url":"https://codeload.github.com/henvic/wedeploycli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henvic%2Fwedeploycli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33673627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cloud","go","golang"],"created_at":"2025-12-15T02:50:28.188Z","updated_at":"2026-05-29T22:31:29.434Z","avatar_url":"https://github.com/henvic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this repository\nThe code you find here is legacy and was originally created for WeDeploy (that originated Liferay Cloud Platform later on). This code is not maintained or used anymore, but there are parts of it that might be useful for many Go projects (especially CLI tools).\n\nTo quickly test it, you can run:\n\n```shell\ngo install github.com/henvic/wedeploycli/cmd/lcp\n```\n\nThis code was previously at github.com/wedeploy/cli.\n\n# Liferay Cloud Platform CLI tool [![Build Status](https://travis-ci.org/henvic/wedeploycli.svg?branch=master)](https://travis-ci.org/henvic/wedeploycli) [![Coverage Status](https://coveralls.io/repos/henvic/wedeploycli/badge.svg)](https://coveralls.io/r/henvic/wedeploycli) [![codebeat badge](https://codebeat.co/badges/bd6acb49-ccdf-4045-a877-05da0198261a)](https://codebeat.co/projects/github-com-wedeploy-cli) [![Go Report Card](https://goreportcard.com/badge/github.com/henvic/wedeploycli)](https://goreportcard.com/report/github.com/henvic/wedeploycli) [![GoDoc](https://godoc.org/github.com/henvic/wedeploycli?status.svg)](https://godoc.org/github.com/henvic/wedeploycli)\n\n**The contents below are outdated.**\n\nInstall the tool with:\n\n```shell\ncurl https://cdn.liferay.cloud/cli/latest/lcp.sh -fsSL | bash\n```\n\nor download from our [stable release channel](https://dl.equinox.io/wedeploy/lcp/stable).\n\nTo update this tool, just run `lcp update`.\n\n## Dependencies\nThe following external soft dependencies are necessary to correctly run some commands:\n\n* [docker](https://www.docker.com/)\n* [git](https://git-scm.com/)\n\nThe availability of dependencies are tested just before its immediate use. If a required dependency is not found, an error message is printed and the calling process is terminated with an error code.\n\n## Contributing\nYou can get the latest CLI source code with `go get -u github.com/henvic/wedeploycli`. Alternatively, clone the repo as usual. \n\nThe following commands are available and requires no arguments:\n\n* **make clean**: clears generated binaries\n* **make development-environment**: install development environment for this project\n* **make legal**: generate legal notices for existing dependencies\n* **make list-packages**: list all Go packages of the project\n* **make build**: compiles the program\n* **make fast-test**: run all unit tests\n* **make test**: run all unit and integration tests\n* **make functional-tests**: run functional tests\n* **make build-integration-tests**: generate integration tests suites\n* **make release**: tag, build, and publish new version of the app\n* **make promote**: publish version already released to a given distribution channel\n* **make release-notes-page**: update release notes page\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Integration tests should be written as well.\n\n## Committing and pushing changes\nThe master branch of this repository on GitHub is protected:\n* force-push is disabled\n* tests MUST pass on Travis before merging changes to master\n* branches MUST be up to date with master before merging\n\nKeep your commits neat and [well documented](https://wiki.openstack.org/wiki/GitCommitMessages). Try to always rebase your changes before publishing them.\n\n## Maintaining code quality\n[goreportcard](https://goreportcard.com/report/github.com/henvic/wedeploycli) can be used online or locally to detect defects and static analysis results from tools with a great overview.\n\nUsing go test and go cover are essential to make sure your code is covered with unit tests.\n\nCheck [scripts/aliases.sh](https://github.com/henvic/wedeploycli/tree/master/scripts/aliases.sh) for a list of aliases you might find useful for development / testing.\n\nAlways run `make test` before submitting changes.\n\n## Integration testing\n`make test` already runs the integration tests.\n\nYou can generate a test suite to run integration tests outside of your development environment (say, on a virtual machine).\n\nSet the `$WEDEPLOY_CLI_INTEGRATION_TESTS_PATH` environment variable to save the integration test suites on a shared network volume you can access from each test machine to speed up development and debugging.\n\nBuild and distribute test suites for the supported systems:\n\n```\n$ make build-integration-tests\nBuilding integration test suites for multiple platforms:\ndarwin...\tlcp-cli-integration-darwin.test\nlinux...\tlcp-cli-integration-linux.test\nwindows...\tlcp-cli-integration-windows.test.exe\nWarning: mocks directory placed on trash and recreated.\n\nIntegration test suites and its related mocks are saved in:\n/vm-shared-network-volume/lcp-cli-integration-tests\n```\n\nAnd run it as a regular executable on each target system.\n\n## Functional testing\nFunctional tests for the CLI are written in the [Tcl](https://tcl.tk/) programming language and uses [Expect](https://core.tcl.tk/expect/). See the [README](functional/README.md) at the functional directory.\n\nThese tests are run by connecting to a real Liferay Cloud infrastructure, therefore caution to avoid data loss is advised. For this very reason it refuses to be run on a non-empty user account by default.\n\nYou need to copy `functional/settings-sample.tcl` to `functional/settings.tcl` and configure it appropriately.\n\n## Environment variables\nSee [envs/envs.go](envs/envs.go) for an up-to-date list of used environment variables.\n\n## Hidden global flags\n* `--defer-verbose` (`-V`) to defer verbose output until program termination\n* `--no-verbose-requests` to avoid printing requests when using `--verbose`\n* `--no-color` to print text without colors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenvic%2Fwedeploycli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenvic%2Fwedeploycli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenvic%2Fwedeploycli/lists"}