Commit Graph

34 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez a3bf74baa5 Ignore reno artefacts (RELEASENOTES.rst and reno.cache)
Change-Id: I5474ac1a55491f843e431fef0d440656a0336952
2023-01-18 04:52:03 +01:00
Slawek Kaplonski eabaf30fea Add etc/neutron/*.sample files to be ignored by git
After migration of networking-ovn code to neutron there is
e.g. etc/neutron/ovn.ini.sample file generated now and it should be
ignored by git.

Change-Id: I0d2c703d57552f8fcecc25b07c5e0d8b5aa67c29
Related-Blueprint: neutron-ovn-merge
2019-12-12 12:38:24 +01:00
Jens Harbott 2c6151499e Removing existing dirs from .gitignore
There are a couple of dirs present in the neutron tree that have
erroneously been added to the .gitignore file with [0]. Drop those so
that content there may be regularly updated again.

Affected directories:

- bin/
- neutron/tests/functional/agent/linux/bin/
- devstack/lib/
- neutron/tests/var/

[0] https://review.opendev.org/632094

Change-Id: Id56f61965bfc4ba3dcce3319cfda467d89f897b1
2019-05-31 13:35:30 +00:00
Slawek Kaplonski d8bd30dc0f Ignore config-samples and policy sample file in git
Sphinx generates files and directories like:
doc/source/_static/config-samples/
doc/source/_static/neutron.policy.yaml.sample

when is building docs pages.
Those files should be ignored in git and this patch adds it
to the .gitignore file.

Change-Id: I42d358bf062f3bcb2809fd762773246186ca4482
2019-05-21 13:03:30 +02:00
Natal Ngétal 0239f163b1 [Configuration] Clean up .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools.

To this end, remove the long-standing sections for "Mr Developer"
and "Editors" since their mere existence here sends the signal that
we welcome (and have time to review) additions for any old tool
someone ever might happen to try. Also add a comment block
explaining this, for clarity.

We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks called from tox,
documentation and packaging builds, et cetera).

Change-Id: I4774772ec30611b0acd1ad2aadcf6a1a3f93938c
2019-01-31 16:17:38 +01:00
Akihiro Motoki 55c5139d79 doc: Add policy reference
This is the preparation of migration to DocumendedRuleDefault.

Partially Implements: blueprint neutron-policy-in-code

Change-Id: I1d10f5db43167a04546565545d7d21010d16a808
2018-12-20 14:19:40 +09:00
Slawek Kaplonski ec537c49e9 Switch to stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: If3383707c9baf69e03bcccc50970da748a834141
2018-06-02 13:03:33 +02:00
Chandan Kumar 3ad9a259c0 Added zuulv3 jobs for testing neutron tempest plugin
* In order to test the tempest plugin, this patch adds following
  jobs against neutron repo.
  - neutron-tempest-plugin-api for api tests
  - neutron-tempest-plugin-dvr-multinode-scenario and
    neutron-tempest-plugin-scenario-linuxbridge for scenario tests

Depends-On: I42d389836e72813fdeebc797a577f4a8ac2ee603
Change-Id: Iab7f7bcec9597444041c6d6891b5e0d9a03ba039
2017-11-13 09:30:36 +05:30
Ihar Hrachyshka 3e341a9941 Fix post gate hook to accommodate for new os-testr
New os-testr uses stestr under the hood, which creates .stestr but not
.testrepository directory in the current dir. Other than that, it
doesn't seem like there is any difference in the format or names of
files generated in the directory.

Change-Id: I82d52bf0ad885bd36d2f0782a7c86ac61df532f2
Closes-Bug: #1716746
2017-09-12 14:20:12 -06:00
Akihiro Motoki 89158e0039 Add auto-generated config reference
oslo.config provides sphinx extensions to generate config reference
and sample config files. This commit enables the auto-generation of
the networking config reference.

Part of doc-migration work

Suppress pyroute2 warning to pass the doc build.

Change-Id: I74f0def7110674a6a735af77b9b07fb679b2959d
2017-07-30 21:14:40 +00:00
Martin Hickey 71190773e1 Automatically generate neutron core configuration files
This adds a new tox environment, genconfig, which generates sample
neutron core configuration file using oslo-config-generator.

Updates to some configuration option help messages to reflect useful
details that were missing in the code but were present in config files.

It also adds details to devref on how to update config files.

Partially-Implements: blueprint autogen-neutron-conf-file

DocImpact

Change-Id: I1c6dc4e7d479f1b7c755597caded24a0f018c712
Closes-bug: #1199963
Co-Authored-By: Louis Taylor <louis@kragniz.eu>
2015-11-27 15:22:59 +00:00
Kyle Mestery 271d3c1fae Add reno for release notes management
Change-Id: I0c9b6d9a0e77b57e3637260b6e73edfe78afe5ae
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-04 22:27:56 +00:00
Cedric Brandily 2ecac909ba Remove quantum untracked files from .gitignore
This change removes obsolete quantum untracked files from .gitignore.

Change-Id: I1ddf0b03d29066363f155dd5af8294efde5b0ef0
2015-06-25 11:59:37 +00:00
Maru Newby 501df939a5 Add support for retargetable functional api testing
This patch introduces the concept of a 'retargetable' functional api
test.  Such a test targets an abstract client class, and by varying
the implementation of the client, the test can target multiple
backends.

The test added by this patch (test_network_lifecycle) can be run
against the programmatic plugin api (for configured plugins) via both
tox -e functional and tox -e dsvm-functional.  The latter env is used
by the gating neutron-dsvm-functional job.

The test can also be run against a live Neutron service via 'tox -e api'
which will soon be run as part of the check queue by the
neutron-dsvm-api job [1].  Running this tox env requires
devstack-deployed Neutron and Tempest.

The intention is to refactor the existing plugin tests
(e.g. NeutronDbPluginV2TestCase) to use this model.  Functional tests
don't have to isolate functionality - they just need to exercise it -
so fewer tests will be required.  The new tests will be able to target
plugins directly rather than through the wsgi stack, so execution time
will be decreased.  The refactored tests should be easier to maintain
and take less time to run.

Perhaps best of all, since the same tests will be able to target a
deployed service in the neutron-dsvm-api job, the deployed behaviour
of api changes will finally be able to gate merges to the Neutron
tree.

Notable parts of the change:

- tests/api
  - base_v2 -      defines the client interface (BaseNeutronClient)
                   and the base class (BaseTestApi) for the
                   retargetable test (test_network_lifecycle)

  - test_v2_rest - implements the client interface for the tempest
                   rest client and configures the retargetable test
                   with scenarios for json serialization

- tests/functional/api
  - test_v2_plugin - implements the client interface for the
                     programmatic plugin api and configures the
                     retargetable test with scenarios targeting the
                     linuxbridge and openvswitch plugins

- tests/unit
  - refactor bits of the existing plugin tests for reuse

1: https://review.openstack.org/#/c/82226/

Implements: bp retargetable-functional-testing
Change-Id: Ib5470040c0fa91ec143f38d273e1e259b3adfb2e
2015-01-06 02:37:59 +00:00
Kevin Benton c10010d93a Ignore top-level hidden dirs/files by default
Rather than waiting for each contributor to attempt to submit
a change to .gitignore trying to add the $editor_of_the_week
hidden directory just to be rejected, let's just ignore hidden
files/dirs by default in the top-level neutron directory.

Change-Id: I145bec958a3db7423a4e820a310b138ed189d2cc
2014-10-11 01:42:06 -07:00
Doug Wiegley dbe8250bce Ignore emacs checkpoint files
Change-Id: Ie9870cded34e97c078b0f376948c6b6bc6ac2eb4
2014-06-18 13:48:41 -05:00
Zhenguo Niu 39f44068a7 Updates .gitignore
To ignore swap files from getting into repository
currently the implemented ignores are *.swp and *.swo
however vim adds more swap files if these files exists,
so improving this with *.sw?

Change-Id: Ie1b458d2b862e6cf2552ae5be6c6178b72e960ab
Closes-Bug: #1255876
2013-11-28 23:18:03 +08:00
ZhiQiang Fan c4657c3e01 Ignore pbr*.egg directory
Change-Id: I8a143a20947fef1d1d6a28e53893efe01f49884c
Fixes: Bug #1210306
2013-08-09 06:06:07 +08:00
Ryota MIBU db91897560 Add cover/ to .gitignore
When we run "tox -e cover" to generate coverage report, testr will make
"cover" directory which contains the same html in "covhtml" made by
"./run_test.sh --coverage".  So, make git ignore this directory.

Change-Id: I829667a1ceb55418a5695545ad543a53f63821ba
2013-07-10 13:47:52 +09:00
Mark McClain ee3fe4e836 Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00
Aaron Rosen 446d146980 Add *.swo/swp to .gitignore
I noticed these files weren't being ignored when I accidentally uploaded
one here: https://review.openstack.org/#/c/30648/3

Fixes bug: 1187600

Change-Id: I8570f797e2cc7420dc8a578a9cf68741631cd9f6
2013-06-04 18:12:21 -07:00
Monty Taylor bdba865d77 Move to pbr.
Closes bug 1179007

Change-Id: I3666e373389da6ad9a21a195a42918d4dec50cb5
2013-05-17 08:31:44 -07:00
Monty Taylor 646c918732 Add initial testr support.
This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.

Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa
2013-02-28 17:21:05 -05:00
He Jie Xu c740986599 Use babel to generate translation file
Fixes bug 1103519

Following http://wiki.openstack.org/Translations to integrate transifex
translation into quantum

We added the empty file quantum/locale/quantum.pot to avoid the
failure of the Jenkin's translation-jobs because git doesn't allow empty
directory to be added into the repository.

After this patch accepted, we need to do as below:
1. Make the transifex quantum project
(https://www.transifex.com/projects/p/quantum/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.

2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.

Change-Id: I329a8bdc51ed8a0e75399c592d3991b1ec06a855
2013-01-24 00:20:32 +08:00
Zhongyue Luo bc20ec5849 .gitignore cleanup
Removed obsolete files/dirs
Added .coverage and covhtml
Ordered alphabetically

Change-Id: Iac10b075f318c264549ee017688eccd52deae07d
2013-01-05 09:26:43 +08:00
Maru Newby 659d70bfed Add tox artifacts to .gitignore
* A tox build creates quantum/versioninfo and setuptools-*.egg,
   and git formerly marked them as untracked rather than ignored.

Change-Id: I50556717a05b2488cff5d9693d46637df608da70
2012-12-17 18:10:05 +00:00
Clark Boylan 171f51a772 Add build_sphinx options.
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.

Change-Id: I672fbd296e2b8f1da1eede74d6f0c7a26345cf74
2012-06-08 14:28:35 -07:00
Bhuvan Arumugam 50c02660b2 Include AUTHORS in release package.
Fixes Bug #976267.

Include AUTHORS file in release package. The file is generated
automatically from git. Handle different combination for mailmap
records. Include test case to verify this fix.

* MANIFEST.in
  Include AUTHORS file in release package.

* .gitignore
  Add AUTHORS file.

* quantum/openstack/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.
  parse_mailmap(): Handle all mailmap combination while parsing.

* setup.py
  Import the new method.
  Generate AUTHORS file before creating the package.

* quantum/tests/unit/test_setup.py
  New test script to verify different combination of records
  in mailmap file.

Change-Id: I220e8a20c96d37df3fa2ba0424e8372496e67895
2012-05-14 14:45:56 -07:00
Monty Taylor 8f6de697f0 Split out pip requires and aligned tox file.
Align tox.ini file with standards.
Align setup.py with openstack-common standards.

Change-Id: I333bbd66648c865a5c97ec2661359ab849274446
2012-03-14 23:20:22 -07:00
Monty Taylor 13222958a5 Split out quantum.client and quantum.common.
Change-Id: I1241bcd3305b6859c0cd2bb8c35b523e27aa3b18
2012-01-24 18:49:31 -08:00
Monty Taylor d643608e33 Getting ready for the client split.
Change-Id: Ic2e7d637d2c116dfda3d7ad958ccba39a8da7751
2012-01-19 11:43:18 +11:00
James E. Blair c6ffd875df Base version.py on glance.
This makes setting and calculating the versioning of quantum more
like other OpenStack projects, simplifying the work of the CI
and Release Management teams.

Addresses bug 916018 which prevents the quantum-tarball job from
running correctly.

Change-Id: I5b006ccc3d31c5d213c703853dfa38f04d983918
2012-01-17 16:24:34 +11:00
James E. Blair a90fab1193 Rename .quantum-venv to .venv.
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.

Change-Id: I93c7f6577b4c3a76b021f002bda59fcb8fac3f95
2011-12-23 15:02:57 -08:00
James E. Blair dadbae9833 Remove plugin pip-requires.
Fixes bug 906636.

The cisco plugin included ncclient, but does not use it when testing.
The openvswitch plugin included SQLAlchemy which is already required
by quantum itself.

I've also changed the install_venv.py script to only look at
tools/pip-requires, so that it behaves more like the rest of the
OpenStack projects.  In Jenkins that's the only file we look at
to see if we need to rebuild the virtualenv, so it would be best
if the project only hade one pip-requires.

Also added .gitignore to ignore files created during testing.

Change-Id: Ic460452ec89aa8377c975ca63b57563119860e6b
2011-12-19 16:30:54 -08:00