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

Naming of fpm.toml #5

Closed
certik opened this issue Jan 14, 2020 · 6 comments
Closed

Naming of fpm.toml #5

certik opened this issue Jan 14, 2020 · 6 comments

Comments

@certik
Copy link
Member

certik commented Jan 14, 2020

Naming of fpm.toml. Cargo names Cargo.toml with capital C, and as explained in https://doc.rust-lang.org/cargo/faq.html#why-cargotoml, to "ensure that the manifest was grouped with other similar configuration files in directory listings. Sorting files often puts capital letters before lowercase letters, ensuring files like Makefile and Cargo.toml are placed together." If we want to do the same, the candidates are Fpm.toml and FPM.toml. I think fpm.toml looks better. But using a capital letter would make it similar to CMakeLists.txt also. We might want to devise a different name or naming scheme. Any ideas?

@milancurcic
Copy link
Member

If we consider fpm.toml, I like it better than either Fpm.toml or FPM.toml. I see little value in the sorting argument.

If I think of any better names than fpm.toml, I will write here, but I think fpm.toml is just fine.

@ivan-pi
Copy link
Member

ivan-pi commented Jan 15, 2020

If I get it correctly in the Rust world libraries/packages are called crates, and the package manager called Cargo is responsible for shipping these crates?

In line with the Rust naming, if you don't mind playing with some old Fortran terminology, crates would become decks (as in punched card decks), and the Fortran package manager would be a box/package/drawer/folder/cabinet/chest/case/dealer/dispenser/pile/loader/...?.... Unfortunately none of these words really ring. The fpm.toml acronym is also easy enough to remember.

From Wikipedia:

...a box of computer programs in punched card form from the early 1970s. The deck in the middle shows what a program deck looked like after extensive editing and debugging. The cardboard box was originally used to ship blank cards and held 2000 cards.

image

@certik
Copy link
Member Author

certik commented Jan 16, 2020

Thanks @ivan-pi for the ideas.

I think a Rust package is simply called a crate, but even I am not 100% sure. For that reason I would recommend to simply call a package as a package, so that people know what that means.

I agree, let's just use fpm.toml.

@everythingfunctional
Copy link
Member

Should we close this now? We've implemented it as fpm.toml.

@certik
Copy link
Member Author

certik commented Apr 30, 2020 via email

@everythingfunctional
Copy link
Member

Ok, closing.

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

No branches or pull requests

4 participants