Skip to content

Conversation

@TG1999
Copy link
Contributor

@TG1999 TG1999 commented Feb 27, 2023

No description provided.

@TG1999 TG1999 force-pushed the add_valid_versions_improver branch from 3603423 to 50bfc60 Compare February 27, 2023 17:11
@TG1999 TG1999 added this to the v32.0.0 milestone Feb 27, 2023
@TG1999 TG1999 marked this pull request as draft February 27, 2023 17:12
@TG1999 TG1999 force-pushed the add_valid_versions_improver branch 2 times, most recently from a3c1bea to f940384 Compare March 1, 2023 10:21
@TG1999 TG1999 marked this pull request as ready for review March 1, 2023 10:52
@TG1999 TG1999 requested a review from pombredanne March 1, 2023 10:53
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

A philosophical question: should we rather try to keep all the code about a given data source in one module? e.g., keep everything about Apache HTTPD in a single script? I feel that this may be more effective than scattered code in one place for the importer and another for an improver? This is not critical as this can be improved afterwards of course.

Copy link
Contributor Author

@TG1999 TG1999 left a comment

Choose a reason for hiding this comment

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

Some review nits....


class ApacheHTTPDImprover(ValidVersionImprover):
importer = ApacheHTTPDImporter
ignorable_versions = APACHE_HTTPD_IGNORABLE_TAGS
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Inline this


class GitHubBasicImprover(ValidVersionImprover):
importer = GitHubAPIImporter
ignorable_versions = GITHUB_IGNORABLE_VERSIONS
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Inline this

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

LGTM.... please merge with your planned updates!

TG1999 added 2 commits March 21, 2023 16:36
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
@TG1999 TG1999 force-pushed the add_valid_versions_improver branch from 3d057d4 to 3134cc5 Compare March 21, 2023 11:06
Signed-off-by: Tushar Goel <[email protected]>
@TG1999 TG1999 merged commit ff22c02 into aboutcode-org:main Mar 21, 2023
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