281 Commits

Author SHA1 Message Date
huang.zhiping
2b75a0c1f0 Update home-page
Change-Id: Ic762c0bff1694f7898ddb27e1100959171de5a05
2019-01-12 12:11:00 +00:00
qingszhao
e8199c3145 Removed older version of python3.x
Remove the support of python3.4, because
in Ubuntu Xenial only (python3.4 is
restricted to <= Mitaka).

Change-Id: Ibcc22f7da056c1db7cb3901fd63ff40adaa0f11c
Closes-Bug:  #1801855
2018-12-17 10:00:27 +00:00
Manik Bindlish
89e5e7fb42 Change openstack-dev to openstack-discuss
Mailinglists have been updated.
So, replacing openstack-dev with openstack-discuss.

Change-Id: I5b9a0ab6932e3d0c266318d303b5b1ae0089369e
2018-12-04 06:29:35 +00:00
ZhijunWei
fae4326ccc Use updated hacking url link
Change-Id: I6be42f30d0c2176cb61b630be12ca0cf77a7bb25
Closes-Bug: #1798139
2018-10-17 02:33:00 +00:00
Zuul
55cfa6a890 Merge "Treat subunit as binary under python3" 2018-10-01 15:51:05 +00:00
Clark Boylan
f0e4e094c3 Treat subunit as binary under python3
The subunit stream is a binary protocol and can't be encoded to utf8.
Unfortunately  under python3 the default behavior when reading from
stdin or opened files is to read them encoded as your platform dependent
encoding. For linux users this is typically utf8 and subunit isn't valid
utf8. Fix this by reading the subunit streams as binary under python3 as
we do on python2.

Change-Id: I1ddfe514c219c3bbfcd69f6808faa2331933acee
2018-09-30 08:44:55 -07:00
Doug Hellmann
cfe2552bbf fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I7d8972a912315a70359a7b6ff7c191bbe51ddf7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:48:11 -04:00
Doug Hellmann
a5b8467434 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Note that python36 fails installing nodejs-legacy since bionic does not
include it. Install nodejs-legacy only on Xenial.

Change-Id: Id8fbe2d5188054924eacb74bcfc52b49fd8a1d84
Story: #2002586
Task: #24327
2018-09-12 18:00:05 +02:00
Doug Hellmann
7bdfa37299 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I0b373b18715fec1bed6894bb324d104fb78893e6
Story: #2002586
Task: #24327
2018-09-08 22:54:04 -04:00
Doug Hellmann
7704328448 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I9bb961a1c6ca5c38144471fe6fa4c7098d45b752
Story: #2002586
Task: #24327
2018-09-08 22:53:07 -04:00
Masayuki Igawa
7eccb67849
Fix indentations in docs
This commit fixes some indentations in stackviz docs. These indentations
are weird. There's no specific reason to keep it.

Change-Id: Ib9805b5c7d3ba5a4b44045424fed4493322dcd67
2017-12-18 13:50:02 +09:00
Masayuki Igawa
6fb81ff38a
Fix docs and update its theme
This commit fixes the stackviz docs to show some manual pages and some
tiny sectioning. And this commit also updates to use the new theme.
There are still remaining weird indentations and some other tiny
formatting bugs. However, we can fix them in following patches.

Change-Id: I1ab055efb9bc5653f98be165cd2be3ac9cc5cd27
2017-12-01 16:31:09 +09:00
Ian Wienand
de9f755807 Install "node-legacy" for build
As can be seen in the build logs [1], this is failing with an error
about the "node" command, which on debuntu is provided by node-legacy.
Install it, as this seems to be the solution [2].

[1] http://logs.openstack.org/periodic/periodic-package-stackviz-element/5651097/console.html
[2] https://stackoverflow.com/questions/21168141/cannot-install-packages-using-node-package-manager-in-ubuntu

Change-Id: If4e6342182e978d1d8c09c21748dd3f150311afa
2017-06-13 16:30:27 +10:00
Jenkins
baa9a66e9e Merge "Have stackviz output a usable python sdist" 2017-05-31 16:02:27 +00:00
Ian Wienand
02dc3ab7f5
Have stackviz output a usable python sdist
It seems that on a CI node, we just want to have approximately "pip
install stackviz" and have it "just work".

This makes "npm run prod" produce a .tar.gz appropriate for this.

Firstly, I have moved the gulp output to "gulp-build" rather than
"build" because "build" is generic and can get distutils confused.

Second, after building with gulp, we tack on a "setup.py sdist" call
to generate the final package.

Thirdly, the MANIFEST.in is updated to prune out unneeded files from
the final distribution.  pbr is putting everything in git into the
manifest, but we can trim all all the nodejs source stuff.  The
generated files in gulp-build are added to the manifest (since they're
generated, and not in git).

Finally, these are added via data-files as "share/stackviz-html".  This
is essentially standalone and can be moved, or symlinked to as required.

The end result is that the .tar.gz created is installable on nodes an
contains everything required to run stackviz.

Documentation is updated.

Change-Id: I64cbc7e90bd2610733c9d5c6275cce99f2571883
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-31 09:14:10 -04:00
Jenkins
c86be1a907 Merge "Add py3.5 support in setup.cfg" 2017-04-25 17:37:21 +00:00
Paul Belanger
13df5b0817
Initial commit of bindep.txt
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. As such, add our npm / nodejs
dependencies to stackviz.

This is needed so we can produce static builds for our
diskimage-builder images for nodepool.

Change-Id: Ib268ba47e870546fbf6d09284b7b4d85ab44ce6f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-04-13 10:58:54 -04:00
Masayuki Igawa
226f2021d3 Adapt to python 3
This commit adapt stackviz to python 3. We have no tests yet, though.

Change-Id: Ie6e9296c3e19ddcfe202dbf688bb1704d0072722
2017-04-11 09:37:46 -06:00
Andrea Frittoli
09d2131f6e Add py3.5 support in setup.cfg
As defined in https://governance.openstack.org/tc/goals/pike/python35.html
Pike community goal for py35, adding py35 to setup.cfg.

Change-Id: I593fa5b49f16b41d4c8969fc34e6caa1604d3a0c
2017-04-06 22:09:08 +00:00
Andrea Frittoli
56ed584627 Drop mysql-python
mysql-python is not py3.x compatible, and it's actually a
transitive dependency for subunit2sql, so dropping it from
the requirements. subunit2sql will pull the right package.

Also replacing py34 with py35 in tox.ini, since py35 is the
version of py3 used by OpenStack in Pike.

Change-Id: I195d479be05c78619f1e8a69e19350558d0b5534
2017-04-06 21:59:58 +00:00
Tim Buckley
61cc01edbb Fix docs build
This ports over the change from [1] that fixes the docs build, caused
by a bad docutils version.

[1] https://review.openstack.org/#/c/410038/

Change-Id: I5ca5b7d0c2c4c2242d0738762ede3b24202a1e52
2017-02-18 14:05:35 -07:00
Jenkins
b53232db2a Merge "Drop MANIFEST.in - it's not needed by pbr" 2016-12-02 00:49:54 +00:00
Jenkins
f78ba4a6d5 Merge "Show team and repo badges on README" 2016-12-02 00:43:28 +00:00
Flavio Percoco
493652c2f9 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/224e877e8600216f2fcf729ea3a432c4\n'

Change-Id: I0536cd4cb4689eb0455f580a430c225b3a6d2363
2016-11-25 13:49:12 +01:00
nizam
0cd69dee8b Update .coveragerc after the removal of openstack directory
The openstack directory was used to keep codes from oslo-incubator,
we have retired oslo-incubator,so don't use this directory any more.

Change-Id: I66deba146f1669b070dac0ecc72e350822612cf8
2016-11-03 19:33:33 +05:30
nizam
f83b805e9a Drop MANIFEST.in - it's not needed by pbr
stackviz already uses PBR:-
setuptools.setup(
    setup_requires=['pbr'],
    pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: I02df186f37b3ba269a3bb3390c2d2cf5b48776e7
2016-11-03 13:48:17 +00:00
guo yunxian
491d0e7878 Delete *openstack/common* in exclude
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so we needn't use
this directory any more.

Change-Id: If23d29e41fdea0c9e83331011c81a0d5b8283a27
2016-09-11 06:06:13 +00:00
Jenkins
b3babf16cb Merge "Update home-page url" 2016-09-08 06:57:58 +00:00
guo yunxian
64463ff03a Update home-page url
You will see stackviz home-page url as follow:
http://docs.openstack.org/developer/stackviz/

Change-Id: I5190fc587d6573a2826c2033d6ef9c9235fb4780
2016-09-06 09:59:25 +08:00
Ian Wienand
3a31512b8d Correct stream-file argument
I found out the hard way this argument name is incorrect :)

Change-Id: I1f947f7f6def95298ae67240a6af2ebdd55d60f5
2016-09-02 10:53:11 +10:00
Tim Buckley
e6037d640a Fix timeline worker sorting
In the nested 'data' array, nested lists of tests should be sorted by
their worker key. However, the 'd3.ascending' comparator sorts by
string rather than numerically, resulting in the array being out of
order with more than 10 workers. This caused item selection (but not
hovering) to break after the second row.

This patch replaces the built-in comparator ('d3.ascending') with a
comparator that uses parseInt() to make sure the nested lists are in
the correct order for fast lookups.

Change-Id: Idbd94369fb35f4cf03c39b0c9fa2cc07623885ab
2016-07-18 11:23:03 -06:00
Jenkins
4f441cd27c Merge "Use d3 modules to reduce build size" 2016-07-18 17:20:52 +00:00
Tim Buckley
6a5fc4fd38 Add temporary workaround for build failure
Currently builds are failing due to a dependency-of-dependency update
in gulp-header (via gulp-angular-templatecache) that is looking for
a file that doesn't exist. This adds an empty file to satisfy it as a
workaround.

Change-Id: I6849892d8f6d4a397f6fc29975041c6da9fef0f8
2016-06-17 10:50:30 -06:00
Masayuki Igawa
f264fac5b1 Add links of openstack-health on Timeline and Test details
This commit adds links of the openstack-health on the Timeline and Test
details.

Change-Id: I7fd65dbbd6068b5cfc3a9b48b6d034ebd2f768f9
2016-06-14 14:44:44 +09:00
Masayuki Igawa
7703a4ca01 Remove duplicated imports from test-requirements.txt
This commit removes duplicated imports from test-requirements.txt.

Change-Id: Ic5d2fe69d90fe142b7e27a6ee1ee09f720ff706d
2016-06-13 14:46:19 +09:00
Masayuki Igawa
56bdb93a6f Add *.log to .gitignore
This commit adds *.log entry to .gitignore. We don't need to track log
files.

Change-Id: If7bc389beac999b9ecfbd512af700bb38ae5c17b
2016-05-31 15:55:16 +09:00
Jenkins
9cd9da04ac Merge "Disable gzip and source maps for production builds" 2016-05-28 21:53:45 +00:00
Tim Buckley
965e723004 Use d3 modules to reduce build size
This switches the codebase to use only specific d3 (version 4) modules
rather than the entire d3 (v3) package, resulting in a decent shrink
in build size (~75KB reduction).

Change-Id: I9f6a5d039d6340cc28115337bdfb891d15af7057
2016-05-28 15:36:34 -06:00
Tim Buckley
d2e9ad4fca Disable gzip and source maps for production builds
This disables sourcemap generation for production builds to save on
disk space. While useful, source maps are several times larger than
our actual used code, so it's best to only keep them around during
development.

This also turns off gzip, since it is just duplicating files for now;
we'll want to reconsider this feature once StackViz is building inside
the gate if links start breaking.

Change-Id: Ie4c2735c08014f417b8f1f68fc8f6b9e4898dff2
2016-05-13 18:40:17 -06:00
Tim Buckley
fbc599f85d Remove top fixed navbar
This removes the top fixed navbar in favor of breadcrumb navigation.
The top navbar no longer makes sense with generic artifact types, and
never rendered correctly on small displays (particularly mobile
devices). Instead, each page now displays a small breadcrumb menu.

Change-Id: I18a8bbae24b237e503563cabf854413a54f4be72
2016-05-13 17:12:55 -06:00
Jenkins
28caae17d6 Merge "Add console.html summary and viewer" 2016-05-13 17:16:35 +00:00
Tim Buckley
68d4f76ad4 Add npm 'prod' script to run 'gulp prod'
This adds a new 'scripts' entry to 'package.json' to run 'gulp prod',
eliminating the need for a global install of gulp.

