Skip to content

Automatically update copyright years of all sources#7573

Merged
dlang-bot merged 4 commits intodlang:masterfrom
ibuclaw:updateyears
Jan 1, 2018
Merged

Automatically update copyright years of all sources#7573
dlang-bot merged 4 commits intodlang:masterfrom
ibuclaw:updateyears

Conversation

@ibuclaw
Copy link
Copy Markdown
Member

@ibuclaw ibuclaw commented Jan 1, 2018

These sources were rejected, and updated by hand.

./src/dmd/backend/cdef.d(365): unrecognised copyright: //#define COPYRIGHT "Copyright " COPYRIGHT_SYMBOL " 2001 The D Language Foundation"
./src/dmd/backend/cdef.d(368): unrecognised copyright: //#define COPYRIGHT "Copyright (C) The D Language Foundation 2000-2017.  All Rights Reserved.\n\
./src/dmd/backend/cdef.d(373): unrecognised copyright: //#define COPYRIGHT "Copyright (C) The D Language Foundation 2000-2017.  All Rights Reserved.\n\
./src/dmd/backend/cdef.d(376): unrecognised copyright: //#define COPYRIGHT "Copyright (C) The D Language Foundation 2000-2017.  All Rights Reserved.\n\
./src/dmd/backend/cdef.h(602): unrecognised copyright: #define COPYRIGHT "Copyright " COPYRIGHT_SYMBOL " 2001-2017 The D Language Foundation"
./src/dmd/backend/cdef.h(605): unrecognised copyright: #define COPYRIGHT "Copyright (C) The D Language Foundation 2000-2017.  All Rights Reserved.\n\
./src/dmd/backend/cdef.h(610): unrecognised copyright: #define COPYRIGHT "Copyright (C) The D Language Foundation 2000-2017.  All Rights Reserved.\n\
./src/dmd/backend/cdef.h(613): unrecognised copyright: #define COPYRIGHT "Copyright (C) The D Language Foundation Mars 2000-2017.  All Rights Reserved.\n\

All automated editing was done by dlang/tools#261

@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@ibuclaw ibuclaw requested a review from WalterBright as a code owner January 1, 2018 12:43
@ibuclaw ibuclaw force-pushed the updateyears branch 2 times, most recently from 9280745 to 05e8b25 Compare January 1, 2018 12:54
Copy link
Copy Markdown
Contributor

@wilzbach wilzbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splitting it up in separate commits was very helpful. Thanks!
Also great work with the script - looks like its doing its job perfectly :)

* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1986-1997 by Symantec
* Copyright (c) 2000-2012 by The D Language Foundation, All Rights Reserved
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱 - it's good that we automate this :)

@ibuclaw
Copy link
Copy Markdown
Member Author

ibuclaw commented Jan 1, 2018

Removed auto-merge, I spotted some missed cases not handled by automation. :-(

i.e: double The.

./src/dmd/asttypename.d(7): unrecognised copyright holder: The The D Language Foundation, All Rights Reserved

@ibuclaw
Copy link
Copy Markdown
Member Author

ibuclaw commented Jan 1, 2018

OK, these are the remaining copyright failures after fixing a small logic bug. ;-)

./src/dmd/asttypename.d(4): unrecognised copyright holder: The The D Language Foundation, All Rights Reserved
./src/dmd/backend/cdef.d(365): unrecognised copyright: //#define COPYRIGHT "Copyright " COPYRIGHT_SYMBOL " 2001-2018 by The D Language Foundation"
./src/dmd/backend/cdef.h(602): unrecognised copyright: #define COPYRIGHT "Copyright " COPYRIGHT_SYMBOL " 2001-2018 by The D Language Foundation"

@ibuclaw
Copy link
Copy Markdown
Member Author

ibuclaw commented Jan 1, 2018

@wilzbach - Sorry bout that, it's all good now! (It even updates the help string).

@wilzbach
Copy link
Copy Markdown
Contributor

wilzbach commented Jan 1, 2018

If you want to go for full completeness you might want to bump the dub.sdl file too.
The man page will hopefully be generated automatically soon.

@ibuclaw
Copy link
Copy Markdown
Member Author

ibuclaw commented Jan 1, 2018

If you want to go for full completeness you might want to bump the dub.sdl file too.

Manual or automated? :-P

@wilzbach
Copy link
Copy Markdown
Contributor

wilzbach commented Jan 1, 2018

Manual or automated? :-P

I quickly did it manually for this year.

@dlang-bot dlang-bot merged commit 728a18e into dlang:master Jan 1, 2018
@ibuclaw ibuclaw deleted the updateyears branch January 1, 2018 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants