使用 Apt 存储库进行付费软件更新
我正在尝试确定一种为可能每周和/或每月更新的托管/现场 Web 应用程序分发软件更新的方法。我不希望使用现场产品的客户不得不担心手动更新它,我只想让它自动下载并安装 Google Chrome。我计划提供一个包含 Ubuntu 以及已安装和配置的软件的 OVF 文件。我对如何分发软件的第一个想法是创建六个 Apt 存储库/通道(目前不确定哪个更好),这些存储库/通道将使用密钥通过 SSH 进行访问,因此如果客户不续订其订阅,我们可以禁用他们的帐户:
- Beta - 在内部使用测试数据来检查包是否存在重大缺陷。
- 内部 - 在内部使用实时数据来检查包装是否存在缺陷(狗食阶段)。
- 外部 1 - 部署到 1% 的用户群(随机选择)以检查缺陷。
- 外部 9 - 部署到 9% 的用户群(随机选择)以检查缺陷。
- 外部 90 - 部署到其余 90% 的用户。
- 托管 - 部署到托管环境。
如果报告问题,它将在每个阶段进行签名,以便移至下一个存储库。
我向社区提出的问题是:
- 以前有人尝试过类似的事情吗?
- 谁能看出这种手术的缺点吗?
- 有更好的办法吗?
更新:我在 https://softwareengineering.stackexchange 交叉发布了此内容.com/questions/61737/using-an-apt-repository-for-paid-software-updates 看看我是否能得到答案。
I'm trying to determine a way to distribute software updates for a hosted/on-site web application that may have weekly and/or monthly updates. I don't want the customers who use the on-site product to have to worry about updating it manually I just want it to download and install automatically ala Google Chrome. I'm planning on providing an OVF file with Ubuntu and the software installed and configured. My first thought on how to distributed software is to create six Apt repositories/channels (not sure which would be better at this point) that will be accessed through SSH using keys so if a customer doesn't renew their subscription we can disable their account:
- Beta - Used internally on test data to check the package for major defects.
- Internal - Used internally on live data to check the package for defects (dog fooding stage).
- External 1 - Deployed to 1% of our user base (randomly selected) to check for defects.
- External 9 - Deployed to 9% of our user base (ramdonly selected) to check for defects.
- External 90 - Deployed to the remaining 90% of users.
- Hosted - Deployed to the hosted environment.
It will take a sign off at each stage to move into the next repository in case problems are reported.
My questions to the community are:
- Has anyone tried something like this before?
- Can anyone see a downside to this type of a procedure?
- Is there a better way?
UPDATE: I cross posted this at https://softwareengineering.stackexchange.com/questions/61737/using-an-apt-repository-for-paid-software-updates to see if I could get an answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论