Skip to content

Commit

Permalink
jetbrains.{idea,pycharm}-community-src: Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowRZ committed Dec 14, 2024
1 parent 931f75b commit 2344815
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/applications/editors/jetbrains/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ To test the build process of every IDE (as well as the process for adding plugin
- This will update binary IDEs and plugins, and automatically commit them
- Source builds need a bit more effort, as they **aren't automated at the moment**:
- Find the build of the stable release you want to target (usually different for pycharm and idea, should have three components)
- I find this at https://jetbrains.com/updates/updates.xml (search for `product name="`, then `fullNumber`)
- Build number is avaliable on JetBrains website:
- IDEA: https://www.jetbrains.com/idea/download/other.html
- PyCharm: https://www.jetbrains.com/pycharm/download/other.html
- Update the `version` & `buildNumber` fields in source/default.nix
- Empty the `ideaHash`, `androidHash`, `jpsHash` and `restarterHash` (only `ideaHash` and `restarterHash` changes on a regular basis) fields and try to build to get the new hashes
- Run `nix build .#jetbrains.(idea/pycharm)-community-src.src.src`, then `./source/build_maven.py source/idea_maven_artefacts.json result/`
- Run these commands respectively:
- `nix build .#jetbrains.idea-community-src.src.src && ./source/build_maven.py source/idea_maven_artefacts.json result/` for IDEA
- `nix build .#jetbrains.pycharm-community-src.src.src && ./source/build_maven.py source/pycharm_maven_artefacts.json result/` for PyCharm
- Update `source/brokenPlugins.json` (from https://plugins.jetbrains.com/files/brokenPlugins.json)
- Do a test build
- If it succeeds, make a PR/merge
Expand Down

0 comments on commit 2344815

Please sign in to comment.