-
Notifications
You must be signed in to change notification settings - Fork 27
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
BiocCheck looks and complains about the size of object files (.o, .so files). It shouldn't #219
Comments
|
Hmm.. not sure why would BiocCheck rely on BiocCheck should only care about files that belong to the repository and relying on The file size check should be done on a clean git repo so maybe is a better job for BiocCheckGitClone? At the very least the message of the warning should be modified. "WARNING: Package files exceed the 5MB size limit" is not true here because no file in the package actually exceeds the 5MB limit. |
I agree but how do you know which ones belong without any context?
Why can't it be trusted? There is no requirement to use a
Personally, relying on Since The alternative is to run |
You don't. But you can tell for sure that some files don't belong. Answer below... Right now, we have this quite confusing situation where
but then it complains about files that are not in it:
I simply don't understand why it would bother checking files that do not belong to the source tarball in the first place. These files obviously don't originate from git. They are installation artefacts that the developer has no control on (what installation artefacts are going to be produced exactly, and their size, is platform-dependent).
Well, it seems that we use Anyways, I don't think that Bottom line is that you wouldn't need to exclude anything if you were only checking the files from the source tarball in the first place. If, for whatever reason, you need to run the check on the package installation folder, then it would make more sense to exclude the files that don't belong to the source tarball rather than relying on Thanks, |
Hi Hervé, @hpages Thanks for that bit of information. I have revised the check to exclude checking files in the source directory when a tarball is provided. 9e9b62e (version Best, |
Great. Thanks Marcel! |
Hi Hervé, @hpages I am actually using the Best regards, |
Hi Marcel,
Really? Binary packages maybe but not source packages. Do you have an example of a source package that contains |
We checked for .so and .o files and they should be removed https://github.com/Bioconductor/BiocCheck/blob/devel/R/BiocCheckGitClone.R#L3 |
That's good 😃 Hopefully @LiNk-NY So to answer your latest question:
No need to skip the Anyways, as mentioned earlier in this issue, it would make more sense to perform the file size check in |
See Bioconductor/Contributions#3673 (comment)
The text was updated successfully, but these errors were encountered: