gleam is taken, let's do glean instead

This commit is contained in:
Monty Taylor 2015-04-12 16:06:41 -04:00
parent 062393a8c0
commit b6d75277c2
12 changed files with 24 additions and 24 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = gleam
omit = gleam/tests/*,gleam/openstack/*
source = glean
omit = glean/tests/*,glean/openstack/*
[report]
ignore-errors = True

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack-infra/gleam.git
project=openstack-infra/glean.git

View File

@ -1,4 +1,4 @@
gleam Style Commandments
glean Style Commandments
========================
Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/

View File

@ -1,10 +1,10 @@
=====
gleam
glean
=====
Simple program to write static config from config-drive
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/gleam
* Source: http://git.openstack.org/cgit/openstack-infra/gleam
* Documentation: http://docs.openstack.org/developer/glean
* Source: http://git.openstack.org/cgit/openstack-infra/glean
* Bugs: http://storyboard.openstack.org

View File

@ -37,7 +37,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'gleam'
project = u'glean'
copyright = u'2013, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.

View File

@ -1,9 +1,9 @@
.. gleam documentation master file, created by
.. glean documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to gleam's documentation!
Welcome to glean's documentation!
========================================================
Contents:

View File

@ -4,9 +4,9 @@ Installation
At the command line::
$ pip install gleam
$ pip install glean
Or, if you have virtualenvwrapper installed::
$ mkvirtualenv gleam
$ pip install gleam
$ mkvirtualenv glean
$ pip install glean

View File

@ -2,6 +2,6 @@
Usage
========
To use gleam in a project::
To use glean in a project::
import gleam
import glean

View File

@ -307,7 +307,7 @@ def write_ssh_keys(args):
current_keys = ""
if not args.noop:
open(authorized_keys, 'w').write(
"# File created by gleam\n")
"# File created by glean\n")
for (name, key) in meta_data['public_keys'].items():
if key not in current_keys or args.noop:
keys_to_write.append(

View File

@ -21,16 +21,16 @@ import mock
from oslotest import base
from gleam import cmd
from glean import cmd
sample_data_path = os.path.join(
os.path.dirname(os.path.realpath(__file__)), 'fixtures')
class TestProcessConfigDrive(base.BaseTestCase):
class TestGlean(base.BaseTestCase):
def setUp(self):
super(TestProcessConfigDrive, self).setUp()
super(TestGlean, self).setUp()
def _patch_argv(self, args):
self.useFixture(fixtures.MonkeyPatch('sys.argv', ['.'] + args))

View File

@ -16,16 +16,16 @@
# limitations under the License.
SAMPLE_DIR=gleam/tests/fixtures
SAMPLE_DIR=glean/tests/fixtures
for vendor_dir in $(find $SAMPLE_DIR \
-maxdepth 1 -mindepth 1 -type d | grep -v test) ; do
vendor=$(basename $vendor_dir)
python gleam/cmd.py \
python glean/cmd.py \
-n --root $vendor_dir --skip-network --ssh \
> $SAMPLE_DIR/test/$vendor.keys.out
for distro in debian ubuntu redhat fedora centos ; do
python gleam/cmd.py \
python glean/cmd.py \
-n --root $vendor_dir --distro $distro > $SAMPLE_DIR/test/$vendor.$distro.network.out
done
done

View File

@ -1,5 +1,5 @@
[metadata]
name = gleam
name = glean
summary = Simple program to write static config from config-drive
description-file =
README.rst
@ -22,7 +22,7 @@ classifier =
[entry_points]
console_scripts =
gleam = gleam.cmd:main
glean = glean.cmd:main
[build_sphinx]
source-dir = doc/source