Conan包装管理器试点将于12月结束

自今年初试行的基于Conan的包管理器将于12月结束。该试点未能达到预期的关注度,新Qt版本将不再通过Conan提供。独立维护的ConanCenter内容不受影响。

Conan package manager pilot to end in December

Conan包装管理器试点将于12月结束

September 19, 2022 by Tino Pyssysalo | Comments

​2022年9月19日,蒂诺·皮塞萨洛|评论

We have piloted a Conan-based package manager as an alternative way to get the Qt binaries since the beginning of this year. While we have gotten a lot of good feedback and some users have found this approach valuable, overall, there has not been as much interest in Conan as we expected. We, therefore, plan to end the pilot by December 2022. No new Qt versions will be offered via Conan package manager, and we will take the experimental Conan server offline by the end of the year. Note that this does not affect the recipes on ConanCenter, which are maintained independently.

自今年年初以来,我们已经试行了一种基于Conan的包管理器,作为获取Qt二进制文件的替代方法。虽然我们得到了很多很好的反馈,一些用户认为这种方法很有价值,但总的来说,对Conan的兴趣并没有我们预期的那么大。因此,我们计划在2022年12月结束试点。不会通过Conan软件包管理器提供新的Qt版本,我们将在年底让实验性的Conan服务器离线。请注意,这不会影响独立维护的ConanCenter上的内容。

Most Qt users install Qt via our online installer and many also build themselves for source packages or directly from the repository. For those who prefer package managers, platform-specific package managers like Debian and RPM are a lot more popular than Conan. During the pilot, there have been over 1000 external users who have at least once downloaded Qt via the Conan package manager. This is far less than what we set as our goal. The package download numbers from the server have been rather low as well.

大多数Qt用户通过我们的在线安装程序安装Qt,许多用户还为源包或直接从存储库构建自己。对于那些喜欢包管理器的人来说,特定于平台的包管理器(如Debian和RPM)比Conan更受欢迎。在试点期间,有1000多名外部用户通过Conan软件包管理器至少下载过一次Qt。这远远低于我们设定的目标。从服务器下载的软件包数量也很低。

Conan provides a nice feature set that seemed to match our needs well, so we decided to start investigating it a few years ago for Qt. It’s a cross-platform package manager, supporting both source and binary distributions. It could have been used to distribute the latest 3rd party libraries with critical fixes as well, instead of bundling the libraries into Qt. Source distribution helps when using Qt modules for the targets not officially supported as well as for embedded targets.

Conan提供了一个很好的功能集,似乎很符合我们的需求,所以我们决定在几年前开始调查Qt。它是一个跨平台的包管理器,支持源代码和二进制发行版。它也可以用来分发最新的带有关键修复的第三方库,而不是将库绑定到Qt中。源代码分发有助于将Qt模块用于非官方支持的目标以及嵌入式目标。

Compared to the open-source Conan server (conan.io), our server provides a Qt Conan package per git repository and the idea was to continue this per Qt module level (Qt SCXML implemented this already). In addition, The Qt Company Conan packages contain all configuration options and features in recipes, not only a subset like in recipes in conan.io.

与开源的Conan服务器(Conan.io)相比,我们的服务器为每个git存储库提供了一个Qt-Conan包,其思想是在每个Qt模块级别继续这样做(Qt-SCXML已经实现了这一点)。此外,Qt公司的Conan软件包包含配方中的所有配置选项和功能,而不仅仅是Conan.io中配方中的一个子集。

We will keep the existing Qt 6.3.x Conan recipes in the repos to enable the possibility to continue the work if Conan will become more popular in the future. We are not going to create recipes for Qt 6.4 or continue maintaining the existing recipes. We may let the community continue maintaining the recipes, but this has not been decided yet. 

我们将在回购协议中保留现有的Qt 6.3.x Conan部分,以便在Conan在未来变得更受欢迎的情况下能够继续工作。我们不会为Qt 6.4创建内容,也不会继续维护现有内容。我们可能会让社区继续维护内容,但这还没有决定。

In case you want to continue using existing recipes, you need to export (using the export cmd) the Conan packages per the Qt git repository (qt-conan-common) and per each conanfile.py in each Qt6 submodule. In addition, you need to host the packages (e.g., using the Conan server) for your team or organization.

​如果您想继续使用现有的内容,您需要根据Qt-git存储库(Qt-Conan-common)和每个conanfile导出(使用导出命令)Conan包。每个Qt6子模块中的py。此外,您需要为您的团队或组织托管包(例如,使用Conan服务器)。

We want to thank all of you who have participated in the Conan package manager pilot.

我们要感谢所有参加过柯南包装管理器试验的人。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值