stable

Clone or download

Read-only

[botmattermost_agiledashboard] Copyright range for Enalean's files should be XXXX - Present

Expected copyright line for files edited by Enalean should looks like: `Copyright (c) Enalean, XXXX - Present. All Rights Reserved`. There are remaining files with the legacy form (`Copyright (c) Enalean, XXXX - YYYY. All Rights Reserved`) and contributors, sometimes (or most of the times in my case), forgot to update it whenever they touch a file. This generates noise in the reviewing process, so we should align every files. No functional changes expected. To update the file I used the following commands: ``` git grep -Pl 'Copyright.* Enalean.* 20\d\d\s*[-−–—]\s*\d' | xargs \ sed -rie 's/(Copyright.* Enalean.* [[:digit:]]{4})\s*[-−–—]\s*[[:digit:]]{4}/\1 - Present/' git grep -Pl 'Copyright.* Enalean.* 20\d\d\s*\.' | xargs \ sed -rie 's/(Copyright.* Enalean.* [[:digit:]]{4}\s*)\./\1 - Present./' ``` Remaining bits are detected with the following command and manually edited: ``` git grep Enalean | grep Copyright | grep -vi Present ``` Note: Unless I did something wrong in the previous command, sed is creating temporary files and do not delete them (while it should). So I must ran the following in order to remove leftovers (I could use `git clean` but I have untracked files I want to keep): ``` find . -type f -not -path '*node_modules/*' -a -not -path '*vendor/*' \ \( -name "*.tse" \ -o -name "*.jse" \ -o -name "*.cgie" \ -o -name "*.vuee" \ -o -name "*.diste" \ -o -name "*.ple" \ -o -name "*.tabe" \ -o -name "*.sqle" \ -o -name "*.pye" \ -o -name "*.ince" \ -o -name "*.phpe" \ -o -name "*.scsse" \ -o -name "*.xmle" \ -o -name "*.tple" \ -o -name "*.htmle" \ -o -name "*examplee" \ -o -name "*log_accume" \ -o -name "*.she" \ -o -name "*.mustachee" \ -o -name "*.txte" \) \ -exec rm "{}" \; ``` Part of request #19361: Copyright range for Enalean's files should be XXXX - Present Change-Id: Iecda51a946ab19305db7a6ff8d80365cf7968278

Modified Files

Name
M db/mysql/updates/2016/201611030908_replace_start_date_and_duration_columns_by_send_time.php +1 −1 Go to diff View file
M db/mysql/updates/2017/201704110929_add_channel_for_stand_up_summary.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/BotMattermostStandUpSummary/BotMattermostStandUpSummary.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/BotMattermostStandUpSummary/Dao.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/BotMattermostStandUpSummary/Validator.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Controller.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Exception/CannotCreateBotNotificationException.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Exception/CannotDeleteBotNotificationException.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Exception/CannotUpdateBotNotificationException.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Plugin/PluginDescriptor.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Plugin/PluginInfo.php +1 −1 Go to diff View file
M include/BotMattermostAgileDashboard/Presenter/AdminNotificationPresenter.php +1 −1 Go to diff View file
M include/constants.php +1 −1 Go to diff View file