Bring coats under OpenStack infrastructure
- gerrit config - zuul jobs - updated URLs Change-Id: Id183dba3ba13c1e89b97de7ac167fa73de7b9758
This commit is contained in:
parent
1838510f47
commit
358ec92493
1
.gitignore
vendored
1
.gitignore
vendored
@ -61,3 +61,4 @@ node_modules
|
||||
# Generated
|
||||
ChangeLog
|
||||
AUTHORS
|
||||
.rtox.cfg
|
||||
|
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/coats.git
|
15
.zuul.yaml
Normal file
15
.zuul.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
- job:
|
||||
name: openstack-tox-linters-npm
|
||||
parent: openstack-tox-linters
|
||||
# bionic needed for less ancient nodejs/npm which would fail to install
|
||||
# cspell regardless engines mentioned in package.json
|
||||
nodeset: ubuntu-bionic
|
||||
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters-npm
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters-npm
|
10
README.md
10
README.md
@ -1,7 +1,5 @@
|
||||
# coats
|
||||
|
||||
[![Build Status](https://travis-ci.org/ssbarnea/coats.svg?branch=master)](https://travis-ci.org/ssbarnea/coats)
|
||||
|
||||
Collection of scripts (coats) that improve open-stack developer browsing experience
|
||||
|
||||
FoxReplace.json is text replacements configuration for
|
||||
@ -10,8 +8,12 @@ some extra coloring on build logs, making them easier to read. We plan to
|
||||
convert this into a greasemonkey helper in the future to allow use from
|
||||
multiple browsers.
|
||||
|
||||
![foxreplace-os-logs](https://s3.sbarnea.com/ss/181001-Mozilla_Firefox_.png)
|
||||
![foxreplace-os-logs](https://raw.githubusercontent.com/openstack/coats/master/doc/source/_static/img/coats-log-highlight-example.png)
|
||||
|
||||
After you install Firefox extension you can either do an one-time import
|
||||
of the configuration from <https://raw.githubusercontent.com/ssbarnea/coats/master/coats/FoxReplace.json>
|
||||
of the configuration from <https://raw.githubusercontent.com/openstack/coats/master/coats/FoxReplace.json>
|
||||
or configure it to re-download it when it changes.
|
||||
|
||||
## Contributing
|
||||
|
||||
Before you raise a CR, please run "tox" to perform a sanity check.
|
||||
|
7
bindep.txt
Normal file
7
bindep.txt
Normal file
@ -0,0 +1,7 @@
|
||||
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||
# see http://docs.openstack.org/infra/bindep/ for additional information.
|
||||
|
||||
nodejs [test]
|
||||
nodejs-legacy [platform:ubuntu-xenial test]
|
||||
nodejs-npm [platform:apk test]
|
||||
npm [test]
|
@ -2,8 +2,6 @@
|
||||
"version": "0.1",
|
||||
"language": "en",
|
||||
"words": [
|
||||
"Sbarnea",
|
||||
"Sorin",
|
||||
"TOXENV",
|
||||
"atexit",
|
||||
"bdist",
|
||||
@ -12,6 +10,7 @@
|
||||
"envars",
|
||||
"envlist",
|
||||
"envs",
|
||||
"gerrit",
|
||||
"htmlcov",
|
||||
"ifeq",
|
||||
"ifndef",
|
||||
@ -24,6 +23,7 @@
|
||||
"pytest",
|
||||
"repo",
|
||||
"repos",
|
||||
"rtox",
|
||||
"sdist",
|
||||
"setenv",
|
||||
"symlink",
|
||||
@ -52,7 +52,8 @@
|
||||
"ignorePaths": [
|
||||
"docs/build",
|
||||
".tox",
|
||||
".eggs"
|
||||
".eggs",
|
||||
"package-lock.json"
|
||||
],
|
||||
"ignoreWords": [
|
||||
"I18NSPHINXOPTS"
|
||||
|
BIN
doc/source/_static/img/coats-log-highlight-example.png
Normal file
BIN
doc/source/_static/img/coats-log-highlight-example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 287 KiB |
18
package.json
18
package.json
@ -7,11 +7,14 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"spell": "npm -s run spell-files && npm -s run spell-commit",
|
||||
"spell-commit": "git log -1 --pretty=%B > .git/commit.msg && cspell .git/commit.msg",
|
||||
"spell-files": "git ls-files | xargs cspell --unique"
|
||||
"spell-files": "git ls-files | xargs cspell --unique",
|
||||
"//": "tox linter will also call npm spell-(commit) at the end",
|
||||
"lint": "tox -e linters",
|
||||
"prod": "gulp prod; python setup.py sdist"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ssbarnea/coats.git"
|
||||
"url": "https://github.com/openstack/coats.git"
|
||||
},
|
||||
"keywords": [
|
||||
"openstack",
|
||||
@ -22,14 +25,13 @@
|
||||
"zuul",
|
||||
"logs"
|
||||
],
|
||||
"author": "Sorin Sbarnea",
|
||||
"author": "OpenStack",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ssbarnea/coats/issues"
|
||||
"url": "https://storyboard.openstack.org/#!/project/openstack/coats"
|
||||
},
|
||||
"homepage": "https://github.com/ssbarnea/coats#readme",
|
||||
"dependencies": {
|
||||
"cspell": "^2.1.12",
|
||||
"npm": "^6.1.0"
|
||||
"homepage": "https://github.com/openstack/coats#readme",
|
||||
"devDependencies": {
|
||||
"cspell": "^2.1.12"
|
||||
}
|
||||
}
|
||||
|
10
setup.cfg
10
setup.cfg
@ -1,13 +1,13 @@
|
||||
[metadata]
|
||||
name = coats
|
||||
author = Sorin Sbarnea
|
||||
author-email = sorin.sbarnea@gmail.com
|
||||
maintainer = Sorin Sbarnea
|
||||
maintainer-email = sorin.sbarnea@gmail.com
|
||||
author = OpenStack
|
||||
author-email = openstack-dev@lists.openstack.org
|
||||
maintainer = OpenStack
|
||||
maintainer-email = openstack-dev@lists.openstack.org
|
||||
summary = Collection of scripts (coats) that improve open-stack developer browsing experience
|
||||
description-file =
|
||||
README.md
|
||||
home-page = https://github.com/ssbarnea/coats
|
||||
home-page = https://github.com/openstack/coats
|
||||
requires-python = >=2.7
|
||||
|
||||
license = BSD
|
||||
|
7
tox.ini
7
tox.ini
@ -21,16 +21,21 @@ passenv =
|
||||
envars =
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
PIP_USER=no
|
||||
PATH={toxinidir}/node_modules/.bin:{env:PATH}
|
||||
whitelist_externals =
|
||||
bash
|
||||
echo
|
||||
find
|
||||
grep
|
||||
node
|
||||
npm
|
||||
rm
|
||||
which
|
||||
xargs
|
||||
|
||||
[testenv:linters]
|
||||
commands=
|
||||
pip install -q -r requirements.txt -r test-requirements.txt
|
||||
bash -c "npm install && npm run spell"
|
||||
python -m pre_commit run --all
|
||||
npm install -y
|
||||
npm run spell
|
||||
|
Loading…
Reference in New Issue
Block a user