Browse Source

gleam is taken, let's do glean instead

changes/56/177556/1
Monty Taylor 6 years ago
parent
commit
b6d75277c2
12 changed files with 24 additions and 24 deletions
  1. +2
    -2
      .coveragerc
  2. +1
    -1
      .gitreview
  3. +1
    -1
      HACKING.rst
  4. +3
    -3
      README.rst
  5. +1
    -1
      doc/source/conf.py
  6. +2
    -2
      doc/source/index.rst
  7. +3
    -3
      doc/source/installation.rst
  8. +2
    -2
      doc/source/usage.rst
  9. +1
    -1
      gleam/cmd.py
  10. +3
    -3
      gleam/tests/test_gleam.py
  11. +3
    -3
      rebuild-test-output.sh
  12. +2
    -2
      setup.cfg

+ 2
- 2
.coveragerc 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

+ 1
- 1
.gitreview View File

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

+ 1
- 1
HACKING.rst View File

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

+ 3
- 3
README.rst 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

+ 1
- 1
doc/source/conf.py 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.


+ 2
- 2
doc/source/index.rst 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:


+ 3
- 3
doc/source/installation.rst 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

+ 2
- 2
doc/source/usage.rst View File

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

+ 1
- 1
gleam/cmd.py 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(


+ 3
- 3
gleam/tests/test_gleam.py 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))


+ 3
- 3
rebuild-test-output.sh 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

+ 2
- 2
setup.cfg 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


Loading…
Cancel
Save