Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulp_gem does not distinguish development from runtime dependencies. #211

Open
mdellweg opened this issue Jan 31, 2024 · 0 comments
Open

Comments

@mdellweg
Copy link
Member

mdellweg commented Jan 31, 2024

[GemDependency({'@name': 'ruby-hmac', '@requirement': Gem::Requirement('[['>=', Gem::Version('0.3.2')]]'), '@type': Symbol("runtime"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('0.3.2')]]')}),
 GemDependency({'@name': 'faraday', '@requirement': Gem::Requirement('[['>=', Gem::Version('0.7.0')]]'), '@type': Symbol("runtime"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('0.7.0')]]')}),
 GemDependency({'@name': 'multi_json', '@requirement': Gem::Requirement('[['>=', Gem::Version('1.3.2')]]'), '@type': Symbol("runtime"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('1.3.2')]]')}),
 GemDependency({'@name': 'rake', '@requirement': Gem::Requirement('[['>=', Gem::Version('0')]]'), '@type': Symbol("development"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('0')]]')}),
 GemDependency({'@name': 'timecop', '@requirement': Gem::Requirement('[['>=', Gem::Version('0')]]'), '@type': Symbol("development"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('0')]]')}),
 GemDependency({'@name': 'rspec', '@requirement': Gem::Requirement('[['>=', Gem::Version('2.8.0')]]'), '@type': Symbol("development"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('2.8.0')]]')}),
 GemDependency({'@name': 'webmock', '@requirement': Gem::Requirement('[['>=', Gem::Version('1.8.2')]]'), '@type': Symbol("development"), '@prerelease': False, '@version_requirements': Gem::Requirement('[['>=', Gem::Version('1.8.2')]]')})]

The info in the @type attribute is not reflected in the content database entry:

{
'dependencies': {'ruby-hmac': '>= 0.3.2',
   'faraday': '>= 0.7.0',
   'multi_json': '>= 1.3.2',
   'rake': '>= 0',
   'timecop': '>= 0',
   'rspec': '>= 2.8.0',
   'webmock': '>= 1.8.2'}},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant