19 Commits

Author SHA1 Message Date
Kent Wang
959c55e2dd Prevents swap files from being found by Git
Since swap files can range from *.saa to *.swp, all of these extensions
are now ignored by Git.

Change-Id: I373a98b47002f7eede52b7091dde6ad820b8dfc3
Closes-Bug: #1255865
2015-02-19 07:59:34 -08:00
Inessa Vasilevskaya
36d3c5222a vim ropeproject directories added to gitignore
Change-Id: I9270098ed618672233441e0bcb3693917060d872
2014-11-05 16:44:33 +04:00
Mike Fedosin
75d96295e4 Ignore Eric IDE files and folders in git
Change-Id: I2871707b6a2500a1d955de11381bfec54ead331a
2014-10-29 13:43:54 +03:00
ling-yun
4f0956c41b ignore .idea folder in glance
If we use JetBrains PyCharm as python develop tool, JetBrains PyCharm
would automatically generate its config folder name .idea in the root
dir of your python code.
Many Code projects, such as nova and cinder, have ignore .idea folder.
Project glance should also ignore .idea folder.

Change-Id: I1e3ba1936c8b918aa4669c2d7fceac23a23ca974
Closes-Bug: #1362451
2014-08-29 08:04:48 +08:00
Zhi Yan Liu
d7f1221684 Switch to testrepository for running tests
OpenStack as a whole is moving towards using testrepository and
testtools for running tests. To that end, bring Glance into line by
switching it to use testrepository to run tests.

This copies run_tests.sh and tools/colorizer.py from Nova.

This change also has some minor changes to make run_test.sh work well.

Partial fixes bug: 1179009
Fixes bug: 1271806

Change-Id: Ic265bc0d2f1528358f6e8ee5b4139f991923fc72
Signed-off-by: Steve Kowalik <steven@wedontsleep.org>
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2014-01-29 08:30:55 +08:00
Luis A. Garcia
ff35e28d23 Add eclipse project files to .gitignore
Like some of the other projects (nova, heat, oslo, cinder) git ignore
eclipse project files. This will remove manual steps for people
developing from eclipse.

Change-Id: Ib908c8d419072b440f5ec647bea8f13b97e48f7c
2013-11-26 16:40:32 +00:00
Jenkins
08113deeee Merge "add doc/source/api in gitignore" 2013-07-30 20:32:30 +00:00
Kun Huang
55cb5af076 add doc/source/api in gitignore
Some files are created after running 'python setup.py build_sphinx'.
These should be ignored by git

Change-Id: I89d671d84294169dac5aacf18800ab805605aa9f
2013-07-22 18:41:28 +08:00
Doug Hellmann
9f9f01bf88 Ignore files created by Sphinx build
Change-Id: I46f34d9320ce39977facff705c52d272a160220f
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-07-05 16:10:21 -04:00
Monty Taylor
014d3f9ee3 Move to tag-based versioning.
* Update to latest openstack-common setup code
* Add openstack-common version module

Change-Id: Id6876b55554c358fbd29e7ef8377f42a72a98301
2012-08-12 16:10:03 +00:00
Monty Taylor
66108d0e48 Fix coverage jobs. Also, clean up the tox.ini.
Change-Id: I85e8f1b190e2c5f598ae76f2920dfbe7c4ed1500
2012-06-04 15:29:26 -04:00
Brian Waldon
eb4aaa97bd Split noauth context middleware into new class
Use UnauthenticatedContextMiddleware in the case that you want to deploy
without an auth service. ContextMiddleware is now solely for authenticated
requests.

* Rewrite ownership tests for adding/updating images through the v1 API
* Fixes bug 992859

Change-Id: I608671aac8300c9195769542708708afda991e04
2012-05-03 09:00:07 -07:00
Bhuvan Arumugam
f4ce37b9c2 Auto generate AUTHORS file for glance.
Bug: 976267

Now that git commits are gated by CLA, we shouldn't enforce
committers to add an entry in AUTHORS file. The AUTHORS file
should be generated automatically, based on git commits.

This commit fixes the problem.

* Authors
  Remove this file. To be consistent with other projects,
  the new file AUTHORS is generated automatically.

* .gitignore
  Add AUTHORS file.

* glance/common/setup.py
  generate_authors(): New method to create AUTHORS file. If
  AUTHORS.in file exists, append it's content to AUTHORS file.

* setup.py
  Import the new method.
  local_sdist.run(): Generate AUTHORS file before creating the
  package.

* MANIFEST.in
  s/Authors/AUTHORS

* glance/tests/unit/test_misc.py
  AuthorsTestCase: Remove this class that test an entry in
  Authors file.
  parse_mailmap(), str_dict_replace(): Remove these methods.

Change-Id: If83c3fe9b2142342ac11cc019bc24926f52ee753
2012-04-30 19:44:43 -07:00
Monty Taylor
eea25b4149 Prep tox config for jenkins builds.
Change-Id: Id81588d3a2aabc0931d5bf12f078d8f770305e69
2012-02-06 08:31:49 -08:00
James E. Blair
37fc2b00c0 Rename .glance-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: I7916783d863e5184bad8293c3aed5ba119e374a9
2011-12-05 13:09:22 -08:00
Kevin L. Mitchell
9385a39bec Additions to .gitignore
Installing or testing glance adds several files that are not currently
ignored by git, leading to cluttered displays of modified files.  This
causes the 'build', 'dist', and 'glance.egg-info' directories to be
ignored, reducing the clutter.

Change-Id: I3f0ca3f99fcf6cfe0480fbf5755908ee411552ea
2011-10-13 13:09:35 -05:00
Jay Pipes
53db059772 Refactoring/cleanup around our exception handling
Fixes LP Bug #820643 - import_class() does not
report original exception.

* Makes ALL exceptions now use base exception class
* Removes unused exception classes from Nova
* Removes unused code in glance.common.utils
* Adds unit tests for bool_from_string and import_class

Change-Id: If6775eb3ce85390bc5d579dff6c59c6066e77e9b
2011-10-11 11:54:20 -04:00
Jay Pipes
72e2e31fea Add @skip_if_disabled decorator to test.utils and integrate
it into the base functional API test case. The S3 functional
test case now uses test_api.TestApi as its base class and
the setUp() method sets the disabled and disabled_message
attributes that the @skip_if_disabled decorator uses.

The S3 test case now tests all the methods that are tested
for the filesystem store driver in test_api.TestApi

Removed the test.functional.test_s3.conf file as it was no
longer needed.

Change-Id: I308d7a655c8c26339d0e2560634421935bbc8b5d
2011-08-08 12:56:30 -04:00
Justin Shepherd
486deeabd6 Implemented @utils.skip_test, @utils.skip_unless and @utils.skip_if functionality in glance/test/utils.py. Added glance/tests/unit/test_skip_examples.py which contains example skip case usages.
Fixed issue where ./run_tests.sh would not execute pep8. Fixed couple of pep8 violations in test_skip_examples.py

Change-Id: Id6eaa8768b663b4638fbca0e3bdf72b74969150a
2011-08-04 11:39:14 -05:00