Files
@ 31f510a88584
Branch filter:
Location: kallithea/init.d/rhodecode-daemon4 - annotation
31f510a88584
1.3 KiB
text/plain
Update minified YUI to version 2.9 built from Source.
yui.2.9.js used to be a minified version of YUI 2.9 until 5143b8df576c updated
it to something else and applied more aggresive minification. We stick to a
clean but minified version 2.9.
The license of YUI is BSD 3-clause, as described on
http://yuilibrary.com/license/ .
Since the minified version combines with GPLv3'd Javascript, it is only GPLv3'd
compliant to distribute this Object Code version with the Corresponding Source
(or offer therefor).
This yui.2.9.js is built from Source this way:
git clone https://github.com/yui/builder
git clone https://github.com/yui/yui2
cd yui2/
git checkout hudson-yui2-2800
ln -sf JumpToPageDropDown.js src/paginator/js/JumpToPageDropdown.js # work around inconsistent casing
rm -f tmp.js
for m in yahoo event dom connection animation dragdrop element datasource autocomplete container event-delegate json datatable paginator; do
rm -f build/$m/$m.js; ( cd src/$m && ant build deploybuild ) && sed -e 's,@VERSION@,2.9.0,g' -e 's,@BUILD@,2800,g' build/$m/$m.js >> tmp.js
done
java -jar ../builder/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar tmp.js -o yui.2.9.js
The source is mirrored and available on https://kallithea-scm.org/repos/mirror .
yui.2.9.js used to be a minified version of YUI 2.9 until 5143b8df576c updated
it to something else and applied more aggresive minification. We stick to a
clean but minified version 2.9.
The license of YUI is BSD 3-clause, as described on
http://yuilibrary.com/license/ .
Since the minified version combines with GPLv3'd Javascript, it is only GPLv3'd
compliant to distribute this Object Code version with the Corresponding Source
(or offer therefor).
This yui.2.9.js is built from Source this way:
git clone https://github.com/yui/builder
git clone https://github.com/yui/yui2
cd yui2/
git checkout hudson-yui2-2800
ln -sf JumpToPageDropDown.js src/paginator/js/JumpToPageDropdown.js # work around inconsistent casing
rm -f tmp.js
for m in yahoo event dom connection animation dragdrop element datasource autocomplete container event-delegate json datatable paginator; do
rm -f build/$m/$m.js; ( cd src/$m && ant build deploybuild ) && sed -e 's,@VERSION@,2.9.0,g' -e 's,@BUILD@,2800,g' build/$m/$m.js >> tmp.js
done
java -jar ../builder/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar tmp.js -o yui.2.9.js
The source is mirrored and available on https://kallithea-scm.org/repos/mirror .
0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 0dc18e9a3150 | #!/bin/bash
###########################################
#### THIS IS AN ARCH LINUX RC.D SCRIPT ####
###########################################
. /etc/rc.conf
. /etc/rc.d/functions
DAEMON=rhodecode
APP_HOMEDIR="/srv"
APP_PATH="$APP_HOMEDIR/$DAEMON"
CONF_NAME="production.ini"
LOG_FILE="/var/log/$DAEMON.log"
PID_FILE="/run/daemons/$DAEMON"
APPL=/usr/bin/paster
RUN_AS="*****"
ARGS="serve --daemon \
--user=$RUN_AS \
--group=$RUN_AS \
--pid-file=$PID_FILE \
--log-file=$LOG_FILE \
$APP_PATH/$CONF_NAME"
[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON
if [[ -r $PID_FILE ]]; then
read -r PID < "$PID_FILE"
if [[ $PID && ! -d /proc/$PID ]]; then
unset PID
rm_daemon $DAEMON
fi
fi
case "$1" in
start)
stat_busy "Starting $DAEMON"
export HOME=$APP_PATH
[ -z "$PID" ] && $APPL $ARGS &>/dev/null
if [ $? = 0 ]; then
add_daemon $DAEMON
stat_done
else
stat_fail
exit 1
fi
;;
stop)
stat_busy "Stopping $DAEMON"
[ -n "$PID" ] && kill $PID &>/dev/null
if [ $? = 0 ]; then
rm_daemon $DAEMON
stat_done
else
stat_fail
exit 1
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
stat_busy "Checking $name status";
ck_status $name
;;
*)
echo "usage: $0 {start|stop|restart|status}"
esac
|