-
-
Notifications
You must be signed in to change notification settings - Fork 382
Footer: show always the current year and the D Language Foundation #1595
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
Conversation
dlang.org.ddoc
Outdated
| http://digitalmars.com | ||
| Copyright (c) 1999-$(YEAR) by the D Language Foundation | ||
| All Rights Reserved. | ||
| http://dlang.org/foundation.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use https
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing @WalterBright is OK with what essentially indicates a copyright assignment and transfer of ownership to the D foundation :)
dpl-docs/views/layout.dt
Outdated
| | http://digitalmars.com | ||
| | Copyright (c) 1999-$#{year} by the D Language Foundation | ||
| | All Rights Reserved. | ||
| | http://dlang.org/foundation.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
dpl-docs/views/layout.dt
Outdated
| block copyright | ||
| | | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>. | ||
| #copyright.smallprint | ||
| | Copyright © 1999-2017 by the <a href="#{root_dir}/foundation.html">D Language Foundation</a> | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
year is hardcoded here, can you use $#{year}?
ebook.ddoc
Outdated
| http://www.digitalmars.com | ||
| Copyright (c) 1999-$(YEAR) by the D Language Foundation | ||
| All Rights Reserved. | ||
| http://dlang.org/foundation.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https
57c4079 to
15e2be1
Compare
Sorry this time I did a rebase, so the comment from @CyberShadow got lost. |
|
This should be fine, if @WalterBright wants to amend things we can always change it back. |
Awesome! As I fixed the nits, I am adding "auto-merge" now :) |
dlang.org.ddoc
Outdated
|
|
||
| CONSOLE=$(TC pre, console notranslate, $0) | ||
| COPYRIGHT=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT)/foundation.html, D Language Foundation) | ||
| COPYRIGHT_FOUNDATION=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT)/foundation.html, D Language Foundation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh apparently it's better to use ROOT_DIR without the leading /
|
FYI @CyberShadow it seems that for However, maybe it simply doesn't receive a hook event? |
|
This repository has 2 webhooks, while Phobos has 8. So... maybe? :) One of those on Phobos but not here is https://dlang-bot.herokuapp.com/github_hook |
Yep that's the one :) |
Why is this important?
An updated copyright that is older than X years shows that a file hasn't been maintained properly and the trust of the user sink immediately if he reads that the file was touched for the last time ten years ago.
For most Phobos modules the copyright is never updated as this is regarded as unnecessary churn and/or because different copyright year formats are used.
For an impression, a couple of randomly selected modules:
Why the D Language Foundation?
http://www.boost.org/LICENSE_1_0.txt
Examples from other Languages