-
Notifications
You must be signed in to change notification settings - Fork 1
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
method file header #18
Comments
I don't recall the details either ... perhaps we were trying to avoid junking up the method source with a bunch of meta data? Regarding the timestamp and user stuff, I think we are better off leaning on git for recording that information ... git knows more about the history of the the method than (blame) than a mere timestamp ... With regards to the copyright stuff, IIRC the "requirement" is that for proper copyright specification, one needs to include copyright information in "each file" and that was the reason that we added the copyright line at all ... So perhaps I have reconstructed the argument for two lines ... we need the category information and copyright information in each file and we really don't need anything else.... I know that in the conversion period where Smalltalkers are not in the habit of including any copyright information with their package/projects that we'll end up with empty lines in a lot of files .... but for the folks that want to "do the right thing" (or at least what the non-lawyers amongst us interpret as the "right thing) we need to reserve room for the copyright information ... The fact that we've got the leading Does it make sense that the minimal header is two lines starting with a single double quote? Dale ----- Original Message ----- |
I do recall because I was the one who wanted such a rigid spec of a
In my opinion arguments are still valid so I vote for keeping spec rigid Regarding timestamps and other metadata - they should go .ston files. Jan On 11/04/13 07:53, Dale Henrichs wrote:
|
ok, it seems that we don't see a need for additional method properties and notice should not be empty. so let's close this with the confirmation that the spec stays as is in this regard. |
We've defined the method file header to be fairly rigid, currently it must have exactly two fields: notice and category. Since it's nicely delimited with the double-quote lines, I don't really see a reason to be so rigid about it.
I currently have one issue which is that it is normal that I can't infer a suitable copyright line for a given VW package. The best I can do at that point is to emit just and empty notice line. I think it would be better to omit it entirely.
Also a bit more flexibility would allow accommodating something like squeak/pharo need to capture the initial/timestamp and such.
Is there a reason why we decided to go so rigid? I don't remember.
The text was updated successfully, but these errors were encountered: