Age | Commit message (Collapse) | Author |
|
- Updated most dependencies to latest (or newer) versions
- Removed dependency pinning for Python 2.6 and 3.3
- Minor code-tweaks to deal with dependency changes
- Added pypi download stats to `run_tests.sh -s`
|
|
Updated docs and tests accordingly.
|
|
Python 2.6 specific dependencies and code workarounds will be removed in
the future. For now we're just going to stop testing against Python 2.6 and no
longer advertising we're supporting it.
|
|
Also made minor README and CHANGELOG updates as prep for the upcoming
0.11.0 release.
|
|
Gitlint will now fallback to reading from the local repository when reading an
empty input from STDIN in case STDIN is a named pipe or file.
This allows gitlint to work properly in environments where no TTY is attached
and no input is being piped into gitlint either (like when running a plain
gitlint command (no arguments) in a CI environment like Jenkins or Gitlab).
This fixes #42.
|
|
- Added additional subdirectories for better unit test organization.
- Added Changelog details in prep for upcoming v0.10.0 release
- Minor documentation tweaks
- Some improvements to ./run_tests.sh --stats
|
|
- Fixed an issue with unicode for --msg-filename (this is why the integration
tests failed).
- Added more specific integration tests for --msg-filename (currently it was
tested more implicitely through the hook tests).
- Update docs with info on --msg-filename
- Also updated Vagrantfile to xenial64 and fixed some related python
installation issues
|
|
Adding experimental support for python 3.6, temporarily disabling
running pylint for 3.6 because of https://github.com/PyCQA/pylint/issues/1072
|
|
Gitlint is now linted for all supported python versions.
Additionally, did some refactoring to run_tests.sh so that we can more
easily install and uninstall specific python environments (vs. all at
once).
|
|
- importlib is now only used for python 2.6 and not included for all
builds. This fixes issues with python3.
- run_tests.sh: --clean option: clean up the working directory (delete
cache, dist, build, etc)
- run_tests.sh: --install-virtualenvs and --remove-virtualenvs options
to install/remove virtualenvs for other python versions. This code
used to live in the Vagrantfile but has been moved to run_tests.sh so
that it can be used more easily during development.
|
|
./run_test.sh --all: run all tests (unit, integration, pep8, git)
./run_test.sh --all-env: run all tests against all python environments
defined in Vagrantfile
|
|
This allows users to lint repos other than the current directory.
Also added silver-searcher to the Vagrantfile for developer convenience.
|
|
Added some install commands to the Vagrantfile so we can more easily
work on python 3 and python 2.6 support. However, both are currently blocked.
- Python 3 support: currently blocked on Click not supporting python 3
without significant workarounds:
http://click.pocoo.org/5/python3/
- Python 2.6 support: Too many errors around unittest2 incompatibility
|
|
To reduce the time to re-download packages during the 'apt-get update'
in Vagrantfile, cache downloaded packages if the vagrant-cachier plugin
is available.
|
|
In a fresh vagrant (vagrant destroy -f ; vagrant up) you would see the
following messages. Though the pip packages install, pip actually ends
up downgraded.
==> dev: % (cmd_desc, proc.returncode))
==> dev: OSError
==> dev: :
==> dev: Command /vagrant/.venv/bin/python -c "import sys, pip;
sys...d\"] + sys.argv[1:]))" setuptools pip failed with error
code 1
pip downgrades itself after installing the sh module:
==> dev: Installing collected packages: pip
==> dev: Found existing installation: pip 7.1.2
==> dev: Uninstalling pip-7.1.2:
==> dev: Successfully uninstalled pip-7.1.2
==> dev: Successfully installed pip-1.5.4
==> dev: You are using pip version 1.5.4, however version 7.1.2 is
available.
==> dev: You should consider upgrading via the 'pip install
--upgrade pip' command.
==> dev: You are using pip version 7.1.0, however version 7.1.2 is
available.
==> dev: You should consider upgrading via the 'pip install
--upgrade pip' command.
This seems to be caused by pip being upgraded via requirements.txt. So
this change upgrades pip outside of pip via easy_install.
The pip version we get via easy_install at time of writing is 7.1.2. It
runs fine and does not show the above messages.
Also removed python-pip from being installed via apt-get as
python-virtualenv comes with its own (albiet broken) and the version in
python-pip is quite old (1.5.x).
|
|
* Correct path to activate
* More robust .bashrc editing
* Git ignore .vagrant directory
|
|
- setup.py
- travis integration
- README
- Vagrantfile
- run_tests.sh
- gitignore
- requirements.txt
|