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

Switch to using a common .project file extension for projects? #9925

Closed
philderbeast opened this issue Apr 23, 2024 · 1 comment · Fixed by #9958
Closed

Switch to using a common .project file extension for projects? #9925

philderbeast opened this issue Apr 23, 2024 · 1 comment · Fixed by #9958

Comments

@philderbeast
Copy link
Collaborator

Can we please change the project names to have a common .project file extension instead of a common cabal.project prefix?

$ tree -P 'cabal.project*' --prune -L 1
.
├── cabal.project
├── cabal.project.bootstrap
├── cabal.project.meta
├── cabal.project.release
├── cabal.project.validate
└── cabal.project.validate.libonly

1 directory, 6 files

I only use .project for full-blown projects. For imported project fragments I'll use .config.

If adopted, we'd have these project names;

$ tree -P '*.project' --prune -L 1
.
├── cabal.bootstrap.project
├── cabal.meta.project
├── cabal.project
├── cabal.release.project
├── cabal.validate-libonly.project
└── cabal.validate.project

1 directory, 6 files
@philderbeast philderbeast changed the title Switch to using a common .project file extension for projects Switch to using a common .project file extension for projects? Apr 23, 2024
@TeofilC
Copy link
Collaborator

TeofilC commented Apr 24, 2024

Related issue: input-output-hk/haskell.nix#2144

It's helpful to have a common suffix to enable filtering for just cabal.project and imported files.
I imagine this would also be helpful for .gitignores and file highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants