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

PyCharm CE downloading previous version #195

Open
dare-tech opened this issue Aug 20, 2021 · 2 comments
Open

PyCharm CE downloading previous version #195

dare-tech opened this issue Aug 20, 2021 · 2 comments

Comments

@dare-tech
Copy link

Hey,

Looks like the PyCharm.download.recipe is pulling down version 2021.1.3 rather than 2021.2

Tweaking the SEARCH_PATTERN to mac":{"link":"([^,]*?20\d{2,2}.[\d{1,2}]?.dmg)" should grab new version - i think.

Cheers!

@rustymyers
Copy link
Contributor

Thanks for the info. I tried the regex supplied, but seems to get 2021.2 instead of 2021.2.1, so there was something missing.
I used regex101 to help isolate the urls and get a working regex:
https://regex101.com/r/5Xww0e/1

It should now get any combo of those versions.

Two other things..

  1. There is a macM1 download at /pycharm-community-2021.2.1-aarch64.dmg. This would be useful in a separate recipe.
  2. There are a lot of other people with PyCharm download recipes and I'm not sure which ones to use. These maybe should be retired.

@rustymyers
Copy link
Contributor

M1 regex:
macM1":{"link":"([^,]*?20\d{2,2}(.\d{1,4}){1,3}-aarch64.dmg)"

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