[Stage-QA] Gemfile-Check - WIP

Torsten Zuehlsdorff tz at FreeBSD.org
Fri Aug 4 12:52:00 UTC 2017


Aloha,

inspired by lifanov and his work in PR 220605 to add a check for 
.gemspec of rubygems i tried myself with Gemfile.

Background is, that checking the actual Gemfile of non rubygem-* ports 
is often very time-consuming. When building Gitlab, Redmine or others, 
everything is fine. But when executing they fail - because the Gemfile 
is not satisfied.

Its WIP and my first try for an stage-qa script, so every comment is 
appreciated. It adds a stage-qa stage for every non rubygem- port. When 
executed i (intent) to scan for Gemfiles and checking every file with 
bundle check. If bundle fails, the stage-qa fails.

It worked for simple test. If no Gemfile was present the test was 
skipped. If it is, bundle is executed. When removing a needed dependency 
it is found. Its also found when the dependency is indirect (not in 
Gemfile itself, but a dependency of an dependency listed there).

But it don't work for net-im/mikutter for example and i don't know why.

So any feedback would be fine! :)

Greetings,
Torsten
-- 
Support me at:
https://www.patreon.com/TorstenZuehlsdorff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gemfile-deps.diff
Type: text/x-patch
Size: 1343 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20170804/863eca4d/attachment.bin>


More information about the freebsd-ruby mailing list