This could be the solution:
http://stackoverflow.com/questions/1137761/using-svnignore-to-ignore-everything-but-certain-files Jacopo On Sep 9, 2009, at 4:06 PM, Jacques Le Roux wrote: > From: "Scott Gray" <[hidden email]> >> There are no values assigned to the property so it isn't actually >> doing anything. > > Yes, so what you would want to do ? > I don't like the idea of moving the README file > > Jacques >> Regards >> Scott >> On 10/09/2009, at 1:07 AM, Jacques Le Roux wrote: >>> From: "Ashish Vijaywargiya" <[hidden email]> >>>> +1 for adding svn:ignore on hot-deploy folder and moving >>>> readme.txt file >>>> somewhere else. >>> >>> I just had a look : hot-deploy folder has already svn:ignore in >>> its properties >>> >>> So I don't understand what change is really required, svn:ignore >>> on the README file ? >>> >>> Jacques >>> >>>> +ive vote for this change: 4 - Vikas, Scott, Jacques >>>> (Probably? ;o) ), >>>> Ashish. >>>> -ive vote for this change: 0 >>>> Althought I would wait for expert comment on this before we do >>>> it on trunk. >>>> -- >>>> Ashish >>>> On Wed, Sep 9, 2009 at 4:07 PM, Vikas Mayur <[hidden email] >>>> >wrote: >>>>> Hi Scott, >>>>> >>>>> Thanks for the stating this clearly (I see now that I haven't >>>>> proposed >>>>> enough reason(s) to support my question) and yes I have the >>>>> same feeling of >>>>> committing custom code accidently. >>>>> >>>>> Most of the time I also have a tar file of the custom component >>>>> under >>>>> hot-deploy directory, as instead taking a fresh checkout for a >>>>> component >>>>> (which contains images in GB) I prefer to take archive file >>>>> >>>>> from someone who already have a checkout. >>>>> >>>>> Though to commit something from hot-deploy, the custom >>>>> component or file >>>>> need to added to version control first. This is obviously a >>>>> first check. >>>>> >>>>> I tried to add the custom component to version control but >>>>> since my custom >>>>> component is also version controlled, it denied to add this >>>>> again to >>>>> hot-deploy so this was safe. >>>>> >>>>> But what if custom work/component is not under version control, >>>>> there are >>>>> still chances of errors and code being accidently committed to >>>>> trunk. >>>>> >>>>> I think this reason should be enough to ignore the hot-deploy >>>>> folder. >>>>> >>>>> Vikas >>>>> >>>>> >>>>> On Sep 9, 2009, at 2:59 PM, Scott Gray wrote: >>>>> >>>>> I guess what Vikas hasn't explained is the reason why he wants the >>>>>> hot-deploy folder's contents to be ignored. >>>>>> >>>>>> The answer to that I guess is fairly obvious, the hot-deploy >>>>>> folder is a >>>>>> place to put custom applications and code and when you put >>>>>> code in there svn >>>>>> treats it as a change to the OFBiz svn. The is a constant risk >>>>>> of >>>>>> accidentally committing an entire body of custom work to the >>>>>> OFBiz repo. >>>>>> >>>>>> Is that your reason for bringing it up Vikas? I have to admit >>>>>> I have >>>>>> performed many nervous commits with the fear that my work is >>>>>> going to the >>>>>> wrong repository. >>>>>> >>>>>> Regards >>>>>> Scott >>>>>> >>>>>> On 9/09/2009, at 9:11 PM, Jacques Le Roux wrote: >>>>>> >>>>>> Hi Vikas, >>>>>>> >>>>>>> From: "Vikas Mayur" <[hidden email]> >>>>>>> >>>>>>>> Hi Jacques, >>>>>>>> I do not see any problems because I am not a SVN Guru. I was >>>>>>>> just >>>>>>>> trying to understand why it is not ignored. AFAIK this >>>>>>>> directory is not >>>>>>>> used for any other purpose other then adding your custom >>>>>>>> component. >>>>>>>> Does only readme file under this directory adds to a good >>>>>>>> reason of not >>>>>>>> ignoring this? >>>>>>>> >>>>>>> >>>>>>> If nobody has any problems with it I would say, yes keep it >>>>>>> as is. Other >>>>>>> opininons ? >>>>>>> >>>>>>> Jacques >>>>>>> >>>>>>>> Vikas >>>>>>>> On Sep 8, 2009, at 7:09 PM, Jacques Le Roux wrote: >>>>>>>> >>>>>>>>> Hi Vikas, >>>>>>>>> >>>>>>>>> I'd prefer to keep it there. What is your problem with >>>>>>>>> svn:ignore ? >>>>>>>>> >>>>>>>>> Jacques >>>>>>>>> >>>>>>>>> From: "Vikas Mayur" <[hidden email]> >>>>>>>>> >>>>>>>>>> Hi Scott, >>>>>>>>>> Thanks for your reply, though it was the easiest one :) >>>>>>>>>> Do you agree that hot-deploy folder should be ignored and >>>>>>>>>> readme file >>>>>>>>>> is moved to under some other directory or even its >>>>>>>>>> contents merged with >>>>>>>>>> README file under root folder, or any other better option? >>>>>>>>>> Vikas >>>>>>>>>> On Sep 8, 2009, at 5:46 PM, Scott Gray wrote: >>>>>>>>>> >>>>>>>>>>> Hi Vikas >>>>>>>>>>> >>>>>>>>>>> The only reason I can think of is the readme file. >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Scott >>>>>>>>>>> >>>>>>>>>>> HotWax Media >>>>>>>>>>> http://www.hotwaxmedia.com >>>>>>>>>>> >>>>>>>>>>> On 9/09/2009, at 12:11 AM, Vikas Mayur wrote: >>>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> Does anyone know why svn:ignore is not set to TRUE on >>>>>>>>>>>> hot- deploy >>>>>>>>>>>> folder? >>>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> Vikas >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > |
Administrator
|
Yes indeed, looks like the solution we are looking for.
Thanks Jacopo! Jacques From: "Jacopo Cappellato" <[hidden email]> > This could be the solution: > > http://stackoverflow.com/questions/1137761/using-svnignore-to-ignore-everything-but-certain-files > > Jacopo > > On Sep 9, 2009, at 4:06 PM, Jacques Le Roux wrote: > >> From: "Scott Gray" <[hidden email]> >>> There are no values assigned to the property so it isn't actually >>> doing anything. >> >> Yes, so what you would want to do ? >> I don't like the idea of moving the README file >> >> Jacques >>> Regards >>> Scott >>> On 10/09/2009, at 1:07 AM, Jacques Le Roux wrote: >>>> From: "Ashish Vijaywargiya" <[hidden email]> >>>>> +1 for adding svn:ignore on hot-deploy folder and moving >>>>> readme.txt file >>>>> somewhere else. >>>> >>>> I just had a look : hot-deploy folder has already svn:ignore in >>>> its properties >>>> >>>> So I don't understand what change is really required, svn:ignore >>>> on the README file ? >>>> >>>> Jacques >>>> >>>>> +ive vote for this change: 4 - Vikas, Scott, Jacques >>>>> (Probably? ;o) ), >>>>> Ashish. >>>>> -ive vote for this change: 0 >>>>> Althought I would wait for expert comment on this before we do >>>>> it on trunk. >>>>> -- >>>>> Ashish >>>>> On Wed, Sep 9, 2009 at 4:07 PM, Vikas Mayur <[hidden email] >>>>> >wrote: >>>>>> Hi Scott, >>>>>> >>>>>> Thanks for the stating this clearly (I see now that I haven't >>>>>> proposed >>>>>> enough reason(s) to support my question) and yes I have the >>>>>> same feeling of >>>>>> committing custom code accidently. >>>>>> >>>>>> Most of the time I also have a tar file of the custom component >>>>>> under >>>>>> hot-deploy directory, as instead taking a fresh checkout for a >>>>>> component >>>>>> (which contains images in GB) I prefer to take archive file >>>>>> >>>>>> from someone who already have a checkout. >>>>>> >>>>>> Though to commit something from hot-deploy, the custom >>>>>> component or file >>>>>> need to added to version control first. This is obviously a >>>>>> first check. >>>>>> >>>>>> I tried to add the custom component to version control but >>>>>> since my custom >>>>>> component is also version controlled, it denied to add this >>>>>> again to >>>>>> hot-deploy so this was safe. >>>>>> >>>>>> But what if custom work/component is not under version control, >>>>>> there are >>>>>> still chances of errors and code being accidently committed to >>>>>> trunk. >>>>>> >>>>>> I think this reason should be enough to ignore the hot-deploy >>>>>> folder. >>>>>> >>>>>> Vikas >>>>>> >>>>>> >>>>>> On Sep 9, 2009, at 2:59 PM, Scott Gray wrote: >>>>>> >>>>>> I guess what Vikas hasn't explained is the reason why he wants the >>>>>>> hot-deploy folder's contents to be ignored. >>>>>>> >>>>>>> The answer to that I guess is fairly obvious, the hot-deploy >>>>>>> folder is a >>>>>>> place to put custom applications and code and when you put >>>>>>> code in there svn >>>>>>> treats it as a change to the OFBiz svn. The is a constant risk >>>>>>> of >>>>>>> accidentally committing an entire body of custom work to the >>>>>>> OFBiz repo. >>>>>>> >>>>>>> Is that your reason for bringing it up Vikas? I have to admit >>>>>>> I have >>>>>>> performed many nervous commits with the fear that my work is >>>>>>> going to the >>>>>>> wrong repository. >>>>>>> >>>>>>> Regards >>>>>>> Scott >>>>>>> >>>>>>> On 9/09/2009, at 9:11 PM, Jacques Le Roux wrote: >>>>>>> >>>>>>> Hi Vikas, >>>>>>>> >>>>>>>> From: "Vikas Mayur" <[hidden email]> >>>>>>>> >>>>>>>>> Hi Jacques, >>>>>>>>> I do not see any problems because I am not a SVN Guru. I was >>>>>>>>> just >>>>>>>>> trying to understand why it is not ignored. AFAIK this >>>>>>>>> directory is not >>>>>>>>> used for any other purpose other then adding your custom >>>>>>>>> component. >>>>>>>>> Does only readme file under this directory adds to a good >>>>>>>>> reason of not >>>>>>>>> ignoring this? >>>>>>>>> >>>>>>>> >>>>>>>> If nobody has any problems with it I would say, yes keep it >>>>>>>> as is. Other >>>>>>>> opininons ? >>>>>>>> >>>>>>>> Jacques >>>>>>>> >>>>>>>>> Vikas >>>>>>>>> On Sep 8, 2009, at 7:09 PM, Jacques Le Roux wrote: >>>>>>>>> >>>>>>>>>> Hi Vikas, >>>>>>>>>> >>>>>>>>>> I'd prefer to keep it there. What is your problem with >>>>>>>>>> svn:ignore ? >>>>>>>>>> >>>>>>>>>> Jacques >>>>>>>>>> >>>>>>>>>> From: "Vikas Mayur" <[hidden email]> >>>>>>>>>> >>>>>>>>>>> Hi Scott, >>>>>>>>>>> Thanks for your reply, though it was the easiest one :) >>>>>>>>>>> Do you agree that hot-deploy folder should be ignored and >>>>>>>>>>> readme file >>>>>>>>>>> is moved to under some other directory or even its >>>>>>>>>>> contents merged with >>>>>>>>>>> README file under root folder, or any other better option? >>>>>>>>>>> Vikas >>>>>>>>>>> On Sep 8, 2009, at 5:46 PM, Scott Gray wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Vikas >>>>>>>>>>>> >>>>>>>>>>>> The only reason I can think of is the readme file. >>>>>>>>>>>> >>>>>>>>>>>> Regards >>>>>>>>>>>> Scott >>>>>>>>>>>> >>>>>>>>>>>> HotWax Media >>>>>>>>>>>> http://www.hotwaxmedia.com >>>>>>>>>>>> >>>>>>>>>>>> On 9/09/2009, at 12:11 AM, Vikas Mayur wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> Does anyone know why svn:ignore is not set to TRUE on >>>>>>>>>>>>> hot- deploy >>>>>>>>>>>>> folder? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> Vikas >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > |
Free forum by Nabble | Edit this page |