Added github download redirect handler for raw.githubusercontent.com
This commit is contained in:
@@ -73,13 +73,17 @@ class AppBase:
|
||||
self.logger.info("[DEBUG] Already JSON-like. Returning from magic")
|
||||
return input_data
|
||||
|
||||
if len(input_data) < 3:
|
||||
self.logger.info("[DEBUG] Too short input data")
|
||||
return input_data
|
||||
|
||||
# Don't touch large data.
|
||||
if len(input_data) > 100000:
|
||||
self.logger.info("[DEBUG] Value too large. Returning from magic")
|
||||
return input_data
|
||||
|
||||
if not "\n" in input_data and not "," in input_data:
|
||||
self.logger.info("[DEBUG] No data to autoparse")
|
||||
self.logger.info("[DEBUG] No data to autoparse - requires newline or comma")
|
||||
return input_data
|
||||
|
||||
new_input = input_data
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
### DEFAULT
|
||||
NAME=shuffle-app_sdk
|
||||
VERSION=0.9.40
|
||||
VERSION=0.9.44
|
||||
|
||||
docker rmi docker.pkg.github.com/frikky/shuffle/$NAME:$VERSION --force
|
||||
docker build . -f Dockerfile -t frikky/shuffle:app_sdk -t frikky/$NAME:$VERSION -t docker.pkg.github.com/frikky/shuffle/$NAME:$VERSION -t ghcr.io/frikky/$NAME:$VERSION -t ghcr.io/frikky/$NAME:nightly
|
||||
|
||||
Reference in New Issue
Block a user