fortran-lang / registry

Registry for Fortran package manager
MIT License
8 stars 3 forks source link

Check the model of an uploaded package #65

Closed certik closed 5 months ago

certik commented 6 months ago

Compare the package model of an uploaded package against the model in the registry to ensure no malicious code was added. Also for module naming conventions.

Details:

This check is not for security, but rather for consistency of the uploaded packages, it checks:

A separate feature to consider for a separate milestone is:

certik commented 6 months ago

Let's not run fpm at all, in our first deliverable of the registry.

Instead, let's add several checks in the Python backend, implemented in Python itself:

All the above checks must be just couple hundred lines of Python the most. If it requires more, then let's discuss. That way it will be maintainable for us.

Bonus: