-
Notifications
You must be signed in to change notification settings - Fork 9
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
Restructuring nufmt #48
Comments
As someone involved with the CI and crate setup of https://github.com/nushell/nushell I will say: Folks tend to have misconceptions how things behave in workspaces with different |
It's less about familiarity and more about proper separation of concerns. |
Sounds good, but I don't see the improvement. What's the reason for changing the structure? |
I thought you deleted too much, docs, benches, git workflows, etc. I can live with the rest but I defer to @AucaCoyan and @amtoine. They have been leading the charge here. I also wouldn't minimize @sholderbach's vast knowledge. |
In my pr there are two crates. Nufmt The former is the library it does all the formatting I can structure it more like the core nushell project if it's better. |
@fdncred i was going to add those back just didn't have the time yesterday |
i think the biggest issue we all have here is understanding the value of such big changes 🤔
let's assume these files are put back, no worries, it's true that the PR is still a DRAFT 😉 i still do not get why we need such changes 😕
@IogaMaster
again, thanks for finding interest in Nushell and willing to help in developing its tooling 🙏 |
Complete separation of the two functions of this project would allow the lib to be consumed (and published on crates io) separate from the bin. In general decoupling makes the project scale better, and makes it easier to understand when contributing.
I know, I understand making a big change like this needs a lot of work and justification. 😀 |
If we continue with the rewrite I will draft a plan for how to proceed. |
Hi! on the #49 is a really good theoretical justification, in which I agree!, I quote it here:
The question that rises over me now is: I think it's a good proposal for a project, but is it for this medium size
and 2 other opinionated reasons:
By all means, I don't want to undermine you! I find good to challenge the status quo. I only don't buy it yet. |
I can see where you are coming from on the simplicity front, but I think in the long term it would be better. What is on the roadmap is just for now.
Maybe I need to make an RFC to talk about building a unified language and style spec. |
an RFC might be good but sounds out of the scope of this issue and the associated #49 😌 |
Yeah, just the start of this process. 😉 |
Let's structure nufmt like this project.
https://github.com/kamadorueda/alejandra
Mainly using workspaces
The text was updated successfully, but these errors were encountered: