Mailinglist Archive: opensuse-buildservice (226 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] extending the /source/project backend call
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Thu, 1 Sep 2011 16:18:44 +0200
- Message-id: <20110901141844.GA23983@suse.de>
On Thu, Sep 01, 2011 at 03:37:40PM +0200, Marcus Hüwe wrote:
Ah, actually the sourceinfo stuff is used by the licence checker.
So you should not change the meaning of srcmd5 and xsrcmd5.
And srcmd5 should aways reflect the source that was used for
the parsing, so you need to do it in some other way.
(Currently, asking for sourceinfo always gives you the "expand=1"
view, so you may want to add a "lsrcmd5".)
M.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
I just extended "sub sourceinfo" so that it stores the srcmd5 andJust a small ping - any objections?:)
the xsrcmd5 (if present). It seems the sourceinfo stuff isn't used
at the moment (at least I didn't find anything in backend/api code)
so the change shouldn't break anything.
Is the attached patch ok?
Ah, actually the sourceinfo stuff is used by the licence checker.
So you should not change the meaning of srcmd5 and xsrcmd5.
And srcmd5 should aways reflect the source that was used for
the parsing, so you need to do it in some other way.
(Currently, asking for sourceinfo always gives you the "expand=1"
view, so you may want to add a "lsrcmd5".)
M.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |