Is there a reason why osc calls rpm directly using subprocess instead of using the rpm python library from rpm-python? I'm trying to finish Marcus Hüwe work on injecting local rpm data and I was going to use the rpm library, but if there's some design reason to not use it, I'll use subprocess calls to rpm.
On 2009-08-18 11:10:10 -0500, Luke Imhoff wrote:
Is there a reason why osc calls rpm directly using subprocess instead of using the rpm python library from rpm-python? I'm trying to finish Marcus Hüwe work on injecting local rpm data and I was going to use the
That's funny because some hours ago I committed the first patch for this feature:) What have you changed so far?
rpm library, but if there's some design reason to not use it, I'll use subprocess calls to rpm.
I don't know if rpm-python is available on all distributions where we build osc so we tried to avoid a new dependency.
Marcus
Marcus Hüwe wrote:
On 2009-08-18 11:10:10 -0500, Luke Imhoff wrote:
Is there a reason why osc calls rpm directly using subprocess instead of using the rpm python library from rpm-python? I'm trying to finish Marcus Hüwe work on injecting local rpm data and I was going to use the
That's funny because some hours ago I committed the first patch for this feature:) What have you changed so far?
I just merged your patch onto our server. (I had to adapt it since we have additional mods.) I had just started the osc changes when it occurred to me to ask about rpm-python so I could push any changes back to the community.
rpm library, but if there's some design reason to not use it, I'll use subprocess calls to rpm.
I don't know if rpm-python is available on all distributions where we build osc so we tried to avoid a new dependency.
Marcus
Hi
Dne Tue, 18 Aug 2009 18:51:30 +0200 Marcus Hüwe suse-tux@gmx.de napsal(a):
I don't know if rpm-python is available on all distributions where we build osc so we tried to avoid a new dependency.
Well as long as python-rpm is not required to just run osc (you don't need rpm for most things), I think it is not harder dependency than rpm...
Marcus Hüwe wrote:
On 2009-08-18 11:10:10 -0500, Luke Imhoff wrote:
Is there a reason why osc calls rpm directly using subprocess instead of using the rpm python library from rpm-python? I'm trying to finish Marcus Hüwe work on injecting local rpm data and I was going to use the
That's funny because some hours ago I committed the first patch for this feature:) What have you changed so far?
rpm library, but if there's some design reason to not use it, I'll use subprocess calls to rpm.
I don't know if rpm-python is available on all distributions where we build osc so we tried to avoid a new dependency.
Marcus
I've seen that you've got the server-side changes in revision 7900 and 7901. Are the client-side (osc) changes in a later revision already? I looked at the logs for your other later revisions, but nothing jumped out as being for the inject local rpm data change for osc.
On 2009-08-24 08:37:01 -0500, Luke Imhoff wrote: <SNIP>
I've seen that you've got the server-side changes in revision 7900 and 7901. Are the client-side (osc) changes in a later revision already? I looked at the logs for your other later revisions, but nothing jumped out as being for the inject local rpm data change for osc.
Sorry I was a bit busy the last days. At the moment the osc code doesn't exist but I planned to implement it within the next few days.
Marcus
On 2009-08-26 16:25:04 +0200, Marcus Hüwe wrote:
On 2009-08-24 08:37:01 -0500, Luke Imhoff wrote:
<SNIP> > I've seen that you've got the server-side changes in revision 7900 and > 7901. Are the client-side (osc) changes in a later revision already? I > looked at the logs for your other later revisions, but nothing jumped > out as being for the inject local rpm data change for osc. Sorry I was a bit busy the last days. At the moment the osc code doesn't exist but I planned to implement it within the next few days.
I just committed a patch for osc (r8071). Now it should be possible to require local packages which don't exist in the obs for a local build: osc build ... --prefer-pkgs /path/to/rpms Currently it only supports RPMs but debian support will follow soon.
Marcus
On 2009-09-10 14:27:25 +0200, Marcus Hüwe wrote:
On 2009-08-26 16:25:04 +0200, Marcus Hüwe wrote:
On 2009-08-24 08:37:01 -0500, Luke Imhoff wrote:
<SNIP> > I've seen that you've got the server-side changes in revision 7900 and > 7901. Are the client-side (osc) changes in a later revision already? I > looked at the logs for your other later revisions, but nothing jumped > out as being for the inject local rpm data change for osc. Sorry I was a bit busy the last days. At the moment the osc code doesn't exist but I planned to implement it within the next few days.
I just committed a patch for osc (r8071). Now it should be possible to require local packages which don't exist in the obs for a local build: osc build ... --prefer-pkgs /path/to/rpms Currently it only supports RPMs but debian support will follow soon.
JFYI: debian support is also available now.
Marcus
buildservice@lists.opensuse.org