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

Evernote.download.recipe -- Download URL has changed (again) #470

Open
ggeerraalldd opened this issue Oct 18, 2023 · 1 comment
Open

Evernote.download.recipe -- Download URL has changed (again) #470

ggeerraalldd opened this issue Oct 18, 2023 · 1 comment

Comments

@ggeerraalldd
Copy link
Contributor

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.

@nmcspadden
Copy link
Contributor

nmcspadden commented Oct 18, 2023 via email

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants