-
Notifications
You must be signed in to change notification settings - Fork 20
lean_packages/manifest.json
→ lake-manifest.json
#111
Comments
It was my very first thought when I saw the current file path to be honest, but I didn't want to start a discussion if it's just me (and also I'm not exactly a regular Lake user). But if we're renaming anyway, I really think we should just name it |
I'd also prefer |
I should note that literally everything else about the package layout is configurable, so having this be the one thing that wasn't was honestly more inconsistent. I doubt it being configurable matters. I imagine virtually everyone will stick with the defaults unless there is some real issue preventing them from doing so. |
Here is my two cents on this: I absolutely hate this naming convention. For one, it is not a real lock file. Before this become a common convention for package managers, a Second, it does not have the proper file extension (e.g., |
I, on the other hand, don't care much about the name, really. But I do believe that placing a file in a folder that will hold a single file on every git repository is not the best default option |
@arthurpaulino Yeah, I think your suggested change is reasonable. I am otherwise occupied for the next 2 weeks, but afterwards I plan to do a v4 maintenance release of Lake that should include this change. |
Ah, but it does -
I'm pretty sure that's exactly as intended to signify that the file is generated and not meant for human consumption. |
Regarding the file name, here's an alternative idea: use YAML and call it
|
Please don't use YAML for generated data. Actually any kind of data, but I can accept other opinions there. |
A bit off-topic, but I think YAML is even worse for user-provided data than for generated data. At least the generator won't fall into the (This commonly appears when listing countries. |
If I can also add my 2 cents (and a "feature request"), it would be great if the chosen target file can be easily readable by Nix, e.g. commonly used file formats and enough data to download everything (hashes, etc.) without external assistance. |
@RaitoBezarius The current manifest format should already fit this (it uses JSON and has hashes etc.) |
But it is not a manifest file? To keep with the analogy of cargo, it is an order, not an invoice. That is, the user is ordering what packages they want downloaded, it is not a "certified list" of which ones were downloaded (that is what the
In my view, bad conventions should be broken. Especially if the convention is jargon and not helpful to new user's understanding.
But Lake's manifest is. As mentioned in #70, manually altering the manifest may be necessary to fix conflicts. |
Dependency version pinning usually happens at the root project directory for many languages.
It also clears the
.gitignore
and repo structure because there wouldn't be the need to keep a directory with just a json file.The text was updated successfully, but these errors were encountered: