适合服务器跳跃 DBA 的轻量级/便携式 VCS?

发布于 2024-08-10 02:22:08 字数 566 浏览 3 评论 0原文

我正在寻找一款能够帮助我保持所有工作脚本同步的 VCS。

要求:

  • 可移植(如闪存驱动器,不是代码级)
  • 在 Windows XP 和 Server 2003+ 上运行
  • 无安装依赖项(Cygwin、perl、Python)

我在工作机器上使用 Mercurial 对各种 T-SQL、ksh 进行版本控制、perl 和 CMD/BAT 脚本,这些脚本是我作为 MS SQL Server DBA 和 Unix 系统管理员维护的。到目前为止,hg 已经在我的 AIX 机器上工作了——我在登录时挂载我的主目录,并像处理本地存储库一样处理存储库。

我还没有找到适合我使用的 Windows 机器的类似解决方案。其中大多数我没有本地管理员权限;即使我这样做了,我也不想在所有这些上安装(和维护)Python + Mercurial。我无法远程访问它们的主目录,这使得在每台计算机上运行的客户端成为唯一的选择。

奖励积分让我可以在 Windows 和 Unix 机器上使用单个存储库。 :)

我正在运行 WinXP,大量使用 Cygwin 和 CrunchBang VM。

I'm looking for a VCS that'll help me keep all of my work scripts in-sync.

Requirements:

  • Portable (as in flash drive, not code-level)
  • Run on Windows XP and Server 2003+
  • No installation dependencies (Cygwin, perl, Python)

I use Mercurial on my work machine for version control of the various T-SQL, ksh, perl, and CMD/BAT scripts that I maintain as a MS SQL Server DBA and Unix sysadmin. So far, hg has worked for my AIX boxes- I mount my home directory as I login, and deal with the repo as if it were local.

I haven't been able to find a similar solution for the Windows machines I use. Most of them I do not have Local Admin rights; even if I did, I'd rather not install (and maintain) Python + Mercurial on all of them. I can't get to my home directory on them remotely, which leaves a client running on each machine as the only option.

Bonus points for an answer that would let me use a single repo for both the Windows and Unix machines. :)

I'm running WinXP, with heavy use of Cygwin and a CrunchBang VM.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尘曦 2024-08-17 02:22:08

我自己使用git,但熟悉hg、bzr等。Fossil是我见过的唯一一个独立的。它主要由 sqlite 项目使用。

请参阅 http://www.fossil-scm.org/

它应该适用于您的所有平台也列出来了!

I use git myself, but am familiar with hg, bzr, etc. Fossil is the only one I've seen that is self-contained. It's used by the sqlite project, primarily.

See http://www.fossil-scm.org/

It should work across all the platforms you listed, as well!

本王不退位尔等都是臣 2024-08-17 02:22:08

如果您喜欢 Mercurial,可以很容易地将其通过 USB 驱动器随身携带。有几个可移植的 python 包。 Instant django 包含 Mercurial http://www.instantdjango.com/ 并使 Python 工具箱的其余部分可用也给你。

我自己用的。

If you like mercurial, it's easy to carry it around portably on a usb drive. There are several portable python packages out there. Instant django includes mercurial http://www.instantdjango.com/ and makes the rest of the python toolbox available to you as well.

I use it myself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文