svenluijten / forge-cli Goto Github PK
View Code? Open in Web Editor NEW๐ฅ A command line utility to interact with your Laravel Forge servers, sites, and more.
Home Page: https://svenluijten.com
License: MIT License
๐ฅ A command line utility to interact with your Laravel Forge servers, sites, and more.
Home Page: https://svenluijten.com
License: MIT License
Your API key has successfully been set.
But then...
$ forge list:servers
In MakesHttpRequests.php line 101:
Unauthorized
More detail:
Exception trace: Themsaid\Forge\Forge->handleRequestError() at /Users/James/.composer/vendor/themsaid/forge-sdk/src/MakesHttpRequests.php:75 Themsaid\Forge\Forge->request() at /Users/James/.composer/vendor/themsaid/forge-sdk/src/MakesHttpRequests.php:21 Themsaid\Forge\Forge->get() at /Users/James/.composer/vendor/themsaid/forge-sdk/src/Actions/ManagesCredentials.php:17 Themsaid\Forge\Forge->credentials() at /Users/James/.composer/vendor/sven/forge-cli/src/Commands/Credentials.php:27 Sven\ForgeCLI\Commands\Credentials->execute() at /Users/James/.composer/vendor/symfony/console/Command/Command.php:252 Symfony\Component\Console\Command\Command->run() at /Users/James/.composer/vendor/symfony/console/Application.php:832 Symfony\Component\Console\Application->doRunCommand() at /Users/James/.composer/vendor/symfony/console/Application.php:210 Symfony\Component\Console\Application->doRun() at /Users/James/.composer/vendor/symfony/console/Application.php:122 Symfony\Component\Console\Application->run() at /Users/James/.composer/vendor/sven/forge-cli/bin/forge:9
PHP
$ php -v
PHP 7.1.12 (cli) (built: Dec 2 2017 12:14:16) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
$ which php
/usr/local/opt/[email protected]/bin/php
Something like forge alias:site {siteId} {alias}
and forge alias:server {serverId} {alias}
should put the following JSON structure in the ~/forge.json
file:
{
"key": "forge-api-token",
"aliases": {
"servers": {"alias": "serverId"},
"sites": {"alias": "siteId"}
}
}
So that instead of {serverId}
or {siteId}
, we can use their aliases in commands. Eg:
$ forge alias:server 12345 zeus
$ forge reboot:server zeus
$ forge alias:site 67890 poseidon
$ forge deploy:site poseidon
Commands like make:server
currently take a lot of easily forgettable options, I'd love something like forge make:server --interactive
to start a dialogue to build up the options dynamically.
This package can use some automated tests, but I'm unsure how to handle that right now. Any help is appreciated ๐
forge authorize
should not overwrite the file if it exists without at least some confirmation. https://github.com/svenluijten/forge-cli/blob/master/src/Config.php#L54
Forge now supports User Isolation mode when creating new sites, can we add this flag to the make script?
See: https://forge.laravel.com/api-documentation#sites
"isolated": true
Been able to successfully execute these commands:
forge list:servers
forge make:site {serverId}
forge list:sites {serverId}
Now trying to install a custom git repo by running forge install:git {serverId} {siteId} --provider="custom" --repository="[email protected]:companyname/groupname/reponame.git"
Following error is thrown:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "install:git" is not defined.
Did you mean one of these?
install:service
uninstall:service
The update to themsaid/forge-sdk@v2
changed function signatures and i tried to fix it with passing []
which results in errors.
The API Docs are not really clear to me which endpoint provide what kind of functionality.
which functionality do we want to provide? all of them?
What is the exact difference between create and install?
I try to install/acticate an extisting wildcard certificate on a new site but dont know how to do it right now.
We provide the following endpoint with arguments: server_id
, site_id
, certificate_id
https://forge.laravel.com/api-documentation#install-certificate
The payload leads to the question: What does this endpoint actually do?
When you use forge-cli in ci/cd pipelines for deployment of review apps its hard to update the env file accordingly in shell land.
We come up with an idea to provider overwrites to command as follows:
forge update:env server site --file=local/.env --overwrites=DB_DATABASE:test,DB_USERNAME:test-user
Which will grab the env file an overwrite the given variables.
# So should this:
$ forge create:server --name=something --provider=ocean2
# be renamed to this:
$ forge make:server --name=something --provider=ocean2
It would make sense, since Laravel follows the make:*
schema as well, but I'm a bit torn on this. create
just sounds a bit more descriptive and resolute.
We want to use this package to deploy from command line in ci, so we have to do multiple steps in the right order.
To do this we need to wait for everything ;)
We need to bump the sdk to v2 for that (#20)
We will add $wait
as an optional parameter where possible and use the default value from the sdk itself.
Trying to spin up a Linode and get:
In MakesHttpRequests.php line 90: The given data failed to pass validation.
With these settings:
forge make:server --provider=linode --credentials=12345 --region=london --ip=127.0.0.1 --private-ip=192.168.1.1 --php=php71 --database=mysql
We're trying to automate a deployment bash script that makes a new site, installs a repo and then runs deployments.
Currently we need to do some manual work to provide the site id after we create it. Is there any output the id or save it to a config file?
sven/forge-cli 0.2.1 requires symfony/console ~2.3 || ~3.0
Hi there! Switching to php 8, I got the following error:
Problem 1
- Root composer.json requires sven/forge-cli dev-master -> satisfiable by sven/forge-cli[dev-master].
- sven/forge-cli dev-master requires php ^7.2 -> your php version (8.0.3) does not satisfy that requirement.
Maybe I can open up some PR to enable php 8 support, but I wanted to check if there's already been worked on yet.
Add a new MakeLetsencrypt' command and change the description of the Curren
makecommand to
certificate signing request`
I can't seem to be able to deploy a site using the CLI while I have access to do so in the Forge's UI.
ฯ ~/.dotfiles ๎ master forge deploy:site 111309 264123 -vvv
[Exception]
Unauthorized
Exception trace:
() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/themsaid/forge-sdk/src/MakesHttpRequests.php:101
Themsaid\Forge\Forge->handleRequestError() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/themsaid/forge-sdk/src/MakesHttpRequests.php:75
Themsaid\Forge\Forge->request() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/themsaid/forge-sdk/src/MakesHttpRequests.php:33
Themsaid\Forge\Forge->post() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/themsaid/forge-sdk/src/Actions/ManagesSites.php:247
Themsaid\Forge\Forge->deploySite() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/sven/forge-cli/src/Commands/Deployment/Deploy.php:29
Sven\ForgeCLI\Commands\Deployment\Deploy->perform() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/sven/forge-cli/src/Commands/BaseCommand.php:52
Sven\ForgeCLI\Commands\BaseCommand->execute() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/symfony/console/Command/Command.php:264
Symfony\Component\Console\Command\Command->run() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/symfony/console/Application.php:869
Symfony\Component\Console\Application->doRunCommand() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/symfony/console/Application.php:223
Symfony\Component\Console\Application->doRun() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/symfony/console/Application.php:130
Symfony\Component\Console\Application->run() at /Users/Sepehr/.composer/global/sven/forge-cli/vendor/sven/forge-cli/bin/forge:53
deploy:site <server> <site>
Donno if it's an issue with the upstream Forge SDK or the forge-cli itself; any ideas?
P. S. The site I'm trying to deploy is part of a circle that I've joined; not my own.
Hi,
After I run $ forge authorize
it asks for my API key.
When I paste my key in (or even try just typing random stuff) and press enter, nothing happens.
It just stays at the 'What is your API key?` step and have to ctrl+c to get out of it...
What do I do?
The command output is hard to scan.
Does it make sense to go with the following for example:
instead of
install
install:certificate
install:git
go with
certificate
certificate:install
certificate:list
for creating things we can go the laravel route and prefix it with make
make
make:site
make:certificate
Just a start for a conversation, i am not sure right now which could be the best way to sort stuff.
The confusing stuff for me is some commands are only for servers others for sites etc.
We use this client in a github action to setup a review app when pr is opened.
Some Commands are interactive especially the delete
ones.
It would be nice to have a --force
to use any command in an non-interactive way.
@svenluijten if you accept this i will come up with a PR.
I've just installed the most recent release of Laravel Homestead. The default packages installed with Composer on the current release of the Homestead box prevent the installation of forge-cli
.
After Homestead's installation completes, the global package list is as follows (via composer global show
):
vagrant@homestead:~
โถ composer global show
Changed current directory to /home/vagrant/.composer
doctrine/inflector 1.3.1 Common String Manipulations with regard to casing and singular/plural rules.
guzzlehttp/guzzle 6.5.2 Guzzle is a PHP HTTP client library
guzzlehttp/promises v1.3.1 Guzzle promises library
guzzlehttp/psr7 1.6.1 PSR-7 message implementation that also provides common utility methods
hirak/prestissimo 0.3.10 composer parallel install plugin
illuminate/contracts v7.2.2 The Illuminate Contracts package.
illuminate/filesystem v7.2.2 The Illuminate Filesystem package.
illuminate/support v7.2.2 The Illuminate Support package.
laravel/envoy v2.0.1 Elegant SSH tasks for PHP.
laravel/installer v3.0.1 Laravel application installer.
laravel/lumen-installer v1.1.1 Lumen application installer.
laravel/spark-installer dev-master 4c8dcd2 Command line installer for Laravel Spark.
nesbot/carbon 2.31.0 An API extension for DateTime that supports 281 different languages.
psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11)
psr/http-message 1.0.1 Common interface for HTTP messages
psr/simple-cache 1.0.1 Common interfaces for simple caching
ralouphie/getallheaders 3.0.3 A polyfill for getallheaders.
slince/composer-registry-manager 2.3.0 Composer mirrors manager
symfony/console v5.0.5 Symfony Console Component
symfony/filesystem v5.0.7 Symfony Filesystem Component
symfony/finder v5.0.5 Symfony Finder Component
symfony/polyfill-ctype v1.15.0 Symfony polyfill for ctype functions
symfony/polyfill-mbstring v1.14.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php73 v1.14.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/process v5.0.5 Symfony Process Component
symfony/service-contracts v2.0.1 Generic abstractions related to writing services
symfony/translation v5.0.5 Symfony Translation Component
symfony/translation-contracts v2.0.1 Generic abstractions related to translation
voku/portable-ascii 1.4.10 Portable ASCII library - performance optimized (ascii) string functions for php.
Trying to install this package with the command composer global require "sven/forge-cli"
results in the following errors:
vagrant@homestead:~
โถ composer global require "sven/forge-cli"
Changed current directory to /home/vagrant/.composer
1/5: http://repo.packagist.org/p/provider-2020-04$83eb96e62de97b80ce3a7f173873660ec6f9db32c5357bc653cec40330640d62.json
2/5: http://repo.packagist.org/p/provider-latest$9047db88536a2f7e003a5eafcdf648f6b0c7274403182dcf31c0956a0a8be997.json
3/5: http://repo.packagist.org/p/provider-2017$9721b1ccb84023cd86e0d0c90ce50a3cb8f7595cf190d9c8505ca36009b1888c.json
4/5: http://repo.packagist.org/p/provider-2019-10$6dc0b4e5c117252c845145a27465cb969db3796f5202e616995aab830281bde9.json
5/5: http://repo.packagist.org/p/provider-2020-01$93d844837a76def4c4cf524c204c223b61861818f731b88a80597785bb795a9c.json
Finished: success: 5, skipped: 0, failure: 0, total: 5
Using version ^0.4.0 for sven/forge-cli
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for sven/forge-cli ^0.4.0 -> satisfiable by sven/forge-cli[v0.4.0].
- Conclusion: remove symfony/console v5.0.5
- Conclusion: don't install symfony/console v5.0.5
- sven/forge-cli v0.4.0 requires symfony/console ^4.0 || ^3.0 -> satisfiable by symfony/console[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.38, v3.4.39, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9, v4.0.0, v4.0.1, v4.0.10, v4.0.11, v4.0.12, v4.0.13, v4.0.14, v4.0.15, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0, v4.2.1, v4.2.10, v4.2.11, v4.2.12, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9, v4.3.0, v4.3.1, v4.3.10, v4.3.11, v4.3.2, v4.3.3, v4.3.4, v4.3.5, v4.3.6, v4.3.7, v4.3.8, v4.3.9, v4.4.0, v4.4.1, v4.4.2, v4.4.3, v4.4.4, v4.4.5, v4.4.6, v4.4.7].
- Can only install one of: symfony/console[v4.3.0, v5.0.5].
- Can only install one of: symfony/console[v4.3.1, v5.0.5].
- Can only install one of: symfony/console[v4.3.10, v5.0.5].
- Can only install one of: symfony/console[v4.3.11, v5.0.5].
- Can only install one of: symfony/console[v4.3.2, v5.0.5].
- Can only install one of: symfony/console[v4.3.3, v5.0.5].
- Can only install one of: symfony/console[v4.3.4, v5.0.5].
- Can only install one of: symfony/console[v4.3.5, v5.0.5].
- Can only install one of: symfony/console[v4.3.6, v5.0.5].
- Can only install one of: symfony/console[v4.3.7, v5.0.5].
- Can only install one of: symfony/console[v4.3.8, v5.0.5].
- Can only install one of: symfony/console[v4.3.9, v5.0.5].
- Can only install one of: symfony/console[v4.4.0, v5.0.5].
- Can only install one of: symfony/console[v4.4.1, v5.0.5].
- Can only install one of: symfony/console[v4.4.2, v5.0.5].
- Can only install one of: symfony/console[v4.4.3, v5.0.5].
- Can only install one of: symfony/console[v4.4.4, v5.0.5].
- Can only install one of: symfony/console[v4.4.5, v5.0.5].
- Can only install one of: symfony/console[v4.4.6, v5.0.5].
- Can only install one of: symfony/console[v4.4.7, v5.0.5].
- Can only install one of: symfony/console[v3.0.0, v5.0.5].
- Can only install one of: symfony/console[v3.0.1, v5.0.5].
- Can only install one of: symfony/console[v3.0.2, v5.0.5].
- Can only install one of: symfony/console[v3.0.3, v5.0.5].
- Can only install one of: symfony/console[v3.0.4, v5.0.5].
- Can only install one of: symfony/console[v3.0.5, v5.0.5].
- Can only install one of: symfony/console[v3.0.6, v5.0.5].
- Can only install one of: symfony/console[v3.0.7, v5.0.5].
- Can only install one of: symfony/console[v3.0.8, v5.0.5].
- Can only install one of: symfony/console[v3.0.9, v5.0.5].
- Can only install one of: symfony/console[v3.1.0, v5.0.5].
- Can only install one of: symfony/console[v3.1.1, v5.0.5].
- Can only install one of: symfony/console[v3.1.10, v5.0.5].
- Can only install one of: symfony/console[v3.1.2, v5.0.5].
- Can only install one of: symfony/console[v3.1.3, v5.0.5].
- Can only install one of: symfony/console[v3.1.4, v5.0.5].
- Can only install one of: symfony/console[v3.1.5, v5.0.5].
- Can only install one of: symfony/console[v3.1.6, v5.0.5].
- Can only install one of: symfony/console[v3.1.7, v5.0.5].
- Can only install one of: symfony/console[v3.1.8, v5.0.5].
- Can only install one of: symfony/console[v3.1.9, v5.0.5].
- Can only install one of: symfony/console[v3.2.0, v5.0.5].
- Can only install one of: symfony/console[v3.2.1, v5.0.5].
- Can only install one of: symfony/console[v3.2.10, v5.0.5].
- Can only install one of: symfony/console[v3.2.11, v5.0.5].
- Can only install one of: symfony/console[v3.2.12, v5.0.5].
- Can only install one of: symfony/console[v3.2.13, v5.0.5].
- Can only install one of: symfony/console[v3.2.14, v5.0.5].
- Can only install one of: symfony/console[v3.2.2, v5.0.5].
- Can only install one of: symfony/console[v3.2.3, v5.0.5].
- Can only install one of: symfony/console[v3.2.4, v5.0.5].
- Can only install one of: symfony/console[v3.2.5, v5.0.5].
- Can only install one of: symfony/console[v3.2.6, v5.0.5].
- Can only install one of: symfony/console[v3.2.7, v5.0.5].
- Can only install one of: symfony/console[v3.2.8, v5.0.5].
- Can only install one of: symfony/console[v3.2.9, v5.0.5].
- Can only install one of: symfony/console[v3.3.0, v5.0.5].
- Can only install one of: symfony/console[v3.3.1, v5.0.5].
- Can only install one of: symfony/console[v3.3.10, v5.0.5].
- Can only install one of: symfony/console[v3.3.11, v5.0.5].
- Can only install one of: symfony/console[v3.3.12, v5.0.5].
- Can only install one of: symfony/console[v3.3.13, v5.0.5].
- Can only install one of: symfony/console[v3.3.14, v5.0.5].
- Can only install one of: symfony/console[v3.3.15, v5.0.5].
- Can only install one of: symfony/console[v3.3.16, v5.0.5].
- Can only install one of: symfony/console[v3.3.17, v5.0.5].
- Can only install one of: symfony/console[v3.3.18, v5.0.5].
- Can only install one of: symfony/console[v3.3.2, v5.0.5].
- Can only install one of: symfony/console[v3.3.3, v5.0.5].
- Can only install one of: symfony/console[v3.3.4, v5.0.5].
- Can only install one of: symfony/console[v3.3.5, v5.0.5].
- Can only install one of: symfony/console[v3.3.6, v5.0.5].
- Can only install one of: symfony/console[v3.3.7, v5.0.5].
- Can only install one of: symfony/console[v3.3.8, v5.0.5].
- Can only install one of: symfony/console[v3.3.9, v5.0.5].
- Can only install one of: symfony/console[v3.4.0, v5.0.5].
- Can only install one of: symfony/console[v3.4.1, v5.0.5].
- Can only install one of: symfony/console[v3.4.10, v5.0.5].
- Can only install one of: symfony/console[v3.4.11, v5.0.5].
- Can only install one of: symfony/console[v3.4.12, v5.0.5].
- Can only install one of: symfony/console[v3.4.13, v5.0.5].
- Can only install one of: symfony/console[v3.4.14, v5.0.5].
- Can only install one of: symfony/console[v3.4.15, v5.0.5].
- Can only install one of: symfony/console[v3.4.16, v5.0.5].
- Can only install one of: symfony/console[v3.4.17, v5.0.5].
- Can only install one of: symfony/console[v3.4.18, v5.0.5].
- Can only install one of: symfony/console[v3.4.19, v5.0.5].
- Can only install one of: symfony/console[v3.4.2, v5.0.5].
- Can only install one of: symfony/console[v3.4.20, v5.0.5].
- Can only install one of: symfony/console[v3.4.21, v5.0.5].
- Can only install one of: symfony/console[v3.4.22, v5.0.5].
- Can only install one of: symfony/console[v3.4.23, v5.0.5].
- Can only install one of: symfony/console[v3.4.24, v5.0.5].
- Can only install one of: symfony/console[v3.4.25, v5.0.5].
- Can only install one of: symfony/console[v3.4.26, v5.0.5].
- Can only install one of: symfony/console[v3.4.27, v5.0.5].
- Can only install one of: symfony/console[v3.4.28, v5.0.5].
- Can only install one of: symfony/console[v3.4.29, v5.0.5].
- Can only install one of: symfony/console[v3.4.3, v5.0.5].
- Can only install one of: symfony/console[v3.4.30, v5.0.5].
- Can only install one of: symfony/console[v3.4.31, v5.0.5].
- Can only install one of: symfony/console[v3.4.32, v5.0.5].
- Can only install one of: symfony/console[v3.4.33, v5.0.5].
- Can only install one of: symfony/console[v3.4.34, v5.0.5].
- Can only install one of: symfony/console[v3.4.35, v5.0.5].
- Can only install one of: symfony/console[v3.4.36, v5.0.5].
- Can only install one of: symfony/console[v3.4.37, v5.0.5].
- Can only install one of: symfony/console[v3.4.38, v5.0.5].
- Can only install one of: symfony/console[v3.4.39, v5.0.5].
- Can only install one of: symfony/console[v3.4.4, v5.0.5].
- Can only install one of: symfony/console[v3.4.5, v5.0.5].
- Can only install one of: symfony/console[v3.4.6, v5.0.5].
- Can only install one of: symfony/console[v3.4.7, v5.0.5].
- Can only install one of: symfony/console[v3.4.8, v5.0.5].
- Can only install one of: symfony/console[v3.4.9, v5.0.5].
- Can only install one of: symfony/console[v4.0.0, v5.0.5].
- Can only install one of: symfony/console[v4.0.1, v5.0.5].
- Can only install one of: symfony/console[v4.0.10, v5.0.5].
- Can only install one of: symfony/console[v4.0.11, v5.0.5].
- Can only install one of: symfony/console[v4.0.12, v5.0.5].
- Can only install one of: symfony/console[v4.0.13, v5.0.5].
- Can only install one of: symfony/console[v4.0.14, v5.0.5].
- Can only install one of: symfony/console[v4.0.15, v5.0.5].
- Can only install one of: symfony/console[v4.0.2, v5.0.5].
- Can only install one of: symfony/console[v4.0.3, v5.0.5].
- Can only install one of: symfony/console[v4.0.4, v5.0.5].
- Can only install one of: symfony/console[v4.0.5, v5.0.5].
- Can only install one of: symfony/console[v4.0.6, v5.0.5].
- Can only install one of: symfony/console[v4.0.7, v5.0.5].
- Can only install one of: symfony/console[v4.0.8, v5.0.5].
- Can only install one of: symfony/console[v4.0.9, v5.0.5].
- Can only install one of: symfony/console[v4.1.0, v5.0.5].
- Can only install one of: symfony/console[v4.1.1, v5.0.5].
- Can only install one of: symfony/console[v4.1.10, v5.0.5].
- Can only install one of: symfony/console[v4.1.11, v5.0.5].
- Can only install one of: symfony/console[v4.1.12, v5.0.5].
- Can only install one of: symfony/console[v4.1.2, v5.0.5].
- Can only install one of: symfony/console[v4.1.3, v5.0.5].
- Can only install one of: symfony/console[v4.1.4, v5.0.5].
- Can only install one of: symfony/console[v4.1.5, v5.0.5].
- Can only install one of: symfony/console[v4.1.6, v5.0.5].
- Can only install one of: symfony/console[v4.1.7, v5.0.5].
- Can only install one of: symfony/console[v4.1.8, v5.0.5].
- Can only install one of: symfony/console[v4.1.9, v5.0.5].
- Can only install one of: symfony/console[v4.2.0, v5.0.5].
- Can only install one of: symfony/console[v4.2.1, v5.0.5].
- Can only install one of: symfony/console[v4.2.10, v5.0.5].
- Can only install one of: symfony/console[v4.2.11, v5.0.5].
- Can only install one of: symfony/console[v4.2.12, v5.0.5].
- Can only install one of: symfony/console[v4.2.2, v5.0.5].
- Can only install one of: symfony/console[v4.2.3, v5.0.5].
- Can only install one of: symfony/console[v4.2.4, v5.0.5].
- Can only install one of: symfony/console[v4.2.5, v5.0.5].
- Can only install one of: symfony/console[v4.2.6, v5.0.5].
- Can only install one of: symfony/console[v4.2.7, v5.0.5].
- Can only install one of: symfony/console[v4.2.8, v5.0.5].
- Can only install one of: symfony/console[v4.2.9, v5.0.5].
- Installation request for symfony/console (locked at v5.0.5) -> satisfiable by symfony/console[v5.0.5].
Installation failed, reverting ./composer.json to its original content.
โ 2
Working on a shell script that adds a new database for Craft CMS, and would be handy if could define the database username/password at the same time somehow...
I've only tested env:set
but i'm getting this error:
In BaseCommand.php line 102:
This command requires either the "--file" option to be set, or an input from STDIN.
The command i'm using is:
forge env:set --file=.env.staging XXXXX XXXXXX
Like we do with removing sites, or rebooting servers.
This is strange but here goes.
Upon entering forge authorize
it appears the maximum allowed value is around 1024 characters. If I enter more characters then it beeps. All additional key presses (included Enter) causes more beeps. Only ^c exits this beepfest.
What might cause this behavior? I'm on macOS. The workaround is to manually insert the token value into ~/forge.json
, a token value that's around 1076 characters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.