This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from Grokzen/unstable
Major refactoring (0.2.0)
- Loading branch information
Showing
35 changed files
with
2,830 additions
and
1,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
* 0.2.0 | ||
* Moved pipeline code into new file. | ||
* Code now uses a proper cluster connection pool class that handles | ||
all nodes and connections similar to how redis-py do. | ||
* Better support for pubsub. All clients will now talk to the same server because | ||
pubsub commands do not work reliably if it talks to a random server in the cluster. | ||
* Better result callbacks and node routing support. No more ugly decorators. | ||
* Fix keyslot command when using non ascii characters. | ||
* Add bitpos support, redis-py 2.10.2 or higher required. | ||
* Fixed a bug where vagrant users could not build the package via shared folder. | ||
* Better support for CLUSTERDOWN error. (Neuront) | ||
* Parallel pipeline execution using threads. (72squared) | ||
* Added vagrant support for testing and development. (72squared) | ||
* Improve stability of client during resharding operations (72squared) | ||
|
||
* 0.1.0 | ||
* Initial release | ||
* First release uploaded to pypi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
=begin | ||
DOCUMENTATION | ||
============= | ||
This vagrant instance installs all the various versions of python needed to run the tests and installs redis-server cluster. | ||
do: | ||
``` | ||
vagrant up | ||
vagrant ssh | ||
``` | ||
once inside the vagrant instance you should be able to do: | ||
``` | ||
cd /vagrant | ||
make test | ||
``` | ||
This will put you in this current directory and run the tests inside of vagrant. | ||
=end | ||
|
||
VAGRANTFILE_API_VERSION = "2" | ||
|
||
$script = <<SCRIPT | ||
set -ex | ||
echo "" | sudo add-apt-repository ppa:fkrull/deadsnakes | ||
sudo apt-get update | ||
sudo apt-get install -y git curl python-dev python-pip python3.2-dev python3.3-dev make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm | ||
sudo pip install pep8 tox hiredis pyopenssl coverage | ||
cd /vagrant && sudo make redis-install | ||
curl -L -s https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash | ||
export PATH="$HOME/.pyenv/bin:$PATH" | ||
eval "$(pyenv init -)" | ||
eval "$(pyenv virtualenv-init -)" | ||
pyenv install 3.4.1 | ||
pyenv shell 3.4.1 | ||
cat >> "$HOME/.bashrc" <<'EOF' | ||
export PATH="$HOME/.pyenv/bin:$PATH" | ||
eval "$(pyenv init -)" | ||
eval "$(pyenv virtualenv-init -)" | ||
EOF | ||
SCRIPT | ||
|
||
|
||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
config.vm.box = "redis-py-cluster" | ||
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" | ||
config.vm.provision "shell", inline: $script, :privileged => false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-r requirements.txt | ||
|
||
coverage >= 3.7.1 | ||
hiredis >= 0.1.3 | ||
pytest >= 2.5.0 | ||
testfixtures >= 4.0.1 | ||
mock == 1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.