fao89 / pulp_ansible

A Pulp plugin that manages Ansible content, i.e. roles, collections
https://pulp-ansible.readthedocs.io/en/latest/
GNU General Public License v2.0
0 stars 0 forks source link

As a user, I have my collections scored and linted at creation time #8

Open fao89 opened 2 years ago

fao89 commented 2 years ago

Author: @bmbouter (bmbouter)

Redmine Issue: 5070, https://pulp.plan.io/issues/5070


Current Workflow

The import_collection task contained in pulp_ansible currently does this:

1. open up an Artifact and search for collection metadata
2. Create a Collection object from that metadata and save it
3. Create ResourceCreated records for the created Collection so the user knows what was created.

Future Workflow with linting + scoring

1. open up an Artifact and search for collection metadata
2. Run the collection through the linter + scorer
3. Create a Collection object from that metadata and save it (along with the scoring + linting data)
4. Create ResourceCreated records for the created Collection so the user knows what was created.

Details

What are the field types on the Collection that need to store scoring or linting result data.