[geotrans] upgrade to version 3.8#13243
[geotrans] upgrade to version 3.8#13243StarGate-One wants to merge 6 commits intomicrosoft:masterfrom StarGate-One:geotrans
Conversation
**Describe the pull request** 1. Upgrade port geotrans to version 3.8 2. Delete old style CONTROL file 3. Add new style vcpkg.json file 4. Update CI to reflect platforms not supported geotrans:arm-uwp=fail geotrans:arm64-uwp=fail geotrans:arm64-windows=fail geotrans:x64-osx=fail geotrans:x64-uwp=fail geotrans:x64-windows-static=fail
|
|
@StarGate-One what about using the master file? ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz It's described as identical between linux and windows. |
1. Add message to portfile.cmake about long download times 2. Remove port-version from vcpkg.json 3. Remove the following exceptions from ci.baseline.txt geotrans:arm-uwp=fail geotrans:arm64-uwp=fail geotrans:arm64-windows=fail geotrans:x64-osx=fail geotrans:x64-uwp=fail
Hi @cenit
|
exactly for this, the master file was the most interesting, at least for me. |
Note: The previous geotrans-3.7 copied then uses the CMakeLists.txt file from the ports\geotrans directory and it determines based on the triplet. All I did was add the additional .h .c files, of source updated the SHA512 and download from location.
aria2c -d C:\Downloads -o geotrans-3.8.zip -j 16 -x 16 -l C:\Downloads\geotrans-3.8.log -t 600 ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/dev_version/win_dev.zip |
|
@JackBoosY It still fails with a timeout downloading the file... |
Download master.tgz containing both Windows/Linux Binaries
|
Thanks. |
|
@cenit I changed the portfile.cmake to use the master.tgz file, so both the linux/windows is now present - it is only a 5mb difference. |
|
It can't be TLS because it's an FTP link. Hmmmm.... it doesn't look like we open the FTP port: https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/windows/create-vmss.ps1#L51 Is this available on an HTTP(s) endpoint or are we stuck with FTP? Thanks! |
The home web site is https: https://earth-info.nga.mil/GandG/update/index.php?action=home When you click on any of the file download links it becomes ftp://ftp.nga.mil in our case the file is: ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz I tried changing the ftp to http https and sftp ://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz but appears port 22, 80 and 443 are closed on their ftp server :( |
|
Marking depends:vm-update to open the FTP port. |
|
|
|
@JackBoosY Yes it's failing to download because we don't open the FTP port on the VMS. |
|
I thought was it the FTP port? |
|
@StarGate-One Yes, brain fart 😅 |
|
LOL no worries, we all have those days. |
|
@StarGate-One Could you please help take a look and resolve the conflicts? |
|
@NancyLi1013 cc: @BillyONeal |
|
I believe FTP is indeed not open: vcpkg/scripts/azure-pipelines/windows/create-vmss.ps1 Lines 73 to 147 in e9f8cc6 Is there an https endpoint for these bits? |
|
No https. The new site uses http for web pages access, but uses ftp for all file downloads. URL is ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz and is very slow, I mean dial-up modem slow :( It might be a good discussion point to support 3.7 until the old server is shutdown, and then remove the port from vcpkg when it is no longer available? I have v3.8 as a local port in my vcpkg instances, so it does not impact me either way and I leave the decision up to you all. Thanks, |
BillyONeal
left a comment
There was a problem hiding this comment.
After discussion today the team has no objection to accepting this FTP source location into the tree, although we still massively prefer an HTTP endpoint should it become available, because this port will ignore proxy settings, etc.
Of course, we need to wait to merge it until we actually open that port, next VM update.
The edits to aria2 that were done to attempt to troubleshoot the closed port should be reverted.
| URLS "http://earth-info.nga.mil/GandG/geotrans/geotrans3.7/linux_dev.tgz" | ||
| FILENAME "geotrans-3.7.tgz" | ||
| SHA512 20bdc870026e95154f1d7f9560cbfa2c0b2dc39042aa544f093b502a0609121cb47df5729248e0d79ccf8f9908bf01bbcea8e777ae4f45e25472b7ce2bcb9742 | ||
| URLS "ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz" |
There was a problem hiding this comment.
It's concerning that this URI is not versioned so it will break whenever they update it.
|
@StarGate-One It looks like somehow the branch is toast so we can't resolve the merge conflict; can you fix that or let us know that you're no longer interested in pursuing this? Thanks! |
|
Describe the pull request
What does your PR fix? Fixes [geotrans] update to 3.8 #13241 Upgrade geotrans to version 3.8
Which triplets are supported/not supported?
geotrans:arm-uwp=fail
geotrans:arm64-uwp=fail
geotrans:arm64-windows=fail
geotrans:x64-osx=fail
geotrans:x64-uwp=fail
geotrans:x64-windows-static=fail
Have you updated the CI baseline? Yes