Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove all useless header comments #3363

Merged
merged 4 commits into from
Jan 24, 2024
Merged

Conversation

khassel
Copy link
Collaborator

@khassel khassel commented Jan 18, 2024

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
Contributor

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

@khassel
Copy link
Collaborator Author

khassel commented Jan 18, 2024

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
Contributor

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
Copy link
Collaborator

@rejas rejas left a comment

Choose a reason for hiding this comment

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

herculean task :-)

modules/default/weather/weatherprovider.js Show resolved Hide resolved
modules/default/alert/notificationFx.js Outdated Show resolved Hide resolved
js/module.js Show resolved Hide resolved
js/class.js Outdated Show resolved Hide resolved
js/logger.js Show resolved Hide resolved
modules/default/weather/providers/smhi.js Show resolved Hide resolved
@khassel khassel requested a review from rejas January 24, 2024 20:38
@khassel
Copy link
Collaborator Author

khassel commented Jan 24, 2024

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
2 of 5 checks passed
@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