From Fedora Project Wiki
(Created page with "= Task for volunteers = '''Complexity''': approx. 20h '''Description:''' Get familiar with RPM and especially its dependency model. Learn what means `BuildRequires` in the R...")
 
No edit summary
 
Line 3: Line 3:
'''Complexity''':
'''Complexity''':
approx. 20h
approx. 20h
'''Contact person:'''
Honza Horak <hhorak AT redhat.com>


'''Description:'''
'''Description:'''

Latest revision as of 20:10, 18 September 2014

Task for volunteers

Complexity: approx. 20h

Contact person: Honza Horak <hhorak AT redhat.com>

Description: Get familiar with RPM and especially its dependency model. Learn what means BuildRequires in the RPM spec and how to list dependencies of a package in repository using repoquery utility.

Choose either shell or Python and implement a small utility, that tracks building dependencies of specified package. The utility accepts names of input and output repositories and name of a package from input repository.

The utility should return all build dependencies from input repository that are not available in output repository. It should do it recursively.

The goal is to get all packages that we need to add to output repository in order to be able to build package in output repository.

Example usage:

$> ./get-missing-deps.py fedora-20 centos-7 mongodb
proj
snappy
v8
gtest
gperftools