Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#219-&-#208-Build-script-optimization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Took the original build scripts and refactored them into a first time installation script and a rebuild images script, moved them to a scripts directory and added a readme.
This can be reviewed but not merged yet, since it will cause more issues than it resolves. We will merge this as the last merge with Andras and fix the paths depending on what they are (add mockup containers, etc.).
WIP: #219-&-#208-Build-script-optimizationto WIP: #219 & #208 Build script optimizationWIP: #219 & #208 Build script optimizationto WIP: #219 & #168 Build script optimizationLooked through everything and tested the windows versions, they are good.
Thanks for the review! It seems that I accidentally put the review label on when I wasn't completely done. Oopsies. I plan to add a dependency check for git, node and docker (maybe VSC if possible) before we actually merge it.
Now everything I had in mind is added (sorry about that Ida).
This PR needs two reviewers, one with a Windows system and one with an UNIX system.
WIP: #219 & #168 Build script optimizationto #219 & #168 Build script optimizationTested the windows version.
Everything still works, could be a good idea to add some comments in the function though to let others know how it works. It is also missing coding standard at the variable (should be camelCase). No rules are set in the wiki for functions, could be a good idea to update it and add the rules used here.
I hopefully fixed everything for the Batch files. I also added a comment about what the function does, but I don't know if it is necessary to comment about every part of it. Most of the stuff is just Batch being Batch.
As for coding standards, this is what I came up with regarding both:
Batch:
Bash:
Overall:
This is the stuff that I could come up with at the time, if there is something missing let me know. I'll add everything to the wiki once the PR is closed.
Looks good! All comments are fixed.
Build and installation scripts also work for Linux and is approved! But command lines are different to run rebuild and installation use:
sudo sh ./UnixInstallation.shsudo sh ./UnixRebuild.shFixed minor syntax issues with the UnixInstallation Bash script
With Hirad's fix I think everything is in order.
I also added the new stuff about the coding conventions to the wiki and updated the readme how to use the scripts.
Will merge on Wednesday.
This has been manually merged
Pull request closed