简体   繁体   English

为OpenERP创建PPA

[英]Creating a PPA for OpenERP

I'm investigating whether it's worth the effort of setting up a recipe in Launchpad to create a PPA for OpenERP that includes the official source code along with our custom modules. 我正在调查是否值得在Launchpad中设置配方来为OpenERP创建PPA,其中包括官方源代码以及我们的自定义模块。 Has anyone done this for OpenERP or another software package? 有没有人为OpenERP或其他软件包这样做? Was it worth the effort? 值得付出努力吗? Is there an easy guide to the process? 是否有简单的流程指南?

We're currently using a script that uses bzr to check for new revisions in the repository, checks them out, and then copies them into the installation folder for the live server. 当前,我们正在使用一个脚本,该脚本使用bzr来检查存储库中的新修订,将其签出,然后将其复制到实时服务器的安装文件夹中。 It sounds like a PPA would make the upgrade process feel much more like a standard Ubuntu upgrade. 听起来PPA会使升级过程更像是标准的Ubuntu升级。

I found the Launchpad documentation and the Ubuntu packaging guide , so I'm working my way through those. 我找到了Launchpad文档Ubuntu打包指南 ,因此我正在逐步解决这些问题。 It also looks like the credativ team has created a PPA of OpenERP. 似乎credativ团队已经创建了OpenERP的PPA。 Can I just copy those and point them at my own branches? 我可以复制这些文件并将它们指向我自己的分支吗?

I've almost got it working, so here's a summary of what I've done so far. 我几乎可以正常工作,所以这里是到目前为止我所做的总结。

It's well worth reading through the Ubuntu packaging guide and following the "Hello, World" example, just so you know what the packaging files do. 值得一读通Ubuntu打包指南并遵循“ Hello,World”示例,这样您就知道打包文件的作用。

Specific to OpenERP, I stumbled across the OpenERP Tools project , and used the packaging61 script to create the Debian package. 特定于OpenERP,我偶然发现了OpenERP Tools项目 ,并使用packaging61脚本创建了Debian软件包。 I published a modified version that targets a Launchpad PPA. 我发布针对Launchpad PPA 的修改版本

I now have a package in my PPA that installs and runs, but there's something wrong with the web server. 现在, 我的PPA中有一个可以安装并运行的软件包,但是Web服务器出了点问题。 It supports the GTK client, though. 不过,它支持GTK客户端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM