Commit Graph

143 Commits

Author SHA1 Message Date
Martin Kopec 5ce7a46319 Switch testing to Antelope testing runtime
Updating the testing template to Antelope testing runtime:
https://governance.openstack.org/tc/reference/runtimes/2023.1.html

Change-Id: Ic78f6db75d2eef58857f850fbe086ba189603ff0
2023-01-19 10:57:56 +01:00
Martin Kopec 0263151ac2 Switch testing to Zed testing runtime
Updating the testing template to Zed testing runtime:
https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Id56661c831dc82a7716af3f163e737aa5114160c
2022-05-12 11:06:55 +02:00
liyou01 94a3386b61 remove unicode from code
Change-Id: I366cb99a353425f7126e002f3ea25c3b305a9270
2022-03-25 10:35:17 +01:00
Ghanshyam Mann 7b2a6a5684 Update IRC network to OFTC
Change-Id: Ib57011097982581d7127cdb33c25b79d9547fa28
2021-05-31 15:06:46 -05:00
Ghanshyam Mann 8a0d103ce4 Add publish-openstack-docs-pti template
The patch adds publish-openstack-docs-pti zuul template
to publish the docs.

Change-Id: I7cfdfb11869ac90244561d34d1f4fdf26a5e8ad0
2021-05-21 08:06:59 +00:00
Anand Bhat 3b8a9126db Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
The patch also sets ubuntu-focal nodeset for the docs job as newer
ubuntu (with newer tox available) is required.

Change-Id: I5b32e7f65710199601a6856dba86584390eb92b7
2021-05-17 17:42:42 +00:00
Lukas Piwowarski 3c9bc333ed Fix building of the pdf documentation
The .pdf documentation could not be build without errors because the
source code of the documentation contained errors. In addition, there
were other problems:

    - The readme section of the documentation was in .md format
      instead of .rst format. As a result, the created documentation did
      not look good.
    - The .html documentation used deprecated oslosphinx theme instead
      of openstackdocstheme.

This patch fixes the above-mentioned problems and makes sure that
the documentation is generated properly.

Also, this patch updates nodejs4-docs to nodejs10-docs because the
nodejs4-docs was using deprecated nodejs-npm-run-docs job [1].

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/757101

Task: 35462
Depends-On: I738b833109e4caeb58bb391d79d6e63284462bd8
Change-Id: I921b15edda433c3e47456488da6d2bda07c34262
2021-03-30 18:20:27 +02:00
Ghanshyam Mann 6f6fa9f2f8 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: I6feaa5e6ef9ec56094cbb725a44893aabb83dd24
2020-04-23 03:31:09 +00:00
OpenDev Sysadmins 96195f64a5 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:00 +00:00
Ian Wienand 9b02e24311 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I1c9142277b805d9c269a63d324f0c8d7edb7d84c
2019-03-24 20:33:32 +00:00
malei 248d0ef5ac Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Iacedf7a593e0266e05091e25cc014acec748a53f
2018-12-14 17:13:31 +08:00
Zuul 00303e7eb7 Merge "Remove broken readme.rst" 2018-12-06 12:51:00 +00:00
Doug Hellmann abfb7c780b 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

Depends-On: https://review.openstack.org/601057
Change-Id: If703f0dcf1cb58f3bbd28bd1432ff19e68c21aad
Story: #2002586
Task: #24327
2018-09-09 06:18:59 -04:00
Andreas Jaeger 0ab90f7106 Remove broken readme.rst
readme.rst includes a README.rst file that does not exist - we have a
README.md but cannot include it here. Thus remove the readme.rst file.

Change-Id: I8a30c6ed4609658b2b8d3caa945cdeb0a678b68c
2017-11-09 21:48:11 +01:00
Jenkins 894825a3d0 Merge "Fix the typo of release doc" 2017-01-30 14:31:34 +00:00
Jenkins 64a07dcdfd Merge "Disallow space between a function & opening paren" 2016-11-02 16:35:28 +00:00
Yujun Zhang b9af86f875 Copy .gitignore from js-generator-openstack template
Change-Id: I83397a517a188240a9f8af17951522d287d81c5e
2016-11-02 13:30:33 +00:00
msmol 99c529ad47 Disallow space between a function & opening paren
This rule was adopted in js-openstack-lib and I propose
we adopt it here as well. Whether we enforce a space or
no space, so long as it is consistent.

Change-Id: I5881b46ea16112729f2327484e56bcb138e0c386
2016-10-27 13:44:24 +00:00
Dong Ma 38aa1e46f7 Fix the typo of release doc
Change-Id: Ieb4ddb0ffcd988ae87786b4e85efb4308cc101b3
2016-10-24 03:15:41 +00:00
Dong Ma ade27364a5 Fix the gate npm docs failure
This commit try to fix the gate nodejs4 npm docs failure by adding
docs script.

Change-Id: I186d3ec7fc826ea767c57bad5cf3e2f5676c19bb
2016-10-21 17:22:30 +00:00
Elizabeth Elwell c457a0e9d8 Added documentation for eslint-config-openstack
Added documentation to include release guidelines.
Change-Id: I2c2cd929283868dac415f986f541d0ec5741ef17
2016-08-17 14:45:19 +01:00
Elizabeth Elwell 4549ae61e2 4.0.1
Change-Id: I2aa51a40562dbfebd5fbd6baad801b8542498706
2016-08-05 20:52:29 +00:00
Elizabeth Elwell 4f5cae9232 Upgraded eslint to 3.0.0
This upgrades the eslint version to 3.0.0, removes zombie rules, and
ensures all new rules are disabled.

Change-Id: I8ea98aeda7a42ed0e140164c0e9d5e28d54794b8
2016-08-05 14:55:18 +01:00
Vitaly Kramskikh ec845e5e7f Added config with ES2015-only rules
This commit adds an additional config, which should be used in
ES2015-based projects. It's available by adding
`extends: openstack/es2015` to project's .eslintrc file.

Change-Id: I5d54cdceb206db7a52ee396eafc513b290e38f86
2016-07-29 12:04:22 +03:00
Jenkins b2b34d88df Merge "Enable no-unmodified-loop-condition" 2016-07-21 16:21:30 +00:00
Jenkins c5c8bcb6df Merge "Enable keyword-spacing" 2016-06-10 14:05:22 +00:00
Michael Krotscheck be774d754d 2.0.0
Change-Id: Ief3454d4f1cd5a56707b3a5151ac48b894b59cfe
2016-06-02 09:41:32 -07:00
Jenkins 036c63d97d Merge "Enable arrow-parens" 2016-06-02 16:08:51 +00:00
Jenkins 558bc17571 Merge "Enable no-this-before-super" 2016-06-02 16:08:35 +00:00
Jenkins 8ca096cd90 Merge "Enable constructor-super" 2016-06-02 16:08:29 +00:00
Jenkins 17ad4856db Merge "Enable arrow-spacing" 2016-06-02 16:08:19 +00:00
Jenkins e762ac5207 Merge "Enable no-const-assign" 2016-06-02 15:13:28 +00:00
Jenkins 486d09aaf2 Merge "Enable no-class-assign" 2016-06-02 15:11:16 +00:00
Jenkins 8a3c3c037c Merge "Enable no-dupe-class-members" 2016-06-02 15:11:09 +00:00
Vitaly Kramskikh a3151bef1d Update descriptions of ES6-related options
OpenStack starts to support ES6, so the config has been updated
with instructions how to enable ES6 support.

"ecmaFeatures" were moved under "parserOptions" as it's required
by ESLint 2.x, all ES6-related flags were removed as they're
enabled using env.es6.

Change-Id: I5531534e2ab12ece0859816679aa19deb974957e
2016-05-12 16:01:19 +00:00
Vitaly Kramskikh 9df86496c2 Enable arrow-parens
Arrow functions can omit parentheses when they have exactly one
parameter. In all other cases the parameter(s) must be wrapped
in parentheses. This rule enforces the consistent use of
parentheses in arrow functions.

