Last active
September 27, 2021 08:50
-
-
Save watfordjc/f3f21371a44e2e626c4fc52cfe36665d to your computer and use it in GitHub Desktop.
Raspbian patches for RedisLabsModules/readies/paella for RedisTimeSeries versions 1.4.7-1.4.8, 1.4.9, and 1.4.10-a1b2db3c88f62a37c7864fa3371fb8821ddbe353
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/paella/platform.py b/paella/platform.py | |
index 56aa809..89fbb48 100755 | |
--- a/paella/platform.py | |
+++ b/paella/platform.py | |
@@ -322,7 +322,7 @@ class Platform: | |
#------------------------------------------------------------------------------------------ | |
def is_debian_compat(self): | |
- return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' | |
+ return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' or self.dist == 'raspbian' | |
def is_redhat_compat(self): | |
return self.dist == 'redhat' or self.dist == 'centos' or self.dist == 'amzn' | |
@@ -401,6 +401,8 @@ class OnPlatform: | |
self.amzn() | |
elif dist == 'alpine': | |
self.alpine() | |
+ elif dist == 'raspbian': | |
+ self.raspbian() | |
else: | |
assert(False), "Cannot determine installer" | |
@@ -480,3 +482,6 @@ class OnPlatform: | |
def alpine(self): | |
pass | |
+ | |
+ def raspbian(self): | |
+ pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/paella/platform.py b/paella/platform.py | |
index baaa66e..6a7a1bb 100755 | |
--- a/paella/platform.py | |
+++ b/paella/platform.py | |
@@ -320,7 +320,7 @@ class Platform: | |
return '-'.join([self.os, self.osnick, self.arch]) | |
def is_debian_compat(self): | |
- return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' | |
+ return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' or self.dist == 'raspbian' | |
def is_redhat_compat(self): | |
return self.dist == 'redhat' or self.dist == 'centos' or self.dist == 'amzn' | |
@@ -386,6 +386,8 @@ class OnPlatform: | |
self.linuxmint() | |
elif dist == 'amzn': | |
self.amzn() | |
+ elif dist == 'raspbian': | |
+ self.raspbian() | |
else: | |
assert(False), "Cannot determine installer" | |
@@ -462,3 +464,6 @@ class OnPlatform: | |
def amzn(self): | |
pass | |
+ | |
+ def raspbian(self): | |
+ pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/paella/platform.py b/paella/platform.py | |
index 56aa809..89fbb48 100755 | |
--- a/paella/platform.py | |
+++ b/paella/platform.py | |
@@ -322,7 +322,7 @@ class Platform: | |
#------------------------------------------------------------------------------------------ | |
def is_debian_compat(self): | |
- return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' | |
+ return self.dist == 'debian' or self.dist == 'ubuntu' or self.dist == 'linuxmint' or self.dist == 'raspbian' | |
def is_redhat_compat(self): | |
return self.dist == 'redhat' or self.dist == 'centos' or self.dist == 'amzn' | |
@@ -401,6 +401,8 @@ class OnPlatform: | |
self.amzn() | |
elif dist == 'alpine': | |
self.alpine() | |
+ elif dist == 'raspbian': | |
+ self.raspbian() | |
else: | |
assert(False), "Cannot determine installer" | |
@@ -480,3 +482,6 @@ class OnPlatform: | |
def alpine(self): | |
pass | |
+ | |
+ def raspbian(self): | |
+ pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment