Closed papowerNI closed 1 year ago
Packages should never be empty
Is this for just the data.tar.gz
section? Or entirely empty?
It's valid to have a package with a control file but no payload.
Talked offline, @papowerNI is going to add a flag to disable that check for virtual packages.
merge did something weird so I'm just going to remake this
What does this Pull Request accomplish?
Fails verification if package files have no files in them, now that we are checking anyway. Also updates a regex to use the literal period instead of a wildcard to avoid unexpected failures with certain branch names
Why should this Pull Request be merged?
Packages should never be empty, so we might as well catch the error case. Also fixes a bug that would impact any dev branch with "nipkg" in the name
What testing has been done?
Tested with dev tools, which was making empty packages at the time of the test:
This PR should not fail, to verify the existing case.