Change-Id: I383e5bf99f6e9e2c7d5fa5c894ef573fa06facd7
2016-05-11 14:57:37 -06:00
Jenkins
132e03f329 Merge "Add service to summarize different artifact types" 2016-05-09 21:50:57 +00:00
Tim Buckley
5f582dc5e4 Fix possible race condition in build script
This fixes a potential race condition during the build process, where
the 'browserify' task could attempt to run before the views had been
compiled, resulting in build failure. This change makes the
'browserify' task wait for views to finish before running.

Change-Id: I8358812a90caf006c18220b643347848f15779fe
2016-05-02 12:47:34 -06:00
Tim Buckley
c5a38e44e1 Add console.html summary and viewer
This adds a new console.html summary and details view that can
gives overview information about console output, organizes output
by section, and can also determine the currently running script at
job failure time. The console viewer is a CodeMirror-based widget
that provides basic highlighting and folding capabilities to make
console output easier to browse.

Change-Id: I27a9a532ae117d2914dc2f3a866c780378e79f72
2016-04-29 20:06:31 -06:00
Tim Buckley
b2fedac4fe Add service to summarize different artifact types
Currently, the home page has a hard-coded summary panel specifically
for displaying overviews of subunit artifacts, which makes it
impossible to show information on other types of artifacts. This adds
a new 'summaryService' and associated 'artifact-summary' directive
that can dynamically create summary panels depending on artifact type.

Additionally, since the summary service allows many summary panels per
type per named artifact, we can have multiple (priority-ordered)
panels for each artifact. As an example of this, the existing subunit
summary has been split into simpler 'subunit-summary' and
'subunit-errors' panels.

Change-Id: I0d075dfcb86c6aef8c697896d1728e970b62600f
2016-04-28 13:14:58 -06:00
Tim Buckley
d27c01fb6a Add new configuration file format
This enables a new "artifact"-based configuration file format,
intended to work natively with the deployer and to aid future efforts
to visualize additional data sources.

Among other tweaks, dataset indices are no longer used as the primary
differentiator between data files, and instead artifact names (such as
`testrepository.subunit`) are used to group related artfacts of various
types, such as 'subunit', 'subunit-stats', and 'subunit-details'.

Additionally, datasets and artifacts now have access to substantially
more metadata about the job that generated the output data. In future
patches, this metadata will be used to display and link to additional
information about visualized data. This metadata is made available
automatically by the deployer, and can be optionally gathered from
environment variables when using `stackviz-export` via a new `--env`
flag.

Change-Id: I3e16cc314624a1b7b4f6bf43fa4d5cdeedcdba0c
2016-04-21 16:21:52 -06:00
Jenkins
d92719c169 Merge "Add to stackviz-export and stackviz-front docs" 2016-04-19 05:27:33 +00:00
Austin Clark
e3af3b2bd3 Add to stackviz-export and stackviz-front docs
Adds additional information to the stackviz-export and stackviz-front
technical documents. Info about `stackviz-export` output files is
now included in the corresponding document. Directive and service
descriptions were added to stackviz-front, alongside inline comments
in the appropriate .js files.

Due to the unique structure of GitHub's RST renderer, includes will
no longer be used in the main README.

Change-Id: Iaebf1f1c3b5e4cbb4ea5e262f85672bc082bbe2f
2016-04-14 10:18:28 -06:00
Tim Buckley
72a3317656 Add canvas timeline implementation
This adds a new timeline renderer using a plain canvas element,
replacing the d3 and svg-based renderer. This new implementation
greatly improves timeline performance, especially on less powerful
graphics cards, and more than doubles the resulting framerate while
panning the view by aggressively caching previously rendered chart
regions. Additionally, worst-case memory usage is greatly reduced
during heavier periods of user interaction.

This new implementation also removes several previous limitations.
Due to cached rendering a nearly unlimited number of objects can be
shown at any time with no performance impact, so small objects never
need to be hidden from view at any zoom level. Also, view transitions
can now be smoothly animated, and reach a stable framerate even on
older mobile devices.

Change-Id: Ib883e056270eff688b4b4a0c340eaea20cceb181
2016-04-06 19:03:31 -06:00