-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Updated mongo and conan versions #1684
Conversation
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 looks good. I do have a couple of suggestions to make the new mongo installation less problematic.
scripts/installUbuntuDeps.sh
Outdated
sudo apt-get install -y libcurl4 openssl liblzma5 | ||
wget -P $LIB_DIR https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-4.4.4.tgz | ||
tar -zxvf $LIB_DIR/mongodb-linux-x86_64-ubuntu2004-4.4.4.tgz -C $LIB_DIR | ||
sudo cp $LIB_DIR/mongodb-linux-x86_64-ubuntu2004-4.4.4/bin/* /usr/local/bin/ |
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.
would symbolic links work? I don't particularly like copying the binaries there when they may change.
Also, this may create new problems with anyone that already has a mongo version installed. We could consider using a suffix or a preffix for the binaries. For every other thing I think we either use a ubuntu package or we keep it in LIB_DIR
without affecting /usr/bin
or /usr/lib
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.
I would also add a way to clean everything up in the cleanup
function
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.
Done!! Thanks for the suggestion :)
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.
LGTM!
The original objective of this PR was to update the MongoDB version installed by Licode scripts to MongoDB v4. This is needed for supporting the new implementation of transactions included in commit a9a29f8.
However, during the update I discovered an Erizo installation issue raised by the incompatibility of the current versions of bzip2 and conan. Thus, I decided to update also the conan version to 1.34. This update implicates the modification of how the conan compiler is passed to the format_include_paths function. This is why I've also modified conanfile.py.
Summarising the PR modifies the following:
[] It needs and includes Unit Tests
Changes in Client or Server public APIs
[] It includes documentation for these changes in
/doc
.