dqc2017 2010-08-18 13:28
浏览 42

PHP - 应用程序补丁构建

I'm trying to come up with a better solution for our development group to build patches for our applications (PHP).

We currently submit to SVN daily, but do not run a continuous integration server, as code checked in can be buggy. For building patches, we check against a "date modified", from the last build. A lot of times though, we're already starting development on new features, or have other bug fixes, etc that are not scheduled for the patch. So we have to pick it out when running against test servers.

What I'm looking for is an easy way to flag files (we use NetBeans as our IDE) and then build off that. As we go through our own testing, we'd flag the file, etc. This could simply be a text string in the file (we'd strip it out for live though).

Again, our issue is trying to keep track of which files are flagged as ready to go, versus what's currently in development.

  • 写回答

1条回答 默认 最新

  • doufuhao8085 2010-08-18 13:33
    关注

    My question is why not develop in branches? If you create a branch for each major new feature, then you will always have a "stable" branch. Then you just create your patches off of that stable branch, and it'll only ever include completed and vetted code. When a development branch is ready to go, after testing just do a SVN Merge to get the data back into the stable branch...

    Trying to keep track of "production" files is going to be a major PITA (Especially if you have multiple developers). So just avoid the whole problem.

    评论

报告相同问题?

悬赏问题

  • ¥15 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示