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 old copyright #118

Merged
merged 4 commits into from
Nov 8, 2021

Conversation

amitgalitz
Copy link
Member

Signed-of-by: Amit Galitzky

Description

  • Removed old copyright that was leftover from ODFE
  • Reformatted some files that were never formatted through saving it on visual studio code with prettier extension enabled.

Issues Resolved

#101

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

kaituo
kaituo previously approved these changes Nov 5, 2021
@@ -1,18 +1,3 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Add new copyright header after removing this old one?

Copy link
Member Author

Choose a reason for hiding this comment

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

added

@@ -1,27 +1,12 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Add new copyright header

@@ -1,18 +1,3 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Add new copyright header and check other files?

Copy link
Member Author

Choose a reason for hiding this comment

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

Got it will check other files, didn't realize some files didn't have the other headers

Copy link
Member Author

Choose a reason for hiding this comment

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

@ylwu-amzn @ohltyler Should I add a copyright header to files like package.json and .prettierrc also? A few more config files never had at any point a copyright header

Copy link
Member

Choose a reason for hiding this comment

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

If possible, sure. I remember there was some issue adding comments to some of those files, but if it compiles and works, go ahead.

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right, can't add comments to json files and some others

@ohltyler
Copy link
Member

ohltyler commented Nov 7, 2021

@amitgalitz regarding reformatting changes - were you able to find a VS Code extension that is equivalent to running prettier from cli?

@amitgalitz
Copy link
Member Author

@amitgalitz regarding reformatting changes - were you able to find a VS Code extension that is equivalent to running prettier from cli?

I still have not been able to find why the extension is slightly off from the cli or a different extension where I can guarantee output is 100% the same.

@amitgalitz
Copy link
Member Author

Reviewed each file that was changed to make sure nothing else was deleted except copyright and that each file that was changed has the new header

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz force-pushed the remove_old_copyright branch from 3f2cf6d to bf1fd15 Compare November 8, 2021 20:33
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz force-pushed the remove_old_copyright branch from bf1fd15 to f1d337a Compare November 8, 2021 20:33
@amitgalitz amitgalitz merged commit 4dc1f04 into opensearch-project:main Nov 8, 2021
ohltyler pushed a commit to ohltyler/anomaly-detection-dashboards-plugin-1 that referenced this pull request Nov 8, 2021

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
ohltyler pushed a commit that referenced this pull request Nov 9, 2021

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz added v1.2.0 Version 1.2.0 enhancement New feature or request labels Nov 9, 2021
@ohltyler ohltyler mentioned this pull request Nov 11, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.2.0 Version 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants