Launchpad dailybuild 源位于分支的子目录中

发布于 2024-11-17 09:19:09 字数 455 浏览 3 评论 0原文

我有一个存储库分支,已在 Launchpad 中进行镜像,我正在尝试设置每日构建。问题是包的源目录是分支中的子目录。在本地构建时没有问题,因为我可以更改到该目录。然而,使用 Launchpad 的 bzr-builder,它可以从分支的顶部目录执行所有操作。

我当前的构建方案是:

# bzr-builder format 0.3 deb-version {debupstream}-{revno}-{revno:packaging}
lp:kegbot
nest-part packaging lp:~szechyjs/kegbot/kegbot_debian debian debian

理想情况下我会使用 lp:kegbot/pykeg 但这在 bzr 中是不可能的。

有没有一种简单的方法可以通过在我的配方或规则文件中的某种源目录变量中设置它来在 kegbot/pykeg 目录中构建包?

I have a repo branch that i have mirrored in Launchpad that I am trying to setup a daily build. The problem is that the source directory of the package is a subdirectory in the branch. When building locally it's no problem because I can just change to that directory. However with launchpad's bzr-builder it does everything from the top directory in the branch.

My current build recipe is:

# bzr-builder format 0.3 deb-version {debupstream}-{revno}-{revno:packaging}
lp:kegbot
nest-part packaging lp:~szechyjs/kegbot/kegbot_debian debian debian

Ideally I would use lp:kegbot/pykeg but this is not possible in bzr.

Is there a easy way I can build the package in the kegbot/pykeg directory, by setting it up in my recipe or some kind of source directory variable in the rules file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

日久见人心 2024-11-24 09:19:09

不幸的是,bzr-builder 插件目前不支持您所需要的。

原则上,您也许可以通过创建 lp:pykeg 的一个分支来解决这个问题,该分支将 pykeg/ 移动到树的根,并将旧根移动到 ignored/ 。然后,您可以将merge workaround lp:…/workaround-branch添加到您的配方中。不幸的是,像这样旋转树根也不是特别容易。

值得在 Launchpad 和/或 bzr-builder 上提交有关此用例的错误。

Unfortunately the bzr-builder plugin currently doesn't support what you need.

In principle you could perhaps workaround it by making a branch of lp:pykeg that moves pykeg/ to the root of the tree, and moves the old root to ignored/. You could then add merge workaround lp:…/workaround-branch to your recipe. Unfortunately pivoting the root of a tree like that isn't especially easy either.

It would be worth filing a bug on Launchpad and/or bzr-builder about this use-case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文