-
Notifications
You must be signed in to change notification settings - Fork 38
bootstrap-tarballs: Document script #1757
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
base: master
Are you sure you want to change the base?
Conversation
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
I feel like the installation of dependencies does not belong here. Maybe they should go in to the install-dependencies script? Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
Signed-off-by: Lars Erik Wik <[email protected]>
Signed-off-by: Lars Erik Wik <[email protected]>
The use of `|| true` will cause an error message to be printed by `rm` which may lead QA personnel to believe that there is something wrong while there is not. -f will simply ignore nonexistent files. ``` rm: cannot remove 'nosuchfile': No such file or directory ``` Signed-off-by: Lars Erik Wik <[email protected]>
Signed-off-by: Lars Erik Wik <[email protected]>
Added a comment to the top of the file explaining what the script does and how you can run it. Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <[email protected]>
b762ba5
to
0bcf793
Compare
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.
yeah, phew!
# sure that they actually work. | ||
# | ||
# Currently this script also fetches pull request info and installs PHP and | ||
# javascript dependencies. This core really does not belong here. Created a |
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.
# javascript dependencies. This core really does not belong here. Created a | |
# javascript dependencies. This code really does not belong here. I created a |
# . | ||
# ├── buildscripts | ||
# ├── core | ||
# ├── enterprise |
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.
if PROJECT=community you don't need all the ent stuff. Maybe clarify that with separate lists?
# Get information about PRs among the used revisions. These PRs will have to be | ||
# notified of build progress. |
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.
# Get information about PRs among the used revisions. These PRs will have to be | |
# notified of build progress. | |
# Get information about PRs among the used revisions. | |
# These PRs will have to be notified of build progress. |
I would somewhat prefer a sentence per line honestly. easier for maintenance and editing.
if test -f "$BASEDIR"/mission-portal/public/scripts/package.json; then | ||
cd "$BASEDIR"/mission-portal/public/scripts |
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.
This change isn't so needed but is fine. I often prefer to avoid the quotes as if more vars enter the expression things get noisy.
fi | ||
) | ||
|
||
echo "$(basename "$0"): Debug: Installing PHP dependencies from mission-portal repository..." |
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.
echo "$(basename "$0"): Debug: Installing PHP dependencies from mission-portal repository..." | |
echo "$(basename "$0"): Debug: Installing PHP composer dependencies from mission-portal repository..." |
CKSUM=$(sum sha256sums.txt | cut -d ' ' -f 1) | ||
mv sha256sums.txt sha256sums."$CKSUM".txt | ||
|
||
echo "$(basename "$0"): Debug: Installing javascript dependencies..." |
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.
echo "$(basename "$0"): Debug: Installing javascript dependencies..." | |
echo "$(basename "$0"): Debug: Installing javascript npm dependencies..." |
fi | ||
) | ||
|
||
echo "$(basename "$0"): Debug: Installing PHP dependencies from nova repository..." |
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.
echo "$(basename "$0"): Debug: Installing PHP dependencies from nova repository..." | |
echo "$(basename "$0"): Debug: Installing PHP composer dependencies from nova repository..." |
fi | ||
) | ||
|
||
echo "$(basename "$0"): Debug: Installing LDAP API dependencies..." |
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.
echo "$(basename "$0"): Debug: Installing LDAP API dependencies..." | |
echo "$(basename "$0"): Debug: Installing LDAP API PHP composer dependencies..." |
Example output:
I snipped out noise from sourced scripts.
With exotics (no tests)

Failures are unrelated: