TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ShutIt – A Python-based shell automation framework

145 点作者 zwischenzug将近 8 年前

6 条评论

zwischenzug将近 8 年前
Source is here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ianmiell&#x2F;shutit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ianmiell&#x2F;shutit</a><p>More background here:<p><a href="https:&#x2F;&#x2F;ianmiell.github.io&#x2F;shutit&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ianmiell.github.io&#x2F;shutit&#x2F;</a><p>This is used, for example, to automate kubernetes cluster tests for Chef scripts for OpenShift:<p>Chef scripts:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;IshentRas&#x2F;cookbook-openshift3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;IshentRas&#x2F;cookbook-openshift3</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;ianmiell&#x2F;shutit-openshift-cluster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ianmiell&#x2F;shutit-openshift-cluster</a><p><a href="https:&#x2F;&#x2F;zwischenzugs.wordpress.com&#x2F;2017&#x2F;03&#x2F;04&#x2F;a-complete-openshift-cluster-on-vagrant-step-by-step&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zwischenzugs.wordpress.com&#x2F;2017&#x2F;03&#x2F;04&#x2F;a-complete-ope...</a>
评论 #14527215 未加载
ivan_ah将近 8 年前
Seems like another version of `Fabric`, though the expect functionality is nice. After investing so much in learning the quirks and specifics of the fab command, I&#x27;d need a very compelling reason to switch.
评论 #14527435 未加载
评论 #14527399 未加载
评论 #14528646 未加载
dvfjsdhgfv将近 8 年前
Suggestion to the author: try to use portalocker [1] so that the module can also work in Windows. Currently it doesn&#x27;t because the code uses the fcntl module that is *nix-only. [1] <a href="https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;portalocker" rel="nofollow">https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;portalocker</a>
评论 #14528481 未加载
falsedan将近 8 年前
This looks like a provisioning framework rather than &#x27;shell automation&#x27; (scripting). I couldn&#x27;t work out out if it supports pipelines.<p>In all honesty, who is this aimed at? Some who know python and doesn&#x27;t want to switch to bash, but is happy to learn the command-line tools you use in bash?<p>&gt; <i>ShutIt was built originally to facilitate the deployment of complex Docker containers, so that developers can quickly prototype builds in a structured and flexible way with as shallow a learning curve as possible.</i><p>It&#x27;s for setting up developer environments? Like a sandbox? Like docker-compose?
评论 #14527974 未加载
wybiral将近 8 年前
Looks interesting. I&#x27;m going to give it a spin on some RPi3s I have hanging around and see how it compares to having used fabric.<p>One thing: the link &quot;learnshutit.html&quot; at the top of this page is a 404.
halfnibble将近 8 年前
This is incredible. The best part is that it&#x27;s incredibly simple. Excellent job documenting via example.