[aur-dev][PATCH] Update copyright year. Four years just passed in the blink of an eye. :)

Eli Schwartz eschwartz at archlinux.org
Thu May 10 13:57:46 UTC 2018


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-dev/attachments/20180510/a8a3b41b/attachment.asc>


More information about the aur-dev mailing list