Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

remove all useless header comments#3363

Merged
rejas merged 4 commits into
MagicMirrorOrg:developMagicMirrorOrg/MagicMirror:developfrom
khassel:headerkhassel/MagicMirror:headerCopy head branch name to clipboard
Jan 24, 2024
Merged

remove all useless header comments#3363
rejas merged 4 commits into
MagicMirrorOrg:developMagicMirrorOrg/MagicMirror:developfrom
khassel:headerkhassel/MagicMirror:headerCopy head branch name to clipboard

Conversation

@khassel

@khassel khassel commented Jan 18, 2024

Copy link
Copy Markdown
Collaborator

see #3358

used command: find ./ -type f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;

This is a first draft, I think we should preserve some of the comments.

…f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;`
@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

What do you suggest how we proceed? Comment on the parts where we shouldn't delete everything?

@khassel

khassel commented Jan 18, 2024

Copy link
Copy Markdown
Collaborator Author

I would delete everything except:

config/config.js.sample
css/custom.css.sample
modules/default/weather/providers/envcanada.js
modules/default/weather/providers/ukmetofficedatahub.js
modules/default/weather/providers/weathergov.js
tests/configs/modules/calendar/exdate.js

In above exceptions we should remove:

  • MagicMirror²
  • By ...
  • MIT Licensed.

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

Sounds good 👍 I haven't noticed anything else that I would keep.

@khassel
khassel marked this pull request as ready for review January 18, 2024 22:47
@khassel
khassel requested a review from rejas January 18, 2024 22:47
@khassel khassel changed the title remove all header comments including magicmirror remove all useless header comments Jan 18, 2024

@rejas rejas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

herculean task :-)

Comment thread modules/default/weather/weatherprovider.js
Comment thread modules/default/alert/notificationFx.js
Comment thread js/module.js
Comment thread js/class.js
Comment thread js/logger.js
Comment thread modules/default/weather/providers/ukmetoffice.js
Comment thread modules/default/weather/providers/smhi.js
Comment thread modules/default/weather/providers/pirateweather.js
Comment thread modules/default/weather/providers/openweathermap.js
Comment thread modules/default/weather/providers/openmeteo.js
@khassel
khassel requested a review from rejas January 24, 2024 20:38
@khassel

khassel commented Jan 24, 2024

Copy link
Copy Markdown
Collaborator Author

test fails are unrelated, we have Wednesday so the one test will fail today ...

@rejas
rejas merged commit 27f3c86 into MagicMirrorOrg:develop Jan 24, 2024
@khassel
khassel deleted the header branch January 24, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.