Files
@ 31f510a88584
Branch filter:
Location: kallithea/docs/contributing.rst - annotation
31f510a88584
1.9 KiB
text/prs.fallenstein.rst
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 .
bb35ad076e2f bb35ad076e2f 17c9393e9645 8af52e1224ff bb35ad076e2f bb35ad076e2f 8af52e1224ff 8af52e1224ff bb35ad076e2f 8af52e1224ff 9472a0150bf0 8af52e1224ff b53cef6faf22 b53cef6faf22 b53cef6faf22 9472a0150bf0 053983a464e4 6fdc3b25bc7c b53cef6faf22 b53cef6faf22 b53cef6faf22 053983a464e4 6fdc3b25bc7c 950110f3f99f 950110f3f99f 950110f3f99f 8b8edfc25856 6fdc3b25bc7c 950110f3f99f b53cef6faf22 b53cef6faf22 b53cef6faf22 950110f3f99f 6fdc3b25bc7c 1b9d6b0a92b3 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 b53cef6faf22 950110f3f99f 8af52e1224ff 8af52e1224ff 9472a0150bf0 9472a0150bf0 9472a0150bf0 9472a0150bf0 | .. _contributing:
=========================
Contributing to RhodeCode
=========================
If you would like to contribute to RhodeCode, please contact me, any help is
greatly appreciated!
Could I request that you make your source contributions by first forking the
RhodeCode repository on bitbucket_
https://bitbucket.org/marcinkuzminski/rhodecode and then make your changes to
your forked repository. Please post all fixes into **dev** bookmark since your
change might be already fixed there and i try to merge all fixes from dev into
stable, and not the other way. Finally, when you are finished with your changes,
please send me a pull request.
To run RhodeCode in a development version you always need to install the latest
required libs. Simply clone rhodecode and switch to beta branch::
hg clone -u dev https://secure.rhodecode.org/rhodecode
after downloading/pulling RhodeCode make sure you run::
python setup.py develop
command to install/verify all required packages, and prepare development
enviroment.
There are two files in the directory production.ini and developement.ini copy
the `development.ini` file as rc.ini (which is excluded from version controll)
and put all your changes like db connection or server port in there.
After finishing your changes make sure all tests passes ok. You can run
the testsuite running ``nosetest`` from the project root, or if you use tox
run tox for python2.5-2.7 with multiple database test. When using `nosetests`
test.ini file is used and by default it uses sqlite for tests, edit this file
to change your testing enviroment.
There's a special set of tests for push/pull operations, you can runn them using::
paster serve test.ini --pid-file=test.pid --daemon
RC_WHOOSH_TEST_DISABLE=1 RC_NO_TMP_PATH=1 nosetests -x rhodecode/tests/other/test_vcs_operations.py
kill -9 $(cat test.pid)
| Thank you for any contributions!
| Marcin
.. _bitbucket: http://bitbucket.org/
|