One of my biggest beefs is that we have to hard code the current version all 
over the place. It's in the docker image used by native to run Travis jobs. 
It’s also in the benchmark job Gradle and shell scripts. Feels like there has 
got to be a better way.

Ideally the develop branches of these other repos should be pulling the last 
good snapshot version and not the last release. If the last release is needed 
there has to be a way to get that version from the Apache mirror process. 

-Jake


> On Nov 19, 2020, at 3:43 AM, Alberto Gomez <alberto.go...@est.tech> wrote:
> 
> Thanks for the info, Owen.
> 
> I have created a JIRA and a PR to update the .lgtm.yml file in the 
> geode-native repo: 
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fgeode-native%2Fpull%2F698&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180811687%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=9%2BBT3zGFmAAtCxJRKcDaXt3YzTAGtVtfglr0IYo%2F7xA%3D&amp;reserved=0
> 
> Any volunteer to review it?
> 
> BR,
> 
> Alberto
> ________________________________
> From: Owen Nichols <onich...@vmware.com>
> Sent: Thursday, November 19, 2020 11:50 AM
> To: dev@geode.apache.org <dev@geode.apache.org>
> Subject: Re: apache-geode-1.13.0.tgz not found in LGTM analysis
> 
> It looks like it was hardcoded[1] that way recently.  Geode 1.13.1 was just 
> announced[2] so you are correct, 1.13.0 is archived and no longer on the 
> mirrors.
> 
> If maintaining a hardcoded Geode version number in geode-native is necessary, 
> the set_versions[3] script should be updated to keep it in sync.
> 
> [1] 
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fgeode-native%2Fblame%2Fdevelop%2F.lgtm.yml&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180811687%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=sx%2B3VPvgaKExbozRhsgRevap%2ForjxMfMz92daXIknBk%3D&amp;reserved=0
> [2] 
> https://lists.apache.org/x/thread.html/rf937beb3783dc7f2e27a2618586d8cacd8b231793cccab863f4632e3@%3Cdev.geode.apache.org%3E
> [3] 
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fgeode%2Fblob%2Fdevelop%2Fdev-tools%2Frelease%2Fset_versions.sh&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180821685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=sdkrae2x2NP7TPhNY0wIEJ%2B2%2BwJWEqVXbX0H4WgepIk%3D&amp;reserved=0
> 
> -Owen
> 
> From: Alberto Gomez <alberto.go...@est.tech>
> Date: Thursday, November 19, 2020 at 2:39 AM
> To: dev@geode.apache.org <dev@geode.apache.org>
> Subject: apache-geode-1.13.0.tgz not found in LGTM analysis
> Hi,
> 
> I am getting the following error in the LGTM analysis of some pull requests 
> since yesterday (for example 
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fgeode-native%2Fpull%2F690&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180821685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=IbxXYHoYLEq7PQOE51y%2FQyjUdetMj%2BM2z%2FUfq7%2B77yk%3D&amp;reserved=0):
> 
> [2020-11-19 07:25:41] [build-err] + wget -O apache-geode.tgz 
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmirror.transip.net%2Fapache%2Fgeode%2F1.13.0%2Fapache-geode-1.13.0.tgz&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180821685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=HNKNarx0%2F4XOqmbobWSFc18duxI6OvN1IkJzNrw5So8%3D&amp;reserved=0
> [2020-11-19 07:25:41] [build-err] --2020-11-19 07:25:41--  
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmirror.transip.net%2Fapache%2Fgeode%2F1.13.0%2Fapache-geode-1.13.0.tgz&amp;data=04%7C01%7Cjabarrett%40vmware.com%7C5a37f006a509463481a908d88c8059c6%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637413830180821685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=HNKNarx0%2F4XOqmbobWSFc18duxI6OvN1IkJzNrw5So8%3D&amp;reserved=0
> [2020-11-19 07:25:41] [build-err] Resolving mirror.transip.net 
> (mirror.transip.net)... 149.210.210.109, 2a01:7c8:1337::100
> [2020-11-19 07:25:41] [build-err] Connecting to mirror.transip.net 
> (mirror.transip.net)|149.210.210.109|:80... connected.
> [2020-11-19 07:25:41] [build-err] HTTP request sent, awaiting response... 404 
> Not Found
> 
> It seems the tgz file is not available anymore.
> 
> Any idea how to fix it?
> 
> Thanks,
> 
> /Alberto G.

Reply via email to