doucheng1884 2010-06-24 19:04
浏览 25
已采纳

在SVN上存储一个Web项目(在我的案例中是joomla) - 如何正确地执行此操作

I have made a joomla component that I want to put on SVN. The problem is that Joomla components have bits and pieces scattered all over the place. What is the best way to handle this with SVN considering I still want to be able to version the application, without including all the core joomla code website code?

UPDATE

I ended up using symlinks in Window 7 like Linux has

http://www.howtogeek.com/howto/windows-vista/using-symlinks-in-windows-vista/

And a nice utility for making linking really easy http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html

You can have the project exactly as you would have it in the installer and link the directories and language files to their respective place in the Joomla hierarchy. This also allows you to have multiple Joomla version installed and using a single repository your can test them all! Works great :)

  • 写回答

3条回答 默认 最新

  • duangai2831 2010-06-25 09:17
    关注

    This is how I organise my component files within my svn. Assume that my component name is comname.

    repository/components/comname/trunk/

    comname
    comname_admin
    com_comname.xml
    com_comname-1.0.zip
    license.txt
    comname_userguide.doc
    comname_userguide.pdf
    

    All your front end code should be in comname folder while all your admin code should be in comname_admin. This is the standard way in which to layout a Joomla component structure.

    You can then tag your versions and keep them in repository/components/comname/tags/1.0 for example.

    Hope that helps. Cheers

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大