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

[perceval] Update license and copyright information #623

Merged
merged 1 commit into from
Mar 8, 2020

Conversation

vchrombie
Copy link
Member

This PR updates license information for every source code file in Perceval.

I tried updating this using the tool, vchrombie/grimoirelab-scripts.

@vchrombie
Copy link
Member Author

vchrombie commented Mar 8, 2020

Hi @valeriocos

Ok, I will look at why the tests are failing. Meanwhile, I need some review of this draft PR.

There are a few complications. 😅

@vchrombie
Copy link
Member Author

vchrombie commented Mar 8, 2020

There are some unexpected conditions with a few files where it deletes some part of code too. I had to undo the changes and fix it. I added some extra space as of now to see what all files are being affected because of that. I will dig a bit and see what is the problem.

@valeriocos
Copy link
Member

@vchrombie thank you for the PR! perfect, thanks!

@vchrombie
Copy link
Member Author

Taking this comment into consideration, I am reverting a few deleted author names and update the PR.

@coveralls
Copy link

coveralls commented Mar 8, 2020

Coverage Status

Coverage remained the same at 97.611% when pulling 168b577 on vchrombie:test-copyright-script into 917a9e9 on chaoss:master.

@vchrombie vchrombie force-pushed the test-copyright-script branch 2 times, most recently from a1231db to ab59b01 Compare March 8, 2020 12:45
@valeriocos
Copy link
Member

Please @vchrombie ping me when the PR is ready for review. Consider to add some extra info to the commit description (saying that the script updated also the list of authors), thanks! :)

@vchrombie
Copy link
Member Author

Please @vchrombie ping me when the PR is ready for review. Consider to add some extra info to the commit description (saying that the script updated also the list of authors), thanks! :)

Sure @valeriocos. 🙂
Thanks for the suggestions.

@valeriocos
Copy link
Member

you're welcome!

@vchrombie vchrombie force-pushed the test-copyright-script branch 2 times, most recently from 6bd1ecf to bf4239c Compare March 8, 2020 14:33
@vchrombie vchrombie marked this pull request as ready for review March 8, 2020 14:57
@vchrombie vchrombie requested a review from valeriocos March 8, 2020 14:57
@vchrombie
Copy link
Member Author

Hi @valeriocos

I think I am done. Can you have a look when you are free?

Copy link
Member

@valeriocos valeriocos left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @vchrombie . Nice job!

Minor comment: you should appear as an author of thes files, since this commit will modify them. However, I understand that:

  • if the script is executed by a bot, it wouldn't make sense to list the bot as an author
  • the next time the script is executed, you will be listed as an author

In a next iteration, you can try to target also the other files not targeted in this PR

@vchrombie
Copy link
Member Author

Minor comment: you should appear as an author of thes files, since this commit will modify them.

Makes sense.

  • the next time the script is executed, you will be listed as an author

In how time period you think it would be better to run this script?

In a next iteration, you can try to target also the other files not targeted in this PR

Did I miss any files? I have covered all the files in the perceval folder.

@valeriocos
Copy link
Member

sorry @vchrombie I have just realized the the commit message is not properly rendered in the terminal. Everything appears in a single line (see below)
captura_240

Can you check this? Thanks

@vchrombie
Copy link
Member Author

#623 (comment)

Sure, let me fix it right now.

This commit updates license information for every source
code file in Perceval. The author names are also updated
using a script.

Signed-off-by: Venu Vardhan Reddy Tekula <venuvardhanreddytekula8@gmail.com>
@vchrombie vchrombie force-pushed the test-copyright-script branch from bf4239c to 168b577 Compare March 8, 2020 15:22
@valeriocos
Copy link
Member

In how time period you think it would be better to run this script?

It depends on the repo activity. A monthly-based execution could be good, or every 2/4/6 months seems also reasonable. WDYT?

Did I miss any files? I have covered all the files in the perceval folder.

I was referring to the other folders (tests, bin). Maybe the script could be updated to target all files (or specific directories), WDYT?

@valeriocos
Copy link
Member

Sure, let me fix it right now.

Thanks, it looks better now!

@vchrombie
Copy link
Member Author

It depends on the repo activity. A monthly-based execution could be good, or every 2/4/6 months seems also reasonable. WDYT?

I was thinking on a yearly basis. 😅
I think 6 months would be good enough.

I was referring to the other folders (tests, bin). Maybe the script could be updated to target all files (or specific directories), WDYT?

Ah, my bad again. I forgot about those files. I was concentrating on just perceval folder.
If you give me 5 min, I can get you that done too. WDYT?

@valeriocos valeriocos merged commit d273525 into chaoss:master Mar 8, 2020
@valeriocos
Copy link
Member

oops, already merged! No worries, you can submit another PR targeting the remaining folders, thanks!

@vchrombie vchrombie deleted the test-copyright-script branch March 8, 2020 16:44
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