This file contains hidden or 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
NOTIFIED: [restart apache] ********************* | |
failed: [hq2] => {"failed": true} | |
msg: failed determining the current service state => state stays unchanged | |
This file contains hidden or 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
- copy: src=files/$file dest=/www/ | |
notify: | |
- restart apache |
This file contains hidden or 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
""" | |
PluginManager, basic initialization and tracing. | |
taken from py.test for exploratory purposes. | |
(C) Holger Krekel, 2013. MIT-Licensed. | |
""" | |
import sys, os | |
import inspect | |
import py |
This file contains hidden or 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
>>> ServerProxy("https://pypi.python.org/pypi/").list_packages_with_serial()["dddttt"] | |
751356 | |
>>> requests.get("http://pypi.python.org/simple/dddttt").headers["x-pypi-last-serial"] | |
'717877' | |
>>> |
This file contains hidden or 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
>>> requests.get("https://pypi.python.org/simple/dddttt/").headers["x-pypi-last-serial"] | |
'717877' | |
>>> requests.get("https://front.python.org/simple/dddttt/", headers={"HOST": "pypi.python.org"}).headers["x-pypi-last-serial"] | |
'752451' | |
>>> |
This file contains hidden or 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
(3)hpk@teta:~/p/devpi/client$ tox --notest -vv -e py26 | |
using tox.ini: /home/hpk/p/devpi/client/tox.ini | |
using tox-1.5.1.dev2 from /home/hpk/p/tox/tox/__init__.pyc | |
GLOB start: packaging | |
GLOB sdist-make: /home/hpk/p/devpi/client/setup.py | |
/home/hpk/p/devpi/client$ /home/hpk/venv/3/bin/python /home/hpk/p/devpi/client/setup.py sdist --formats=zip --dist-dir /home/hpk/p/devpi/client/.tox/dist >/home/hpk/p/devpi/client/.tox/log/tox-0.log | |
GLOB finish: packaging after 0.10 seconds | |
copying new sdistfile to '/home/hpk/.tox/distshare/devpi-client-0.9.3.zip' | |
py26 start: getenv /home/hpk/p/devpi/client/.tox/py26 | |
py26 create: /home/hpk/p/devpi/client/.tox/py26 |
This file contains hidden or 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
Downloading/unpacking itsdangerous>=0.21 (from devpi-server) | |
Hash of the package http://devpi.net/root/pypi/f/https/pypi.python.org/packages/source/i/itsdangerous/itsdangerous-0.23.tar.gz#md5=21cc34d69fd77fae220ecffe34918213 (from http://devpi.net/hpk/dev/+simple/itsdangerous/) (985e726eb76f18aca81e703f0a6c6efc) doesn't match the expected hash 21cc34d69fd77fae220ecffe34918213! |
This file contains hidden or 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
>>> import xmlrpclib | |
>>> xmlrpclib.ServerProxy("https://pypi.python.org/pypi") | |
<ServerProxy for pypi.python.org/pypi> | |
>>> proxy=_ | |
>>> proxy.list_packages_with_serial() | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__ | |
return self.__send(self.__name, args) | |
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request |
This file contains hidden or 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
(0)hpk@teta:~/p/devpi/doc/scenario$ time wget http://devpi.net/hpk/dev/+simple/ | |
--2013-08-11 17:57:12-- http://devpi.net/hpk/dev/+simple/ | |
Resolving devpi.net (devpi.net)... 91.226.88.5 | |
Connecting to devpi.net (devpi.net)|91.226.88.5|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: unspecified [text/html] | |
Saving to: `index.html.1' | |
[ <=> ] 1,513,970 1.60M/s in 0.9s |
This file contains hidden or 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
(0)hpk@teta:~/tmp$ virtualenv . | |
Using real prefix '/usr' | |
New python executable in ./bin/python | |
Please make sure you remove any previous custom paths from your /home/hpk/.pydistutils.cfg file. | |
Installing Setuptools..............................................................................................................................................................................................................................done. | |
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done. | |
(0)hpk@teta:~/tmp$ devpi install --venv . pytest | |
--> $ bin/pip install --pre -U -i http://devpi.net/hpk/dev/+simple/ pytest | |
Downloading/unpacking pytest | |
Downloading pytest-2.4.0.dev11.tar.gz (543kB): 543kB downloaded |