Since swap files can range from *.saa to *.swp, all of these extensions
are now ignored by Git.
Change-Id: I373a98b47002f7eede52b7091dde6ad820b8dfc3
Closes-Bug: #1255865
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
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>
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
Some files are created after running 'python setup.py build_sphinx'.
These should be ignored by git
Change-Id: I89d671d84294169dac5aacf18800ab805605aa9f
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
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
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
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
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
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
Fixed issue where ./run_tests.sh would not execute pep8. Fixed couple of pep8 violations in test_skip_examples.py
Change-Id: Id6eaa8768b663b4638fbca0e3bdf72b74969150a