如何创建更新补丁链接 Joomla 从 SVN 更新

发布于 2024-10-06 17:02:23 字数 137 浏览 0 评论 0原文

每次 Joomla 发布新更新时我都会看到这一点。它仅包含自上次版本以来具有相同目录结构的更改的文件。 所以我有一个SVN服务器。我已经修改了 SVN 中的某些内容,现在我想创建像 Joomla 这样的更新路径,我该怎么做?

谢谢您的回答!!!

I saw that in Joomla every time they release a new update. it only contain the file that have been change from the last release with the same directory structure.
So I have a SVN server. And I have modified something in the SVN and now I want to create the update path like Joomla how can I do that?

Thanks, for Your Answer!!!

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

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

发布评论

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

评论(1

我最亲爱的 2024-10-13 17:02:23

在 Windows 中使用 TortoiseSVN,您可以按照以下步骤操作(从 此来源):

  1. 使用 TortoiseSVN,右键单击您的工作文件夹,然后从 TortoiseSVN 菜单中选择“显示日志”。
  2. 单击上次发布的修订版(本例中为#85)
  3. Ctrl+单击 HEAD 修订版(或您想要发布的任何修订版,即 #178),以便旧修订版和新修订版都突出显示。
  4. 右键单击任一突出显示的修订版本,然后选择“比较修订版本”。这将打开一个对话框窗口,其中列出所有新的/修改的文件。
  5. 从此列表中选择所有文件 (Ctrl+a),然后右键单击突出显示的文件并选择“将选择导出到...”

为了在 Linux 中使用,我找到了一个基于此行输出创建整个目录结构的脚本

svn diff -r <revision_number>:HEAD --summarize <working_directory>

:脚本可以在此处找到。

Using TortoiseSVN in Windows you can follow these steps (copy&pasted from this source):

  1. Using TortoiseSVN, right-click on your working folder and select “Show Log” from the TortoiseSVN menu.
  2. Click the revision that was last published (#85 in this example)
  3. Ctrl+Click the HEAD revision (or whatever revision you want to release ie #178) so that both the old and the new revisions are highlighted.
  4. Right-click on either of the highlighted revisions and select “Compare revisions.” This will open a dialog window that lists all new/modified files.
  5. Select all files from this list (Ctrl+a) then right-click on the highlighted files and select “Export selection to…”

For use in Linux I have found a script creating the whole directory structure based on the output of this line:

svn diff -r <revision_number>:HEAD --summarize <working_directory>

The script can be found here.

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