-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebased updating OctoFarm + Spectacular log dump #421
Conversation
83ca59b
to
06c1de6
Compare
@davidzwa Pushed what's done, will smash some more in the morning and hopefully get it finished. |
I love how detailed your PR is so far, this will hit dev soon like this! Good code so far, really good work there as well. 🚀 |
Thanks man! Good to hear. I'll clean up the history one the same like this as well. |
@davidzwa All done, just the tests and function comments to go through and update with a cup of tea. Need food :P Attached example files that are generated and outputted. OctoFarm System InformationOctoFarm Version1.1.13-prerelease Are we connected to the internet?✓ ✓ ✓ We are! ✓ ✓ ✓ Are we running with node?✓ ✓ ✓ We are! ✓ ✓ ✓ Are we running under pm2?✘ ✘ ✘ We are not! ✘ ✘ ✘ Are we running under nodemon?✓ ✓ ✓ We are! ✓ ✓ ✓ Are we in a docker container?✘ ✘ ✘ We are not! ✘ ✘ ✘ Platformlinux Processor Archx64 System Uptime4h, 54m, 10s OctoFarm Uptime3m, 14s OctoPrint Versions1.5.3 |
@NotExpectedYet I cannot read the info above effectively. Please consider a compact and truly boring output format to save our eyes. Also, we'd be able to extend it later with much more detailed reporting (compactness > cool and artsy-fartsy style)
Some points of attention:
This PR is hot! |
On it this morning |
Regarding the PID check, that was there before you'd made the pm2 function. All it's doing is checking for the output of a of a PID number. No number and it returns the error, but yeah your right in that it could be cleaner. I'll move it over to the pm2 check command then there's no need for it. |
|
Why are the checks not firing I wonder, are the workflows changed? |
Didn't even notice, sure they fired when I pushed it earlier. |
If you could, ##386 fits nicely in this PR |
Yeah no worries will sort it in the morning. |
Was because of the merge, all firing now. |
c344d8e
to
f3c4c6c
Compare
checkForNamedService = true; | ||
} | ||
if (isNodemon()) { | ||
exec("touch ./app.js").catch((stderr) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smart man! See what u did there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:P
…/OctoFarm into feature/update-octofarm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After much pain and strife!
* Squash and rebase work on updater * Autoformat and fix disabled not bool bug * Fix forcecheck not a function * Fix * fix up to date catch * Moved up-to-date as last check and added "Changes not stages for commit" grab * If cancel update button disabled = false * update changelog * update changelog * Gulpy fish * remove git exec catches for stderr * message fix, and send the correct boolean you lord of the toilet rolls * Fix syntax error * False * Fake commit for testing pull * removal of the unneeded checkeroo * Fake commit again * And again * removal of the unneeded checkeroo * server reponse * Fake commit * Fix my wild goose chase bloody toilet roll failed me! * Fake commit * fix for git reset changes Co-authored-by: NotExpectedYet <online@notexpectedyet.com> Co-authored-by: James Mackay <info@notexpectedyet.com>
OctoFarm internal update command.