Commit Graph

10 Commits

Author SHA1 Message Date
Julia Kreger f15485b1ac Fix glean docs build
Change-Id: Ic9a5516a7424736ecb8e31862c81866f5d20ac98
2023-11-02 13:29:45 -07:00
Ian Wienand 0eefc7321e Stop requiring /usr/local/bin links for glean.sh
Since Ic16f134fe34293bb68e7c632dd320f523366320d simple-init has
installed glean into a virtualenv.  Despite this, it still needs to
setup a range of global symlinks (in /usr/local/bin) so glean can
blindly call "glean" or "glean.sh".

This means that glean installation isn't actually stand-alone.  Unless
simple-init sets up these global symlinks the glean install doesn't
work.  This makes it very annoying to try and update the way the
scripts are working, because we have to merge changes into simple-init
as well.

We can make the installation self-consistent by using the install
tool.  The init scripts call glean.sh -- we can find the full path to
glean.sh using pkg_resources and write that into the files.

glean.sh wants to call the python tool "glean".  This is slightly
harder, because at runtime the script doesn't really know how to
invoke this (i.e. in a virtualenv, it should call
/path/to/virtualenv/bin/glean).  To allow for this, write a sibling
file next to "glean.sh" to invoke glean with the interpreter the
install is running under patched in.  This way, glean.sh can call this
wrapper relative to itself and get the right thing.  Add a __main__ to
allow glean to be called like this, and update the glean.sh script.

Change-Id: I1adfecf0d5c53648ee857be502216fd8d6cc5e16
2021-04-28 08:18:02 +10:00
Dmitry Tantsur 2fba753e8d Add Python 3.6 to supported versions
This is the version that CentOS/RHEL 8 and Ubuntu Bionic have.
I've tested Glean on CentOS 8, and it seems to work well.

Change-Id: Ie06a9c11b140728509a69b03366e910702fd0d3d
2021-03-19 13:56:39 +01:00
qingszhao 5dc697fca3 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I5c45bd2d45e40bea9466dcfba934325f469f8038
2018-12-04 14:00:27 +00:00
Cao Xuan Hoang 6426ed8573 Remove support for py33/py26
Python 3.3/2.6 is not supported from Mitaka, as per Infra.
This patch removes the support and add py35 for the same.

Change-Id: I31153d37eea4fb920e8caa6612e8d3e72beb24e5
2017-02-07 08:11:32 +07:00
Monty Taylor db1afd6420 Move init scripts and installation of them in tree
glean is not complete without the simple-init script and init scripts.
Move them here. Also, rename them to glean.

Change-Id: I2ed25ce434023bfc8b6a88a08c0c06c1cef63982
2015-06-29 09:27:05 -04:00
Monty Taylor b6d75277c2 gleam is taken, let's do glean instead 2015-04-12 16:06:41 -04:00
Monty Taylor 164fd25604 Rename from process-config-drive to gleam 2015-04-12 14:18:13 -04:00
Monty Taylor 185955d8b6 Import content from project-config patch 2015-03-02 20:12:23 -05:00
Monty Taylor f9300492eb Initial Cookiecutter Commit. 2015-03-02 19:05:03 -05:00