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 #85 with non-empty redhat security source and empty-list checks. #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

groboclown
Copy link

@groboclown groboclown commented Sep 8, 2020

Status

READY

Description

The Red Hat security updates are deprecated, and the old source location now contains just an empty directory tree. This caused Dagda to attempt to push empty lists into the MongoDB, which generated #85. This fix both adds protections on the MongoDB write by not writing empty lists, and by changing the download URL to one that works. Note that this is a temporary fix, because the Red Hat update indicates that this is still a deprecated source. The v2 should be used instead.

Related PRs

Unknown.

TO-DOs

  • Tests
  • Documentation

I don't believe there to be any documentation changes necessary.

Deploy Notes

No changes are necessary for deployments. Currently, it is unknown whether this upgrade will have major changes to existing databases, due to the change in the URL for pulling down the alternate list of security issues.

Steps to Test or Reproduce

Testing:

git pull --prune
git checkout <feature_branch>
make test

Impacted Areas in Application

This affects the Red Hat security issues URL, which currently is an empty tar file.

…ty-list checks.

The Red Hat security updates are deprecated, and the old source location now contains just an empty directory tree.  This caused Dagda to attempt to push empty lists into the MongoDB, which generated eliasgranderubio#85.  This fix both adds protections on the MongoDB write by not writing empty lists, and by changing the download URL to one that works.  Note that this is a temporary fix, because the Red Hat update indicates that this is still a deprecated source.  The v2 should be used instead.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 68.466% when pulling af9b7dd on groboclown:bug85-final into 78715bd on eliasgranderubio:master.

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