Mercurial > piecrust2
diff piecrust/publishing/rsync.py @ 758:6abb436fea5b
publish: Make publisher more powerful and better exposed on the command line.
* Make the `chef publish` command have one sub-command per publish target.
* Add custom argument parsing per publisher to have strong extra arguments
available per publish target.
* Make publish targets a first class citizen of the `PieCrust` app class.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 25 Jun 2016 17:03:29 -0700 |
parents | b45fb2137a07 |
children | f6a13dba38d6 |
line wrap: on
line diff
--- a/piecrust/publishing/rsync.py Sat Jun 25 17:01:08 2016 -0700 +++ b/piecrust/publishing/rsync.py Sat Jun 25 17:03:29 2016 -0700 @@ -8,7 +8,7 @@ def _getCommandArgs(self, ctx): if self.has_url_config: orig = ctx.bake_out_dir - dest = self.parsed_url.netloc + self.parsed_url.path + dest = self.config.netloc + self.config.path else: orig = self.getConfigValue('source', ctx.bake_our_dir) dest = self.getConfigValue('destination')