EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Base 7.0.1.1 tag lost its submodule info
From: "Johnson, Andrew N. via Core-talk" <[email protected]>
To: Jeong Han Lee <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 30 Jan 2019 21:59:25 +0000
Hi Han,

On Jan 30, 2019, at 2:51 PM, Jeong Han Lee via Core-talk <[email protected]> wrote:
> 
> Somehow, Base tag R7.0.1.1 lost the three submodule links within this history. It looks like that all "libcom/ca/core/database" branch names are renamed with "end-of-libcom/others”.

Those submodule branches were merged back into the main (7.0) branch in October, and we tagged the end of each branch as a record of the last commit on it, but we didn’t want to confuse people in the future so we removed the branches themselves. They are easy to recreate in git if someone needs them though, see below.

>  Is there any other reason why we changed its tags? Without these tags, R7.0.1.1 has no meaning either.

We didn’t actually change tags at all, but GitHub probably doesn’t understand exactly what we did so the view you have through it doesn’t quite match what happened.

> Can we recover their branches? We are now using R7.0.1.1 as the test platform for BASE 7 at ESS, because we cannot use 7.0.2 due to int64 record.

The int64 record types were present in R7.0.1.1, so I don’t quite understand that as a reason but no matter...

The commits on those branches still exist safely within the git history for epics-base, and you can re-create them by checking out the SHA that GitHub shows for the submodules. There was also a tag created for each submodule at 7.0.1 release time: libcom-3.17.0 ca-4.13.1 and database-3.17.0. Thus you should be able to recreate a git working tree with the submodules at the time of the R7.0.1.1 tag as follows:

git clone -b R7.0.1.1 https://github.com/epics-base/epics-base.git base-7.0.1.1
git submodule update —init

The result should agree with this, which is what I got doing that:

> woz$ git submodule status
>  524ceee2c8ce8f8446c46d93b5a467edd14b8cc5 modules/ca (ca-4.13.1)
>  610f008529059c7fc1e35896ff0f678b7adcfa6d modules/database (database-3.17.0)
>  8ce980f6637d85fb1f5a139bab404269734b31bc modules/libcom (libcom-3.17.0)
>  ba2e1c8a1d1837c8817e14372cccc12f16942200 modules/normativeTypes (5.2.0)
>  8c4353bd57dc4e29145792b2b6e2aeeb81c32efe modules/pvAccess (6.0.0)
>  07afe3887bc4d6ca921d135eef13d91c9e84a155 modules/pvData (7.0.0)
>  b26c0ecd713a9c87b891afbfef44d6109e13800a modules/pvDatabase (4.3.0)
>  40014786810c3709c0e14cb179c93cdcfb66f973 modules/pva2pva (1.0.0)
>  b5291d96196825fd2ce5d7ce47559b1dddf3449e modules/pvaClient (4.3.0)

Now everything there is checked out in a detached head state, but that’s what a checkout out of a tag means anyway.

If you want something that you’re going to commit local changes to though, I would recommend that you instead download the tar file for the 7.0.1.1 release and initialize a new git repository from those files to hold your changes all together. That’s a lot easier than handling the multiple repository links that you’d have to manage if you start from our tagged repo’s.

HTH,

- Andrew


Replies:
Re: Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk
References:
Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk

Navigate by Date:
Prev: Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk
Next: Re: Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk
Next: Re: Base 7.0.1.1 tag lost its submodule info Jeong Han Lee via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 30 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·