mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-11-05 06:03:23 +01:00
Merged branch develop into feature/fixups-unify-log+chunk-checking
This commit is contained in:
commit
939cb66066
@ -1,9 +1,11 @@
|
|||||||
Changelog
|
Changelog
|
||||||
|
# 0.10.9 (11 jan 2016)
|
||||||
|
# 0.10.8 (11 jan 2016)
|
||||||
# 0.10.8-b (7 jan 2016)
|
# 0.10.8-b (7 jan 2016)
|
||||||
Logging less by default, fixing some pretty serious memory issues, which could cause the WiFi-box to 'crash' while printing bigger files.
|
Logging less by default, fixing some pretty serious memory issues, which could cause the WiFi-box to 'crash' while printing bigger files.
|
||||||
Log level setting, enabling users to log more if they run into problems.
|
Log level setting, enabling users to log more if they run into problems.
|
||||||
For better adhesion we extruded even while traveling on the bottom layers, we now made it configurable and turned it off by default.
|
For better adhesion we extruded even while traveling on the bottom layers, we now made it configurable and turned it off by default.
|
||||||
Fixed month display of releases in settings screen.
|
Fixed month display of releases in settings screen.
|
||||||
|
|
||||||
# 0.10.8-a (11 nov 2015)
|
# 0.10.8-a (11 nov 2015)
|
||||||
Added ch341 and cp210x usb-serial drivers to diffconfig
|
Added ch341 and cp210x usb-serial drivers to diffconfig
|
||||||
|
@ -254,6 +254,8 @@ local function main()
|
|||||||
else
|
else
|
||||||
print("error: file '" .. f .. "' has uncommitted changes in git, refusing to process")
|
print("error: file '" .. f .. "' has uncommitted changes in git, refusing to process")
|
||||||
end
|
end
|
||||||
|
elseif processType == false then
|
||||||
|
print("Skipping excluded file '" .. f .. "'")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -7,15 +7,23 @@
|
|||||||
--
|
--
|
||||||
-- USAGE:
|
-- USAGE:
|
||||||
-- The only dependency of this script are the penlight and luafilesystem libraries, which can be installed using
|
-- The only dependency of this script are the penlight and luafilesystem libraries, which can be installed using
|
||||||
-- LuaRocks (http://luarocks.org/) as follows:
|
-- LuaRocks (http://luarocks.org/) as follows:
|
||||||
-- sudo luarocks install penlight
|
-- $ sudo luarocks install penlight
|
||||||
-- If the penlight libary is not found you might need to add the following to /etc/launchd.conf
|
-- If the penlight libary is not found you might need to add the following to /etc/launchd.conf
|
||||||
-- setenv LUA_CPATH /opt/local/share/luarocks/lib/lua/5.2/?.so
|
-- setenv LUA_CPATH /opt/local/share/luarocks/lib/lua/5.2/?.so
|
||||||
-- setenv LUA_PATH /opt/local/share/luarocks/share/lua/5.2/?.lua
|
-- setenv LUA_PATH /opt/local/share/luarocks/share/lua/5.2/?.lua
|
||||||
-- Reboot
|
-- Reboot
|
||||||
-- Also see: https://github.com/keplerproject/luarocks/wiki/Using-LuaRocks#rocks-trees-and-the-lua-libraries-path
|
-- Also see: https://github.com/keplerproject/luarocks/wiki/Using-LuaRocks#rocks-trees-and-the-lua-libraries-path
|
||||||
--
|
--
|
||||||
-- This script will automatically locate the Doodle3D repo's.
|
-- Lua + Luarocks installation on Linux:
|
||||||
|
-- $ sudo apt-get install lua5.2 liblua5.2-dev
|
||||||
|
-- # Build Luarocks from source, configured for lua 5.2:
|
||||||
|
-- $ wget http://luarocks.org/releases/luarocks-2.2.2.tar.gz
|
||||||
|
-- $ tar zxpf luarocks-2.2.2.tar.gz
|
||||||
|
-- $ cd luarocks-2.2.2
|
||||||
|
-- $ ./configure --lua-version=5.2
|
||||||
|
-- $ sudo make bootstrap
|
||||||
|
-- This script will automatically locate the Doodle3D repo's.
|
||||||
-- Index files are fetched from the online repository.
|
-- Index files are fetched from the online repository.
|
||||||
-- For synchronizing, rsync must have passwordless SSH access to the server, for a
|
-- For synchronizing, rsync must have passwordless SSH access to the server, for a
|
||||||
-- guide, see: http://www.linuxproblem.org/art_9.html.
|
-- guide, see: http://www.linuxproblem.org/art_9.html.
|
||||||
@ -158,9 +166,9 @@ local function fileExists(path)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function detectBuildroot()
|
local function detectBuildroot()
|
||||||
if not fileExists("customfeeds") or not fileExists("bin") then
|
if not fileExists("customfeeds") or not fileExists("bin") then
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -454,7 +462,7 @@ local function main()
|
|||||||
print("Error: could not collect local version information (" .. msg .. ")")
|
print("Error: could not collect local version information (" .. msg .. ")")
|
||||||
quit(3)
|
quit(3)
|
||||||
end
|
end
|
||||||
|
|
||||||
local stables,betas = fetchVersionInfo()
|
local stables,betas = fetchVersionInfo()
|
||||||
if not stables then
|
if not stables then
|
||||||
print("Error: could not get version information (" .. betas .. ")")
|
print("Error: could not get version information (" .. betas .. ")")
|
||||||
|
@ -1 +1 @@
|
|||||||
0.10.8-b
|
0.10.9
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
BASE_NAME=d3d-wifibox-backup
|
|
||||||
SRC_PATHS="/etc /root /www/ /usr/share/lua"
|
|
||||||
TEMP_DIR=/tmp
|
|
||||||
TGT_FILE=$BASE_NAME.tar.gz
|
|
||||||
|
|
||||||
if [ -e /www-external ]; then
|
|
||||||
echo "ERROR: switch back /www-regular to /www before running this script"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $TEMP_DIR
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "ERROR: could not cd to temporary directory ($TEMP_DIR)"
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
TGT_DIR=$TEMP_DIR/$BASE_NAME
|
|
||||||
rm -rf $TGT_DIR
|
|
||||||
mkdir -p $TGT_DIR
|
|
||||||
|
|
||||||
for path in $SRC_PATHS; do
|
|
||||||
echo "copying $path -> $TGT_DIR..."
|
|
||||||
cp -a $path $TGT_DIR
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "compressing $TGT_DIR into $BASE_NAME.tar.gz..."
|
|
||||||
tar czf $BASE_NAME.tar.gz $BASE_NAME
|
|
||||||
|
|
||||||
echo "removing staging dir..."
|
|
||||||
rm -rf $TGT_DIR
|
|
||||||
|
|
||||||
echo "done."
|
|
Loading…
Reference in New Issue
Block a user