Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winpython: Fix checkver #520

Merged
merged 1 commit into from
Oct 30, 2019
Merged

winpython: Fix checkver #520

merged 1 commit into from
Oct 30, 2019

Conversation

rasa
Copy link
Member

@rasa rasa commented Oct 30, 2019

See #150

@linsui
Copy link
Contributor

linsui commented Oct 30, 2019

winpython: 3.8.0.0 (scoop version is 3.7.4.1) autoupdate available
Autoupdating test
Searching hash for WinPython32-3.8.0.0Zero.exe in https://winpython.github.io/md5_sha1.txt
Could not find hash in https://winpython.github.io/md5_sha1.txt
Downloading WinPython32-3.8.0.0Zero.exe to compute hashes!
The remote server returned an error: (404) Not Found.
URL https://downloads.sourceforge.net/project/winpython/WinPython_3.8/3.8.0.0/WinPython32-3.8.0.0Zero.exe#/dl.7z is not valid
Could not find hash!
ERROR Could not update test 32bit

There is no 3.8.0.0zero version, maybe we should change to 3.8.0.0dot version?

@rasa
Copy link
Member Author

rasa commented Oct 30, 2019

There is no 3.8.0.0zero version, maybe we should change to 3.8.0.0dot version?

@linsui I removed Zero from the regex. Why pull from the dot version?

@rasa rasa merged commit 3028904 into master Oct 30, 2019
@linsui
Copy link
Contributor

linsui commented Oct 31, 2019

But au.url is still https://downloads.sourceforge.net/project/winpython/WinPython_$majorVersion.$minorVersion/$version/WinPython32-$versionZero.exe#/dl.7z .

winpython: 3.8.0.0 (scoop version is 3.7.4.1) autoupdate available
Autoupdating winpython
DEBUG[1572483615] $substitutions (hashtable) -> /root/scoop/lib/autoupdate.ps1:181:5
DEBUG[1572483615] $substitutions.$minorVersion                  8
DEBUG[1572483615] $substitutions.$buildVersion                  0
DEBUG[1572483615] $substitutions.$patchVersion                  0
DEBUG[1572483615] $substitutions.$url                           https://downloads.sourceforge.net/project/winpython/WinPython_3.8/3.8.0.0/WinPython32-3.…
DEBUG[1572483615] $substitutions.$majorVersion                  3
DEBUG[1572483615] $substitutions.$basename                      WinPython32-3.8.0.0Zero.exe
DEBUG[1572483615] $substitutions.$matchTail                     .0
DEBUG[1572483615] $substitutions.$dashVersion                   3-8-0-0
DEBUG[1572483615] $substitutions.$underscoreVersion             3_8_0_0
DEBUG[1572483615] $substitutions.$match1                        3.8.0.0
DEBUG[1572483615] $substitutions.$preReleaseVersion             3.8.0.0
DEBUG[1572483615] $substitutions.$cleanVersion                  3800
DEBUG[1572483615] $substitutions.$version                       3.8.0.0
DEBUG[1572483615] $substitutions.$baseurl                       https://downloads.sourceforge.net/project/winpython/WinPython_3.8/3.8.0.0
DEBUG[1572483615] $substitutions.$matchHead                     3.8.0
DEBUG[1572483615] $hashfile_url = https://winpython.github.io/md5_sha1.txt -> /root/scoop/lib/autoupdate.ps1:184:5
Searching hash for WinPython32-3.8.0.0Zero.exe in https://winpython.github.io/md5_sha1.txt
DEBUG[1572483615] $regex = ([a-fA-F0-9]{64})\s+\|\s+WinPython32-3\.8\.0\.0Zero\.exe -> /root/scoop/lib/autoupdate.ps1:59:5
Could not find hash in https://winpython.github.io/md5_sha1.txt
Downloading WinPython32-3.8.0.0Zero.exe to compute hashes!
The remote server returned an error: (404) Not Found.
URL https://downloads.sourceforge.net/project/winpython/WinPython_3.8/3.8.0.0/WinPython32-3.8.0.0Zero.exe#/dl.7z is not valid
Could not find hash!
ERROR Could not update winpython 32bit

@rasa rasa deleted the rasa-winpython branch October 31, 2019 03:11
rasa added a commit that referenced this pull request Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants