Browse Source

Change some OpenStack to OpenDev or ttygroup

Change-Id: I1992146163b4a2ad9e70751c4ebd6b6a6663e441
tags/1.6.0^0
James E. Blair 1 year ago
parent
commit
dfbe737cb9
7 changed files with 44 additions and 43 deletions
  1. +9
    -11
      CONTRIBUTING.rst
  2. +12
    -10
      README.rst
  3. +7
    -6
      doc/source/configuration.rst
  4. +7
    -7
      examples/opendev-gertty.yaml
  5. +3
    -3
      examples/rdo-gertty.yaml
  6. +3
    -3
      gertty/gitrepo.py
  7. +3
    -3
      setup.cfg

+ 9
- 11
CONTRIBUTING.rst View File

@@ -1,14 +1,14 @@
Contributing
============

To browse the latest code, see: https://git.openstack.org/cgit/stackforge/gertty/tree/
To clone the latest code, use `git clone https://git.openstack.org/stackforge/gertty`
To browse the latest code, see: https://opendev.org/ttygroup/gertty/src/branch/master/
To clone the latest code, use `git clone https://opendev.org/ttygroup/gertty`

Bugs are handled at: https://storyboard.openstack.org/#!/project/698
Bugs are handled at: https://storyboard.openstack.org/#!/project/ttygroup/gertty

Code reviews are handled by gerrit at: https://review.openstack.org
Code reviews are handled by gerrit at: https://review.opendev.org

Use `git review` to submit patches (after creating a gerrit account
Use `git review` to submit patches (after creating a Gerrit account
that links to your launchpad account). Example::

# Do your commits
@@ -52,9 +52,7 @@ to the program:
expectations set by the web browsers).

* Support a wide variety of Gerrit installations. The initial
development of Gertty is against the OpenStack project's Gerrit, and
many of the features are intended to help its developers with their
workflow, however, those features should be implemented in a generic
way so that the system does not require a specific Gerrit
configuration.

development of Gertty is against the OpenDev Gerrit, and many of the
features are intended to help its users with their workflow,
however, those features should be implemented in a generic way so
that the system does not require a specific Gerrit configuration.

+ 12
- 10
README.rst View File

@@ -84,14 +84,16 @@ To install from a git checkout::
pip install .

Gertty uses a YAML based configuration file that it looks for at
``~/.config/gertty/gertty.yaml``. Several sample configuration files are
included. You can find them in the examples/ directory of the `source
distribution <https://git.openstack.org/cgit/openstack/gertty/tree/examples>`_
or the share/gertty/examples directory after installation.
``~/.config/gertty/gertty.yaml``. Several sample configuration files
are included. You can find them in the examples/ directory of the
`source distribution
<https://opendev.org/ttygroup/gertty/src/branch/master/examples>`_ or
the share/gertty/examples directory after installation.

Select one of the sample config files, copy it to ~/.config/gertty/gertty.yaml
and edit as necessary. Search for ``CHANGEME`` to find parameters that need to
be supplied. The sample config files are as follows:
Select one of the sample config files, copy it to
~/.config/gertty/gertty.yaml and edit as necessary. Search for
``CHANGEME`` to find parameters that need to be supplied. The sample
config files are as follows:

**minimal-gertty.yaml**
Only contains the parameters required for Gertty to actually run.
@@ -99,8 +101,8 @@ be supplied. The sample config files are as follows:
**reference-gertty.yaml**
An exhaustive list of all supported options with examples.

**openstack-gertty.yaml**
A configuration designed for use with OpenStack's installation of
**opendev-gertty.yaml**
A configuration designed for use with OpenDev's installation of
Gerrit.

**googlesource-gertty.yaml**
@@ -216,4 +218,4 @@ contents of the CONTRIBUTING.rst file.
Bugs
----

Bugs are handled at: https://storyboard.openstack.org/#!/project/698
Bugs are handled at: https://storyboard.openstack.org/#!/project/ttygroup/gertty

+ 7
- 6
doc/source/configuration.rst View File

@@ -2,10 +2,11 @@ Configuration
-------------

Gertty uses a YAML based configuration file that it looks for at
``~/.config/gertty/gertty.yaml``. Several sample configuration files are
included. You can find them in the examples/ directory of the `source
distribution <https://git.openstack.org/cgit/openstack/gertty/tree/examples>`_
or the share/gertty/examples directory after installation.
``~/.config/gertty/gertty.yaml``. Several sample configuration files
are included. You can find them in the examples/ directory of the
`source distribution
<https://opendev.org/ttygroup/gertty/src/branch/master/examples>`_ or
the share/gertty/examples directory after installation.

Select one of the sample config files, copy it to ~/.config/gertty/gertty.yaml
and edit as necessary. Search for ``CHANGEME`` to find parameters that need to
@@ -17,8 +18,8 @@ be supplied. The sample config files are as follows:
**reference-gertty.yaml**
An exhaustive list of all supported options with examples.

**openstack-gertty.yaml**
A configuration designed for use with OpenStack's installation of
**opendev-gertty.yaml**
A configuration designed for use with OpenDev's installation of
Gerrit.

**googlesource-gertty.yaml**


examples/openstack-gertty.yaml → examples/opendev-gertty.yaml View File

@@ -1,17 +1,17 @@
# This is an example ~/.config/gertty/gertty.yaml file for use with OpenStack's
# Gerrit. Most of these options are not required, rather, they customize
# Gertty to better deal with the particulars of OpenStack's Gerrit
# configuration.
# This is an example ~/.config/gertty/gertty.yaml file for use with
# OpenDev's Gerrit. Most of these options are not required, rather,
# they customize Gertty to better deal with the particulars of
# OpenDev's Gerrit configuration.

# This file does not list all of the available options. For a full
# list with explanations, see the 'reference-gertty.yaml' file.

servers:
- name: openstack
url: https://review.openstack.org/
- name: opendev
url: https://review.opendev.org/
# Your gerrit username.
username: CHANGEME
# Set password at https://review.openstack.org/#/settings/http-password
# Set password at https://review.opendev.org/#/settings/http-password
# Note this is not your launchpad password.
password: CHANGEME
git-root: ~/git/

+ 3
- 3
examples/rdo-gertty.yaml View File

@@ -1,6 +1,6 @@
# This is an example ~/.config/gertty/gertty.yaml file for use with OpenStack's
# Gerrit. Most of these options are not required, rather, they customize
# Gertty to better deal with the particulars of OpenStack's Gerrit
# This is an example ~/.config/gertty/gertty.yaml file for use with
# RDO's Gerrit. Most of these options are not required, rather, they
# customize Gertty to better deal with the particulars of RDO's Gerrit
# configuration.

# This file does not list all of the available options. For a full


+ 3
- 3
gertty/gitrepo.py View File

@@ -14,9 +14,9 @@
# under the License.

# Test changes:
# https://review.openstack.org/275862
# https://review.openstack.org/119302
# https://review.openstack.org/133550
# https://review.opendev.org/275862
# https://review.opendev.org/119302
# https://review.opendev.org/133550

import datetime
import logging


+ 3
- 3
setup.cfg View File

@@ -3,9 +3,9 @@ name = gertty
summary = Gertty is a console-based interface to the Gerrit Code Review system.
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://www.openstack.org/
author = The TTY Group
author-email = openstack-infra@lists.openstack.org
home-page = http://ttygroup.org/
classifier =
Topic :: Utilities
Intended Audience :: Developers


Loading…
Cancel
Save