svn properties...
To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] setprops.sh Description: application/shellscript - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties...
Sounds good, so you have my +1 ...ant On 8/25/06, Daniel Kulp [EMAIL PROTECTED] wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties...
+1 to update DAS On 8/25/06, ant elder [EMAIL PROTECTED] wrote: Sounds good, so you have my +1 ...ant On 8/25/06, Daniel Kulp [EMAIL PROTECTED] wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- - Luciano Resende SOA Opensource - Apache Tuscany -
Re: svn properties...
OK. I'm going to go ahead and do this. It seems to look pretty good and doesn't break any tests. The main problem seems to be the SDO section with a lot of files without the proper eol-style property which causes some big cleanups. Dan On Friday August 25 2006 9:35 am, Daniel Kulp wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties...
Actually, I'm seeing a build failure in SDO (test failure), although it's doing that in a clean view as well.I don't have time to investigate that right now. Thus, I'm going to wait till monday to do this. I don't want to make some big changes when I know there is a failure. Dan On Friday August 25 2006 12:07 pm, Daniel Kulp wrote: OK. I'm going to go ahead and do this. It seems to look pretty good and doesn't break any tests. The main problem seems to be the SDO section with a lot of files without the proper eol-style property which causes some big cleanups. Dan On Friday August 25 2006 9:35 am, Daniel Kulp wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties...
I'm sure the cpp tree could also benefit from this treatment. I will own up to having Rev, Date in my subversions properties... as that is what Jeremy told me to do (he's not around so I can blame him ;-) ) Is there a definitive list of property settings to use? This is the list Jeremy gave me at the beginning of the year: One way to set these automatically is to configure them in SVN's default configuration file located at: Unix: ~/.subversion/config Windows: %APPDATA%\Subversion\config Uncomment the line that says: enable-auto-props = yes and add the following lines to the bottom: [auto-props] *.c = svn:eol-style=native *.cpp = svn:eol-style=native *.h = svn:eol-style=native *.dsp = svn:eol-style=CRLF *.dsw = svn:eol-style=CRLF *.sh = svn:eol-style=native;svn:executable *.txt = svn:eol-style=native *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg Makefile = svn:eol-style=native *.java = svn:eol-style=native;svn:keywords=Rev,Date *.xml = svn:eol-style=native;svn:keywords=Rev,Date *.xsd = svn:eol-style=native;svn:keywords=Rev,Date *.html = svn:eol-style=native;svn:keywords=Rev,Date *.properties = svn:eol-style=native;svn:keywords=Rev,Date *.jelly = svn:eol-style=native;svn:keywords=Rev,Date *.ipr = svn:eol-style=native *.iml = svn:eol-style=native Clearly the Rev,Date should have been Rev Date. Anything else missing? Cheers, On 25/08/06, Daniel Kulp [EMAIL PROTECTED] wrote: Actually, I'm seeing a build failure in SDO (test failure), although it's doing that in a clean view as well.I don't have time to investigate that right now. Thus, I'm going to wait till monday to do this. I don't want to make some big changes when I know there is a failure. Dan On Friday August 25 2006 12:07 pm, Daniel Kulp wrote: OK. I'm going to go ahead and do this. It seems to look pretty good and doesn't break any tests. The main problem seems to be the SDO section with a lot of files without the proper eol-style property which causes some big cleanups. Dan On Friday August 25 2006 9:35 am, Daniel Kulp wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Pete
Re: svn properties...
Dan, Thanks for doing this. Can you also contribute the script to /java/etc? --Kevin Daniel Kulp wrote: OK. I'm going to go ahead and do this. It seems to look pretty good and doesn't break any tests. The main problem seems to be the SDO section with a lot of files without the proper eol-style property which causes some big cleanups. Dan On Friday August 25 2006 9:35 am, Daniel Kulp wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties...
Dan, I disabled the test that was failing. It's a new SDO test, that seems to work in some time zones and fail in others. Sorry about that, and thanks for doing this. Frank. Daniel Kulp [EMAIL PROTECTED] wrote on 08/25/2006 12:26:34 PM: Actually, I'm seeing a build failure in SDO (test failure), although it's doing that in a clean view as well.I don't have time to investigate that right now. Thus, I'm going to wait till monday to do this. I don't want to make some big changes when I know there is a failure. Dan On Friday August 25 2006 12:07 pm, Daniel Kulp wrote: OK. I'm going to go ahead and do this. It seems to look pretty good and doesn't break any tests. The main problem seems to be the SDO section with a lot of files without the proper eol-style property which causes some big cleanups. Dan On Friday August 25 2006 9:35 am, Daniel Kulp wrote: To help out Yoko, I wrote a quick script that will properly set the svn properties on all the files in their repository. I've attached it. Would there be any objection to me running it on all of tuscany/trunk? (including sdo, spec, das?) I've noticed there are a LOT of files that don't have the properties set, or if they are set, they are set wrong. Example: svn:keywords should be set as Rev Date, not Rev,Date. (space delimited) It would be a wrather large commit, but doesn't change any code other than to fix cr/lf issues if eol-style wasn't set and possibly fill in the correct Rev and Date things. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn properties
Hi Jeremy, Here is the auto-props section of my Subversion config file (after correcting from Rev, Date): ### Section for configuring automatic properties. [auto-props] *.c = svn:eol-style=native *.cpp = svn:eol-style=native *.h = svn:eol-style=native *.dsp = svn:eol-style=CRLF *.dsw = svn:eol-style=CRLF *.sh = svn:eol-style=native;svn:executable *.txt = svn:eol-style=native *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg Makefile = svn:eol-style=native *.java = svn:eol-style=native;svn:keywords=Rev Date *.xml = svn:eol-style=native;svn:keywords=Rev Date *.xsd = svn:eol-style=native;svn:keywords=Rev Date *.html = svn:eol-style=native;svn:keywords=Rev Date *.properties = svn:eol-style=native;svn:keywords=Rev Date *.jelly = svn:eol-style=native;svn:keywords=Rev Date *.ipr = svn:eol-style=native *.iml = svn:eol-style=native Is this correct? If so, I'll add this info for committers somewhere on our website or wiki. Thanks, --Kevin Jeremy Boynes wrote: rant I've just wasted an hour or so working with Raymond trying to figure out why a patch he supplied would not apply. I am writing this in a suitably frustrated mood ... It appears that there are many many files in our svn tree that do not have the correct properties set. Some files are missing the svn:eol-style=native setting which means files are being checked in with inconsistent line endings. Specifically, there are a lot of files with DOS \r\n endings which don't work so well for those of us not using Windows. There are also quite a few with svn:keywords set to Rev,Date as opposed to the correct value Rev Date meaning the date/version info is not being updated. I would ask everyone to double, triple check their SVN settings to make sure that they have the appropriate auto-properties configured. I am going to waste yet more time fixing the java/samples and java/ sca trees so we don't waste even more time in the future Can someone please spend the time to fix the java/sdo tree /rant -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn properties
rant I've just wasted an hour or so working with Raymond trying to figure out why a patch he supplied would not apply. I am writing this in a suitably frustrated mood ... It appears that there are many many files in our svn tree that do not have the correct properties set. Some files are missing the svn:eol-style=native setting which means files are being checked in with inconsistent line endings. Specifically, there are a lot of files with DOS \r\n endings which don't work so well for those of us not using Windows. There are also quite a few with svn:keywords set to Rev,Date as opposed to the correct value Rev Date meaning the date/version info is not being updated. I would ask everyone to double, triple check their SVN settings to make sure that they have the appropriate auto-properties configured. I am going to waste yet more time fixing the java/samples and java/ sca trees so we don't waste even more time in the future Can someone please spend the time to fix the java/sdo tree /rant -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SVN Properties
I did a big checkin Saturday to fix problems with SVN properties that were incorrectly set due to incorrect configurations on some of Jim and my machines. I have a feeling we may not be alone so I would like ask folks to check their default settings, especially for svn:keywords which should be set to Rev Date and not Rev,Date (space not comma) Thanks -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVN Properties
I think Jeremy is being charitable in taking some of the blame; it was mostly my (new) machine. Thanks for fixing. Jim On Jun 8, 2006, at 4:31 PM, Jeremy Boynes wrote: I did a big checkin Saturday to fix problems with SVN properties that were incorrectly set due to incorrect configurations on some of Jim and my machines. I have a feeling we may not be alone so I would like ask folks to check their default settings, especially for svn:keywords which should be set to Rev Date and not Rev,Date (space not comma) Thanks -- Jeremy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVN Properties
Jeremy, On Thursday June 08 2006 7:31 pm, Jeremy Boynes wrote: I did a big checkin Saturday to fix problems with SVN properties that were incorrectly set due to incorrect configurations on some of Jim and my machines. I have a feeling we may not be alone so I would like ask folks to check their default settings, especially for svn:keywords which should be set to Rev Date and not Rev,Date (space not comma) I know I don't have ANY svn:keywords things in my subversion config. Is this documented anywhere? I don't see anything in the tuscany svn repository other than the svn:ignores. Didn't really find much on the tuscany wiki or webpage either, but the wiki search seems to be broken. Thanks! -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 F:781-902-8001 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]