- 12 8月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
Under some circumstances, getting the version indirectly through `avocado/core/version.py` can return `unknown.unknown`. Let's use the authoritative source for version numbers: `setup.py` itself. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 13 7月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
This patch adds the `make spell` command so developers can easily check the spelling on docstrings and comments. False positives words should be added to spell.ignore file. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 15 6月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
Avocado needs a bit of custom massaging to be able to properly live under "avocado-framework" on PyPI. This adds a target that will make the upload of new releases easier. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 24 5月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
While testing `make requirements*` on a fresh machine, I found that we rely on pip itself, which may not be available. Its bootstrap process is pretty simple, atomic and well documented, so it seems like a good idea to add it as a convenience. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 5月, 2016 1 次提交
-
-
由 Wei Jiangang 提交于
Support `make requirements-plugins` to walk all sub-directories like the same way `make link` works. Signed-off-by: NWei Jiangang <weijg.fnst@cn.fujitsu.com> Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 26 4月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
When running the per-commit checks on CI, the previous environment is not as clean as it should be. One example is when a given work introduces a new plugin. First the HEAD of the branch is tested, which includes the installation of the new plugin. Then, the per-commit checks would return to the first commit in the branch, which doesn't contain the plugin, but the environment still knows about it. This is a matter of forcing the clean up of setuptools entrypoints (or any setuptools generated info for that matter). While adding the deeper cleaning, it seemed useful to split the Makefile "link" target into "develop", which runs "python setup.py develop" on the Avocado source tree alone. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 01 3月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
Python 2.6 does not support --user in `python setup.py develop`. Let's use system-wide develop when link/unlink is executed with python 2.6. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 2月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
This implements a "make selfcheck" that developers can use to run the Avocado selftests in itself. It also keeps the old "make check" (for a while) so that we can compare to the old approach if any regressions occur in the near future. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 2月, 2016 2 次提交
-
-
由 Lukáš Doktor 提交于
The --upgrade forces all mentioned packages into the highest possible version, even though the existing ones match the prescription. Without it the packages that match prescription are kept and only non-matching ones are upgraded. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
We use features of pip-6.0.1 in our requirement files, therefor we depend on pip>=6.0.1. This commit adds this dependency before requirements are processed without "--upgrade". When the user has pip>=6.0.1, nothing happens. When he has older pip it's upgraded. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 18 2月, 2016 1 次提交
-
-
由 Hao Liu 提交于
Managing different requirements files for different python version requires much more efforts when the requirements became too complex. This issue emerged when a required package `stevedore` decide not supporting Python 2.6 since version `1.11.0`. ``` >>> import stevedore Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/site-packages/stevedore/__init__.py", line 23, in <module> LOG.addHandler(logging.NullHandler()) AttributeError: 'module' object has no attribute 'NullHandler ``` Pip provides a feature named [Environment Markers](https://www.python.org/dev/peps/pep-0496/) for requirements file to include specific packages conditionally which could properly solve this issue. This fix: 1. Use environment markers and merge python version specific requirements files; 2. Remove python version specific requirements files references in `Makefile` and Travis configuration; 3. Use `pip install -r requirements.txt` to replace per-line package installation; 4. Restrain package `stevedore` on Python 2.6 to `1.10.0`. Signed-off-by: NHao Liu <hliu@redhat.com>
-
- 12 2月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
One of the clean steps executed prior to the deletion of the 'pyc' files calls `$(PYTHON) setup.py develop --uninstall --user`, which ends up loading modules and creating some of those again. Let's change the order so that the Python compiled files are really gone after a `make clean`. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 11 2月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
This target checks very basic function of avocado and is used incrementally in travis to verify this functionality for each commit up to the origin/master. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 10 2月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
The check target have a couple of (relevant) directory cleaning up commands that are, IMHO, out of place. Let's move them to the clean target. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 20 1月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
The "make link" target purpose is to help avocado developers to prepare environment to run avocado from sources including all subprojects. Nowadays it requires to run "setup.py develop" manually, but let's assume wast majority of users of "make link" feature use "setup.py develop --user" and call it automatically for each subproject (if they support that). This way simple "make link" prepares the environment to run avocado from sources. It can also be used when new targets (plugins) are added without the need to think which subproject needs to be updated. NOTE: The subprojects are responsible to add the "python setup.py develop --user" into the "link" and "unlink" targets. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 1月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
We're still pointing to the old repo location. Let's update that. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 12月, 2015 7 次提交
-
-
由 Cleber Rosa 提交于
Again, let's short target names. It helps with typing and makes the documentation fit better most screens. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The install requirements targets are really best effort. PIP can fail in so many ways. So, let's not attempt to detect if the target ran successfully or not. This is important because it may prevent other chained command lines and targets to attempted an execution. Also attempt to install Python 2.6 requirements early, since they are simpler than the other requirements and pretty much basic back ported libraries. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Let's separate those to aid in a quick visual identification. Also, users are probably different among those three target groups. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
IMHO short names for Makefile targets are desirable, so let's shorten the names of the Debian related targets. Also, they better match the RPM target names like that. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Simple attempt to give the help message output a better look. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
To simplify usage with python2.6 add requirements-python26.txt which adds python2.6 requirements (on top of requirements.txt). It includes booth avocado and selftest dependencies and is automatically invoked when running on system with python 2.6. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Without the --upgrade the installation fails when the package of incompatible version is already installed. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 15 10月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Instead of trusting in rpmbuild to do the rpm builds, use mock - a program that builds the rpms from fresh chroots. This ensures that BuildRequires are correct and that the binary rpms build cleanly. This requires a few changes to the Makefile targets and the avocado spec file, laid out in this patch. Also, add instructions on how to fulfill deps to build RPM packages. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 09 10月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The option --prune is not available anymore in setup.py. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 30 9月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add a check for leftover tmp dirs after our unittests run. This will let us to catch mistakes made during their development (for example, forgetting to clean up temporary dirs created during setup stage). Add that to `make check` and Travis CI jobs. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 11 9月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
Some people clone repositories to different names, which breaks the "make link" functionality. This patch uses dynamic variables to support such usage. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 10 9月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch removes the hardcoded plugin linking and instead queries all ../!(avocado)/Makefile files to link or unlink the plugins. This should help people to deploy own plugins in the same fashion without the need to modify avocado's main Makefile. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 13 8月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With avocado-vt plugins renamed, 'make link' must change. ATTENTION: Please do a 'make clean' before applying this patch (or clean your source tree before 'make link'). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 31 7月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
There are interdependencies in our requirements. They need to be applied in the right order, otherwise it fails. Help users by providing make target to install the requirements correctly. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 30 7月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Let's force removing existing destination files. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 7月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 24 6月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Avocado currently has 3 very distinct namespaces boundaries: test API, utils, and core. Let's create 3 separate sections so that users know which one(s) they could use for a given task. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 23 6月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add a little more granularity to our Makefile. 'make link' still works the way one would expect it to. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 16 6月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 09 6月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Sometimes the local checks, including documentation builds and other unit and functional tests will fail because of either stale state or because of external plugins. Let's require a clean source tree before running local checks to avoid those false negatives. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 06 6月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
This way we work similarly as to when we develop avocado-virt, which is in fact very convenient. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-