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

Add Missing Files for Tests #366

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

Conversation

ezzieyguywuf
Copy link
Contributor

Thanks for the pull request!

By raising this pull request you confirm you are licensing your contribution under all licenses that apply to this project (see LICENSE) and that you have no patents covering your contribution.

If you care, my PR preferences are at https://github.com/ndmitchell/neil#contributions, but they're all guidelines, and I'm not too fussy - you don't have to read them.

@ndmitchell
Copy link
Owner

Thanks for the PR - seems good. I note that PR check says:

"Warning: Packages using 'cabal-version: 2.0' and the autogenerated module"
"Paths_* must include it also on the 'autogen-modules' field besides"
"'exposed-modules' and 'other-modules'. This specifies that the module does not"
"come with the package and is generated on setup. Modules built with a custom"
"Setup.hs script also go here to ensure that commands like sdist don't fail."
"Warning: Hackage would reject this package."

And my CI fails because of those warnings. Can they be addressed?

@ezzieyguywuf
Copy link
Contributor Author

Thanks for the PR - seems good. I note that PR check says:

"Warning: Packages using 'cabal-version: 2.0' and the autogenerated module"
"Paths_* must include it also on the 'autogen-modules' field besides"
"'exposed-modules' and 'other-modules'. This specifies that the module does not"
"come with the package and is generated on setup. Modules built with a custom"
"Setup.hs script also go here to ensure that commands like sdist don't fail."
"Warning: Hackage would reject this package."

And my CI fails because of those warnings. Can they be addressed?

I'll look into this, thanks for the quick review.

@ezzieyguywuf
Copy link
Contributor Author

@ndmitchell it seems the latest failure has to do with your neil tool. It thinks the License is wrong.

I will point out - I had to reword the LICENSE: stanza when I upgraded the cabal version, could it be that your neil tool needs to be updated itself?

Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
@ndmitchell
Copy link
Owner

Yep, seems like I might need to adjust the neil tool - and likely all the licenses if this is the new accepted way to write BSD3. I'll try and get to that tonight or tomorrow.

@ezzieyguywuf
Copy link
Contributor Author

Yep, seems like I might need to adjust the neil tool - and likely all the licenses if this is the new accepted way to write BSD3. I'll try and get to that tonight or tomorrow.

If you give me a list of the licenses you plan to change, I don't mind submitting PR's. I have a feeling that some others of your projects have some missing test files and I don't mind doing the leg work to add it to the release tarball.

@ndmitchell
Copy link
Owner

Annoyingly, Cabal requires a newer version to enable BSD-3-Clause, and then that stops it working with older versions that support global installs. If we just stick to the addition of misc/sample-data/**/*.txt in data-files, are we able to ignore all the other changes with autogen-modules and the cabal-version? I appreciate I'll have to upgrade to a newer Cabal one day, but the longer I can wait the less porting of workflows I need to do.

@ezzieyguywuf
Copy link
Contributor Author

I'll have to get rid of ** and manually list each sub dir.

I suppose this is probably less annoying than the alternative that you've proposed?

@ndmitchell
Copy link
Owner

Yep, that seems a lot less annoying than the alternative, unfortunately - I think the number of directories is fairly limited?

@ezzieyguywuf
Copy link
Contributor Author

Yea it's notsobad, just verbose.

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