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

Fix maxscale production parser (refs FRUC-194) #737

Open
wants to merge 3 commits into
base: integration
Choose a base branch
from

Conversation

nazarovdo
Copy link
Contributor

No description provided.

maxscale_ci:
repo:
path: https://mdbe-ci-repo.mariadb.net/Maxscale/
old_key: https://mdbe-ci-repo.mariadb.net/MariaDBManager-GPG-KEY.public
new_key: https://mdbe-ci-repo.mariadb.net/MDBE.public
no_sublinks: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double negation is hard to read and reason.

Please switch from using Boolean values to usage of enumerations. I.e. user must declare a scan mode:

  • follow-only-sublinks
  • use-all-links

This data must be put inside the documentation for repository configuration.

@@ -217,17 +217,17 @@ def parse_repository(
*steps
)
# Recursively go through the site and apply steps on each level
result = parse_web_directories(base_url, auth, product_version, log, logger, *steps)
result = parse_web_directories(base_url, auth, product_version, false, log, logger, *steps)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why false constant is applicable here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants