Xavier,
To close the loop on "mcookie": I suppose the terminology is not enough of a worry to make a change.
For background: Certainly the term "magic cookie" dates back to 3.x and earlier. I didn't follow the internals of 3.x and 4.x well enough, and spoke up because I had incidentally just looked up file(1) and magic(5), and suddenly realized that the "magic" had been lost[*] over the years. :-) Looking over a few historic RPM versions that I had on hand, I see that "mcookie" – as opposed to "magic cookie" – was code-internal first, introduced in the 4.2 testsuite, then was surfaced as a user-visible feature in the form of the configuration item "mcookie_version_check" in version 4.7.
With best regards,
Michael
[*] Not of environment-modules as a project, I hasten to add. I much appreciate the recent and feature-rich developments driven by Xavier.
> On Jan 16, 2022, at 01:23, Xavier Delaruelle <xav...@gm...> wrote:
> This terminology "Modules magic cookie" is there since a long time, if you feel that this is too awkward for present times, maybe we could rebrand that into "magic header" or "Modules header" abbreviated "mheader" so to have a "mheader_check" option.
> I can change mcookie_check option name as 5.1 is not released yet. For mcookie_version_check I will need to wait for 6.0 (in 2 to 4 years) to change the name of this existing option.
> What is your opinion on that?
> Regards,
> Xavier
>
>> Le sam. 15 janv. 2022 à 17:29, Paul Markfort <pau...@gm...> a écrit :
>> Maybe: module_marker_check
>> However, there is already an "mcookie_version_check" setting that is closely related (so mcookie_check seems quite appropriate).
>> Also, I should point out that mcookie is a contraction of Magic Cookie (that I have seen used in non module contexts - there is even an "mcookie" command in linux: mcookie - generate magic cookies for xauth).
>>
>>> On 2022-01-15 07:57 AM, Sternberg, Michael G. via Modules-interest wrote:
>>> Xavier,
>>> This is a great development! Dependency handling systems for HPC application deployment, like Spack, have made for some pretty deep and complex modulefile trees as of late.
>>> May I suggest a name change for the feature, though, if it isn't already committed?
>>> I ask because the term "cookie" could be misunderstood, as it has connotations with communication protocols, notably HTTP. Following convention, a more grokable name for the feature would be "[file ]magic" or "[file ]signature" – see https://en.wikipedia.org/wiki/List_of_file_signatures . The page even includes "#%Module" in its list of examples.
>>> Best wishes,
>>> --
>>> Michael Sternberg, Ph.D., Principal Scientific Computing Administrator
>>> Center for Nanoscale Materials, Argonne National Laboratory
>>>
>>>> On Jan 14, 2022, at 00:43, Xavier Delaruelle <xav...@gm...> wrote:
>>>> Hello All,
>>>> Modules 5.1 work is ongoing. A new configuration option, mcookie_check, is introduced to skip the verification of each file in modulepath directories to determine if they are modulefiles or not.…
|