Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/TryGhost/Ghost-CLI

CLI Tool for installing & updating Ghost
https://github.com/TryGhost/Ghost-CLI

feat(system): system & interface api

closes #219, #203, #170
- addition of System and Interface classes to manage configuration/envir...

0f703c3f282f9ab6576ab955253f5dc99fdae894 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ui): add ability to output to stderr

closes #218
- add stderr option to log method
- change error method to output most things to std...

86a9eebabbb359492494fb78c1cfc0347b865ff7 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(ui): extract database migrations into a task

no issue
- hide migration output
- extract migration code into a task

f052df6fc9223609405ca6a87f0b8c02b263310c authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(ui): improve custom renderer cleanup

da3bac62fdf026d434adbdcf45fbea293c6e7b2c authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ui): add custom listr renderer and move listr to ui class

closes #181
- add custom Listr renderer that works better with other UI methods e.g. log, prompt...

47be79b53b523a0fc32d4500ce6b90657607d6a4 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(config): save config files with 2-space indentation

closes #229
- add addendum to config save method that saves config files with indentation of 2 s...

cf7bc54330601fe3a57d17e6d416d807dfe875f5 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ui): add command line arg to disable prompts

refs #233
- adds a `--no-prompt` global option that will cause ui.prompt to throw
- dry up promp...

e7c6c6a1cd4db3084d8e97c1828b65954a9e3560 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(valid-install): fix error message when CLI is run inside a ghost clone

no issue
- gulp has been replaced back with grunt, update error messaging

bfbf0ae4ec1c79a842f6df53a7c692193f997815 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(cli): swap out commander for yargs parsing

closes #179
- make Command class an actual class
- refactor bootstrap & clean up command invocat...

793715bb2a936a24f691f4f3d0d0d3754e5b2de8 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(release): 1.0.0-alpha.19

f2bd17b5dc18661693fe1e75231f9b1d0b3fe773 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(casper): update casper version during ghost update

refs #225
- delete old casper version and replace with new one on update
- short term solution

008c393c47ecebc24ce80338922efd3c74ab3b9d authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(uninstall): actually fix uninstall this time

refs #220
- nothing to see here 🙈

5d89600d4ba854841f15327beef4e0ba2e2bb927 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(uninstall): don't screw up global instance config on uninstall

closes #220
- previously when you only had one instance and you uninstalled it, `ghost uninstall...

169f561935a63ac8dcaec20e7d20bd4b8a37d89a authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore: dependency updates

no issue
- sinon@2.3.5
- strip-ansi@4.0.0
- validator@7.1.0

d1fde5e12884f2ef771ead69b0b75c1dfecdb1eb authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ui): show sudo command before it is run

closes #164
- add sudo ui method that shows the sudo command before it is run
- make log method ...

9f92199c3defdd687575a02e1303e0ac964076ac authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): dependency updates

- download@6.2.3
- inquirer@3.1.1
- ora@1.3.0
- rxjs@5.4.1

bd1799eb45a532468fd47ed6d460e9ce83b82f1e authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(local-process): don't throw an error if .ghostpid doesn't exist

closes #208
- check error code instead of error errno to determine if the error is ENOENT

d437e86b8b036341de8ef541a1d9277860deb0e3 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(release): 1.0.0-alpha.18

82ea6d97c800ba4e685e54e35bfb9b50875c3dea authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(yarn): update execa path handling and observer error catching

5e10fd0413023d67c5341d29381346a820004d8d authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): update dependencies

7de4a2c2dafe5649528ca981d261b55926b8ee6a authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(uninstall): remove instance from global config on `ghost uninstall`

closes #205
- remove all instances with the same cwd as the installation on `ghost uninstall`

5f7f18ae9d25898541907845da3bca777308271d authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): fix yarn.lock

def523f413dce03a53ed684694b45d4a6861064f authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(local): allow limited customization of local installation

closes #206
- allow url, process name, and the db info to be supplied via the command line

cf2128547da7a10c02ed543f34e75a2b0f136840 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ssl): allow SSL email to be provided via option, skip prompts (#195)

refs #194
- If --sslemail is provided, use that instead of prompting
- Makes it easier to call...

8eef01e8f66fcd70a09e2ec52cee45f33f57d5dc authored over 7 years ago by Hannah Wolfe <github.erisds@gmail.com>
fix(config): ip address not configured when specified as option (#209)

no issue

ghost-cli does not consider the IP address given in the '--ip' option
on the comman...

201dbbf69ceea3dc8446bdd962ad20791eb3c324 authored over 7 years ago by Jason Friedrich <jbfriedrich@users.noreply.github.com>
✨ Allow start flag to be provided, skip prompts

refs #194

- if --start is provided, use that instead of prompting
- makes it easier to call gho...

f663f822822b0940bcacfa7977ebdd048c05c60b authored over 7 years ago by Hannah Wolfe <erisds@gmail.com>
chore: bump min version of ghost to 1.0.0-beta

🎉

778d6c0878e74bf7c7567252026fc676ef4fd396 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore: update dependencies

6bd4bd5e1ca428c5461b76418b27d3859b785f1a authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(release): 1.0.0-alpha.17

131a3519732dac10827f0e3395021fb594ee8486 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(uninstall): add `ghost uninstall` command

closes #187
- adds `ghost uninstall` command that will delete the ghost instance and
any related...

f15a6a64bbd6b36b27fe8e2a421eb1ca3fd6b04f authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
feat(ui): support an error of "false" that exits without logging

- this can simplify some of the weird promise chaining in that if a
command needs to exit withou...

a98995d85830d8a59cab31f535838cbda91a5c4b authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(run): make command descriptions clearer

closes #185
- fix command descriptions
- output help note on `ghost run` if it is being run dire...

f0af011373c356a92b6fdd97b7a47c8c39e515df authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
fix(ls): don't allow dots in process name

closes #184
- tighten up pname validation regex
- replace dots with dashes in default pname

59fb3d2e33cfefb7bf631e93872161074ff90080 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(yarn): fix yarn.lock

- after the dependency updates and a re-run of yarn with the
node_modules folder deleted, these ...

1052a4c737a5ba9ec41e17199a592fbe3d036435 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): update dependencies

6b31e55cf45af09b55786fd8c44619931a455155 authored over 7 years ago by Austin Burdine <acburdine@gmail.com>
Add server_name directive to nginx ssl block

closes #186

- adds a single extra line to the ssl block
- allows multiple blogs to be installed...

22be390a57f0be725121e9294b93a995eba3eb27 authored over 7 years ago by Hannah Wolfe <erisds@gmail.com>
chore(release): 1.0.0-alpha.16

d60d77b97b9fce51af1ba4f85bd7af8c61f451a2 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(ls): store running environment in system config

no issue
- fixes `ghost log` command broken by previous changes
- simplifies `ghost ls` a bit

99be519a0876502c4b9a3c2d06d8231af4193234 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(release): 1.0.0-alpha.15

b0a5eb498e1292a25f8fcca5347c4079f8d1c14c authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(process-error): ensure stdout exists before trying to log it

a9bced6466a7ed9164233b308416e9025b879877 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): dependency updates

no issue
- sinon@2.1.0
- eslint@3.18.0
- execa@0.6.3
- fs-extra@2.1.2

f905146ebf51fa917482697cd1064d5770f9c1ed authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
feat(ls): show stopped ghost instances as well as running ones

closes #178
- remove register/deregister from ghost start/stop
- change system config file struc...

ee854034361ed40c03b0718f37476cd56f6d66ff authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(ssl): bump minimum supported node version to 4.5

BREAKING CHANGE: drop support for node 4 < 4.5
closes #176
- node versions 4.2 - 4.4 have a bug ...

833d8d02917f124f1f21d72bcfbb3f6ba618e4a4 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
feat(config): add auth advanced config option

closes #175
- allows for setting local password auth via command line option

ebc83154a00b2dc49ed9db9eaaafd35412c2992b authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(release): 1.0.0-alpha.14

dfa5fdc5a8df91089b0e7015cd22ddc50c2b8254 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(log): catch errors thrown from prettystream

40e6a79902697078121f02b78d1fe45ce9e47f8c authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(doctor): fix error handling in setup checks

closes #174

e25b81068d5a6c2f0b4ec494331d3a0857751963 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(install): don't fail install if debug logs are present

closes #173
- previously, `ghost install` would fail if there were debug log files
present in th...

111e5991879e89785767b57731969386cf6a8da1 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(log): return rejected error promise in ghost log rather than throw

- if we `throw new Error`, the error logger won't pick it up and things
will get formatted weird...

86c81eebce521ef28ea2b28683efe0c399b70c54 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
feat(log): ghost log command

closes #42
- read bunyan log outputted by ghost
- deps: slice-file@1.0.0
- deps: ghost-ignition@...

7e1a29a2c3b225e277e5ad25e034648bd111e135 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
feat(config): add logging transport configuration option

f827ea4ebd096636a2e955a3449a1b50caa130b7 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): more dependency updates

- knex-migrator@2.0.16 - fixes a knex sub-dependency issue
- fs-extra@2.1.1 - fixes a bug

20bc6a447bf866223d97c982cbd24afb30b4afff authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(nginx): ensure nginx doesn't run if config already exists

3ba9bc7154e3152dd9e13b79515731afdf8f0674 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): update dependencies

- fs-extra@2.1.0
- knex-migrator@2.0.15
- sinon@2.0.0
- bump subdependencies

548dd5fcea7d03bcfaeb26408c5439f27e0a1b2d authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
feat(startup): validate config on startup

closes #26
- add `startup` checks to ghost-cli

1f9383f7ff3895ec09673c4be63a4c02385bacee authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
fix(update): fix update command when install folder already exists

closes #168
- fix the regression introduced by the es6 update

da4e1d9e0e4949dd360ebcb5b454943584c7d5aa authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): validator@7.0.0

- made as a separate commit because of breaking changes (that really
don't affect anything)

18480d11eae443cebbd8984889cec2d37491cec8 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): greenlock-cli@2.2.6

- upgrade binary link in nginx service to use new recommended
`greenlock` bin instead of `letsen...

1b617db453e7e91cdedb83a67d97504cfbabff73 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): update dependencies

- bluebird@3.5.0
- debug@2.6.3
- execa@0.6.1
- inquirer@3.0.6
- coveralls@2.12.0
- eslint@3.17.1

0fabfea40017188a949ef9f192ea55a82c6b60de authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): knex-migrator@2.0.13

3318b2c727ccf02bf3a710aa3e3e2ef35152474a authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
docs(readme): simplify install steps in readme

fd24af91d558cd8474c6460aab477a0e105b5b2b authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🚢 version 1.0.0-alpha.13

3d1486e5f37eec35136b1cf3735b8bcbbc731c01 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
📖 changelog for 1.0.0-alpha.13

ffa6e43411a9a2c955d491f31d44c69124ba52dd authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
bump minimum supported ghost alpha version to 1.0.0-alpha.15

11dc4eff38d60820050194e73261caa2ef2cbe24 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 deps: debug@2.6.1

- add some basic debug statements to main cli init file

bbf7c63b7dc4ad3163f74d03517ed6dce110969c authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
✨ Error Handling

closes #3
- deps: strip-ansi@3.0.1
- add specific error classes & refactor cli to throw specific...

16faf370ba3ca1cfff310142f45d6e453401d0ef authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
📖 add .vscode dir to gitignore

46dc8e36bb121ac4ee5675548b02325576a0a249 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 acceptance test improvements

no issue
- refactor acceptance test helpers to improve further usage
- deps: tmp@0.0.31

81b1564e323e2b7f522c78432b1e9d5258687e8a authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 use os.homedir() to get the location of the system config dir

5986472230605880aeab91a0a94e7213f7458927 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ deps: yarn@0.21.3

e1bc5cf8cdbe738db45d9176b2e21b6a30675bba authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ deps: knex-migrator@2.0.8

- bump ghost-ignition sub-dep to 2.8.8 which gets a decent amount of
memory optimization

8d78f873863bb446aaada50be5812c2539a3ef25 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
✨ add ability for services to register their own commands

refs #146
- add registerCommand utilities as well as "ghost service <name>"
command

0fb24b6551e71e4afd7e59cfc0f6efc183fec610 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
✨ Nginx Service

closes #64
- deps: nginx-conf@1.3.0
- deps: greenlock-cli@2.2.5

