https://github.com/ging/horizon
Revision 57bc46bfceb258e6a9fa6a007d6920618eafa167 authored by Radomir Dopieralski on 03 April 2014, 12:05:42 UTC, committed by Radomir Dopieralski on 04 April 2014, 07:50:02 UTC
Dashboard has its own splash, with a hardcoded get_user_home that igonres HORIZON_CONFIG. This patch makes it use horiozn.get_user_home which actually checks the user_home setting, and with the default settings.py, uses dashboard's get_user_home anyways, but allows for changing that default behavior. Change-Id: Id2d957f0cd8fbbbbb8f2c053f0c5df4be177e18c Closes-bug: #1301935 (cherry picked from commit ef2f59f09dd9c27b202a65b38ccf77165f7363a4)
1 parent 23aea6a
Tip revision: 57bc46bfceb258e6a9fa6a007d6920618eafa167 authored by Radomir Dopieralski on 03 April 2014, 12:05:42 UTC
Don't ignore the HORIZON_CONFIG['user_home'] setting
Don't ignore the HORIZON_CONFIG['user_home'] setting
Tip revision: 57bc46b
Makefile
PYTHON=`which python`
DESTDIR=/
PROJECT=horizon
all:
@echo "make test - Run tests"
@echo "make source - Create source package"
@echo "make install - Install on local system"
@echo "make buildrpm - Generate a rpm package"
@echo "make clean - Get rid of scratch and byte files"
source:
$(PYTHON) setup.py sdist $(COMPILE)
install:
$(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
buildrpm:
$(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST
find . -name '*.pyc' -delete
Computing file changes ...