[Build-common-hackers] pd-pkg-tools

Jonas Smedegaard dr at jones.dk
Sat Jan 8 15:39:47 UTC 2011


On Sat, Jan 08, 2011 at 03:39:06PM +0100, IOhannes m zmölnig wrote:
>On 01/04/2011 07:19 PM, Jonas Smedegaard wrote:
>>>
>>> pushed to the cdbs repo.
>>
>> Great!
>
>i have a few questions on how to proceed from here:
>
>- - should i just go ahead and add my snippets to the makefile so they 
>are properly built and included?

Wait a bit with that - I just posted you about maybe merging those 
snippets, and I would like to postpone actually including it with the 
binary package until we've discussed that.


>- - i see that there are automatic tests for various snippets.

>my personal background is not exactly test-driven development, though i 
>find it quite interesting (and given that cdbs is a rather central 
>package, i guess it makes a lot of sense) - but don't know where to 
>start

He - I also feel awkward about regression testing, but see the clear 
benefit for them - and for many more of them, even if f*cking annoying 
that they explode build time and - as you mention yourself - build 
dependencies.

So I have no other suggestion than look at the existing tests and try 
mimic the coding style.  Perhaps others can help more here.


>i'm a bit slow, as now (still on christmas holidays :-)) my main
>platform is my eee, where i haven't yet installed the 500MB or so
>build-deps for cdbs :-)

Ouch.

You should be able to play with CDBS even without installing it, by 
setting variables in your packages similar to how it is done in 
cdbs/debian/rules (just use full paths instead of relative ones).

And you should be able to ignore most if not all build-dependencies if 
disabling regression tests.


  - Jonas

-- 
  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110108/39789c88/attachment.pgp>


More information about the Build-common-hackers mailing list