Hi Trafodion Developers,

I'm looking into integrating the updateCopyright.py script with the Trafodion 
build. Here's the idea: In the core Makefile, I'll add a check copyrights step. 
In developer builds, this step will do a "git status" command to find any files 
you've changed or added, and check the copyrights on those. (In Jenkins builds, 
it will do a different command to find changed files and check those.)

I have a design choice: In developer builds, I could have the script update 
copyrights automatically. Or I could just have it check, and if it finds any 
that need updating, it fails the build. (Listing the set of files that need 
updating, of course.) You could then run the script manually with the "update" 
option on. (In Jenkins builds, though, it would always run with the update 
option off. If you get a failure there you probably want to look at it to see 
what's up.)

I thought I would ask you which choice you prefer.

Please vote "Yes" if you'd like developer builds to update copyrights 
automatically.

Please vote "No" if you'd prefer the build to fail instead, and let you update 
the copyrights yourself (for example, by running the script yourself with the 
update option on).

Please vote "Maybe" if you have another idea. And of course tell me what the 
idea is.

Some arguments to think about. In favor of "Yes": This setting potentially 
frees you from a task that some find annoying today. (Though if you forget to 
add your new files before running a build, the check would not find those. Or 
if you are in the (bad) habit of committing your files before you do a build, 
again, the script would not find your changed files.) In favor of "No": You 
might want to see what files need updating. You might have accidentally touched 
a file that you didn't intend to, for example.

Please reply by close of business on Monday, March 23.

Thanks!

Dave


-- 
Mailing list: https://launchpad.net/~trafodion-development
Post to     : trafodion-development@lists.launchpad.net
Unsubscribe : https://launchpad.net/~trafodion-development
More help   : https://help.launchpad.net/ListHelp

Reply via email to