2015-08-12 05:26:47 +02:00
|
|
|
@comment $NetBSD: PLIST,v 1.16 2015/08/12 03:26:47 gls Exp $
|
2010-05-26 20:26:20 +02:00
|
|
|
bin/fab
|
|
|
|
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
|
|
|
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
|
|
|
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
|
|
|
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
|
2012-02-12 16:45:34 +01:00
|
|
|
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
2011-07-12 22:56:21 +02:00
|
|
|
${PYSITELIB}/fabfile/__init__.py
|
|
|
|
${PYSITELIB}/fabfile/__init__.pyc
|
|
|
|
${PYSITELIB}/fabfile/__init__.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/__init__.py
|
|
|
|
${PYSITELIB}/fabric/__init__.pyc
|
|
|
|
${PYSITELIB}/fabric/__init__.pyo
|
2015-08-12 05:26:47 +02:00
|
|
|
${PYSITELIB}/fabric/__main__.py
|
|
|
|
${PYSITELIB}/fabric/__main__.pyc
|
|
|
|
${PYSITELIB}/fabric/__main__.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/api.py
|
|
|
|
${PYSITELIB}/fabric/api.pyc
|
|
|
|
${PYSITELIB}/fabric/api.pyo
|
Update sysutils/fabric to 1.0.0
Pkgsrc changes:
- Confirm it's working with python27
Upstream changes:
Changes in version 1.0
This page lists all changes made to Fabric in its 1.0.0 release.
Highlights
* #7: run/sudo now allow full interactivity with the remote end. You can
interact with remote prompts and similar interfaces, making certain tasks much
easier, and freeing you from the need to find noninteractive solutions if you
don't want to. See Interaction with remote programs for more on these changes.
* put and get received many updates, including but not limited to: recursion,
globbing, inline sudo capability, and increased control over local file paths.
See the individual ticket line-items below for details. Erich Heine (sophacles
on IRC) played a large part in implementing and/or collecting these changes and
deserves much of the credit.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files). This allows for easier
organization of nontrivial fabfiles and paves the way for task namespacing in
the near future. See Fabfile discovery for details.
* #185: Mostly of interest to those contributing to Fabric itself, Fabric
now leverages Paramiko to provide a stub SSH and SFTP server for use during runs
of our test suite. This makes quick, configurable full-stack testing of Fabric
(and, to an extent, user fabfiles) possible.
Backwards-incompatible changes
The below changes are backwards incompatible and have the potential to break
your 0.9.x based fabfiles!
* contains and append previously had the filename argument in the second
position, whereas all other functions in the contrib.files module had filename
as the first argument. These two functions have been brought in line with the
rest of the module.
* sed now escapes single-quotes and parentheses in addition to forward
slashes, in its before and after kwargs. Related to, but not entirely contained
within, #159.
* The user and pty kwargs in sudo's signature have had their order swapped
around to more closely match run.
* As part of the changes made in #7, run and sudo have had the default value
of their pty kwargs changed from False to True. This, plus the addition of the
combine_stderr kwarg/env var, may result in significant behavioral changes in
remote programs which operate differently when attached to a tty.
* #61: put and get now honor the remote current-working-directory changes
applied by cd. Previously they would always treat relative remote paths as being
relative to the remote home directory.
* #79: get now allows increased control over local filenames when downloading
single or multiple files. This is backwards incompatible because the default
path/filename for downloaded files has changed. Thanks to Juha Mustonen, Erich
Heine and Max Arnold for brainstorming solutions.
* #88: local has changed the default value of its capture kwarg, from True
to False. This was changed in order to be more intuitive, at the cost of no
longer defaulting to the same rich return value as in run/sudo (which is still
available by specifying capture=True.)
* #121: put will no longer automatically attempt to mirror local file modes.
Instead, you?ll need to specify mirror_local_mode=True to get this behavior.
Thanks to Paul Smith for a patch covering part of this change.
* #172: append has changed the default value of its partial kwarg from True
to False in order to be safer/more intuitive.
* #221: runs_once now memoizes the wrapped task's return value and returns
that value on subsequent invocations, instead of returning None. Thanks to Jacob
Kaplan-Moss and Travis Swicegood for catch + patch.
Feature additions
* Prerelease versions of Fabric (starting with the 1.0 prereleases) will now
print the Git SHA1 hash of the current checkout, if the user is working off of a
Git clone of the Fabric source code repository.
* Added path context manager for modifying commands? effective $PATH.
* Added convenience .succeeded attribute to the return values of
run/sudo/local which is simply the opposite of the .failed attribute. (This
addition has also been backported to Fabric's 0.9 series.)
* Refactored SSH disconnection code out of the main fab loop into
disconnect_all, allowing library users to avoid problems with non-fabfile Python
scripts hanging after execution finishes.
* #2: Added use_sudo kwarg to put to allow uploading of files to privileged
locations. Thanks to Erich Heine and IRC user npmap for suggestions and patches.
* #23: Added prefix context manager for easier management of persistent state
across commands.
* #27: Added environment variable (always_use_pty) and command-line flag
(--no-pty) for global control over the run/sudo pty argument.
* #28: Allow shell-style globbing in get. Thanks to Erich Heine and Max Arnold.
* #55: run, sudo and local now provide access to their standard error (stderr)
as an attribute on the return value, alongside e.g. .failed.
* #148: local now returns the same 'rich' string object as run/sudo do, so
that it is a string containing the command's stdout (if capture=True) or the
empty string (if capture=False) which exposes the .failed and .return_code
attributes, and so forth.
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #192: Added per-user/host password cache to assist in multi-connection
scenarios.
* #193: When requesting a remote pseudo-terminal, use the invoking terminal's
dimensions instead of going with the default.
* #217: get/put now accept file-like objects as well as local file paths for
their local_path arguments.
* #245: Added the lcd context manager for controlling local's current working
directory and put/get's local working directories.
* #274: put/get now have return values which may be iterated over to access
the paths of files uploaded remotely or downloaded locally, respectively. These
return values also allow access to .failed and .succeeded attributes, just like
run and friends. (In this case, .failed is actually a list itself containing any
paths which failed to transfer, which naturally acts as a boolean as well.)
Bugfixes
* N/A
Documentation updates
* API, tutorial and usage docs updated with the above new features.
* README now makes the Python 2.5+ requirement up front and explicit; some
folks were still assuming it would run on Python 2.4.
* Added a link to Python?s documentation for string interpolation in
upload_template's docstring.
Changes in version 0.9.5
The following changes were implemented in Fabric 0.9.5:
Bugfixes
* #264: Fix edge case in reboot by gracefully clearing connection cache.
* #268: Allow for @ symbols in usernames, which is valid on some systems.
Fabric's host-string parser now splits username and hostname at the last @
found instead of the first.
2011-03-08 22:29:34 +01:00
|
|
|
${PYSITELIB}/fabric/auth.py
|
|
|
|
${PYSITELIB}/fabric/auth.pyc
|
|
|
|
${PYSITELIB}/fabric/auth.pyo
|
Update fabric to 0.9.3
Pkgsrc changes:
- add depends to py-crypto
Upstream changes:
0.9.3
=====
Feature additions
* #255: Added stderr and succeeded attributes to local.
* #254: Backported the .stderr and .succeeded attributes on run/sudo return
values, from the Git master/pre-1.0 branch. Please see those functions? API
docs for details.
Bugfixes
* #228: We discovered that the pip + PyCrypto installation problem was limited
to Python 2.5 only, and have updated our setup.py accordingly.
* #230: Arbitrary or remainder commands (fab <opts> -- <run command here>) will
no longer blow up when invoked with no fabfile present. Thanks to IRC user
orkaa for the report.
* #242: Empty string values in task CLI args now parse correctly. Thanks to
Aaron Levy for the catch + patch.
Documentation updates
* #239: Fixed typo in execution usage docs. Thanks to Pradeep Gowda and Turicas
for the catch.
0.9.2
=====
Feature additions
* The reboot operation has been added, providing a way for Fabric to issue a
reboot command and then reconnect after the system has restarted.
* python setup.py test now runs Fabric?s test suite (provided you have all the
prerequisites from the requirements.txt installed). Thanks to Eric Holscher for
the patch.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files.) See Fabfile discovery.
* Added output lines informing the user of which tasks are being executed (e.g.
[myserver] Executing task 'foo'.)
* Added support for lazy (callable) role definition values in env.roledefs.
* Added contrib.django module with basic Django integration.
* env.local_user was added, providing easy and permanent access to the local
system username, even if an alternate remote username has been specified.
* #29: Added support for arbitrary command-line-driven anonymous tasks via
fab [options] -- [shell command]. See Arbitrary remote shell commands.
* #52: Full tracebacks during aborts are now displayed if the user has opted to
see debug-level output.
* #101: Added colors module with basic color output support. (#101 is still
open: we plan to leverage the new module in Fabric?s own output in the future.)
* #137: Commas used to separate per-task arguments may now be escaped with a
backslash. Thanks to Erich Heine for the patch.
* #144: hosts (and roles) will now expand a single, iterable argument instead of
requiring one to use e.g. @hosts(*iterable).
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #208: Users rolling their own shell completion or who otherwise find
themselves performing text manipulation on the output of --list may now use
--shortlist to get a plain, newline-separated list of task names.
Bugfixes
* The interactive ?what host to connect to?? prompt now correctly updates the
appropriate environment variables (hostname, username, port) based on user input.
* Fixed a bug where Fabric?s own internal fabfile would pre-empt the user?s
fabfile due to a PYTHONPATH order issue. User fabfiles are now always loaded at
the front of the PYTHONPATH during import.
* Disabled some DeprecationWarnings thrown by Paramiko when that library is
imported into Fabric under Python 2.6.
* #44, #63: Modified rsync_project to honor the SSH port and identity file
settings. Thanks to Mitch Matuson and Morgan Goose.
* #123: Removed Cygwin from the ?are we on Windows? test; now, only Python
installs whose sys.platform says 'win32' will use Windows-only code paths
(e.g. importing of pywin32).
Documentation updates
* Added a few new items to the FAQ.
* #173: Simple but rather embarrassing typo fix in README. Thanks to Ted Nyman
for the catch.
* #194: Added a note to the install docs about a possible edge case some
Windows 64-bit Python users may encounter.
* #216: Overhauled the process backgrounding FAQ to include additional
techniques and be more holistic.
Packaging updates
* #86, #158: Removed the bundled Paramiko 1.7.4 and updated the setup.py to
require Paramiko >=1.7.6. This lets us skip the known-buggy Paramiko 1.7.5 while
getting some much needed bugfixes in Paramiko 1.7.6.
2010-12-07 00:12:34 +01:00
|
|
|
${PYSITELIB}/fabric/colors.py
|
|
|
|
${PYSITELIB}/fabric/colors.pyc
|
|
|
|
${PYSITELIB}/fabric/colors.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/context_managers.py
|
|
|
|
${PYSITELIB}/fabric/context_managers.pyc
|
|
|
|
${PYSITELIB}/fabric/context_managers.pyo
|
|
|
|
${PYSITELIB}/fabric/contrib/__init__.py
|
|
|
|
${PYSITELIB}/fabric/contrib/__init__.pyc
|
|
|
|
${PYSITELIB}/fabric/contrib/__init__.pyo
|
|
|
|
${PYSITELIB}/fabric/contrib/console.py
|
|
|
|
${PYSITELIB}/fabric/contrib/console.pyc
|
|
|
|
${PYSITELIB}/fabric/contrib/console.pyo
|
Update fabric to 0.9.3
Pkgsrc changes:
- add depends to py-crypto
Upstream changes:
0.9.3
=====
Feature additions
* #255: Added stderr and succeeded attributes to local.
* #254: Backported the .stderr and .succeeded attributes on run/sudo return
values, from the Git master/pre-1.0 branch. Please see those functions? API
docs for details.
Bugfixes
* #228: We discovered that the pip + PyCrypto installation problem was limited
to Python 2.5 only, and have updated our setup.py accordingly.
* #230: Arbitrary or remainder commands (fab <opts> -- <run command here>) will
no longer blow up when invoked with no fabfile present. Thanks to IRC user
orkaa for the report.
* #242: Empty string values in task CLI args now parse correctly. Thanks to
Aaron Levy for the catch + patch.
Documentation updates
* #239: Fixed typo in execution usage docs. Thanks to Pradeep Gowda and Turicas
for the catch.
0.9.2
=====
Feature additions
* The reboot operation has been added, providing a way for Fabric to issue a
reboot command and then reconnect after the system has restarted.
* python setup.py test now runs Fabric?s test suite (provided you have all the
prerequisites from the requirements.txt installed). Thanks to Eric Holscher for
the patch.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files.) See Fabfile discovery.
* Added output lines informing the user of which tasks are being executed (e.g.
[myserver] Executing task 'foo'.)
* Added support for lazy (callable) role definition values in env.roledefs.
* Added contrib.django module with basic Django integration.
* env.local_user was added, providing easy and permanent access to the local
system username, even if an alternate remote username has been specified.
* #29: Added support for arbitrary command-line-driven anonymous tasks via
fab [options] -- [shell command]. See Arbitrary remote shell commands.
* #52: Full tracebacks during aborts are now displayed if the user has opted to
see debug-level output.
* #101: Added colors module with basic color output support. (#101 is still
open: we plan to leverage the new module in Fabric?s own output in the future.)
* #137: Commas used to separate per-task arguments may now be escaped with a
backslash. Thanks to Erich Heine for the patch.
* #144: hosts (and roles) will now expand a single, iterable argument instead of
requiring one to use e.g. @hosts(*iterable).
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #208: Users rolling their own shell completion or who otherwise find
themselves performing text manipulation on the output of --list may now use
--shortlist to get a plain, newline-separated list of task names.
Bugfixes
* The interactive ?what host to connect to?? prompt now correctly updates the
appropriate environment variables (hostname, username, port) based on user input.
* Fixed a bug where Fabric?s own internal fabfile would pre-empt the user?s
fabfile due to a PYTHONPATH order issue. User fabfiles are now always loaded at
the front of the PYTHONPATH during import.
* Disabled some DeprecationWarnings thrown by Paramiko when that library is
imported into Fabric under Python 2.6.
* #44, #63: Modified rsync_project to honor the SSH port and identity file
settings. Thanks to Mitch Matuson and Morgan Goose.
* #123: Removed Cygwin from the ?are we on Windows? test; now, only Python
installs whose sys.platform says 'win32' will use Windows-only code paths
(e.g. importing of pywin32).
Documentation updates
* Added a few new items to the FAQ.
* #173: Simple but rather embarrassing typo fix in README. Thanks to Ted Nyman
for the catch.
* #194: Added a note to the install docs about a possible edge case some
Windows 64-bit Python users may encounter.
* #216: Overhauled the process backgrounding FAQ to include additional
techniques and be more holistic.
Packaging updates
* #86, #158: Removed the bundled Paramiko 1.7.4 and updated the setup.py to
require Paramiko >=1.7.6. This lets us skip the known-buggy Paramiko 1.7.5 while
getting some much needed bugfixes in Paramiko 1.7.6.
2010-12-07 00:12:34 +01:00
|
|
|
${PYSITELIB}/fabric/contrib/django.py
|
|
|
|
${PYSITELIB}/fabric/contrib/django.pyc
|
|
|
|
${PYSITELIB}/fabric/contrib/django.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/contrib/files.py
|
|
|
|
${PYSITELIB}/fabric/contrib/files.pyc
|
|
|
|
${PYSITELIB}/fabric/contrib/files.pyo
|
|
|
|
${PYSITELIB}/fabric/contrib/project.py
|
|
|
|
${PYSITELIB}/fabric/contrib/project.pyc
|
|
|
|
${PYSITELIB}/fabric/contrib/project.pyo
|
|
|
|
${PYSITELIB}/fabric/decorators.py
|
|
|
|
${PYSITELIB}/fabric/decorators.pyc
|
|
|
|
${PYSITELIB}/fabric/decorators.pyo
|
Update sysutils/fabric to 1.5.1.
pkgsrc changes:
---------------
Switch back to security/py-paramiko, now that security/py-ssh has been merged
back into paramiko.
upstream changes:
-----------------
2012-11-15: released Fabric 1.5.1
[Bug] #776: Fixed serious-but-non-obvious bug in direct-tcpip driven gatewaying
(e.g. that triggered by -g or env.gateway.) Should work correctly now.
[Bug] #771: Sphinx autodoc helper unwrap_tasks didn't play nice with
@task(name=xxx) in some situations. This has been fixed.
2012-11-06: released Fabric 1.5.0
2012-11-06: released Fabric 1.4.4
[Feature] #38: (also #698) Implement both SSH-level and
ProxyCommand-based gatewaying for SSH traffic. (This is distinct from
tunneling non-SSH traffic over the SSH connection, which is #78 and not
implemented yet.)
Thanks in no particular order to Erwin Bolwidt, Oskari Saarenmaa,
Steven Noonan, Vladimir Lazarenko, Lincoln de Sousa, Valentino
Volonghi, Olle Lundberg and Github user @acrish for providing the
original patches to both Fabric and Paramiko.
[Feature] #684: (also #569) Update how task wraps task functions to
preserve additional metadata; this allows decorated functions to play
nice with Sphinx autodoc. Thanks to Jaka Hudoklin for catch & patch.
[Support] #103: (via #748) Long standing Sphinx autodoc issue requiring
error-prone duplication of function signatures in our API docs has been
fixed. Thanks to Alex Morega for the patch.
[Bug] #767: Fix (and add test for) regression re: having linewise
output automatically activate when parallelism is in effect. Thanks to
Alexander Fortin and Dustin McQuay for the bug reports.
[Bug] #736: Ensure context managers that build env vars play nice with
contextlib.nested by deferring env var reference to entry time, not
call time. Thanks to Matthew Tretter for catch & patch.
[Feature] #763: Add --initial-password-prompt to allow prefilling the
password cache at the start of a run. Great for sudo-powered parallel
runs.
[Feature] #665: (and #629) Update upload_template to have a more useful
return value, namely that of its internal put call. Thanks to Miquel
Torres for the catch & Rodrigue Alcazar for the patch.
[Feature] #578: Add name argument to task (docs) to allow overriding of
the default "function name is task name" behavior. Thanks to Daniel
Simmons for catch & patch.
[Feature] #761: Allow advanced users to parameterize fabric.main.main()
to force loading of specific fabfiles.
[Bug] #749: Gracefully work around calls to fabric.version on systems
lacking /bin/sh (which causes an OSError in subprocess.Popen calls.)
[Feature] #723: Add the group= argument to sudo. Thanks to Antti
Kaihola for the pull request.
[Feature] #725: Updated local to allow override of which local shell is
used. Thanks to Mustafa Khattab.
[Bug] #704: Fix up a bunch of Python 2.x style print statements to be
forwards compatible. Thanks to Francesco Del Degan for the patch.
[Feature] #491: (also [Feature] #385:) IPv6 host string support. Thanks
to Max Arnold for the patch.
[Feature] #699: Allow name attribute on file-like objects for get/put.
Thanks to Peter Lyons for the pull request.
[Bug] #711: get would fail when filenames had % in their path. Thanks
to John Begeman
[Bug] #702: require failed to test for "empty" values in the env keys
it checks (e.g. require('a-key-whose-value-is-an-empty-list') would
register a successful result instead of alerting that the value was in
fact empty. This has been fixed, thanks to Rich Schumacher.
[Bug] #718: isinstance(foo, Bar) is used in main instead of type(foo)
== Bar in order to fix some edge cases. Thanks to Mikhail Korobov.
[Bug] #693: Fixed edge case where abort driven failures within parallel
tasks could result in a top level exception (a KeyError) regarding
error handling. Thanks to Marcin Ku#mi#ski for the report.
[Support] #681: Fixed outdated docstring for runs_once which claimed it
would get run multiple times in parallel mode. That behavior was fixed
in an earlier release but the docs were not updated. Thanks to Jan
Brauer for the catch.
2012-11-28 18:48:45 +01:00
|
|
|
${PYSITELIB}/fabric/docs.py
|
|
|
|
${PYSITELIB}/fabric/docs.pyc
|
|
|
|
${PYSITELIB}/fabric/docs.pyo
|
2012-04-14 11:29:18 +02:00
|
|
|
${PYSITELIB}/fabric/exceptions.py
|
|
|
|
${PYSITELIB}/fabric/exceptions.pyc
|
|
|
|
${PYSITELIB}/fabric/exceptions.pyo
|
Update sysutils/fabric to 1.0.0
Pkgsrc changes:
- Confirm it's working with python27
Upstream changes:
Changes in version 1.0
This page lists all changes made to Fabric in its 1.0.0 release.
Highlights
* #7: run/sudo now allow full interactivity with the remote end. You can
interact with remote prompts and similar interfaces, making certain tasks much
easier, and freeing you from the need to find noninteractive solutions if you
don't want to. See Interaction with remote programs for more on these changes.
* put and get received many updates, including but not limited to: recursion,
globbing, inline sudo capability, and increased control over local file paths.
See the individual ticket line-items below for details. Erich Heine (sophacles
on IRC) played a large part in implementing and/or collecting these changes and
deserves much of the credit.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files). This allows for easier
organization of nontrivial fabfiles and paves the way for task namespacing in
the near future. See Fabfile discovery for details.
* #185: Mostly of interest to those contributing to Fabric itself, Fabric
now leverages Paramiko to provide a stub SSH and SFTP server for use during runs
of our test suite. This makes quick, configurable full-stack testing of Fabric
(and, to an extent, user fabfiles) possible.
Backwards-incompatible changes
The below changes are backwards incompatible and have the potential to break
your 0.9.x based fabfiles!
* contains and append previously had the filename argument in the second
position, whereas all other functions in the contrib.files module had filename
as the first argument. These two functions have been brought in line with the
rest of the module.
* sed now escapes single-quotes and parentheses in addition to forward
slashes, in its before and after kwargs. Related to, but not entirely contained
within, #159.
* The user and pty kwargs in sudo's signature have had their order swapped
around to more closely match run.
* As part of the changes made in #7, run and sudo have had the default value
of their pty kwargs changed from False to True. This, plus the addition of the
combine_stderr kwarg/env var, may result in significant behavioral changes in
remote programs which operate differently when attached to a tty.
* #61: put and get now honor the remote current-working-directory changes
applied by cd. Previously they would always treat relative remote paths as being
relative to the remote home directory.
* #79: get now allows increased control over local filenames when downloading
single or multiple files. This is backwards incompatible because the default
path/filename for downloaded files has changed. Thanks to Juha Mustonen, Erich
Heine and Max Arnold for brainstorming solutions.
* #88: local has changed the default value of its capture kwarg, from True
to False. This was changed in order to be more intuitive, at the cost of no
longer defaulting to the same rich return value as in run/sudo (which is still
available by specifying capture=True.)
* #121: put will no longer automatically attempt to mirror local file modes.
Instead, you?ll need to specify mirror_local_mode=True to get this behavior.
Thanks to Paul Smith for a patch covering part of this change.
* #172: append has changed the default value of its partial kwarg from True
to False in order to be safer/more intuitive.
* #221: runs_once now memoizes the wrapped task's return value and returns
that value on subsequent invocations, instead of returning None. Thanks to Jacob
Kaplan-Moss and Travis Swicegood for catch + patch.
Feature additions
* Prerelease versions of Fabric (starting with the 1.0 prereleases) will now
print the Git SHA1 hash of the current checkout, if the user is working off of a
Git clone of the Fabric source code repository.
* Added path context manager for modifying commands? effective $PATH.
* Added convenience .succeeded attribute to the return values of
run/sudo/local which is simply the opposite of the .failed attribute. (This
addition has also been backported to Fabric's 0.9 series.)
* Refactored SSH disconnection code out of the main fab loop into
disconnect_all, allowing library users to avoid problems with non-fabfile Python
scripts hanging after execution finishes.
* #2: Added use_sudo kwarg to put to allow uploading of files to privileged
locations. Thanks to Erich Heine and IRC user npmap for suggestions and patches.
* #23: Added prefix context manager for easier management of persistent state
across commands.
* #27: Added environment variable (always_use_pty) and command-line flag
(--no-pty) for global control over the run/sudo pty argument.
* #28: Allow shell-style globbing in get. Thanks to Erich Heine and Max Arnold.
* #55: run, sudo and local now provide access to their standard error (stderr)
as an attribute on the return value, alongside e.g. .failed.
* #148: local now returns the same 'rich' string object as run/sudo do, so
that it is a string containing the command's stdout (if capture=True) or the
empty string (if capture=False) which exposes the .failed and .return_code
attributes, and so forth.
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #192: Added per-user/host password cache to assist in multi-connection
scenarios.
* #193: When requesting a remote pseudo-terminal, use the invoking terminal's
dimensions instead of going with the default.
* #217: get/put now accept file-like objects as well as local file paths for
their local_path arguments.
* #245: Added the lcd context manager for controlling local's current working
directory and put/get's local working directories.
* #274: put/get now have return values which may be iterated over to access
the paths of files uploaded remotely or downloaded locally, respectively. These
return values also allow access to .failed and .succeeded attributes, just like
run and friends. (In this case, .failed is actually a list itself containing any
paths which failed to transfer, which naturally acts as a boolean as well.)
Bugfixes
* N/A
Documentation updates
* API, tutorial and usage docs updated with the above new features.
* README now makes the Python 2.5+ requirement up front and explicit; some
folks were still assuming it would run on Python 2.4.
* Added a link to Python?s documentation for string interpolation in
upload_template's docstring.
Changes in version 0.9.5
The following changes were implemented in Fabric 0.9.5:
Bugfixes
* #264: Fix edge case in reboot by gracefully clearing connection cache.
* #268: Allow for @ symbols in usernames, which is valid on some systems.
Fabric's host-string parser now splits username and hostname at the last @
found instead of the first.
2011-03-08 22:29:34 +01:00
|
|
|
${PYSITELIB}/fabric/io.py
|
|
|
|
${PYSITELIB}/fabric/io.pyc
|
|
|
|
${PYSITELIB}/fabric/io.pyo
|
2012-02-12 16:45:34 +01:00
|
|
|
${PYSITELIB}/fabric/job_queue.py
|
|
|
|
${PYSITELIB}/fabric/job_queue.pyc
|
|
|
|
${PYSITELIB}/fabric/job_queue.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/main.py
|
|
|
|
${PYSITELIB}/fabric/main.pyc
|
|
|
|
${PYSITELIB}/fabric/main.pyo
|
|
|
|
${PYSITELIB}/fabric/network.py
|
|
|
|
${PYSITELIB}/fabric/network.pyc
|
|
|
|
${PYSITELIB}/fabric/network.pyo
|
|
|
|
${PYSITELIB}/fabric/operations.py
|
|
|
|
${PYSITELIB}/fabric/operations.pyc
|
|
|
|
${PYSITELIB}/fabric/operations.pyo
|
Update sysutils/fabric to 1.0.0
Pkgsrc changes:
- Confirm it's working with python27
Upstream changes:
Changes in version 1.0
This page lists all changes made to Fabric in its 1.0.0 release.
Highlights
* #7: run/sudo now allow full interactivity with the remote end. You can
interact with remote prompts and similar interfaces, making certain tasks much
easier, and freeing you from the need to find noninteractive solutions if you
don't want to. See Interaction with remote programs for more on these changes.
* put and get received many updates, including but not limited to: recursion,
globbing, inline sudo capability, and increased control over local file paths.
See the individual ticket line-items below for details. Erich Heine (sophacles
on IRC) played a large part in implementing and/or collecting these changes and
deserves much of the credit.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files). This allows for easier
organization of nontrivial fabfiles and paves the way for task namespacing in
the near future. See Fabfile discovery for details.
* #185: Mostly of interest to those contributing to Fabric itself, Fabric
now leverages Paramiko to provide a stub SSH and SFTP server for use during runs
of our test suite. This makes quick, configurable full-stack testing of Fabric
(and, to an extent, user fabfiles) possible.
Backwards-incompatible changes
The below changes are backwards incompatible and have the potential to break
your 0.9.x based fabfiles!
* contains and append previously had the filename argument in the second
position, whereas all other functions in the contrib.files module had filename
as the first argument. These two functions have been brought in line with the
rest of the module.
* sed now escapes single-quotes and parentheses in addition to forward
slashes, in its before and after kwargs. Related to, but not entirely contained
within, #159.
* The user and pty kwargs in sudo's signature have had their order swapped
around to more closely match run.
* As part of the changes made in #7, run and sudo have had the default value
of their pty kwargs changed from False to True. This, plus the addition of the
combine_stderr kwarg/env var, may result in significant behavioral changes in
remote programs which operate differently when attached to a tty.
* #61: put and get now honor the remote current-working-directory changes
applied by cd. Previously they would always treat relative remote paths as being
relative to the remote home directory.
* #79: get now allows increased control over local filenames when downloading
single or multiple files. This is backwards incompatible because the default
path/filename for downloaded files has changed. Thanks to Juha Mustonen, Erich
Heine and Max Arnold for brainstorming solutions.
* #88: local has changed the default value of its capture kwarg, from True
to False. This was changed in order to be more intuitive, at the cost of no
longer defaulting to the same rich return value as in run/sudo (which is still
available by specifying capture=True.)
* #121: put will no longer automatically attempt to mirror local file modes.
Instead, you?ll need to specify mirror_local_mode=True to get this behavior.
Thanks to Paul Smith for a patch covering part of this change.
* #172: append has changed the default value of its partial kwarg from True
to False in order to be safer/more intuitive.
* #221: runs_once now memoizes the wrapped task's return value and returns
that value on subsequent invocations, instead of returning None. Thanks to Jacob
Kaplan-Moss and Travis Swicegood for catch + patch.
Feature additions
* Prerelease versions of Fabric (starting with the 1.0 prereleases) will now
print the Git SHA1 hash of the current checkout, if the user is working off of a
Git clone of the Fabric source code repository.
* Added path context manager for modifying commands? effective $PATH.
* Added convenience .succeeded attribute to the return values of
run/sudo/local which is simply the opposite of the .failed attribute. (This
addition has also been backported to Fabric's 0.9 series.)
* Refactored SSH disconnection code out of the main fab loop into
disconnect_all, allowing library users to avoid problems with non-fabfile Python
scripts hanging after execution finishes.
* #2: Added use_sudo kwarg to put to allow uploading of files to privileged
locations. Thanks to Erich Heine and IRC user npmap for suggestions and patches.
* #23: Added prefix context manager for easier management of persistent state
across commands.
* #27: Added environment variable (always_use_pty) and command-line flag
(--no-pty) for global control over the run/sudo pty argument.
* #28: Allow shell-style globbing in get. Thanks to Erich Heine and Max Arnold.
* #55: run, sudo and local now provide access to their standard error (stderr)
as an attribute on the return value, alongside e.g. .failed.
* #148: local now returns the same 'rich' string object as run/sudo do, so
that it is a string containing the command's stdout (if capture=True) or the
empty string (if capture=False) which exposes the .failed and .return_code
attributes, and so forth.
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #192: Added per-user/host password cache to assist in multi-connection
scenarios.
* #193: When requesting a remote pseudo-terminal, use the invoking terminal's
dimensions instead of going with the default.
* #217: get/put now accept file-like objects as well as local file paths for
their local_path arguments.
* #245: Added the lcd context manager for controlling local's current working
directory and put/get's local working directories.
* #274: put/get now have return values which may be iterated over to access
the paths of files uploaded remotely or downloaded locally, respectively. These
return values also allow access to .failed and .succeeded attributes, just like
run and friends. (In this case, .failed is actually a list itself containing any
paths which failed to transfer, which naturally acts as a boolean as well.)
Bugfixes
* N/A
Documentation updates
* API, tutorial and usage docs updated with the above new features.
* README now makes the Python 2.5+ requirement up front and explicit; some
folks were still assuming it would run on Python 2.4.
* Added a link to Python?s documentation for string interpolation in
upload_template's docstring.
Changes in version 0.9.5
The following changes were implemented in Fabric 0.9.5:
Bugfixes
* #264: Fix edge case in reboot by gracefully clearing connection cache.
* #268: Allow for @ symbols in usernames, which is valid on some systems.
Fabric's host-string parser now splits username and hostname at the last @
found instead of the first.
2011-03-08 22:29:34 +01:00
|
|
|
${PYSITELIB}/fabric/sftp.py
|
|
|
|
${PYSITELIB}/fabric/sftp.pyc
|
|
|
|
${PYSITELIB}/fabric/sftp.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/state.py
|
|
|
|
${PYSITELIB}/fabric/state.pyc
|
|
|
|
${PYSITELIB}/fabric/state.pyo
|
2012-02-12 16:45:34 +01:00
|
|
|
${PYSITELIB}/fabric/task_utils.py
|
|
|
|
${PYSITELIB}/fabric/task_utils.pyc
|
|
|
|
${PYSITELIB}/fabric/task_utils.pyo
|
2011-07-12 22:56:21 +02:00
|
|
|
${PYSITELIB}/fabric/tasks.py
|
|
|
|
${PYSITELIB}/fabric/tasks.pyc
|
|
|
|
${PYSITELIB}/fabric/tasks.pyo
|
Update sysutils/fabric to 1.0.0
Pkgsrc changes:
- Confirm it's working with python27
Upstream changes:
Changes in version 1.0
This page lists all changes made to Fabric in its 1.0.0 release.
Highlights
* #7: run/sudo now allow full interactivity with the remote end. You can
interact with remote prompts and similar interfaces, making certain tasks much
easier, and freeing you from the need to find noninteractive solutions if you
don't want to. See Interaction with remote programs for more on these changes.
* put and get received many updates, including but not limited to: recursion,
globbing, inline sudo capability, and increased control over local file paths.
See the individual ticket line-items below for details. Erich Heine (sophacles
on IRC) played a large part in implementing and/or collecting these changes and
deserves much of the credit.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files). This allows for easier
organization of nontrivial fabfiles and paves the way for task namespacing in
the near future. See Fabfile discovery for details.
* #185: Mostly of interest to those contributing to Fabric itself, Fabric
now leverages Paramiko to provide a stub SSH and SFTP server for use during runs
of our test suite. This makes quick, configurable full-stack testing of Fabric
(and, to an extent, user fabfiles) possible.
Backwards-incompatible changes
The below changes are backwards incompatible and have the potential to break
your 0.9.x based fabfiles!
* contains and append previously had the filename argument in the second
position, whereas all other functions in the contrib.files module had filename
as the first argument. These two functions have been brought in line with the
rest of the module.
* sed now escapes single-quotes and parentheses in addition to forward
slashes, in its before and after kwargs. Related to, but not entirely contained
within, #159.
* The user and pty kwargs in sudo's signature have had their order swapped
around to more closely match run.
* As part of the changes made in #7, run and sudo have had the default value
of their pty kwargs changed from False to True. This, plus the addition of the
combine_stderr kwarg/env var, may result in significant behavioral changes in
remote programs which operate differently when attached to a tty.
* #61: put and get now honor the remote current-working-directory changes
applied by cd. Previously they would always treat relative remote paths as being
relative to the remote home directory.
* #79: get now allows increased control over local filenames when downloading
single or multiple files. This is backwards incompatible because the default
path/filename for downloaded files has changed. Thanks to Juha Mustonen, Erich
Heine and Max Arnold for brainstorming solutions.
* #88: local has changed the default value of its capture kwarg, from True
to False. This was changed in order to be more intuitive, at the cost of no
longer defaulting to the same rich return value as in run/sudo (which is still
available by specifying capture=True.)
* #121: put will no longer automatically attempt to mirror local file modes.
Instead, you?ll need to specify mirror_local_mode=True to get this behavior.
Thanks to Paul Smith for a patch covering part of this change.
* #172: append has changed the default value of its partial kwarg from True
to False in order to be safer/more intuitive.
* #221: runs_once now memoizes the wrapped task's return value and returns
that value on subsequent invocations, instead of returning None. Thanks to Jacob
Kaplan-Moss and Travis Swicegood for catch + patch.
Feature additions
* Prerelease versions of Fabric (starting with the 1.0 prereleases) will now
print the Git SHA1 hash of the current checkout, if the user is working off of a
Git clone of the Fabric source code repository.
* Added path context manager for modifying commands? effective $PATH.
* Added convenience .succeeded attribute to the return values of
run/sudo/local which is simply the opposite of the .failed attribute. (This
addition has also been backported to Fabric's 0.9 series.)
* Refactored SSH disconnection code out of the main fab loop into
disconnect_all, allowing library users to avoid problems with non-fabfile Python
scripts hanging after execution finishes.
* #2: Added use_sudo kwarg to put to allow uploading of files to privileged
locations. Thanks to Erich Heine and IRC user npmap for suggestions and patches.
* #23: Added prefix context manager for easier management of persistent state
across commands.
* #27: Added environment variable (always_use_pty) and command-line flag
(--no-pty) for global control over the run/sudo pty argument.
* #28: Allow shell-style globbing in get. Thanks to Erich Heine and Max Arnold.
* #55: run, sudo and local now provide access to their standard error (stderr)
as an attribute on the return value, alongside e.g. .failed.
* #148: local now returns the same 'rich' string object as run/sudo do, so
that it is a string containing the command's stdout (if capture=True) or the
empty string (if capture=False) which exposes the .failed and .return_code
attributes, and so forth.
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #192: Added per-user/host password cache to assist in multi-connection
scenarios.
* #193: When requesting a remote pseudo-terminal, use the invoking terminal's
dimensions instead of going with the default.
* #217: get/put now accept file-like objects as well as local file paths for
their local_path arguments.
* #245: Added the lcd context manager for controlling local's current working
directory and put/get's local working directories.
* #274: put/get now have return values which may be iterated over to access
the paths of files uploaded remotely or downloaded locally, respectively. These
return values also allow access to .failed and .succeeded attributes, just like
run and friends. (In this case, .failed is actually a list itself containing any
paths which failed to transfer, which naturally acts as a boolean as well.)
Bugfixes
* N/A
Documentation updates
* API, tutorial and usage docs updated with the above new features.
* README now makes the Python 2.5+ requirement up front and explicit; some
folks were still assuming it would run on Python 2.4.
* Added a link to Python?s documentation for string interpolation in
upload_template's docstring.
Changes in version 0.9.5
The following changes were implemented in Fabric 0.9.5:
Bugfixes
* #264: Fix edge case in reboot by gracefully clearing connection cache.
* #268: Allow for @ symbols in usernames, which is valid on some systems.
Fabric's host-string parser now splits username and hostname at the last @
found instead of the first.
2011-03-08 22:29:34 +01:00
|
|
|
${PYSITELIB}/fabric/thread_handling.py
|
|
|
|
${PYSITELIB}/fabric/thread_handling.pyc
|
|
|
|
${PYSITELIB}/fabric/thread_handling.pyo
|
2010-05-26 20:26:20 +02:00
|
|
|
${PYSITELIB}/fabric/utils.py
|
|
|
|
${PYSITELIB}/fabric/utils.pyc
|
|
|
|
${PYSITELIB}/fabric/utils.pyo
|
|
|
|
${PYSITELIB}/fabric/version.py
|
|
|
|
${PYSITELIB}/fabric/version.pyc
|
|
|
|
${PYSITELIB}/fabric/version.pyo
|
|
|
|
man/man1/fab.1
|
|
|
|
share/doc/fabric/api/contrib/console.rst
|
Update fabric to 0.9.3
Pkgsrc changes:
- add depends to py-crypto
Upstream changes:
0.9.3
=====
Feature additions
* #255: Added stderr and succeeded attributes to local.
* #254: Backported the .stderr and .succeeded attributes on run/sudo return
values, from the Git master/pre-1.0 branch. Please see those functions? API
docs for details.
Bugfixes
* #228: We discovered that the pip + PyCrypto installation problem was limited
to Python 2.5 only, and have updated our setup.py accordingly.
* #230: Arbitrary or remainder commands (fab <opts> -- <run command here>) will
no longer blow up when invoked with no fabfile present. Thanks to IRC user
orkaa for the report.
* #242: Empty string values in task CLI args now parse correctly. Thanks to
Aaron Levy for the catch + patch.
Documentation updates
* #239: Fixed typo in execution usage docs. Thanks to Pradeep Gowda and Turicas
for the catch.
0.9.2
=====
Feature additions
* The reboot operation has been added, providing a way for Fabric to issue a
reboot command and then reconnect after the system has restarted.
* python setup.py test now runs Fabric?s test suite (provided you have all the
prerequisites from the requirements.txt installed). Thanks to Eric Holscher for
the patch.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files.) See Fabfile discovery.
* Added output lines informing the user of which tasks are being executed (e.g.
[myserver] Executing task 'foo'.)
* Added support for lazy (callable) role definition values in env.roledefs.
* Added contrib.django module with basic Django integration.
* env.local_user was added, providing easy and permanent access to the local
system username, even if an alternate remote username has been specified.
* #29: Added support for arbitrary command-line-driven anonymous tasks via
fab [options] -- [shell command]. See Arbitrary remote shell commands.
* #52: Full tracebacks during aborts are now displayed if the user has opted to
see debug-level output.
* #101: Added colors module with basic color output support. (#101 is still
open: we plan to leverage the new module in Fabric?s own output in the future.)
* #137: Commas used to separate per-task arguments may now be escaped with a
backslash. Thanks to Erich Heine for the patch.
* #144: hosts (and roles) will now expand a single, iterable argument instead of
requiring one to use e.g. @hosts(*iterable).
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #208: Users rolling their own shell completion or who otherwise find
themselves performing text manipulation on the output of --list may now use
--shortlist to get a plain, newline-separated list of task names.
Bugfixes
* The interactive ?what host to connect to?? prompt now correctly updates the
appropriate environment variables (hostname, username, port) based on user input.
* Fixed a bug where Fabric?s own internal fabfile would pre-empt the user?s
fabfile due to a PYTHONPATH order issue. User fabfiles are now always loaded at
the front of the PYTHONPATH during import.
* Disabled some DeprecationWarnings thrown by Paramiko when that library is
imported into Fabric under Python 2.6.
* #44, #63: Modified rsync_project to honor the SSH port and identity file
settings. Thanks to Mitch Matuson and Morgan Goose.
* #123: Removed Cygwin from the ?are we on Windows? test; now, only Python
installs whose sys.platform says 'win32' will use Windows-only code paths
(e.g. importing of pywin32).
Documentation updates
* Added a few new items to the FAQ.
* #173: Simple but rather embarrassing typo fix in README. Thanks to Ted Nyman
for the catch.
* #194: Added a note to the install docs about a possible edge case some
Windows 64-bit Python users may encounter.
* #216: Overhauled the process backgrounding FAQ to include additional
techniques and be more holistic.
Packaging updates
* #86, #158: Removed the bundled Paramiko 1.7.4 and updated the setup.py to
require Paramiko >=1.7.6. This lets us skip the known-buggy Paramiko 1.7.5 while
getting some much needed bugfixes in Paramiko 1.7.6.
2010-12-07 00:12:34 +01:00
|
|
|
share/doc/fabric/api/contrib/django.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/api/contrib/files.rst
|
|
|
|
share/doc/fabric/api/contrib/project.rst
|
Update fabric to 0.9.3
Pkgsrc changes:
- add depends to py-crypto
Upstream changes:
0.9.3
=====
Feature additions
* #255: Added stderr and succeeded attributes to local.
* #254: Backported the .stderr and .succeeded attributes on run/sudo return
values, from the Git master/pre-1.0 branch. Please see those functions? API
docs for details.
Bugfixes
* #228: We discovered that the pip + PyCrypto installation problem was limited
to Python 2.5 only, and have updated our setup.py accordingly.
* #230: Arbitrary or remainder commands (fab <opts> -- <run command here>) will
no longer blow up when invoked with no fabfile present. Thanks to IRC user
orkaa for the report.
* #242: Empty string values in task CLI args now parse correctly. Thanks to
Aaron Levy for the catch + patch.
Documentation updates
* #239: Fixed typo in execution usage docs. Thanks to Pradeep Gowda and Turicas
for the catch.
0.9.2
=====
Feature additions
* The reboot operation has been added, providing a way for Fabric to issue a
reboot command and then reconnect after the system has restarted.
* python setup.py test now runs Fabric?s test suite (provided you have all the
prerequisites from the requirements.txt installed). Thanks to Eric Holscher for
the patch.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files.) See Fabfile discovery.
* Added output lines informing the user of which tasks are being executed (e.g.
[myserver] Executing task 'foo'.)
* Added support for lazy (callable) role definition values in env.roledefs.
* Added contrib.django module with basic Django integration.
* env.local_user was added, providing easy and permanent access to the local
system username, even if an alternate remote username has been specified.
* #29: Added support for arbitrary command-line-driven anonymous tasks via
fab [options] -- [shell command]. See Arbitrary remote shell commands.
* #52: Full tracebacks during aborts are now displayed if the user has opted to
see debug-level output.
* #101: Added colors module with basic color output support. (#101 is still
open: we plan to leverage the new module in Fabric?s own output in the future.)
* #137: Commas used to separate per-task arguments may now be escaped with a
backslash. Thanks to Erich Heine for the patch.
* #144: hosts (and roles) will now expand a single, iterable argument instead of
requiring one to use e.g. @hosts(*iterable).
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #208: Users rolling their own shell completion or who otherwise find
themselves performing text manipulation on the output of --list may now use
--shortlist to get a plain, newline-separated list of task names.
Bugfixes
* The interactive ?what host to connect to?? prompt now correctly updates the
appropriate environment variables (hostname, username, port) based on user input.
* Fixed a bug where Fabric?s own internal fabfile would pre-empt the user?s
fabfile due to a PYTHONPATH order issue. User fabfiles are now always loaded at
the front of the PYTHONPATH during import.
* Disabled some DeprecationWarnings thrown by Paramiko when that library is
imported into Fabric under Python 2.6.
* #44, #63: Modified rsync_project to honor the SSH port and identity file
settings. Thanks to Mitch Matuson and Morgan Goose.
* #123: Removed Cygwin from the ?are we on Windows? test; now, only Python
installs whose sys.platform says 'win32' will use Windows-only code paths
(e.g. importing of pywin32).
Documentation updates
* Added a few new items to the FAQ.
* #173: Simple but rather embarrassing typo fix in README. Thanks to Ted Nyman
for the catch.
* #194: Added a note to the install docs about a possible edge case some
Windows 64-bit Python users may encounter.
* #216: Overhauled the process backgrounding FAQ to include additional
techniques and be more holistic.
Packaging updates
* #86, #158: Removed the bundled Paramiko 1.7.4 and updated the setup.py to
require Paramiko >=1.7.6. This lets us skip the known-buggy Paramiko 1.7.5 while
getting some much needed bugfixes in Paramiko 1.7.6.
2010-12-07 00:12:34 +01:00
|
|
|
share/doc/fabric/api/core/colors.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/api/core/context_managers.rst
|
|
|
|
share/doc/fabric/api/core/decorators.rst
|
Update sysutils/fabric to 1.5.1.
pkgsrc changes:
---------------
Switch back to security/py-paramiko, now that security/py-ssh has been merged
back into paramiko.
upstream changes:
-----------------
2012-11-15: released Fabric 1.5.1
[Bug] #776: Fixed serious-but-non-obvious bug in direct-tcpip driven gatewaying
(e.g. that triggered by -g or env.gateway.) Should work correctly now.
[Bug] #771: Sphinx autodoc helper unwrap_tasks didn't play nice with
@task(name=xxx) in some situations. This has been fixed.
2012-11-06: released Fabric 1.5.0
2012-11-06: released Fabric 1.4.4
[Feature] #38: (also #698) Implement both SSH-level and
ProxyCommand-based gatewaying for SSH traffic. (This is distinct from
tunneling non-SSH traffic over the SSH connection, which is #78 and not
implemented yet.)
Thanks in no particular order to Erwin Bolwidt, Oskari Saarenmaa,
Steven Noonan, Vladimir Lazarenko, Lincoln de Sousa, Valentino
Volonghi, Olle Lundberg and Github user @acrish for providing the
original patches to both Fabric and Paramiko.
[Feature] #684: (also #569) Update how task wraps task functions to
preserve additional metadata; this allows decorated functions to play
nice with Sphinx autodoc. Thanks to Jaka Hudoklin for catch & patch.
[Support] #103: (via #748) Long standing Sphinx autodoc issue requiring
error-prone duplication of function signatures in our API docs has been
fixed. Thanks to Alex Morega for the patch.
[Bug] #767: Fix (and add test for) regression re: having linewise
output automatically activate when parallelism is in effect. Thanks to
Alexander Fortin and Dustin McQuay for the bug reports.
[Bug] #736: Ensure context managers that build env vars play nice with
contextlib.nested by deferring env var reference to entry time, not
call time. Thanks to Matthew Tretter for catch & patch.
[Feature] #763: Add --initial-password-prompt to allow prefilling the
password cache at the start of a run. Great for sudo-powered parallel
runs.
[Feature] #665: (and #629) Update upload_template to have a more useful
return value, namely that of its internal put call. Thanks to Miquel
Torres for the catch & Rodrigue Alcazar for the patch.
[Feature] #578: Add name argument to task (docs) to allow overriding of
the default "function name is task name" behavior. Thanks to Daniel
Simmons for catch & patch.
[Feature] #761: Allow advanced users to parameterize fabric.main.main()
to force loading of specific fabfiles.
[Bug] #749: Gracefully work around calls to fabric.version on systems
lacking /bin/sh (which causes an OSError in subprocess.Popen calls.)
[Feature] #723: Add the group= argument to sudo. Thanks to Antti
Kaihola for the pull request.
[Feature] #725: Updated local to allow override of which local shell is
used. Thanks to Mustafa Khattab.
[Bug] #704: Fix up a bunch of Python 2.x style print statements to be
forwards compatible. Thanks to Francesco Del Degan for the patch.
[Feature] #491: (also [Feature] #385:) IPv6 host string support. Thanks
to Max Arnold for the patch.
[Feature] #699: Allow name attribute on file-like objects for get/put.
Thanks to Peter Lyons for the pull request.
[Bug] #711: get would fail when filenames had % in their path. Thanks
to John Begeman
[Bug] #702: require failed to test for "empty" values in the env keys
it checks (e.g. require('a-key-whose-value-is-an-empty-list') would
register a successful result instead of alerting that the value was in
fact empty. This has been fixed, thanks to Rich Schumacher.
[Bug] #718: isinstance(foo, Bar) is used in main instead of type(foo)
== Bar in order to fix some edge cases. Thanks to Mikhail Korobov.
[Bug] #693: Fixed edge case where abort driven failures within parallel
tasks could result in a top level exception (a KeyError) regarding
error handling. Thanks to Marcin Ku#mi#ski for the report.
[Support] #681: Fixed outdated docstring for runs_once which claimed it
would get run multiple times in parallel mode. That behavior was fixed
in an earlier release but the docs were not updated. Thanks to Jan
Brauer for the catch.
2012-11-28 18:48:45 +01:00
|
|
|
share/doc/fabric/api/core/docs.rst
|
2011-02-24 22:43:45 +01:00
|
|
|
share/doc/fabric/api/core/network.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/api/core/operations.rst
|
2011-07-12 22:56:21 +02:00
|
|
|
share/doc/fabric/api/core/tasks.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/api/core/utils.rst
|
2011-08-08 23:04:26 +02:00
|
|
|
share/doc/fabric/changelog.rst
|
2014-06-12 02:53:05 +02:00
|
|
|
share/doc/fabric/contact.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/development.rst
|
2010-06-28 20:45:21 +02:00
|
|
|
share/doc/fabric/faq.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/index.rst
|
2014-06-12 02:53:05 +02:00
|
|
|
share/doc/fabric/installing.rst
|
2012-02-12 16:45:34 +01:00
|
|
|
share/doc/fabric/roadmap.rst
|
2015-08-12 05:26:47 +02:00
|
|
|
share/doc/fabric/running_tests.rst
|
2013-10-21 20:09:30 +02:00
|
|
|
share/doc/fabric/troubleshooting.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/tutorial.rst
|
|
|
|
share/doc/fabric/usage/env.rst
|
|
|
|
share/doc/fabric/usage/execution.rst
|
|
|
|
share/doc/fabric/usage/fab.rst
|
|
|
|
share/doc/fabric/usage/fabfiles.rst
|
Update sysutils/fabric to 1.0.0
Pkgsrc changes:
- Confirm it's working with python27
Upstream changes:
Changes in version 1.0
This page lists all changes made to Fabric in its 1.0.0 release.
Highlights
* #7: run/sudo now allow full interactivity with the remote end. You can
interact with remote prompts and similar interfaces, making certain tasks much
easier, and freeing you from the need to find noninteractive solutions if you
don't want to. See Interaction with remote programs for more on these changes.
* put and get received many updates, including but not limited to: recursion,
globbing, inline sudo capability, and increased control over local file paths.
See the individual ticket line-items below for details. Erich Heine (sophacles
on IRC) played a large part in implementing and/or collecting these changes and
deserves much of the credit.
* Added functionality for loading fabfiles which are Python packages
(directories) instead of just modules (single files). This allows for easier
organization of nontrivial fabfiles and paves the way for task namespacing in
the near future. See Fabfile discovery for details.
* #185: Mostly of interest to those contributing to Fabric itself, Fabric
now leverages Paramiko to provide a stub SSH and SFTP server for use during runs
of our test suite. This makes quick, configurable full-stack testing of Fabric
(and, to an extent, user fabfiles) possible.
Backwards-incompatible changes
The below changes are backwards incompatible and have the potential to break
your 0.9.x based fabfiles!
* contains and append previously had the filename argument in the second
position, whereas all other functions in the contrib.files module had filename
as the first argument. These two functions have been brought in line with the
rest of the module.
* sed now escapes single-quotes and parentheses in addition to forward
slashes, in its before and after kwargs. Related to, but not entirely contained
within, #159.
* The user and pty kwargs in sudo's signature have had their order swapped
around to more closely match run.
* As part of the changes made in #7, run and sudo have had the default value
of their pty kwargs changed from False to True. This, plus the addition of the
combine_stderr kwarg/env var, may result in significant behavioral changes in
remote programs which operate differently when attached to a tty.
* #61: put and get now honor the remote current-working-directory changes
applied by cd. Previously they would always treat relative remote paths as being
relative to the remote home directory.
* #79: get now allows increased control over local filenames when downloading
single or multiple files. This is backwards incompatible because the default
path/filename for downloaded files has changed. Thanks to Juha Mustonen, Erich
Heine and Max Arnold for brainstorming solutions.
* #88: local has changed the default value of its capture kwarg, from True
to False. This was changed in order to be more intuitive, at the cost of no
longer defaulting to the same rich return value as in run/sudo (which is still
available by specifying capture=True.)
* #121: put will no longer automatically attempt to mirror local file modes.
Instead, you?ll need to specify mirror_local_mode=True to get this behavior.
Thanks to Paul Smith for a patch covering part of this change.
* #172: append has changed the default value of its partial kwarg from True
to False in order to be safer/more intuitive.
* #221: runs_once now memoizes the wrapped task's return value and returns
that value on subsequent invocations, instead of returning None. Thanks to Jacob
Kaplan-Moss and Travis Swicegood for catch + patch.
Feature additions
* Prerelease versions of Fabric (starting with the 1.0 prereleases) will now
print the Git SHA1 hash of the current checkout, if the user is working off of a
Git clone of the Fabric source code repository.
* Added path context manager for modifying commands? effective $PATH.
* Added convenience .succeeded attribute to the return values of
run/sudo/local which is simply the opposite of the .failed attribute. (This
addition has also been backported to Fabric's 0.9 series.)
* Refactored SSH disconnection code out of the main fab loop into
disconnect_all, allowing library users to avoid problems with non-fabfile Python
scripts hanging after execution finishes.
* #2: Added use_sudo kwarg to put to allow uploading of files to privileged
locations. Thanks to Erich Heine and IRC user npmap for suggestions and patches.
* #23: Added prefix context manager for easier management of persistent state
across commands.
* #27: Added environment variable (always_use_pty) and command-line flag
(--no-pty) for global control over the run/sudo pty argument.
* #28: Allow shell-style globbing in get. Thanks to Erich Heine and Max Arnold.
* #55: run, sudo and local now provide access to their standard error (stderr)
as an attribute on the return value, alongside e.g. .failed.
* #148: local now returns the same 'rich' string object as run/sudo do, so
that it is a string containing the command's stdout (if capture=True) or the
empty string (if capture=False) which exposes the .failed and .return_code
attributes, and so forth.
* #151: Added a puts utility function, which allows greater control over
fabfile-generated (as opposed to Fabric-generated) output. Also added fastprint,
an alias to puts allowing for convenient unbuffered, non-newline-terminated
printing.
* #192: Added per-user/host password cache to assist in multi-connection
scenarios.
* #193: When requesting a remote pseudo-terminal, use the invoking terminal's
dimensions instead of going with the default.
* #217: get/put now accept file-like objects as well as local file paths for
their local_path arguments.
* #245: Added the lcd context manager for controlling local's current working
directory and put/get's local working directories.
* #274: put/get now have return values which may be iterated over to access
the paths of files uploaded remotely or downloaded locally, respectively. These
return values also allow access to .failed and .succeeded attributes, just like
run and friends. (In this case, .failed is actually a list itself containing any
paths which failed to transfer, which naturally acts as a boolean as well.)
Bugfixes
* N/A
Documentation updates
* API, tutorial and usage docs updated with the above new features.
* README now makes the Python 2.5+ requirement up front and explicit; some
folks were still assuming it would run on Python 2.4.
* Added a link to Python?s documentation for string interpolation in
upload_template's docstring.
Changes in version 0.9.5
The following changes were implemented in Fabric 0.9.5:
Bugfixes
* #264: Fix edge case in reboot by gracefully clearing connection cache.
* #268: Allow for @ symbols in usernames, which is valid on some systems.
Fabric's host-string parser now splits username and hostname at the last @
found instead of the first.
2011-03-08 22:29:34 +01:00
|
|
|
share/doc/fabric/usage/interactivity.rst
|
2011-02-24 22:43:45 +01:00
|
|
|
share/doc/fabric/usage/library.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/usage/output_controls.rst
|
2012-02-12 16:45:34 +01:00
|
|
|
share/doc/fabric/usage/parallel.rst
|
2010-05-26 20:26:20 +02:00
|
|
|
share/doc/fabric/usage/ssh.rst
|
2011-07-12 22:56:21 +02:00
|
|
|
share/doc/fabric/usage/tasks.rst
|