Files
2012-02-21 01:15:00 -05:00

1 line
3.6 KiB
JSON

[{"user_id": 1127, "stars": [], "topic_id": 34469, "date_created": 1304987453.1543641, "message": "Anyone come up with a way to stream the python interpreter? Ideally something like screen -d -R -t foo %(python)s %(manage_py)s shell", "group_id": 81, "id": 981125}, {"user_id": 1127, "stars": [], "topic_id": 34469, "date_created": 1304993338.176439, "message": "As of (at least) Fabric 1.0.1 it works with run() (didnt work in 0.9.3): run('screen -d -R -t fabshell %(python)s %(manage_py)s shell' % env)", "group_id": 81, "id": 982072}, {"user_id": 4156, "stars": [{"date_created": 1305011630.8113239, "user_id": 1736}], "topic_id": 34469, "date_created": 1304996063.671818, "message": "(Yea, the interactivity was added in 1.0)", "group_id": 81, "id": 982647}, {"user_id": 5367, "stars": [], "topic_id": 34469, "date_created": 1305009484.2247779, "message": "Yes it did and it was a pleasant surprise for me when in a new deployment I was thinking damn I forgot to set --noinput", "group_id": 81, "id": 985940}, {"user_id": 275, "stars": [], "topic_id": 34469, "date_created": 1305039902.9624851, "message": "@zeeg what exactly does \"streaming the interpreter\" mean?", "group_id": 81, "id": 991003}, {"user_id": 275, "stars": [], "topic_id": 34469, "date_created": 1305039919.254663, "message": "i'm having a hard time envisioning when you'd use that from fabric", "group_id": 81, "id": 991006}, {"user_id": 14679, "stars": [], "topic_id": 34469, "date_created": 1305041054.0858729, "message": "looks like he means \"use the manage.py shell interactively\"", "group_id": 81, "id": 991316}, {"user_id": 17654, "stars": [], "topic_id": 34469, "date_created": 1305122656.1172731, "message": "what's wrong with run('./manage.py shell') or local('./manage.py shell') if there is no env.host", "group_id": 81, "id": 1007510}, {"user_id": 1127, "stars": [], "topic_id": 34469, "date_created": 1305137884.7028551, "message": "Well whats wrong with 'python manage.py shell' if you have no env.host -- we dont tend to use Fabric for local env. Just wanted a quick shortcut to ssh into servers and open a python shell", "group_id": 81, "id": 1011549}, {"user_id": 13339, "stars": [], "topic_id": 34469, "date_created": 1305159398.2258689, "message": "we have this in our fabfile: https://gist.github.com/967682 and can do `fab <environment> manage:shell`", "group_id": 81, "id": 1016402}, {"user_id": 13339, "stars": [], "topic_id": 34469, "date_created": 1305159632.2258091, "message": "oh, obviously, there's a little more in our fabfile than just that to get it working, but i don't know how much is specific to the way we set everything up with virtualenv and multiple environments.", "group_id": 81, "id": 1016425}, {"user_id": 13339, "stars": [], "topic_id": 34469, "date_created": 1305159509.4565401, "message": "... though it doesn't use ipython when you do that, and long lines wrap over themselves, so if i have a lot of data exploring to do, i don't use fab... i just ssh in and do it right from the server.", "group_id": 81, "id": 1016410}, {"user_id": 4156, "stars": [], "topic_id": 34469, "date_created": 1305167678.4082849, "message": "@katylava I assume you're doing that with Fabric 0.9? Fabric 1.0 pretty much does just that built-in now.", "group_id": 81, "id": 1017988}, {"user_id": 4156, "stars": [], "topic_id": 34469, "date_created": 1305167696.093219, "message": "(though I admit to not reading the entire gist in great detail)", "group_id": 81, "id": 1017991}, {"user_id": 13339, "stars": [], "topic_id": 34469, "date_created": 1305169553.3479781, "message": "ORLY? i will have to look into that.", "group_id": 81, "id": 1018317}]