Bug#770748: test if runtime dependencies in gemspec are present when building library

2014-11-23 Thread Pirate Praveen
package: gem2deb
version: 0.10
severity: wishlist

sometimes we update gems without meeting their suggested runtime
dependencies. we should check this automatically by running 'bundle
install --local' during each build. if we don't want to update a
dependency we should loosen the dependency by patching gemspec.

when running a bundle install --local for diaspora (see
https://wiki.debian.org/Diaspora for steps to install diaspora), I have
noticed many libraries does not have their required dependencies.

it would be good to catch this during build time automatically.



signature.asc
Description: OpenPGP digital signature


Bug#770748: test if runtime dependencies in gemspec are present when building library

2014-11-23 Thread Antonio Terceiro
On Mon, Nov 24, 2014 at 12:59:08AM +0530, Pirate Praveen wrote:
 package: gem2deb
 version: 0.10
 severity: wishlist
 
 sometimes we update gems without meeting their suggested runtime
 dependencies. we should check this automatically by running 'bundle
 install --local' during each build. if we don't want to update a
 dependency we should loosen the dependency by patching gemspec.
 
 when running a bundle install --local for diaspora (see
 https://wiki.debian.org/Diaspora for steps to install diaspora), I have
 noticed many libraries does not have their required dependencies.
 
 it would be good to catch this during build time automatically.

While I agree that checking dependencies is worthwile, we should probaby
do it in autopkgtest instead of during build; having the depencencies
installed when you gave the package installed is way more important than
having them installed during build.

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature