Activity
From 05/24/2010 to 06/22/2010
06/22/2010
-
05:07 PM Revision 52a66584fde759b49cefeee541d045abcba79973 (7-prompt-detection, master, ...): Slight reorg...
- Slight reorg of _execute to be more self-contained, easier to test
-
04:29 PM Support #185: Get better SSH testing infrastructure
- Spinoff from #183, though that's mostly not important. Need to test real, honest to God SSH level stuff, i.e. `run()` and its constituent underpinnings, if we're to have any chance of a serious test suite. There are, as I see it, 3 ways to d...
-
02:44 PM Feature #184: allow local_dir to be a list in rsync
- It's only a little extra to the local_dir line. [github/goosemo/fabric](http://github.com/goosemo/fabric/commit/0f9a1c5e46692004e8c39f7f56dc817bb9fb881b)
-
02:39 PM Feature #184: allow local_dir to be a list in rsync
- I think it should perhaps mention that the rsync_project() is a pretty bare wrapper around the rsync command. Feel free to poke at the code to see some of this: http://github.com/bitprophet/fabric/blob/master/fabric/contrib/project.py ; since it i...
-
11:40 AM Feature #184: allow local_dir to be a list in rsync
- I needed rsyncing only a subset of the current project so subdirs and files A B,C, D etc. The wording in the documentation implies that there is only one local_dir, and does not mention this workaround (which is more or less the same as writing t...
-
11:31 AM Feature #140: Recursive put() and get()
- Just checked in some "get rid of random debugging print statements" fixes, and verified that pulls from multiple hosts do directories in a sane way -- specifically creating a directory of $HOSTNAME and pulling to that location.
-
11:21 AM Feature #184: allow local_dir to be a list in rsync
- What were you looking to be able to do? Right now it is like that because it is a straight use of rsync form the cli. You can simply use: ...
-
09:21 AM Support #20 (Wontfix): Rework output mechanisms
- This was actually tackled as part of #7. I liked gevent pretty well, but a major kink in the works (ironically) is that while coroutine based stuff seemed to at least partially work for the remote output streams, I could not find any way to handle...
-
08:50 AM Feature #184: allow local_dir to be a list in rsync
- rsync allows copying multiple local dirs to the target, please support this by allowing local_dir to be an iterable as excludes Now this effect can be achieved by making local_dir='dir1 dir2 dir3' but feels unclean :)
06/21/2010
-
10:48 PM Feature #7 (Done): Improved prompt detection and passthrough
- Fixed that issue, but found 1-2 others, for which I've made tickets. Also realized that the "no prefixes" issue is really part of another recently opened ticket, and just commented on that one instead. Going to close this ticket now to keep it ...
-
10:46 PM Bug #183: Prompts appear to kill capturing (now with bonus test server!)
- In the #7 feature branch, I noticed that when testing the prompt features, it seems that all output post-prompt-handling is no longer captured. This should be easy enough to fix, but the real reason for this ticket is to come up with a decent w...
-
10:43 PM Revision a601c14c9a90e1b2da4d3f732f4865cf95a875c5 (7-prompt-detection, master, ...): Print sudo p...
- Print sudo prompts, try-again notices if necessary. Re #7
-
10:34 PM Feature #163: Formattable output prefix.
- Keep in mind that a fully empty prefix should also be easy to effect, though offhand that should simply be an empty-string prefix setting, so not a big deal. For example, now that #7 is basically done, fully interactive stuff is going to want p...
-
10:32 PM Bug #182: New I/O mechanisms print "extra" blank lines on \r
- When rewriting the I/O loop I had it print the line prefix after any line ending, meaning `\n` OR `\r`. I believe I did this because even during testing I ran into cases where a `\r` was present without a `\n`, though I'm not sure. It may have sim...
-
05:41 PM Feature #7: Improved prompt detection and passthrough
- I'm dumb; should just be possible to detect whether the stream the prompt is detected in, is being hidden, and print it manually if so.
-
05:33 PM Feature #7: Improved prompt detection and passthrough
- Yup; needs more work. Right now the main issue is, as mentioned, prompts being hidden by low level subroutines using `hide`. When we printed the prompt ourselves this wasn't a problem, but now it is. Gonna have to think about this; it's the age-ol...
-
05:23 PM Revision fb7d5b3a5da15bf63c9dfca6d3a3a4bde54e7324 (7-prompt-detection, master, ...): Fix couple o...
- Fix couple of stupid mistakes in pty stuff
-
05:16 PM Revision 2fcf3626c78a09ee795acbe3d15930b670e35f51 (7-prompt-detection, master, ...): Fix missing ...
- Fix missing comma
-
04:28 PM Revision 0de6670149e61ea4be51905ff1b893fefb5e7dc5 (7-prompt-detection, master, ...): Additional e...
- Additional expansion of interaction docs
-
04:28 PM Revision 1f1d9f25f53c9794244ee42ae1492393adc677e9 (7-prompt-detection, master, ...): Fill out int...
- Fill out interactivity docs re #7
-
04:28 PM Revision 299e2ab1e3876f367621e3046d9c2e808be9d0ec (7-prompt-detection, master, ...): Change --pty...
- Change --pty to be --no-pty re #7
-
04:28 PM Revision aa2468166bb36f1cc68a2b93bd54db412ff69f98 (7-prompt-detection, master, ...): Reorder, exp...
- Reorder, expand backwards compat note re: #7
-
04:28 PM Revision 4ac7f36af1e54db4b91528ffdefff4eda4e1847e (7-prompt-detection, master, ...): Update env v...
- Update env var docs re: #7
-
04:28 PM Revision cd4b758b54bf1607d3021eef338f5a41dd1106b2 (7-prompt-detection, master, ...): Pty env var ...
- Pty env var and kwarg now disable when given. IOW, now that the default has swapped from False to True, we need to change our test such that if either is False, we don't use a pty.
-
04:28 PM Revision cc9245cfe070d5af9d01083177803024ca9246b9 (7-prompt-detection, master, ...): More reshuff...
- More reshuffling of 1.0 changelog
-
04:27 PM Revision 75871cfae39341418e471ecbb659d4eb9b1a050e (7-prompt-detection, master, ...): Merge master...
- Merge master into 7-prompt-detection, add changelog entry
-
04:23 PM Revision 007be791cc1c0fca7409a33417f5aeb5c45dbd58 (7-prompt-detection, master, ...): Re #7, add/t...
- Re #7, add/tweak API docs
-
04:23 PM Revision 9c14dc793e93937e73b8c7f9691a299b764dfde2 (7-prompt-detection, master, ...): Re #7, add W...
- Re #7, add Windows stdin bytewise support.
-
04:23 PM Revision 93c3b1546cb3e13b3408846a714d1a1b98cf6a0d (7-prompt-detection, master, ...): Test tweaks ...
- Test tweaks for non-git environments. Why you'd be developing Fabric without Git installed, I have no idea. I guess for those users who like grabbing tarballs and running the test suite (valid, just unusual).
-
04:23 PM Revision 96732b3599f7b53175d27651854d80b858113529 (7-prompt-detection, master, ...): Update tests...
- Update tests to pass after recent work
-
04:23 PM Revision 35aaa2f9f7ae6eaaa03935ef7cf1af583e9c8167 (7-prompt-detection, master, ...): Re #7, some ...
- Re #7, some basic code reorg
-
04:23 PM Revision ee9ea75a49a38a1687bf256db453f2fbc8e70044 (7-prompt-detection, master, ...): Re #7, tweak...
- Re #7, tweak function signatures
-
04:23 PM Revision e6ed8166e69a2547e9659cb35600819c1c43b9c1 (7-prompt-detection, master, ...): Add first dr...
- Add first draft of open_shell(). (Was going to be named interact_with() but this is more general.) Re #7
-
04:23 PM Revision 288cfc79b37d23c2f5396482252c698d313c3b29 (7-prompt-detection, master, ...): Comment
- Comment
-
04:23 PM Revision ab292089b819a1656037008f93a4b4f28202975d (7-prompt-detection, master, ...): Update again...
- Update again_prompt to correctly handle pty or lack thereof
-
04:23 PM Revision 1b6ff8383913a03766553f2dbe24a5ca8474ac8f (7-prompt-detection, master, ...): Don't displa...
- Don't display prompt when IO loop is prompting for password
-
04:23 PM Revision 50baf4d81e0a04357760e3f8df5111e158a1287d (7-prompt-detection, master, ...): Reflow passw...
- Reflow password capturing to work with new loop style
-
04:23 PM Revision a88563113a24f23f06eaaf38bb9aee2b64909037 (7-prompt-detection, master, ...): Minor refact...
- Minor refactor/tweak
-
04:23 PM Revision 7267be89e6520569aeeef3d7079097e4631002f7 (7-prompt-detection, master, ...): Print initia...
- Print initial prefix at beginning of output.
-
04:23 PM Revision a85bbb8f872b506bbe59991350a2fe0ecda3e741 (7-prompt-detection, master, ...): Fix out/err ...
- Fix out/err prefixes to incldue host string again
-
04:23 PM Revision 60535770ea3d3f808889eb01d1ad17044af7aa8c (7-prompt-detection, master, ...): Got stdin wo...
- Got stdin working again, for the most part.
-
04:23 PM Revision 6fb16e24a7f6b7fd4e37f70cbbd697e55da0859d (7-prompt-detection, master, ...): Handful of m...
- Handful of minor tweaks to user-facing output
-
04:23 PM Revision f69641772b266ae1a1842991f3743cfa34274e6e (7-prompt-detection, master, ...): Back to thre...
- Back to threads for I/O looping. Semi-works.
-
04:23 PM Revision 784cef7d41abf6cc9545bb711d94caaf672cf7a7 (7-prompt-detection, master, ...): Make trailin...
- Make trailing newline honor output controls
-
04:23 PM Revision 8f7420a1a5984035b429430fe69a6c814bf8f877 (7-prompt-detection, master, ...): Redo _write ...
- Redo _write to honor output controls again.
-
04:23 PM Revision 93bf759d1ce9ffa0bed1a4325ad7941c9e8bd4b7 (7-prompt-detection, master, ...): Copy/modify ...
- Copy/modify password memory feature from output_thread
-
04:23 PM Revision 75a4559fcf27cf13f30a55b8289f0deb2ec4df89 (7-prompt-detection, master, ...): Add trailing...
- Add trailing newline after I/O loop
-
04:23 PM Revision 78a0bca3d543df4419f29238e098e06f5e425f6b (7-prompt-detection, master, ...): Add env vars...
- Add env vars for echoing and stderr combining
-
04:22 PM Revision f3a2c535d3a72582e898d827e089b3fcd2cb1ee5 (7-prompt-detection, master, ...): Abstract byt...
- Abstract bytewise buffering to be context manager. Re #7
-
04:22 PM Revision 86caf3a8473a0bd52313f6fd1920c04a39943ff7 (7-prompt-detection, master, ...): Reorganize I...
- Reorganize IO loop a bit, add prefix
-
04:22 PM Revision b412733726a27bab5889712b125fe7da09c7c2bd (7-prompt-detection, master, ...): First experi...
- First experimental steps with select() etc
-
04:21 PM Revision d9472d98fcd67880a6065cff5f3f10eff1525850 (7-prompt-detection, master, ...): Add env.loca...
- Add env.local_user for easy local username access.
-
04:10 PM Revision 18079ac77c32a54440d07d8f8b456476f0500e82 (7-prompt-detection, master, ...): Sort initial...
- Sort initial env dict
-
09:34 AM Bug #179: run behaviour changed in 0.9.1
- Nope, I used the simple fab in the initial report. Just to narrow it down :) Thanks for the rapid responses
-
09:29 AM Bug #179: run behaviour changed in 0.9.1
- Are you using the new-in-master `with path():` context manager, in your master version of the code? If not, that's likely where the bug is; I don't think I was intending it to add anything to the command being run unless the user had explicitly...
-
06:27 AM Bug #179: run behaviour changed in 0.9.1
- The output on master: [krusty] Executing task 'migrate' [krusty] run: /bin/bash -l -c "cd /home/citylive//django_projects/mobilife && PATH=\$PATH:\"/home/citylive/\" . /home/citylive//env/mvne/bin/activate; python manage.py syncdb --noin...
06/20/2010
-
09:15 PM Feature #7: Improved prompt detection and passthrough
- We're done! Now to merge into master, preferably with some sort of advance warning for the bleeding-edge users. I'll probably just use the ML but I'd prefer to get a blog set up instead, probably a clone or refactor of the one I'm building for my ...
-
09:12 PM Revision f27337857ea760033dfbfa4c80fdfc959161e6a8 (7-prompt-detection): Additional expansion of i...
- Additional expansion of interaction docs
-
08:59 PM Revision e0dd31d7498cd38bd34bbf54a1607aefdd056566 (7-prompt-detection): Fill out interactivity do...
- Fill out interactivity docs re #7
-
08:59 PM Revision 08c22b3902d3b3eed389f594dacfc57166e00fc9 (7-prompt-detection): Change --pty to be --no-p...
- Change --pty to be --no-pty re #7
-
07:58 PM Revision 4ce3a8cd1301b406e0792f2919b4a063d8982940 (7-prompt-detection): Reorder, expand backwards...
- Reorder, expand backwards compat note re: #7
-
07:57 PM Revision 9299abb83646095f1f0a0c70ebf76d1b3dfeb86c (7-prompt-detection): Update env var docs re: #7
- Update env var docs re: #7
-
07:45 PM Feature #25: Update "use_sudo to be "via" or similar
- Re the duplicate ticket #181, while an env var should allow use of `with settings():`, consider making a convenience `with sudo():` as well (though we'd need to use some other name, in which case it may not be worth it -- think about it).
-
07:44 PM Feature #181 (Duplicate): Sudo context and/or decorator
-
07:39 PM Revision 2cd9926e8bb114640cc842535f4d6405f5d1d1b1 (7-prompt-detection): Pty env var and kwarg now...
- Pty env var and kwarg now disable when given. IOW, now that the default has swapped from False to True, we need to change our test such that if either is False, we don't use a pty.
-
12:19 PM Feature #181: Sudo context and/or decorator
- I wonder if it is technically possible but I'd like to set the "run with sudo" globally by using context or decorator. Or more precise, I'd like to drop the sudo parameter from *all* the functions, just because it is needed there for consistency. ...
06/19/2010
-
06:07 PM Revision 4fa5b4f2f2accbac7f1e1344269648e037d6e081 (7-prompt-detection): More reshuffling of 1.0 c...
- More reshuffling of 1.0 changelog
-
09:04 AM Support #73: Once Git can be used, update tutorial to use it.
- Just-woke-up rambling: Ticket #7 is basically done, but unfortunately it's not the more elegant of the two -- the tutorial would need to show users how to push a private key to the remote end in such a way that the remote SSH picks it up (at whic...
06/18/2010
-
11:48 PM Revision 5b46d41888de93ff54b740ee82e352f0ca9946b0 (7-prompt-detection): Merge master into 7-promp...
- Merge master into 7-prompt-detection, add changelog entry
-
11:48 PM Revision ba977e8983e6a6e0a9ee357eac6ccb31228fdc06 (7-prompt-detection): Reformat 1.0 changelog, a...
- Reformat 1.0 changelog, add issue links
-
11:48 PM Revision 7463149d36a8b358d4dcede3dfa5527dec0b7735 (7-prompt-detection): Re #7, add/tweak API docs
- Re #7, add/tweak API docs
-
11:42 PM Revision fe13188d6fb48cd242c2c232dd8d18d90db79782 (7-prompt-detection, master, ...): Reformat 1.0...
- Reformat 1.0 changelog, add issue links
-
11:35 PM Feature #23 (Done): Make generic "persistence" context manager
- Considering this done for now.
-
11:22 PM Bug #159 (Done): sed doesn't work when there is single quote
- This was fixed in master/1.0 a short while ago -- single quotes are now escaped.
-
09:50 PM Revision 8dc15632d0e33ef943500f998e30b091c277dfb2 (7-prompt-detection): Re #7, add/tweak API docs
- Re #7, add/tweak API docs
-
09:49 PM Revision b7f97607cff14651ca6676915a0cda8d1ab26728 (7-prompt-detection): Re #7, tweak function sig...
- Re #7, tweak function signatures
-
09:24 PM Feature #29 (Done): Allow arbitrary shell commands to be specified on the command line
- Not gonna bother with the sudo version, this has such limited utility anyways, and furthermore, now that #7 is in, one can simply call sudo directly. The `sudo` operation is really only there to make the password memory easier at this point. So...
-
05:58 PM Revision 4ff8e655e93a11bfbffcac7b65a954fc80439b4b (7-prompt-detection): Test tweaks for non-git e...
- Test tweaks for non-git environments. Why you'd be developing Fabric without Git installed, I have no idea. I guess for those users who like grabbing tarballs and running the test suite (valid, just unusual).
-
05:16 PM Revision 6b04a5d166f9ea1d265964bd88dbdcd827d1e15d (7-prompt-detection): Update tests to pass afte...
- Update tests to pass after recent work
-
04:15 PM Revision 49bae0f51d5195c5c44b19ba450ca4b59401f838 (7-prompt-detection): Re #7, some basic code reorg
- Re #7, some basic code reorg
-
03:13 PM Feature #19: Implement parallelism/thread-safety
- Just a note, the work done over in #7 now means that remote stdout/stderr are printed on a byte-by-byte basis instead of line-by-line (fabfile-local print statements/interactions with `sys.stdout` remain line-buffered as usual). This may impact an...
-
03:07 PM Feature #7: Improved prompt detection and passthrough
- While it requires 3 or 4 more `win32` testing `if` statements (gross) I am happy to report that at least under ActiveState's Python 2.6.x, the `msvcrt` module works as advertised. Furthermore, Cygwin seems to be happy with the Unixisms as usual.
-
03:02 PM Revision dd62be968ba5cdb5213ddf8f2a6b502ed54aa07f (7-prompt-detection): Re #7, add Windows stdin ...
- Re #7, add Windows stdin bytewise support.
-
02:53 PM Support #86: Explore move back to external Paramiko dependency
- Pressure from #158, and the fact that I think it should be easy enough for us to host a tgz of Paramiko 1.7.4 for edge case users, means I am thinking seriously of nuking our vendorized Paramiko for the 0.9.2 release. New users are relatively h...
-
02:36 PM Revision e1112bcf802c0f5f56f27a695248de3ba2442dbd (7-prompt-detection): Merge branch 'master' int...
- Merge branch 'master' into 7-prompt-detection
-
02:06 PM Bug #180 (Done): --version breaks with no git
- Applied in changeset commit:dae39c20f3259c006b680b1d02d7c70a82f5d124.
-
02:04 PM Revision dae39c20f3259c006b680b1d02d7c70a82f5d124 (master, 7-prompt-detection, ...): Consume stde...
- Consume stderr to hide lack-of-git error messages. Also hide empty parens in same situation. Fixes #180
-
01:50 PM Bug #146: windows port needs pywin32
- (Note for anyone too lazy to click over to #123 -- this has just been addressed by removing the cygwin test. Landed in all branches.)
-
01:49 PM Bug #123 (Done): ImportError in _get_system_username on cyqwin without win32api installed
-
01:45 PM Revision 0e0402fc329f939ac860b72979364c5b616d4674 (7-prompt-detection): Merge branch 'master' int...
- Merge branch 'master' into 7-prompt-detection
-
01:45 PM Bug #123: ImportError in _get_system_username on cyqwin without win32api installed
- Yup, ActiveState reports `win32`, and I can confirm that Cygwin falls down quite hard with the way things currently stand. Also confirming that simply nuking the cygwin test makes things work just fine (certainly, the two places we use the flag bo...
-
01:42 PM Revision 247de63266ec9484f20825d8d7e22d0d02dca3a2 (7-prompt-detection, master, ...): Merge branch...
- Merge branch '0.9'
-
01:42 PM Revision b2540482633503e6dcc12885de948b520c6ca5ea (7-prompt-detection, master, ...): Remove Cygwi...
- Remove Cygwin from win32 flag test. Re #123
-
01:03 PM Bug #180: --version breaks with no git
- If the user does not have Git installed / is not working off a git cloned version of the source, `fab --version` works but spits out "hey, what's this 'git' thing?" errors. Fix this.
-
11:47 AM Bug #123: ImportError in _get_system_username on cyqwin without win32api installed
- Adding note re #146. In testing out some stuff for #7 I am also trying to tackle this issue (though I'll be landing these changes in 0.9.x and only then porting up to master and the #7 feature branch). I have Cygwin and its Python installed ...
-
11:19 AM Bug #146 (Duplicate): windows port needs pywin32
- This looks to be the same issue as #123, actually.
-
09:19 AM Bug #179: run behaviour changed in 0.9.1
- Oh, another thing to try is to add `--show=debug` to your `fab` invocation, or wrap the `run` in question in a `with show('debug'):` block -- then see what it reports as the actual command being run. (Nuke the "env | grep VIRTUAL_ENV" stuff too --...
-
09:17 AM Bug #179: run behaviour changed in 0.9.1
- That is pretty odd, then. Thanks for testing in 0.9.1 -- that will narrow down the list of changes I need to scan to see what might have caused such an issue. I'll see what I can find. In the meantime, would you be able to share the rest of you...
06/17/2010
-
05:53 PM Feature #7: Improved prompt detection and passthrough
- * Added first draft of `open_shell` (née `interact_with` -- realized there was no point *assuming* that it would be used with an initial command, and as such the name made less sense as -is). Works pretty well for me. * Occasional hiccups with...
-
05:48 PM Revision 68d6ed253f1ae0e923e256f67b0dcf361828abe4 (7-prompt-detection): Add first draft of open_s...
- Add first draft of open_shell(). (Was going to be named interact_with() but this is more general.) Re #7
-
02:53 PM Bug #179: run behaviour changed in 0.9.1
- Strange thing is that it works on 0.9.0 & 0.9.1 $ fab krusty migrate [krusty] Executing task 'migrate' [krusty] run: . /home/citylive//env/mvne/bin/activate; env | grep VIRTUAL_ENV; python manage.py syncdb --noinput [krusty] ou...
-
01:10 PM Revision 3a4b766575a7583910ceabb93ed93afe758c9f20 (7-prompt-detection): Comment
- Comment
-
01:01 PM Feature #7: Improved prompt detection and passthrough
- Unable to recreate the issues with prompts showing up mid-line. I recall it being because of stdout and stderr, e.g. a prompt is printed to stderr before any stdout has appeared, then the user's input is echoed on stdout, triggering the stdout pro...
-
12:38 PM Bug #179: run behaviour changed in 0.9.1
- Yea, master has a number of changes, though offhand I don't see why any would cause your error there. (Given that it's actually an error from your manage.py, there may be something more subtle going on.) Any chance you could paste more of the o...
-
12:11 PM Bug #179: run behaviour changed in 0.9.1
- Right, sorry. 1. It seems that the `virtualenv` is not activated. So in my case it can't find the [krusty] err: Traceback (most recent call last): [krusty] err: File "manage.py", line 2, in <module> [krusty] err: ...
-
11:55 AM Bug #179 (Assigned): run behaviour changed in 0.9.1
- Did you accidentally submit the form before finishing? It sure looks that way :) You never said what broke! Based on what you entered you may have been relying on a bug in `cd` where it would not correctly replace the path if given an absolute ...
-
11:41 AM Feature #7: Improved prompt detection and passthrough
- Great, I am able to totally hide the `getpass` prompt, *and* I was also able to address the two issues mentioned in the previous comment, so the prompting now behaves pretty well in my testing. There are edge case issues with `prompt_for_passwo...
-
11:36 AM Revision a1776b5e382c1ea259746bc944b5d627b0496663 (7-prompt-detection): Don't display prompt when...
- Don't display prompt when IO loop is prompting for password
-
11:16 AM Revision 2eb9091f84dc1ad185c8119c8ee3e6672691c4ff (7-prompt-detection): Reflow password capturing...
- Reflow password capturing to work with new loop style
-
11:16 AM Revision 8d13fd1cc854598cfd6e0bff135266312b6f64e3 (7-prompt-detection): Update again_prompt to co...
- Update again_prompt to correctly handle pty or lack thereof
-
11:15 AM Revision 61098cd27993583268fb89f1279da44e9e0a5ee8 (7-prompt-detection): Minor refactor/tweak
- Minor refactor/tweak
-
11:04 AM Bug #179: run behaviour changed in 0.9.1
- When upgrading from 0.9.0 to 0.9.1 some of my scripts stopped working. The idea is to activate a virtualenv and execute some command (e.g. syncdb for Django) def syncdb() with cd(env.path): run('. /home/gvangool/en...
06/16/2010
-
12:37 PM Feature #7: Improved prompt detection and passthrough
- In testing this I realized there was a pre-existing bug, namely that with pty=True, the "Sorry try again" text ends with \r\n instead of just \n. WIth pty=False it's just \n. Just a note -- should be easy enough to test for either situation and th...
-
11:01 AM Feature #7: Improved prompt detection and passthrough
- Re: passwords: also need to figure out if there is a nice way to avoid double-prompting -- i.e. right now, because `prompt_for_password` prints its own prompt, the user will see the real prompt and then the Python level prompt. That's a bit too fa...
06/15/2010
-
06:14 PM Feature #7: Improved prompt detection and passthrough
- Turns out password memory is actually not all that difficult to copy over. Had to make some modifications due to the different data structures involved and the different algorithm, but it still seems to work in the base case and is (as with the re...
-
06:13 PM Revision 35ec48e0e1288c3543d9d19bb88745e1261a4d55 (7-prompt-detection): Copy/modify password memo...
- Copy/modify password memory feature from output_thread
-
02:27 PM Feature #7: Improved prompt detection and passthrough
- Able to run my reasonably thorough setup tasks without falling over; in fact, it even does curses reasonably well! (One drawback of using a pty -- some apps may now be harder to script because they'll assume they're being used by a person, such as...
-
12:34 PM Revision 195c037ce9505c57a728c8c28da1edd4d61c65ea (7-prompt-detection): Fix out/err prefixes to i...
- Fix out/err prefixes to incldue host string again
-
11:42 AM Feature #7: Improved prompt detection and passthrough
- A little proof of it working: [sudo adduser -- without sudo(), and with stdin!](https://gist.github.com/a7f5cbfc9a65ecc32c53)
-
10:20 AM Feature #7: Improved prompt detection and passthrough
- Another idea re: prefixes -- since the default behavior is intended to be pty on, thus users will ALWAYS get the "out" prefix when typing into any non-password prompts -- is to possibly have communication between the stdin and stdout threads such ...
-
01:05 AM Feature #7: Improved prompt detection and passthrough
- Have thread solution basically working; certainly it appears to avoid both the crashing and the edge case of missed output, which is great. One remaining issue in my testing is that typing (i.e. sending stdin) results in an output prefix being ...
-
01:00 AM Revision 215a1800240e52e0dfb0303983ccb41f1a09bbef (7-prompt-detection): Got stdin working again, ...
- Got stdin working again, for the most part.
-
12:36 AM Revision d12ce2f2cb07a41b87cbd35910abfb51e7e5c16c (7-prompt-detection): Handful of minor tweaks t...
- Handful of minor tweaks to user-facing output
-
12:28 AM Revision db16a8480d08f465df992d2743adcb37990dfc18 (7-prompt-detection): Back to threads for I/O l...
- Back to threads for I/O looping. Semi-works.
06/14/2010
-
11:38 PM Feature #7: Improved prompt detection and passthrough
- Played with gevent some; I like its interface but I still run into issues with `select` somehow blocking everything anyways (since `select` is the only way I know of to get nonblocking stdin; was running it in a simple test program alongside anoth...
-
10:31 PM Feature #7: Improved prompt detection and passthrough
- Side note: in writing a simple practical test for the edge case that's prompting me to move away from the current `select` approach (it calls `run` over and over until it gets an empty result back) I'm getting intermittent errors in `paramiko.tran...
-
08:56 PM Revision 0f8b7a782520f75d15ddcae1e408c940ad4f1c22 (7-prompt-detection): Merge branch 'master' int...
- Merge branch 'master' into 7-prompt-detection
-
08:55 PM Revision e7fb41a835dc1469027534395a82ec05e49200c8 (master, 7-prompt-detection, ...): Add fastprin...
- Add fastprint back to API module
-
08:39 PM Feature #7: Improved prompt detection and passthrough
- Hm, Kamaelia's site took a major downturn since I last saw it, it's got almost no info, lots of literal placeholder text, API docs are all HTTP 500s...gross. Saw mention that they're moving servers, but even so, that's unfortunate. The info I did ...
-
05:23 PM Feature #7: Improved prompt detection and passthrough
- Today's research notes: * Raw coroutines don't seem to map to what we need to do very well; that and `cogen` seems relatively new/poorly documented. * So the only way to handle this that I can wrap my head around is still a "thread like" appro...
-
11:28 AM Feature #178: Possibly allow shell selection in local()
- According to [the Popen docs](http://docs.python.org/library/subprocess.html#subprocess.Popen) (see 1st para after 2nd note block) one can force `subprocess` to use a specific shell instead of the system default (which may vary) by use of the `exe...
-
09:54 AM Revision 49274cf0a31905720cc986a669b197917c26c262 (7-prompt-detection): Make trailing newline hon...
- Make trailing newline honor output controls
-
09:53 AM Revision 7b7284c620d13047a4796827ec8fb64effe57d84 (7-prompt-detection): Redo _write to honor outp...
- Redo _write to honor output controls again.
06/13/2010
-
10:28 PM Feature #7: Improved prompt detection and passthrough
- Gave option 2 the old college try, no dice. It *seems* like it should be possible -- `Channel.fileno` actually explicitly returns a "combo" pipe, so it ought to be feasible to return the two pipes distinctly (the differentiator is which one is pas...
-
09:23 PM Feature #7: Improved prompt detection and passthrough
- Encountering edge case issues with the loop termination again; basically, it's the old issue where the "poll" methods Paramiko provides return True while there is still data to be read in the pipeline, and this occurs intermittently. So `channel.e...
-
05:04 PM Revision 89885c3d5452ad5bd4d9867c41f45c0ae53db025 (7-prompt-detection): Print initial prefix at b...
- Print initial prefix at beginning of output.
-
04:28 PM Revision 4ec669ee750b79170271e12cb4096dfd3689e04d (7-prompt-detection): Add trailing newline afte...
- Add trailing newline after I/O loop
-
04:23 PM Revision 08ddef0044f7de19efaa59353528d21a1548ac9d (7-prompt-detection): Abstract bytewise bufferi...
- Abstract bytewise buffering to be context manager. Re #7
-
04:23 PM Revision dc560d5de736dc455d16147acd7f9582d182f1ee (7-prompt-detection): Add env vars for echoing ...
- Add env vars for echoing and stderr combining
-
04:19 PM Revision d347dba81707da61a10606b7a36a961f461783ff (7-prompt-detection): Reorganize IO loop a bit,...
- Reorganize IO loop a bit, add prefix
-
04:19 PM Revision 8c4529e0e5be13d41f8b31702d4dbee8613dbbf8 (7-prompt-detection): First experimental steps ...
- First experimental steps with select() etc
-
04:03 PM Revision fe088580da89964221722b233c69cd18c7601671 (7-prompt-detection): Add env vars for echoing ...
- Add env vars for echoing and stderr combining
-
03:13 PM Revision 12e8bf5eff8fd58b7fd2d35d0e5cbb9fe4974235 (7-prompt-detection): Merge branch '7-prompt-de...
- Merge branch '7-prompt-detection' of fabfile.org:fabric into 7-prompt-detection Conflicts: fabric/operations.py
-
03:02 PM Revision 41fd7225e74784c24559c07aedc95f42a350eb24 (7-prompt-detection): Abstract bytewise bufferi...
- Abstract bytewise buffering to be context manager. Re #7
06/12/2010
-
10:21 PM Feature #7: Improved prompt detection and passthrough
- Insane, amazing, thought-provoking, tear-jerking total rewrite of ticket description. Goes into detail on how vanilla SSH behaves, compiles info from comments up till this one, and comes up with an actionable TODO list for the feature branch.
-
07:47 PM Feature #177: Investigate pexpect/expect integration
- Spinoff of a note from #7 which, for now, is too "big" to be included in that effort. From a quick look at the [pexpect](http://www.noah.org/wiki/Pexpect#API_Documentation) library, it's not suitable for use with Fabric since it handles the IO ...
06/09/2010
-
11:54 AM Feature #7: Improved prompt detection and passthrough
- Minor issue with keeping/allowing access to the bytewise buffering, is that a final newline results in a final, empty prefix being printed. Not horrible, and technically accurate (insofar as there was another "line" from the remote end, just an em...
06/08/2010
-
11:49 AM Revision b68c7cee786095af429737f5a905a0bb5e715e01 (7-prompt-detection): Reorganize IO loop a bit,...
- Reorganize IO loop a bit, add prefix
06/07/2010
-
05:58 PM Feature #176: Add a pty option in contrib.files.upload_template function args
- As contrib.files.upload_template finally relay on run or sudo command, contrib.files.upload_template should have pty arg too...
06/06/2010
-
09:45 AM Feature #151 (Done): Make fabfile print() statements controllable via output controls
- Just updated, let me know how it looks to you.
-
09:45 AM Revision 786c7de8304b707ea492c4003a5a3da235d4a5ad (master, 7-prompt-detection, ...): Re #151, min...
- Re #151, minor tweak to changelog
-
09:42 AM Revision a1997a18b5e19278e321b313bdf63bd75b0fd214 (master, 7-prompt-detection, ...): Re #151, add...
- Re #151, add fastprint back in.
-
09:28 AM Revision f5507769803c354c0ce3b3f2aa603bd5f6bdfc2c (master, 7-prompt-detection, ...): Nuke note re...
- Nuke note re: Sphinx and \n -- 0.6.6 fixed it.
-
09:14 AM Feature #151 (Assigned): Make fabfile print() statements controllable via output controls
- I agree, it was a mistake to nuke fastprint simply because it's *possible* to get the same result with `puts`. Wonder if we can come up with a slightly better name than "fastprint" however, though nothing springs to mind.
06/05/2010
-
02:33 PM Feature #151: Make fabfile print() statements controllable via output controls
- Better yet, allow it to work as `puts` with but with different defaults: ...
-
02:30 PM Feature #151: Make fabfile print() statements controllable via output controls
- The current implementation of this has an issue. For anyone who's relied on fastprint() as a quick way to flush a line out to `sys.stdout` without a line-ending, you now have to change the code from `fastprint(text)` to `puts(text, end='', flush=...
06/04/2010
-
09:05 PM Bug #137: Allow escaped commas in command line
- Let's compromise and say 0.9.3, 0.9.2 is already pretty heavily loaded. (I will be trying to do releases much more often, though -- it definitely won't be another 6 months from now!)
-
07:29 PM Revision fb68f244f06567c34a6beeb17044fabd688d41af (7-prompt-detection): First experimental steps ...
- First experimental steps with select() etc
-
07:00 PM Bug #137: Allow escaped commas in command line
- Id like to suggest putting this in 0.9.2 -- it is completely backwards compatible, and doesn't introduce new concepts.
-
06:57 PM Feature #7: Improved prompt detection and passthrough
- May also be worthwhile to have `run` and `sudo` do the `exec_command` interactivity with caveats -- i.e. stdout/stderr will be combined and stdin will be echoed always, but if that works for your use case, then the functionality is there. (Or, bas...
-
12:20 PM Feature #175: contrib.select() function
- See https://gist.github.com/2f46d4521338d5581f4b for examples. Add a select() function that prints a numbered dictionary and prompts for the user's selection. Returns the dictionary key upon selection.
-
12:02 PM Feature #7: Improved prompt detection and passthrough
- Took another stab at the `invoke_shell` stuff, got a bit farther, but it's still very wacky (insofar as I seem to be seeing *double* the echo I expect from my inputs, and thus have to "eat" even more than usual) and more importantly I realize ther...
-
11:57 AM Bug #174: I can not get fabric installed
- Glad to hear it!
-
11:44 AM Bug #174: I can not get fabric installed
- > Unfortunately, Fabric is not yet supported on Python 3 in any way, so you’ll have to use Python 2.5 or 2.6. Yes, thank you. You have correctly identified the actual problem. on Gentoo, to fix it, I did: 1) select python 2.6 via eselect 2...
-
10:36 AM Bug #174 (Wontfix): I can not get fabric installed
- It looks like that server in question is using Python 3.1 (or at least, your easy_install is defaulting to 3.1, even if 2.5/2.6 is installed.) Unfortunately, Fabric is not yet supported on Python 3 in any way, so you'll have to use Python 2.5 o...
-
04:01 AM Bug #174: I can not get fabric installed
- Hi, On all servers it installed well, but now, on one of them I get error (will attach as text file).
06/03/2010
-
11:40 PM Feature #7: Improved prompt detection and passthrough
- Ticket #80 doesn't seem worth the effort at this time. Focus on finding a way to handle password-safe stdin echoing with `exec_command` instead, or if it's not possible, figure out whether the security of not echoing passwords/etc is worth spendin...
-
11:26 PM Feature #80 (Wontfix): See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is...
- Yea, this isn't going to work. Even just sentinel detection is extremely messy and error prone and complicated; given that we have to use a pty and thus can't see distinct stdout/stderr, the only remaining benefits are A) shell state and B) passwo...
-
11:19 PM Revision 7ca0b40e2cfb424ce8fc2fb6d366e90337704fab (invoke_shell): Committing some sorta-working b...
- Committing some sorta-working but mostly-still-broken attempts at sentinel detection
-
12:05 PM Feature #140: Recursive put() and get()
- Bumping this to 0.9.2 for now, has potential to be a good new backwards-compatible feature to add.
-
11:06 AM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- Doesn't seem like the non-pty approach is feasible, it's still a shell, meaning it won't exit until told to exit, and now we don't even have the shell prompt as a sentinel for determining when stuff has finished (and no, the other functions for ex...
-
11:01 AM Feature #26: Implement "dry run" feature
- One issue with this is how to deal with logic: what if one's fabfile takes different paths depending on the results of a `run` call? (Which is kind of the point of modern Fabric's execution model, in fact.) We could add a "dry_run_return" sort ...
-
10:05 AM Bug #173 (Done): readme typo
-
10:03 AM Revision d9fba30c92cb514eea681098f96d13e849dc4a1e (0.9, 7-prompt-detection, ...): Re #173, add to...
- Re #173, add to changelog
-
09:56 AM Bug #173: readme typo
- Cherry-picked as commit:99aecd72 -- thanks!
-
09:55 AM Revision 57dbd3693ca610165af71821a477a38b401bbfb9 (master, 0.9, ...): Merge branch '0.9'
- Merge branch '0.9'
- 09:55 AM Revision 99aecd72ccb1ddf530a4d1b71b6f8a6e3c4d1cc7 (master, 0.9, ...): fabric is a tool, not a fool!
- fabric is a tool, not a fool!
-
09:53 AM Bug #173: readme typo
- Wow, I wonder how long that's been there? :( Looks like quite a while. Thanks for the catch!
06/02/2010
-
11:41 PM Bug #173: readme typo
- from the README: "In addition to use via the ``fab`` **fool**, Fabric's components may be imported into other Python code, providing a Pythonic interface to the SSH protocol suite at a higher level than that provided by e.g. Paramiko (which ...
-
03:48 PM Revision e6c414c180fb30f2c3cb0bae5e67578cbec3e708 (invoke_shell): Have invoke_shell hooked in, ne...
- Have invoke_shell hooked in, need to experiment more
06/01/2010
-
05:19 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- OK, so here's a semi pitfall, the shell doesn't behave *as* well unless a pty is set up (using the `SSHClient` `invoke_shell` automatically sets up a pty; using the `Channel` one does not). Unfortunately, since ptys are pseudo-*terminals* and thus...
-
03:31 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- Poking at this now. Also updated description with a semi TODO list. Finally, noting that one item that hasn't been considered previously is non command related output such as login banners, console messages (if the remote system is ever set up ...
-
03:28 PM Feature #7: Improved prompt detection and passthrough
- Poking around at the `invoke_shell` approach now. Will be documenting it in #80 for now and report back here when I have a decision as to whether it's feasible for general use.
-
03:17 PM Revision 99dfdb28bdf1b7b23c0c170d34da37afb9b65f5c (invoke_shell): Experimenting with invoke_shell...
- Experimenting with invoke_shell. * No more shell or pty args as they no longer apply * Simple run (remainder) task works again after those changes. * No dropping out of shell, or exec status, etc, yet. * No testing of sudo yet.
-
11:59 AM Revision b3a33706f432dc303b62c13a88c0c5554543411f (invoke_shell, 7-prompt-detection): Have line-b...
- Have line-by-line input semi working, but worthless without ability to see non-newlined input from remote end
-
11:59 AM Revision 2574b57cb98c07c8b1f8c6843939f353cb51c8aa (invoke_shell, 7-prompt-detection): Minor tweaks
- Minor tweaks
-
11:59 AM Revision 1b0f3b68af53fc41de21391c885496b24f3718ef (invoke_shell, 7-prompt-detection): Partial sol...
- Partial solution in place, needs more work
-
10:51 AM Revision 409e0284dbf24ec1b42c5c517be32e10af684520 (master, invoke_shell, ...): Re #75, tweak to w...
- Re #75, tweak to work with master's `--` feature
-
10:46 AM Revision f273b02c87322d2e7f1c3cf42b2cb183df2d8e84 (7-prompt-detection): Partial solution in place...
- Partial solution in place, needs more work
-
10:46 AM Revision e5f55ce7c98016a838c6bafd7822edc54dc23f45 (7-prompt-detection): Have line-by-line input s...
- Have line-by-line input semi working, but worthless without ability to see non-newlined input from remote end
-
10:43 AM Revision c375296eb0c2c211548d3f1b5b6045add70aebae (master, invoke_shell, ...): Fix post-merge bug...
- Fix post-merge bug in contains
05/29/2010
-
10:00 AM Feature #7: Improved prompt detection and passthrough
- Couple more notes from before: * I presume the issues with crossed streams is largely because at least one stream, in normal terminal usage, is line-buffered (I believe stdout) so char-buffering isn't ever done by actual terminals. Consider lin...
05/28/2010
-
11:00 PM Revision d00cdc9b3f0917772a8d175499deb5d6e9bc4936 (master, invoke_shell, ...): Merge branch '0.9'...
- Merge branch '0.9' Conflicts: docs/_templates/page.html fabfile.py fabric/version.py
-
02:15 PM Revision e547aaad0f49c9c89d28bf0ede85245b80546c98 (0.9, master, ...): Tweak push_docs to make doc...
- Tweak push_docs to make docs dir if it doesn't exist.
-
02:14 PM Support #90: Update docs/templates to allow access to previous versions
- So, naturally I neglected to consider the inverse, old docs pointing people to the newest docs. I think that'll definitely require a more generic solution than modifying Sphinx templates -- I'd have to check out the 0.9.0 version of the docs (or a...
-
02:08 PM Revision 363bb6f409b4c3184a5b9e72c095b6aca207a11f (0.9, master, ...): Cut 0.9.1 final
- Cut 0.9.1 final
-
02:05 PM Support #90: Update docs/templates to allow access to previous versions
- As long as I update the Apache config, the 1.0 docs don't need changing, they just point to `/0.9/` which will always point to the latest release. Bumping this to 0.9.2 now; hopefully it'll get tackled sooner than that if I can get back into th...
-
11:30 AM Revision 36e48f26b8100f193dcff297f3e1375166851dc2 (0.9, master, ...): Reorganize, add more links ...
- Reorganize, add more links to changelog
-
11:10 AM Revision 06e728f7d2dfbf96392fa7ee5bdf5830ab5d410b (master, invoke_shell, ...): Re #90, add static...
- Re #90, add static link to 0.9.1 in Sphinx header
-
11:09 AM Support #160: Advertise new Twitter user
- Should get an avatar for it; either reuse the old Fabric SVG logo (probably as a JPG/PNG) or come up with a new logo somehow. Maybe something silly like just monospaced text saying "$ fab" or "fabfile" or just "Fabric"?
-
09:55 AM Revision 423bedfa5c770207933d2e157dbd2f01c1e9bed0 (invoke_shell, 7-prompt-detection, ...): Fix er...
- Fix erroneous merge which broke package fabfiles
05/27/2010
-
11:53 PM Revision b0b421eb9a21c0fde6595dc0f87dbb24a35479ba (invoke_shell, 7-prompt-detection, ...): Merge ...
- Merge branch '0.9'
-
11:53 PM Revision 4d33054f692ec4b09948091dbfad99be0e30acb1 (invoke_shell, 7-prompt-detection, ...): Remove...
- Remove FAQ from manifest
-
11:47 PM Bug #147 (Wontfix): Installing pre-release via pip causes git_sha() error
- I install Fabric via Pip pretty frequently and it works fine for me. Your invocation looks accurate, however -- did you ever get it working? I'm hoping it was just a temporary Github glitch. Certainly, that exact invocation works for me right now.
-
11:45 PM Feature #152: new contrib for remote file system utility functions.
- I'm not sure if this is something I want to live in actual contrib or not. Linking it to the "share unofficial snippets" ticket for now. I'll need to give your code a more thorough review later once that option is available, so I can decide where ...
-
11:36 PM Support #111: Backport major compatible "1.0" (master) features to 0.9.x
- Bumping this to 0.9.3, actually -- I think what'd be good is to have 0.9.2 be another round of 0.9 specific bugfixes, then 0.9.3 be the backporting, and hopefully the last significant 0.9.x release.
-
11:34 PM Revision 3ad934eff2f1eeb1f2381fb7c1aa013d2b0ad15e (invoke_shell, 0.9, ...): Add Python 2.5/2.6 tr...
- Add Python 2.5/2.6 trove classifiers re #145
-
11:30 PM Support #90: Update docs/templates to allow access to previous versions
- This is now blocking release of 0.9.1 -- I don't want to hide the 0.9.0 docs when I push up 0.9.1, and I'll have to change the 0.9 pointer to 0.9.1, so...yea. Don't really care whether this is handled manually in the Sphinx header include or if...
-
11:28 PM Bug #158: Slow disconnects at end of session
- Dropping priority on this since an FAQ has been added. (Also adding explicit link to #86.)
-
11:24 PM Revision 5776da0a65607268dab00c49042576ef8f4dc2d2 (master, invoke_shell, ...): Merge branch '0.9'...
- Merge branch '0.9' Conflicts: AUTHORS docs/usage/fab.rst fabric/context_managers.py fabric/contrib/files.py fabric/operations.py
-
11:19 PM Revision 81312c8d0c2da4950139ce4e92f88351c82baaaf (0.9, master, ...): Added versionadded/versionc...
- Added versionadded/versionchanged notes
-
11:02 PM Revision 88bbe21cdeb085d3d53da81341c33cbb20531916 (0.9, master, ...): A 1.0-specific change slipp...
- A 1.0-specific change slipped by me in a merge to 0.9
-
10:56 PM Bug #168 (Duplicate): fabric.contrib.files.exists path expansion
- This isn't so quick after all, I thought we had a non-SFTP-oriented tilde expansion somewhere, but I'm not seeing one. Looks like that's covered under #9. I've just added a note about `contrib.files.exists` to that ticket so it gets covered.
-
10:50 PM Bug #82 (Done): fabric.contrib.files.append checks beginning of lines rather than discrete lines
- Applied in changeset commit:e50ec507661a1445d6857242804eeaebc452f071.
-
10:49 PM Revision e50ec507661a1445d6857242804eeaebc452f071 (0.9, master, ...): Add partial kwarg to contri...
- Add partial kwarg to contrib.files.append. Fixes #82.
-
10:47 PM Support #172: Make default function arg values more sensible
- For example, a number of functions were fixed for 0.9.x with backwards compatibility in mind, such as `contrib.files.append`, which added a `partial` kwarg, but defaulted to `True` in order to preserve the old, semi-broken behavior. That kwarg sho...
-
10:31 PM Bug #166 (Done): cd() should overwrite non-empty env.cwd when given absolute path
- Applied in changeset commit:5702362eb5e7efa8658a4f66cd89e14258dad68e.
-
10:30 PM Revision a4beaeb83d95393c84ab37e8bd31e66eec8faa2b (0.9, master, ...): Update changelog to enforce...
- Update changelog to enforce consistent tense
-
10:29 PM Revision 4c08f1bd03a58ed5e849bae327cb159a666b8875 (0.9, master, ...): Add docs, make minor name t...
- Add docs, make minor name tweak re #141
-
10:21 PM Support #171: Add cross-links from env vars to their CLI args
- Docs intro even says these will be there, but they're not. Jerk.
-
10:11 PM Revision 5702362eb5e7efa8658a4f66cd89e14258dad68e (0.9, invoke_shell, ...): Make cd() overwrite c...
- Make cd() overwrite cwd when given an absolute path. Fixes #166.
-
10:01 PM Feature #141 (Done): Allow Fabric level access to more Paramiko connection params
- Applied in changeset commit:2b714ea602e2eff37d8a7d7ec27d45ec6e79353a.
-
09:59 PM Revision 2b714ea602e2eff37d8a7d7ec27d45ec6e79353a (0.9, invoke_shell, ...): Allow tweaking of mor...
- Allow tweaking of more Paramiko params via CLI/env. Implements #141.
-
09:34 PM Bug #132 (Done): run()/sudo() strip the output, local() does not
- Applied in changeset commit:2e4acf932618f9d70bac339c035f93d19f881411.
-
09:28 PM Revision d5429823e06deb0af627ca915d95d6889c20630c (invoke_shell, 7-prompt-detection, ...): Re #13...
- Re #132, apply to master too.
-
09:27 PM Revision 2e4acf932618f9d70bac339c035f93d19f881411 (invoke_shell, master, ...): Fixes #132: strip ...
- Fixes #132: strip local() stdout, like run()/sudo() do.
-
09:19 PM Bug #130 (Done): Context managers don't account for exceptions
- Applied in changeset commit:7f280a0438326d27ab43f0664632a511d040b7e5.
-
09:17 PM Revision 7f280a0438326d27ab43f0664632a511d040b7e5 (invoke_shell, master, ...): Make context manag...
- Make context managers restore env upon exception. Fixes #130.
-
09:12 PM Revision 331cda9180ad48d6fbf0c1add7bc31f8a409a09f (invoke_shell, master, ...): Add changelog entr...
- Add changelog entry re #112
-
09:12 PM Revision 56dd4aa3bf742a9970c2b815be1185a87e9fde35 (invoke_shell, master, ...): Add changelog entr...
- Add changelog entry re #95
-
09:10 PM Feature #112 (Done): Add custom docstrings to --list output
- Applied in changeset commit:4fc541a3122390eb5bb97a2bcf51d65305035c57.
-
09:08 PM Revision 4fc541a3122390eb5bb97a2bcf51d65305035c57 (invoke_shell, master, ...): Print fabfile modu...
- Print fabfile module-level docstring to --list output. Implements #112.
-
08:55 PM Revision 083402cec4da2c8df694da2d4613991b96525213 (invoke_shell, master, ...): Order changelog en...
- Order changelog entries by ticket number.
- 08:55 PM Bug #110 (Done): Reorder fab CLI arguments list to be alphabetical
- Applied in changeset commit:292f18b63bdc7030760e8032b401c9de8ed0ea4a.
-
08:54 PM Revision 9705b936d7367c139e3cd4f98f8c370f16e76492 (invoke_shell, 0.9, ...): More fixes to alphabe...
- More fixes to alphabetization of fab arg docs Re #110
-
08:53 PM Revision ecac1224e567bed9788058b1a70c21c9a3b39989 (invoke_shell, 0.9, ...): Add previous commit t...
- Add previous commit to changelog
- 08:51 PM Revision 292f18b63bdc7030760e8032b401c9de8ed0ea4a (invoke_shell, 0.9, ...): Fix #110 (alphabetize...
- Fix #110 (alphabetize CLI args document) Used ordering based on long-name. Signed-off-by: Jeff Forcier <jeff@bitprophet.org>
-
08:33 PM Bug #103: Use 3rd party "decorator" module to fix introspection for decorated functions
- On the one hand, I do hate the broken autodoc. On the other, I don't think a tertiary release is the time to add new dependencies. Bumping this to 1.0.
-
08:33 PM Support #95 (Done): Ensure link to changelog, or changelog itself, is on PyPI
- Applied in changeset commit:4b3b8d7b8d9f637780345a1bbbe0c3d40cee92f4.
-
08:32 PM Revision 4b3b8d7b8d9f637780345a1bbbe0c3d40cee92f4 (0.9, invoke_shell, ...): Implements #95
- Implements #95
-
08:09 PM Revision c7b4b99f7a0ce4b97a870fb372c6057eb7df3153 (0.9, invoke_shell, ...): Reorg 0.9.1 changelog...
- Reorg 0.9.1 changelog; add changelog for prev commit
-
08:01 PM Bug #75: "fab" with no arguments and no fabfiles should display help
- Thanks for the submission and the merge, guys. I was looking for a slightly different behavior when I wrote the ticket, though -- I don't want users to see the no-fabfiles complaint at all, just the help output, in the situation described. Feels c...
-
07:59 PM Bug #75 (Done): "fab" with no arguments and no fabfiles should display help
- Applied in changeset commit:774d6e8d5ee9af635744f76b9875df8327e15ad5.
-
07:58 PM Revision 774d6e8d5ee9af635744f76b9875df8327e15ad5 (0.9, invoke_shell, ...): Print help when no ar...
- Print help when no args given and no fabfile. Fixes #75.
-
07:44 PM Revision f02f74005dbbf48b1f61bb8b7acfd03306ab8b99 (master, 0.9, ...): Merge branch '0.9' Conflic...
- Merge branch '0.9' Conflicts: docs/usage/execution.rst fabric/state.py
-
05:21 PM Revision 9d426a2f4c2ef9676e9eeea65780fa44ba56c770 (7-prompt-detection): Partial solution in place...
- Partial solution in place, needs more work
-
05:19 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- One other plus of the shell approach, it seems to obviate the need for a manual echo of my stdin. This is good because it means password prompts work correctly. With the exec_command approach, I have to manually echo stdin, meaning it's impossible...
-
05:05 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- There's also the problem of it being a real shell session: it displays prompts, which would need to be hidden somehow (set $PS1 to empty string? or what?) and we'd have no way of knowing when the remote end was actually done with the command we're...
-
04:42 PM Feature #7: Improved prompt detection and passthrough
- Using `Channel.set_combine_stderr(True)` appears to solve the "crossing the streams" problem, though using it long term would mean a total loss of that information (which data is from which stream). ---- As noted in a comment I just made on #80,...
-
04:36 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- While tinkering with #7 I gave this a shot just for kicks and (at least paired with the select-based stdin/stdout/stderr multiplexing, plus setting `Channel.combine_stderr` to `True`) it works great, outside of the given concerns re: ability to ea...
-
03:43 PM Feature #7: Improved prompt detection and passthrough
- Trying out more complicated remote programs like `adduser` show that my initial assumption about how stdout and stderr are printed to terminals normally, may be incorrect: I'm getting amusing garbled output by an intermingling of the two streams (...
-
03:42 PM Feature #170: Pull request for exclude_hosts feature
- I've added an option -x / --exclude-hosts which allows you to specify a list of hosts on the command line to exclude from the calculated hosts list (after roles, etc). It also works in the expected way: fab some_func:hosts=a;b,exclude_hosts=a ...
-
03:33 PM Feature #7: Improved prompt detection and passthrough
- Have it working in the base case now, as evidenced by [this snippet of calling sudo without sudo()](https://gist.github.com/ed7e61fd2b792cf866a9). In other words, the password prompt there is from the remote end (not our usual sudo helper), and I ...
-
02:17 PM Feature #7: Improved prompt detection and passthrough
- Oh yea, another thing: while I'll probably try to keep it in, the automatic sudo password handling will no longer be necessary once this feature is working robustly, and it's remotely possible I'll drop it and just say "hey, you have full stdin co...
-
02:13 PM Feature #7: Improved prompt detection and passthrough
- Have been investigating this issue seriously over the last few days since it's started to become a semi-blocker for my use of Fabric at work :) (I am an unabashed itch-scratcher...) Details so far: * I have some basic tests working wherein sys....
-
02:41 AM Support #99: Create subsite for user fabfile/snippet sharing
- What I have used in the past is django-paste (http://code.google.com/p/django-paste/) which is a clone of dpaste.com, not quite as slick as gist but pretty damn close and totally usable. Check out this site http://dpaste.de/. You can then just hav...
05/26/2010
-
03:43 PM Support #169: Add a bot or two to the IRC channel
- See some thoughts in [this ML thread](http://lists.nongnu.org/archive/html/fab-user/2009-11/msg00014.html). Extracted from it: * Log channel to some persistent storage via a bot * View it on the Web * [irclogger](http://github.com/cschne...
05/25/2010
-
10:55 PM Bug #75: "fab" with no arguments and no fabfiles should display help
- Review the code (all of 30 seconds worth for the oneliner) :-) and applied this patch cleanly to the latest 0.9 branch. It's FF merge now if ya want from my 0.9-bug75 branch. http://github.com/tswicegood/fabric/tree/0.9-bug75
-
04:15 PM Revision 6ac4c2c9612f272841bad8394abb2eed8d58c9f8 (7-prompt-detection): Have line-by-line input s...
- Have line-by-line input semi working, but worthless without ability to see non-newlined input from remote end
-
12:39 PM Feature #80: See whether `paramiko.SSHClient.invoke_shell` + `paramiko.Channel.send` is feasible
- See also [this SO thread](http://stackoverflow.com/questions/760978/long-running-ssh-commands-in-python-paramiko-module-and-how-to-end-them)
-
11:00 AM Support #167: openid login
- would it not make sense to leave this open then? After all the request is for a feature of this redmine install regardless of whether it is implemented in the currently deployed branch or not. And if you upgrade to 0.9 this will be fixed, so WONTF...
-
10:59 AM Bug #168 (Assigned): fabric.contrib.files.exists path expansion
-
10:58 AM Support #167 (Wontfix): openid login
- Redmine 0.8, which we run a modified version of, doesn't seem to have openID support but I'm hoping to upgrade to 0.9 eventually which does seem to have it.
-
04:46 AM Bug #168: fabric.contrib.files.exists path expansion
- exists on a path with ~ in it does not work, returns 1 even if it exists, because test is called with the path in "%s" so it does not expand. Changing that to simply be %s works but may break something else
-
04:43 AM Support #167: openid login
- please allow logging in to redmine via openid, registration is a small but existing barrier to reporting issues.
Also available in: Atom