[Lerftest-ctrls] how to pull EDM and other non-git files
Pascual, Patrick James
ppascual at slac.stanford.edu
Thu May 10 15:58:01 EDT 2018
Hi all,
Thanks to Hugo's efforts in patching a version of CVS (the default version doesn't support certain features we need to properly configure remote access for everyone), we can now remotely access SLAC CVS repos from the LERF test facility. When you log in as softegr on lclsapp1, it should set up your CVSROOT environment variable correctly, provided you've already added your desired SSH tunnel port in /home/softegr/setup/git-tunnel-ports.bash.
Then you can do:
$ cvs <command>
which should then ask you for your SLAC credentials to log in, e.g.:
$ cvs co tools/script/lclshome
Let me know if you have any problems.
Again, thanks to Hugo for helping get this to work.
Patrick J. Pascual
Controls Software/Systems Engineer, EED
Bldg 034, Rm 208A
2575 Sand Hill Rd., MS50
Menlo Park, CA 94025
(650) 926-3539
________________________________________
From: Sonya Hoobler <sonya at slac.stanford.edu>
Sent: Thursday, May 10, 2018 10:37:49 AM
To: Pascual, Patrick James
Cc: Luchini, Kristi L.; lerftest-ctrls at jlab.org
Subject: Re: [Lerftest-ctrls] how to pull EDM and other non-git files
Hi all,
Sorry for my delayed reply.
Yes, I was referring to applications in places like $TOOLS/script that are
*not* in eco, as Patrick suggested.
Thanks, Patrick for looking into a method to handle this.
Sonya
On Wed, 9 May 2018, Pascual, Patrick James wrote:
> Hi Kristi,
>
> I'm actually testing to see how to configure remote CVS commands via the SSH tunnel method. I'll pass along an update when I get it working.
>
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
>
> ________________________________________
> From: Luchini, Kristi L.
> Sent: Wednesday, May 9, 2018 11:41:49 AM
> To: Pascual, Patrick James; Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: RE: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi Patrick,
>
> Can we do remove CVS? Wes has said that he'll need node names of SLAC hosts that we need to access, since they have to go through a proxy server.
>
> -Kristi
>
> -----Original Message-----
> From: Pascual, Patrick James
> Sent: Wednesday, May 09, 2018 11:40 AM
> To: Luchini, Kristi L.; Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: Re: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi Kristi,
>
> I am aware of that. I believe Sonya was referring to applications in places like $TOOLS/script that are *not* in eco, or perhaps ones that are not officially released yet and in development.
>
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
>
> ________________________________________
> From: Luchini, Kristi L.
> Sent: Wednesday, May 9, 2018 11:24:32 AM
> To: Pascual, Patrick James; Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: RE: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi Patrick,
>
> CVS and Git applications are known to ECO. We used ECO for the Magnet PS Control FERM and JLAB test stand.
>
> - Kristi
>
> -----Original Message-----
> From: Pascual, Patrick James
> Sent: Wednesday, May 09, 2018 11:15 AM
> To: Luchini, Kristi L.; Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: Re: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi Kristi,
>
> Eco only works if the application is "known" to eco, i.e. it's checked into CVS/git (preferably the latter) and in the modulelist.txt file with the appropriate module name and path. Not every application has been ported over to git, and not every application has been explicitly version controlled in the past. We have instances where *in-use* production applications are actually symlinks to names like "app1.9" or something. It's a good opportunity to initiate tracking for any module or application we find like that. Bear in mind that doing so does NOT affect production at all, it just puts the module/application into a state where we can track and deploy it using our existing version control and other tools infrastructure (e.g. git, eco, cram, etc).
>
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
>
> ________________________________________
> From: Luchini, Kristi L.
> Sent: Wednesday, May 9, 2018 11:10:19 AM
> To: Pascual, Patrick James; Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: RE: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi Sonya,
>
> Can't we use eco?
>
> -Kristi
>
> -----Original Message-----
> From: Lerftest-ctrls [mailto:lerftest-ctrls-bounces at jlab.org] On Behalf Of Pascual, Patrick James
> Sent: Wednesday, May 09, 2018 10:53 AM
> To: Hoobler, Sonya; lerftest-ctrls at jlab.org
> Subject: Re: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> "Real" solution: Add them to git, clone repo to LERF
> Immediate solution: Secure copy them over to LERF
>
> I know a lot of the applications deployed in production may not be explicitly version controlled and may actually be symlinks to specific versions, so please be careful about which versions you copy to the LERF machines.
>
> Patrick J. Pascual
> Controls Software/Systems Engineer, EED
> Bldg 034, Rm 208A
> 2575 Sand Hill Rd., MS50
> Menlo Park, CA 94025
> (650) 926-3539
>
> ________________________________________
> From: Lerftest-ctrls <lerftest-ctrls-bounces at jlab.org> on behalf of Sonya Hoobler <sonya at slac.stanford.edu>
> Sent: Wednesday, May 9, 2018 10:29:56 AM
> To: lerftest-ctrls at jlab.org
> Subject: [Lerftest-ctrls] how to pull EDM and other non-git files
>
> Hi team,
>
> How should we pull files that are not managed by git? (EDM, scripts, etc.)
>
> Thanks,
> Sonya
>
> _______________________________________________
> Mailing List: Lerftest-ctrls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
> Wiki: https://wiki.jlab.org/lerf/index.php/Network
>
> _______________________________________________
> Mailing List: Lerftest-ctrls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls
> Wiki: https://wiki.jlab.org/lerf/index.php/Network
>
More information about the Lerftest-ctrls
mailing list