P2 存储库聚合器
我们有几个内部 p2 存储库。每个存储库都有许多不同功能的版本。我们需要为客户提供一个外部更新站点。我们只想聚合特定功能的特定版本。 “聚合”它们是一个好方法/工具吗?
例如,我们有一个 p2 存储库 repo1
,其功能为 feature1
,版本为 1.0.0
、2.0.0
、< code>3.0.0 和另一个 p2 存储库 repo2
,其功能为 feature2
,版本为 1.0.0
和 2.0.0
。
我们希望聚合 feature1
的 1.0.0
和 3.0.0
版本以及 2.0.0
版本code>feature2:
feature1
1.0.0
3.0.0
feature2
2.0.0
当前我们正在查看 b3 和 < a href="http://www.sonatype.com/nexus-professional.html" rel="nofollow">Nexus Pro。但也许还有更好的东西?
b3 只允许聚合一系列功能,并且不是特定版本。
Nexus Pro 更像是代理或“魔盒”。我们希望拥有 p2 存储库的一个单独的物理副本(镜像副本)。
有什么建议吗?
we have several internal p2 repositories. Each repository has many versions of different features. We need to have an external update site for our clients. We would like to aggregate only specific versions of specific features. Would is a good way/tool to "aggregate" them?
For example we have a p2 repository repo1
with feature feature1
with versions 1.0.0
, 2.0.0
, 3.0.0
and another p2 repository repo2
with feature feature2
with versions 1.0.0
and 2.0.0
.
We would like to aggregate versions 1.0.0
and 3.0.0
of feature1
and version 2.0.0
of feature2
:
feature1
1.0.0
3.0.0
feature2
2.0.0
Currently we are looking at b3 and Nexus Pro. But maybe there is something better?
b3 allows only aggregating range of features and not specific versions.
Nexus Pro is more like proxy or "magic box". We want to have a separate physical copy (mirrored one) of p2 repository.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
P2 具有复合存储库概念,应该符合您正在寻找的内容。
P2 has composite repository concept that should match what you're looking for.
p2.mirror
可以聚合指定功能并创建 p2 存储库。也可以将其配置为仅下载所需的捆绑包。下面是一个聚合功能的两个版本的示例:
此外,之后可以运行 eclipse.publish.featuresAndBundles 任务来对创建的存储库进行分类。
p2.mirror
can aggregate specified features and create a p2 repository. It is possible to configure it to download only required bundles too.Here is an example which aggregates two versions of a feature:
Moreover, afterwards it is possible to run a
eclipse.publish.featuresAndBundles
task to categorize created repository.