Skip to content

Add CentOS (7) checks and feedback in configure script #3637

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

Merged
merged 3 commits into from
Jul 1, 2016

Conversation

gear4dave
Copy link

Purpose:

I speculatively changed the configure script to check for "CentOS" instead of "Fedora", after considering that their base packages share some RHEL inheritance, and the build just worked. Having found though that some dependencies come from the non-standard epel repo, I have also added some checks to ensure that the dep installation from yum succeeds entirely before continuing, while giving some feedback if not.

Commit messages:

  • Add CompareVersionStrings function in common_function file, which can be used to compare absolute version numbers (integers, perhaps) with version strings
  • Add CentOS (7) vendor check in with Fedora build commands, including some feedback if yum fails on any of the dependencies

… be used to compare absolute version numbers (integers, perhaps) with version strings

Add CentOS (7) vendor check in with Fedora build commands, including some feedback if yum fails on any of the dependencies
@coveralls
Copy link

coveralls commented Jun 30, 2016

Coverage Status

Coverage remained the same at 58.419% when pulling b3df269 on dave-docnet:0.8.0 into 465fd4c on uglide:0.8.0.

@@ -184,3 +184,34 @@ function GetDistro {
fi
export DISTRO
}

function CompareVersionStrings () {
Copy link
Collaborator

@uglide uglide Jul 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is copypasted from http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings-in-version-format and cannot be used in this project because cc by-sa 3.0 is not compatible with GNU GPLv3. Furthermore, this function is useless for this change and should be removed

David Wilcock added 2 commits July 1, 2016 09:43
@gear4dave gear4dave closed this Jul 1, 2016
@gear4dave gear4dave reopened this Jul 1, 2016
@gear4dave
Copy link
Author

Apologies, I meant to add a comment - not close the PR.

The bash script updates have been made as requested. Please consider this latest PR.

@coveralls
Copy link

coveralls commented Jul 1, 2016

Coverage Status

Coverage remained the same at 58.419% when pulling 52ef32f on dave-docnet:0.8.0 into 465fd4c on uglide:0.8.0.

@coveralls
Copy link

coveralls commented Jul 1, 2016

Coverage Status

Coverage remained the same at 58.419% when pulling 52ef32f on dave-docnet:0.8.0 into 465fd4c on uglide:0.8.0.

@coveralls
Copy link

coveralls commented Jul 1, 2016

Coverage Status

Coverage remained the same at 58.419% when pulling 52ef32f on dave-docnet:0.8.0 into 465fd4c on uglide:0.8.0.

@uglide
Copy link
Collaborator

uglide commented Jul 1, 2016

@dave-docnet LGTM, thanks!

@uglide uglide merged commit 2eb20f1 into RedisInsight:0.8.0 Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants