> On Jun 19, 2018, at 3:04 PM, harry.zh...@us.fujitsu.com wrote: > > Hi Ecelgp, > > I just tried, > > sdnnc@sdn-netconf:~/controller/controller$ git fetch --all --tags --prune > Fetching origin > remote: Counting objects: 1294, done. > remote: Compressing objects: 100% (238/238), done. > remote: Total 1294 (delta 491), reused 774 (delta 449), pack-reused 475 > Receiving objects: 100% (1294/1294), 234.54 KiB | 0 bytes/s, done. > Resolving deltas: 100% (504/504), completed with 89 local objects. > From https://github.com/opendaylight/controller > <https://github.com/opendaylight/controller> > 7378db3..34c55b1 stable/oxygen -> origin/stable/oxygen > e254db5..39f938a master -> origin/master > * [new tag] release/oxygen-sr2 -> release/oxygen-sr2 > sdnnc@sdn-netconf:~/controller/controller$ > > Could you please correct me. As I understand, from the above I got * [new > tag] release/oxygen-sr2 ->release/oxygen-sr2, then I can make up the > checkout commands as, > “git checkout tags/release/oxygen-sr2” to checkout the release. > > The release might not be as stable as stable/oxygen branch, before it is > finally released, May I ask if it is right?
The release version is just a little behind the stable/oxygen branch head but stability is normally the same. > > > “I am not sure I full follow the question but you could save the entire git > repo or just the changes you did. “ > I think what you understand is what I mean to ask. May I ask whether my “git > repo” is fully contained by my local ~/.m2 directory? .m2 cache is just the local maven repo used to build your code, it does not contain any source code so no point to store that unless you want to build offline or similar. > > Sorry for going too details. I am just trying to avoid making mistakes in > such areas. It’s kind critical to me. > > > Thank you very much! > > Harry > > > From: Luis Gomez [mailto:ece...@gmail.com] > Sent: Tuesday, June 19, 2018 4:40 PM > To: Zhang, Harry <harry.zh...@us.fujitsu.com> > Cc: controller-dev@lists.opendaylight.org > Subject: Re: [controller-dev] Which Release is the Most Recent in Stable > State That Compiles > > > > > On Jun 19, 2018, at 2:26 PM, harry.zh...@us.fujitsu.com > <mailto:harry.zh...@us.fujitsu.com> wrote: > > Hi Ecelgp, > > Thank you very much! It compiles now. > > May I ask whether settings.xml is common to all of the releases? After > switched to stable/oxygen, it compiles even without changing the settings.xml > file. > > Thats weird, AFAIK ODL settings.xml is always required. > > > > If I put some of my work under this stable/oxygen branch, someday later the > branch is no longer supported as what happened to stable/boron, may I ask > what the best strategy is for me to deal with the situation, in case I am not > ready to merge my code to a new release? > > The trick is to use stable release (never expires) instead of stable branch, > you can download a given release by using a tag, for example: > > git fetch --all --tags —prune > git checkout tags/release/oxygen-sr2 > > > > If I need to save my environment to share with a development team, may I ask > which files and directories that I should save to a local storage so that our > development efforts would not be effected by Opendaylight release supporting > plan? > > I am not sure I full follow the question but you could save the entire git > repo or just the changes you did. > > > > > Best Regards, > > Harry > > > > From: Luis Gomez [mailto:ece...@gmail.com <mailto:ece...@gmail.com>] > Sent: Tuesday, June 19, 2018 3:49 PM > To: Zhang, Harry <harry.zh...@us.fujitsu.com > <mailto:harry.zh...@us.fujitsu.com>> > Cc: controller-dev@lists.opendaylight.org > <mailto:controller-dev@lists.opendaylight.org> > Subject: Re: [controller-dev] Which Release is the Most Recent in Stable > State That Compiles > > Hi Harry, stable/oxygen is the latest stable release. > > > > On Jun 19, 2018, at 1:46 PM, harry.zh...@us.fujitsu.com > <mailto:harry.zh...@us.fujitsu.com> wrote: > > Hi Everybody, > > I am trying to find a recent stable branch to compile the controller and > Netconf projects. I did, > > git clone https://git.opendaylight.org/gerrit/p/controller.git > <https://git.opendaylight.org/gerrit/p/controller.git> > cd controller/ > git checkout stable/boron > > I saved the file > https://github.com/opendaylight/odlparent/blob/stable/boron/settings.xml > <https://github.com/opendaylight/odlparent/blob/stable/boron/settings.xml%20to%20my%20.m2> > to my local ~/.m2/ > > When compiled, I got errors as following. Mr. Tom Pantelis > <https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis> said > “The Boron release is no longer maintained or supported. As such, the failed > dependencies likely no longer exist on ODL nexus”. > > May I ask which stable release that is still supported I should use to > continue my tests? > > > Regards, > > Harry > > > > ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.opendaylight.controller:releasepom:0.4.5-SNAPSHOT > (/home/hzhang/controller/pom.xml) has 1 error > [ERROR] Non-resolvable parent POM for > org.opendaylight.controller:releasepom:0.4.5-SNAPSHOT: Failure to find > org.opendaylight.odlparent:odlparent-lite:pom:1.7.5-SNAPSHOT in > https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ > <https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/> > was cached in the local repository, > > > > > The Boron release is no longer maintained or supported. As such, the failed > dependencies likely no longer exist on ODL nexus. > > _______________________________________________ > controller-dev mailing list > controller-dev@lists.opendaylight.org > <mailto:controller-dev@lists.opendaylight.org> > https://lists.opendaylight.org/mailman/listinfo/controller-dev > <https://lists.opendaylight.org/mailman/listinfo/controller-dev>
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev