[aur-dev][PATCH] Update copyright year. Four years just passed in the blink of an eye. :)
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- web/template/cgit/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/template/cgit/footer.html b/web/template/cgit/footer.html index 36e0f1b..6ceec28 100644 --- a/web/template/cgit/footer.html +++ b/web/template/cgit/footer.html @@ -1,6 +1,6 @@ <div id="footer"> <p> - Copyright © 2004-2014 aurweb Development Team – + Copyright © 2004-2018 aurweb Development Team – <strong>AUR packages are user produced content. Any use of the provided files is at your own risk.</strong> </p> </div> -- 2.17.0
On Tue, 01 May 2018 at 21:12:38, Eli Schwartz wrote:
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- web/template/cgit/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [...]
Pushed to pu (with a slightly different commit message), thanks! I wonder whether we can easily auto-generate this date in the footer to avoid missing future updates?
On 05/10/2018 03:30 AM, Lukas Fleischer wrote:
On Tue, 01 May 2018 at 21:12:38, Eli Schwartz wrote:
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- web/template/cgit/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [...]
Pushed to pu (with a slightly different commit message), thanks!
I wonder whether we can easily auto-generate this date in the footer to avoid missing future updates?
In pacman, we'd just run `make update-copyright` to update this in many files in the codebase. But it does need remembering. We already autogenerate the date for the main aurweb interface: https://git.archlinux.org/aurweb.git/tree/web/template/footer.php#n8 __('Copyright %s 2004-%d aurweb Development Team.', '©', date('Y')) cgit is different since we can only use HTML. -- Eli Schwartz Bug Wrangler and Trusted User
On Thu, 10 May 2018 at 15:57:46, Eli Schwartz wrote:
In pacman, we'd just run `make update-copyright` to update this in many files in the codebase. But it does need remembering.
That is a good thing if there are multiple locations to update but it does not really help if there only is a single spot.
We already autogenerate the date for the main aurweb interface:
https://git.archlinux.org/aurweb.git/tree/web/template/footer.php#n8
__('Copyright %s 2004-%d aurweb Development Team.', '©', date('Y'))
cgit is different since we can only use HTML.
Yeah. We could add an intermediate step to generate the HTML footer but I don't think the benefits would outweigh the additional maintenance burden. So let's keep it as-is for now... Regards, Lukas
participants (2)
-
Eli Schwartz
-
Lukas Fleischer