[Halld-offline] switching from src to sim-recon

Mark M. Ito marki at jlab.org
Tue Mar 16 17:09:49 EDT 2010


Folks,

The move has been made.

If you happen to attempt to check in stuff to the old location you will 
get an error with phrases like "commit failed" and "path not found".

If you find yourself in that situation David pointed out to me that 
there is an "svn switch" command that might help. It should allow you to 
point your working version to a new directory in the repository.

   -- Mark

On 03/16/2010 08:19 AM, Mark M. Ito wrote:
> Folks,
>
> I did not hear any objections to making the switch this afternoon at 5
> pm, so we are going to do the switch this afternoon (Tuesday) at 5 pm EDT.
>
> N. B.: check in your changes to "src" before 5. "src" is getting deleted
> then and reconstituted in a new location. (See my previous message
> quoted below.)
>
> Just to recap:
>
> Instead of
>
> svn checkouthttps://halldsvn.jlab.org/repos/trunk/src
>
> making a directory "src" in the local directory, as we have done on the
> past, we will now do a
>
> svn checkouthttps://halldsvn.jlab.org/repos/trunk/sim-recon
>
> making a directory "sim-recon" that contains a "src" directory.
>
> What about HALLD_HOME? Let's assume that the name of the local directory
> in the case above is /home/gluexuser/stuff. Then instead of
>
> setenv HALLD_HOME /home/gluexuser/stuff
>
> we will now say
>
> setenv HALLD_HOME /home/gluexuser/stuff/sim-recon
>
>
> In other words, it is still the case that "src" is in the directory
> pointed to by HALLD_HOME.
>
> Let me know if any of this is not clear.
>
>     -- Mark
>
> On 03/12/2010 02:07 PM, Mark M. Ito wrote:
>    
>> Folks,
>>
>> If you have been making changes to the code in the src directory lately,
>> you are going to want to read this message carefully.
>>
>> Software wise, I think I am ready to make the switch we discussed at the
>> last Offline Meeting (see http://tinyurl.com/yhd8pmt). I have modified
>> versions of the nightly build scripts prepared. There will be some
>> clean-up to do after the transition occurs, but I don't think there will
>> be major issues with the builds.
>>
>> The cleanest way to make the change is to move the src directory to
>> sim-recon/src in the Subversion repository. Not to belabour the point,
>> but that means that the old src is deleted. This guarantees that no new
>> code is checked into the old location, a good thing. This is not the
>> only way to proceed, but is by far the easiest.
>>
>> Whereas the transition is easy to make in the Subversion repository, it
>> is not so trivial for versions of code checked out from the old tree and
>> modified, especially if those modification are meant to be checked in
>> someday. Their nominal home will have been deleted after the move.
>>
>> To finesse this problem, I am proposing that we set a definite time to
>> do the switch. Before that time, we are all responsible for checking in
>> our own desired changes so that they all travel together to the new
>> location. After that time, we all check out code from the new location
>> and continue to work.
>>
>> Let me propose that we do this Tuesday of next week, March 16, at 5 pm
>> (for definiteness). That will make it a week since the meeting. If that
>> is too soon, we could wait another week until the next Offline Meeting
>> on March 23.
>>
>> Let me know what you think.
>>
>>      -- Mark
>>
>> _______________________________________________
>> Halld-offline mailing list
>> Halld-offline at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>>
>>      
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
>    




More information about the Halld-offline mailing list