http://eslint.org/docs/rules/arrow-parens

Change-Id: I40fca3fc2ecaf99ebb8ab9c40e7eaed8e78bdbd7
2016-05-12 18:26:05 +03:00
Vitaly Kramskikh 425d919b8a Enable no-this-before-super
In the constructor of derived classes, if this/super are used
before super() calls, it raises a reference error.

http://eslint.org/docs/rules/no-this-before-super

Change-Id: I7cd9f2e802dbc1b3e9e91ca708366cb2b461e7fb
2016-05-12 18:23:18 +03:00
Vitaly Kramskikh 596fbf4c6f Enable no-dupe-class-members
If there are declarations of the same name in class members,
the last declaration overwrites other declarations silently.
It can cause unexpected behaviors.

http://eslint.org/docs/rules/no-dupe-class-members

Change-Id: I0279dd2f818ea893f26e6230ac7a7648dbae5520
2016-05-12 18:10:57 +03:00
Vitaly Kramskikh cd40c50186 Enable no-const-assign
Attempts to modify a constant cause runtime errors

http://eslint.org/docs/rules/no-const-assign

Change-Id: I89c0426c601f834fa91ea8315ca5b8ba0600c181
2016-05-12 17:30:28 +03:00
Vitaly Kramskikh ff4405854c Enable no-class-assign
Usually it makes no sense to reassign class variables

http://eslint.org/docs/rules/no-class-assign

Change-Id: Id556cd4e427c8772aed0e97aa68fa742f8692b7d
2016-05-12 16:54:48 +03:00
Vitaly Kramskikh 5fa93cef9e Enable constructor-super
This rule checks usage of super() calls in class constructors.
Constructors of derived classes must call super().
Constructors of non derived classes must not call super().
If this is not observed, the javascript engine will raise
a runtime error.

http://eslint.org/docs/rules/constructor-super

Change-Id: Ic5fd761584770bdd2ae1a361b85ccb0a0167fce3
2016-05-11 20:47:02 +03:00
Vitaly Kramskikh 80c4ef29b0 Enable arrow-spacing
Require spaces around arrow in arrow functions, like they are
required around keywords if, else, in, do, etc.

http://eslint.org/docs/rules/arrow-spacing

Change-Id: I1b8f2b4ed3619f0e8565a79ddcd439fa7851b5ad
2016-05-11 20:35:10 +03:00
Jenkins 5c164b6bea Merge "Enable no-self-assign" 2016-05-05 15:06:20 +00:00
Jenkins 20d3ff7c77 Merge "Clarified wording in governance" 2016-05-04 19:54:32 +00:00
Jenkins 04a679a71c Merge "Added policy for aging patches" 2016-05-04 19:54:27 +00:00
Jenkins f0c8918b41 Merge "Added policy guidelines for policy updates" 2016-05-04 19:54:21 +00:00
Michael Krotscheck 9ece5ec21d
Enable keyword-spacing
This enforces a space before and after keywords such as else, if,
switch, case, catch, try, and import.

http://eslint.org/docs/rules/keyword-spacing

Change-Id: I71a9b0d3527ba7612b9af75a3a0e14eaf8b3665e
2016-05-04 12:41:13 -07:00
Michael Krotscheck 8442d0103b
Enable no-unmodified-loop-condition
This rule ensures that parameters used to declare a loop, are modified
within the loop. If they are not, it is likely that this is an error.

Example:

while(foo) {
  doSomething(foo);
}

http://eslint.org/docs/rules/no-unmodified-loop-condition

Change-Id: I8f5a0b2b1f48a9f93e0946c76c497e86a199f01e
2016-05-04 12:40:36 -07:00
Michael Krotscheck 5b3112fe99
Enable no-self-assign
This will throw an error on all variants of a = a;

http://eslint.org/docs/rules/no-self-assign

Change-Id: Iaddc5e106da307e9ead62d2a37876805aaa86746
2016-05-04 12:40:10 -07:00
Jenkins c2dfae4999 Merge "Added approval policy for library upgrades" 2016-04-27 19:59:30 +00:00