-
Notifications
You must be signed in to change notification settings - Fork 207
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
Evernote.download.recipe -- Download URL has changed (again) #470
Comments
I'm inclined to use the "latest.dmg" URL instead of scraping, as fewer URL
calls and fewer regexes are easier.
…On Wed, Oct 18, 2023 at 7:39 AM Gerald Mcdonald ***@***.***> wrote:
Getting "No match found on URL:
https://cdn1.evernote.com/boron/mac/public/latest-mac.yml" when running
Evernote.munki recipe. The current download recipe fails when regex fails
to match new URL format in
https://cdn1.evernote.com/boron/mac/public/latest-mac.yml:
files:
- url: https://mac.desktop.evernote.com/builds/Evernote-10.64.3-mac-ddl-stage-20231016152524-a3022232078b217e119d024768c2396287db456c.zip
sha512: TA3L89OrytZvKKVc1vVFDVQKhlUkAVpsPzqBRgPuwTfhNswXEz5N1jnyNYksglR4vcQCTp1yahUSnHXN1TNd7g==
size: 275578732
- url: https://mac.desktop.evernote.com/builds/Evernote-10.64.3-mac-ddl-stage-20231016152524-a3022232078b217e119d024768c2396287db456c.dmg
sha512: Y86LVHkYYQYitY7Zzvr5KucTsBF2/Ul/9ho5O5p295aJ7DLOTlj1P1SiYk7IIKV9WKtBHSfyJgiY8DINDGD5lg==
size: 284482041
path: https://mac.desktop.evernote.com/builds/Evernote-10.64.3-mac-ddl-stage-20231016152524-a3022232078b217e119d024768c2396287db456c.zip
sha512: TA3L89OrytZvKKVc1vVFDVQKhlUkAVpsPzqBRgPuwTfhNswXEz5N1jnyNYksglR4vcQCTp1yahUSnHXN1TNd7g==
releaseDate: '2023-10-18T08:23:41.000Z'
stagingPercentage: 25
.
The regex to get a direct link from the yml could be updated:
<string>https:\/\/mac\.desktop\.evernote\.com\/builds\/Evernote-\d+\.\d+\.\d+-mac-ddl-stage-\d+-[a-fA-F0-9]+\.dmg</string>
Or there is an updated link on the https://evernote.com/downloads page to
get the latest release that could be used instead of scraping the yml:
https://mac.desktop.evernote.com/builds/Evernote-latest.dmg
I've tested both options successfully -- editing the URLTextSearcher
pattern, and removing that process and using the "Evernote-latest" URL in
URLDownloader. Both methods have been used in the download recipe in the
past, but I'm not sure which will be most reliable in the long run.
—
Reply to this email directly, view it on GitHub
<#470>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFTX5JQEORIJB3VJM3R43X77S2NAVCNFSM6AAAAAA6FUS62SVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DSOJSGI3TQNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
--
Nick McSpadden
***@***.***
|
ggeerraalldd
added a commit
to ggeerraalldd/recipes
that referenced
this issue
Oct 18, 2023
Changed the download URL to link published at https://evernote.com/download, and removed unneeded URLTextSearcher processor step.
homebysix
added a commit
that referenced
this issue
Oct 21, 2023
Fix for #470 Evernote.download.recipe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting "No match found on URL: https://cdn1.evernote.com/boron/mac/public/latest-mac.yml" when running Evernote.munki recipe. The current download recipe fails when regex fails to match new URL format in https://cdn1.evernote.com/boron/mac/public/latest-mac.yml:
.
The regex to get a direct link from the yml could be updated:
<string>https:\/\/mac\.desktop\.evernote\.com\/builds\/Evernote-\d+\.\d+\.\d+-mac-ddl-stage-\d+-[a-fA-F0-9]+\.dmg</string>
Or there is an updated link on the https://evernote.com/downloads page to get the latest release that could be used instead of scraping the yml:
https://mac.desktop.evernote.com/builds/Evernote-latest.dmg
I've tested both options successfully -- editing the URLTextSearcher pattern, and removing that process and using the "Evernote-latest" URL in URLDownloader. Both methods have been used in the download recipe in the past, but I'm not sure which will be most reliable in the long run.
The text was updated successfully, but these errors were encountered: