-
Notifications
You must be signed in to change notification settings - Fork 25
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
should YAML files be .yml or .yaml? #624
Comments
Hi Jeff
The only difference between .yaml and .yml is the file extension. Both are
used for YAML files, and they function the same way.
Your point is good. A consistent choice is better.
Thanks
Hang
…On Wed, Oct 9, 2024 at 2:51 PM Jeff Ator ***@***.***> wrote:
@edwardhartnett <https://github.com/edwardhartnett> @AlexanderRichert-NOAA
<https://github.com/AlexanderRichert-NOAA> @Hang-Lei-NOAA
<https://github.com/Hang-Lei-NOAA>
I've noticed that all of the YAML filenames in all of the NCEPLIBS
.github/workflows subdirectories seem to use .yml as a suffix rather than
.yaml. Is there any particular reason for this?
I'm asking b/c the latter seems to be more the preferred industry
standard, at least according to https://yaml.org/faq.html and
https://stackoverflow.com/questions/22268952/what-is-the-difference-between-yaml-and-yml-extension.
In fact, the latter is already used within the spack/spack.yaml file
within the NCEPLIBS-bufr repository, so there's also some inconsistency in
that regard if we continue to use .yml for the files within
.github/workflows.
Again, not a big deal, but just curious if there's any particular reason
for this, and if not then would it be worthwhile to try and move towards
what seems to be the preferred industry standard here?
—
Reply to this email directly, view it on GitHub
<#624>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFHJQJOLLNAD6ZLNPULZ2V3JBAVCNFSM6AAAAABPVFKW6SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TMNRYG4ZTCMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Hang-Lei-NOAA @edwardhartnett @AlexanderRichert-NOAA So we seem to agree that it would be good to be consistent across all of the NCEPLIBS, but do we have an agreement about which extension to gravitate towards? It seems to me that the .yaml extension may be the preferred industry standard, but I could be wrong about that(?) |
Only one way to settle this: https://www.youtube.com/watch?v=Chv9TPtaX-E |
OK that seems a bit harsh :-)) Does anyone have a problem if I try making this change to use |
@edwardhartnett @AlexanderRichert-NOAA @Hang-Lei-NOAA
I've noticed that all of the YAML filenames in all of the NCEPLIBS
.github/workflows
subdirectories seem to use .yml as a suffix rather than .yaml. Is there any particular reason for this?I'm asking b/c the latter seems to be more the preferred industry standard, at least according to https://yaml.org/faq.html and https://stackoverflow.com/questions/22268952/what-is-the-difference-between-yaml-and-yml-extension. In fact, the latter is already used within the
spack/spack.yaml
file within the NCEPLIBS-bufr repository, so there's also some inconsistency in that regard if we continue to use .yml for the files within.github/workflows
.Again, not a big deal, but just curious if there's any particular reason for this, and if not then would it be worthwhile to try and move towards what seems to be the preferred industry standard here?
The text was updated successfully, but these errors were encountered: