[U-Boot] Uboot_Header_Modification_by_CVS

Hi,
Issue. -------
1) Downloaded u-boot-2010.09 source code. (u-boot-2010.09.tar.bz2http://ftp.denx.de/pub/u-boot/u-boot-2010.09.tar.bz2) 2) Some files, have version & header information along with the source code.
Ex: 1) In u-boot-2010.09/arch/arm/cpu/ixp/npe/include/IxI2cDrv.h
* @version $Revision: 0.1 $
2) In u-boot-2010.09/arch/i386/cpu/sc520/sc520_asm.S
* $Revision: 1.2 $ * $Date: 1999/09/22 12:49:33 $ * $Author: chipf $
3) When I do a check in for these files, using CVS, these header information is changed. CVS is automatically modifying these headers.
Eg :
In u-boot-2010.09/arch/i386/cpu/sc520/sc520_asm.S
* $Revision: 1.2 $ * $Date: 1999/09/22 12:49:33 $ * $Author: chipf $
If I do a check in, it will be changed to
* $Revision: 1.1.1.2 $ * $Date: 2013/12/16 12:49:33 $ * $Author: Arun $
Doubts ---------
1. Why only few files have these kind of header information in Uboot repository ?
2. If I do a check in via CVS, the headers will be modified, So will it be a violation to GPL ?
3. If it is a Violation , please help me with a solution .
Thanks & Regards, Arun

Hi Arun,
On Mon, 20 Jan 2014 07:11:19 +0000, "Arun K. Varghese" avarghes@ikanos.com wrote:
Hi,
Issue.
- Downloaded u-boot-2010.09 source code. (u-boot-2010.09.tar.bz2http://ftp.denx.de/pub/u-boot/u-boot-2010.09.tar.bz2)
- Some files, have version & header information along with the source code.
Ex:
In u-boot-2010.09/arch/arm/cpu/ixp/npe/include/IxI2cDrv.h
- @version $Revision: 0.1 $
In u-boot-2010.09/arch/i386/cpu/sc520/sc520_asm.S
- $Revision: 1.2 $
- $Date: 1999/09/22 12:49:33 $
- $Author: chipf $
- When I do a check in for these files, using CVS, these header information is changed.
CVS is automatically modifying these headers.
Eg :
In u-boot-2010.09/arch/i386/cpu/sc520/sc520_asm.S
- $Revision: 1.2 $
- $Date: 1999/09/22 12:49:33 $
- $Author: chipf $
If I do a check in, it will be changed to
- $Revision: 1.1.1.2 $
- $Date: 2013/12/16 12:49:33 $
- $Author: Arun $
Doubts
- Why only few files have these kind of header information in Uboot repository ?
I suspect that is because only a few files (still) contain any CVS-specific information, since we're using git, not CVS.
- If I do a check in via CVS, the headers will be modified, So will it be a violation to GPL ?
The answer to your question is: to me, at least, it is not clearly compliant because it changes the author, which should never be done. However, these information lines are technical in nature, not part of the actual source code as such, and it might thus be ok.
But my first answer would actually be a question: why on Earth do you use CVS for a project that is managed with git? If you used git, the issue you raise would simply not exist.
- If it is a Violation , please help me with a solution .
Use git. :)
It is free, it is open source, it can (and should) be installed on every developer's machine to help them manage their own developments, and on servers to help concentrate said developments, any git copy of U-Boot can easily be kept in sync with our mainline repository (or any of the specialized custodian repos)... There really is no reason to use anything else than git.
Thanks & Regards, Arun
Amicalement,

Dear Arun,
In message 82CF479D9040C547849E3005E77F780024B75A@SVFRWEXCH1.ikanos.com you wrote:
- Downloaded u-boot-2010.09 source code. (u-boot-2010.09.tar.bz2http://ftp.denx.de/pub/u-boot/u-boot-2010.09.tar.bz2)
- Some files, have version & header information along with the source code.
...
- When I do a check in for these files, using CVS, these header information is changed.
CVS is automatically modifying these headers.
May I ask why you are using CVS? CVS is hopelessly obsolete and has been replaced by much more powerfull tools many, many years ago.
I'm asking this especially because your question indicates that you are not exactly an experienced CVS user, so it makes not much of a difference whether you familiarize yourself with CVS or with aanother tool like git.
Do yourself (and us) a favour and use git instead like everybody else.
- Why only few files have these kind of header information in Uboot repository ?
Because these files have been imported from another project where they used such ID strings.
If I do a check in via CVS, the headers will be modified, So will it be a violation to GPL ?
If it is a Violation , please help me with a solution .
Th ebest you can to is to get rid of CVS and use git instead. You can then simply clone the mainline git repository.
If you really, really insist on using CVS, then you will have to go through the process of familiarizing yourself with this tool. Please read the manual, and eventually some of the tutorials. Please pay special attention to the "-k" flag which controls keyword substitution in CVS. For working with U-Boot code, you want to switch off keyword substitution.
Um... and please do not expect further help on CVS on this mailing list. We left it behind a decade ago, and never ever missed it since.
Best regards,
Wolfgang Denk
participants (3)
-
Albert ARIBAUD
-
Arun K. Varghese
-
Wolfgang Denk