PyCharm Notes1. Install Pycharm
2. Install Git
3. Install Python interpreter
4. Install required Python modules
In Pycharm
1. Clone the projects
2. For multiple projects in one window – do an ‘attach’
3. Configure Python interpreter per project
5. install packages/plugins via Settings - e.g. Gerrit plugin
6. Set the project dependencies in Settings - e.g. Project1 and Project2 projects are dependent to COMMON
7. Set COMMON project as a source directory
Gerrit - new change
1. Pull to latest
2. In committing: Supply 'Author'
3. In Pushing: make sure 'Push to Gerrit' is checked
4. Check that a new Gerrit record has been created by refreshing the Gerrit pane below.
Gerrit - amending
5. Pull to latest. The Gerrit pane should also refresh.
6. Checkout the change (right-click - checkout)
7. In committing: Make sure of the following
- Commit Message, "Change-Id: I34e32........" line exists
- Author is supplied
- "Amend commit" is checked
8. In pushing: by default all Projects are checked, uncheck project that has no changes
- Make sure "Push to Gerrit" is checked
2. Install Git
3. Install Python interpreter
4. Install required Python modules
In Pycharm
1. Clone the projects
2. For multiple projects in one window – do an ‘attach’
3. Configure Python interpreter per project
5. install packages/plugins via Settings - e.g. Gerrit plugin
6. Set the project dependencies in Settings - e.g. Project1 and Project2 projects are dependent to COMMON
7. Set COMMON project as a source directory
Gerrit - new change
1. Pull to latest
2. In committing: Supply 'Author'
3. In Pushing: make sure 'Push to Gerrit' is checked
4. Check that a new Gerrit record has been created by refreshing the Gerrit pane below.
Gerrit - amending
5. Pull to latest. The Gerrit pane should also refresh.
6. Checkout the change (right-click - checkout)
7. In committing: Make sure of the following
- Commit Message, "Change-Id: I34e32........" line exists
- Author is supplied
- "Amend commit" is checked
8. In pushing: by default all Projects are checked, uncheck project that has no changes
- Make sure "Push to Gerrit" is checked