d35bea2cb556ce9cd380b0ed0db6af012b693aa4 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 🐎 improve `ghost run` memory usage by migrating during ghost start

no issue
- move knex-migrator step to `ghost start`, making `ghost run` much more
performant

e2d2b5bc176ee008acb5cfbf9931a6b625d72f77 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 fix race conditions in start and stop commands

no issue
- there were race conditions with the spinner, this PR delays the
actual calling of the...

a1d25e841ee13f3b51314e661e7bcfe56f917d18 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 cleanup process manager handling in service manager

no issue
- delay process invocation until config has been loaded
- add service to command context

6a9aa248d7bded2ec8dd7ebe567597e7ccd92182 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 fix setup check error handling

06e1a4db51a69ce20ebd6295cd8bcc309685da0a authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 fix instance class loading on case sensitive filesystems

2cf1a51f87834805903b7d9bfb47a00764e45093 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
💄 improve spinner handling in ui class

- allow UI.noSpin to resolve functions as well as straight promises
- make UI.log implicitly cal...

2bf7f4da2fef97233bf1690d7224c3b1d9f583c2 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🐛 fix(yarn): ensure local version of yarn is run correctly

refs sindresorhus/execa#72

2e9c41c947a0b18388ef04bc3f3a33b361f85a33 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): rxjs@5.2.0

32cf42bfb6b184714e631e882a0cfad8c2c0134d authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): inquirer@3.0.4

cfb7bafea97625cab85e77570d0dd30a03726291 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): listr@0.11.0

a54520dfbcf6adadabb63be234caeae07e8361eb authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore(deps): yarn@0.20.3

e0949badd8d099e2833c11caea1874699bb84203 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): execa@0.6.0

615506d2eecd651dd98c09ebe13eaba21ac0af3f authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ bump dev dependencies and remove greenkeeper ignored deps

0edccb6df8c1b14ef532413bef299fa42e7d4e0b authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
chore: update yarn.lock

873a00eb763fa6fb329ebb08649605955cce3af0 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): update-notifier@2.1.0

07ce84282de1b4d09e8092b4237366e8df06c44a authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
⬆ chore(deps): fkill@4.1.0

b560539825e9decc4a6c0e8c103a88dbc60eaf82 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🐛 add service to internal service list before calling init

- this fixes registerHook calls failing because the service didn't exist

f244459dcf8e77f100d2ca4820ff7663b6234842 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🎨 re-order prompts in setup to make more logical sense

- previously, "Do you want to start Ghost?" would appear before setup
was finished

400828c27a2b353bdeec411e28a866cf6451df2a authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🐛 ensure dedupeProcessName util doesn't fail if no running instances

213a06da40b62ee0fad0ac8cf1b831a93dfb511d authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
🐛 💄 add ui methods to temporarily halt spinning if necessary

- anything that requires stdin would not work if being run in a ui.run
call. These methods allow...

1d2c7de4286a748cf1fbd4309d03618e4b974201 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
✨🔥 Services

refs #146
- add ServiceManager and Service base classes
- convert ProcessManager classes and rel...

45b0101e0a3cd4e501f69c15bc7984d009638544 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:art: more config shortcuts - load config by environment

e1836602ba92babf421f30320b98747fbbfd2fdd authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:art: setup command cleanup

- de-duplicate process name (in preparation for `ghost info` command)
- ensure setup runs in dev...

07271bf801051c3892ee6cbea1500f72007b2f7f authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:art: run `ghost stop --all` in the same process

- previously it would call subcommands. Now, when stopping each process
it chdirs into each proc...

7747deb4ab083bd5d2258161302a776d1af44b2b authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:art: cache config objects by absolute filepath

e4aa80d1d5628a86ff1bbd9d279dd32c6e84944c authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:art: index running Ghost instances by process name

- rather than current working directory

df9672f8b7b2a66b38af132073d900ab4144ab20 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>
:lipstick: make `ghost start` smarter with the node environment

refs #152
- if a development config exists but not a production one, running ghost
start without...

e5474ec17d83091433632c1a1a76fdfcd30094d9 authored almost 8 years ago by Austin Burdine <acburdine@gmail.com>