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

Content scoring - First iteration #1048

Closed
chouseknecht opened this issue Aug 9, 2018 · 0 comments
Closed

Content scoring - First iteration #1048

chouseknecht opened this issue Aug 9, 2018 · 0 comments

Comments

@chouseknecht
Copy link
Contributor

chouseknecht commented Aug 9, 2018

Based on https://docs.google.com/document/d/1pOS_l0B_xz5MqLB3y6MxrnRbg4buWCpf7NdsKF-KTOE/edit?usp=sharing, we want to begin using Ansible Lint to generate a content score.

To achieve this we'll break the work into two or more iterations. The first iteration will encompass the following:

  • Develop an understanding of the following: how to use Ansible Lint, how Ansible Lint analyzes the YAML files found in a role directory structure, how to write custom rules
  • Copy rules from Ansible Lint. Any rules from Ansible Lint that we want to use for analyzing and scoring Galaxy content, copy to galaxy-lint-rules, and assign a 'GALAXY*' id value. All rules that will be applied by Galaxy must live in galaxy-lint-rules, so that we can in the future associate them to our scoring algorithm and thoroughly document.
  • Develop one or two custom rules in galaxy-lint-rules.
  • Integrate Ansible Lint with the Galaxy import process, such that:
    • Ansible Lint executes against a traditional role, or each individual role in a multi-role repository
    • STDOUT/STDERR from Ansible Lint is returned by the API, and visible in the UI
    • Ansible Lint executes only the rules found in galaxy-lint-rules
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

2 participants