Fix archive downloads for Bitbucket and GitLab source archives when they're called in getSourceForPkgRecord().
Fixes #671
Approach
At first, I just flipped the polarity of the conditional evaluating the bitbucketDownload() and gitlabDownload() functions' output. But then I saw that the GitHub download workflow had been updated, so I modified Bitbucket and GitLab's download flow to follow GitHub's.
Intent
Fix archive downloads for Bitbucket and GitLab source archives when they're called in
getSourceForPkgRecord()
.Fixes #671
Approach
At first, I just flipped the polarity of the conditional evaluating the
bitbucketDownload()
andgitlabDownload()
functions' output. But then I saw that the GitHub download workflow had been updated, so I modified Bitbucket and GitLab's download flow to follow GitHub's.QA Notes
Still thinking about this.
Checklist