使用 Mercurial 和 Netbeans 组织工作流程 (+ bitbucket.org?)

发布于 2024-10-05 23:50:06 字数 288 浏览 0 评论 0原文

我以前从未使用过任何版本控制系统。现在我正在尝试学习 Mercurial,但我很困惑(我已经阅读了大约 10-15 篇文章 + hginit.com)。我不知道如何组织工作流程。

我有一个测试服务器和一个生产服务器。我使用办公室计算机和家用笔记本电脑工作。我直接在测试服务器上进行更改,并大约每周将新代码复制到我的生产服务器。我还需要维基/问题/等。 bitbucket.org 几乎拥有一切。我知道这是一种糟糕的做事方式。

有没有关于如何组织工作流程的教程或文章?我也很感激任何描述该过程的方案/草图。

谢谢你!

I've never worked with any version control systems before. Now I'm trying to learn Mercurial, but I'm confused (I've already read about 10-15 articles + hginit.com). I don't know how to organize the workflow.

I have a testing server and a production server. I work from my office computer and from my home laptop. I make changes directly on the testing server, and every week or so copy new code to my production server. I also need wiki/issues/etc. pretty much everything bitbucket.org has. I know that's a bad way of doing things.

Is there any tutorial or articles on how to organize the workflow? I'd also appreciate any schemes/sketches describing the process.

Thank you!

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

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

发布评论

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

评论(1

怪我入戏太深 2024-10-12 23:50:06

[编辑:根据评论进行更改]

使用 Bitbucket

创建帐户后

  1. 。您应该能够使用适当的 url 创建存储库。然后您可以克隆它以创建本地存储库。
    请查看入门
  2. 请参阅以下内容将更新推送到 BitBucket< /strong>
  3. BitBucket 附带非常广泛的文档

此外,还有其他使用 BitBucket 的有用工具:

  1. BitbucketExtension允许您使用命令行进行许多操作。
  2. 使用 Mercurial 队列和 bitbucket.org

组织工作流程

您必须制定适合您的工作流程。就您而言,您似乎拥有测试服务器和生产服务器。

因此,您可以设置两个存储库,一个用于测试服务器,另一个用于生产。您可以自动推送到测试服务器,以便您可以立即测试更改。您可以标记发布,然后将其推送到生产服务器。

  1. 您的本地存储库可用于将更改发布到测试服务器。
  2. 您可以推送已批准的更改,并标记到 BitBucket 存储库。

[Edit: Changed based on comments]

Using Bitbucket

Once you have created an account.

  1. You should be able to create a repo with an appropriate url. Then you can clone it to create a local repository.
    Check out getting started.
  2. See the following to push the updates to BitBucket.
  3. BitBucket comes with very extensive documentation.

Also there are, other useful tools to work with BitBucket:

  1. BitbucketExtension that allows you to use command line for a number of operations.
  2. Using Mercurial Queues and bitbucket.org

Organizing workflow

You will have to evolve a workflow that suits you. In your case, it looks like you have a testing server and production server.

So , you can setup two repositories, one for the testing server ad one for production. You can make push to testing server automatic so that you can test out the changes immediately. You can tag releases that are then pushed to production server.

  1. Your local repo can be used to publish changes to testing server.
  2. You can push the approved changes, tagged to BitBucket repository.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文