Difference between revisions of "Talk:Working with Git"
Jump to navigation
Jump to search
(CI on Windows prepared) |
(→TODO list after the GitLab Migration: credential branch) |
||
Line 12: | Line 12: | ||
** Sort through other branches that are not release branches | ** Sort through other branches that are not release branches | ||
*** Delete branches that are not needed anymore. (For example I realized branches of rejected merge requests were exported, too; I assume it's fine to get rid of them?) | *** Delete branches that are not needed anymore. (For example I realized branches of rejected merge requests were exported, too; I assume it's fine to get rid of them?) | ||
*** In the long run: Decide | *** In the long run: Decide whether to move those branches to another repo for safekeeping. I suggest we aim at only having release branches under [https://gitlab.com/inkscape/inkscape inkscape/inkscape] while feature branches of developers should reside in personal forks | ||
*** [https://gitlab.com/inkscape/inkscape/tree/inkscape.dev_credentials inkscape.dev_credentials] should probably be moved to a separate repository | |||
* Re-add tags for past releases (some were lost during the migration) | * Re-add tags for past releases (some were lost during the migration) | ||
* Set up continuous integration. There are already many devs excited to get CI up and running for different platforms! This will ensure to maintain a certain code quality down the line and prevent build breakages going unnoticed. | * Set up continuous integration. There are already many devs excited to get CI up and running for different platforms! This will ensure to maintain a certain code quality down the line and prevent build breakages going unnoticed. |
Revision as of 23:56, 11 June 2017
TODO list after the GitLab Migration
(feel free to modify and expand, Eduard (talk))
- Update build for git [Mc?]
code compiles fine already but in some places we depended on bzr (notably for getting revno) - Clean-up branches
- Make all (release) branches protected branches to prevent accidental force-pushes and other potentially destructive actions (equivalent to bzr append-only branches)
- If no further commits are supposed to happen to them, they could be marked as 'protected' via gitlab interface (which allows you to set very fine-grained merge and push permissions).
- Rename branches (we have ~100 branches imported and it's impossible to find anything). Suggestion:
- Release branches (inkscape.dev_RELEASE_0_91_BRANCH, inkscape.board_0.92.x, etc.) are renamed to plain 0.91.x, 0.92.x, etc. This will automatically put them at the top of the branch list and should make searching for them easy.
- Other branches: Keep for now; see next bullet point
- Sort through other branches that are not release branches
- Delete branches that are not needed anymore. (For example I realized branches of rejected merge requests were exported, too; I assume it's fine to get rid of them?)
- In the long run: Decide whether to move those branches to another repo for safekeeping. I suggest we aim at only having release branches under inkscape/inkscape while feature branches of developers should reside in personal forks
- inkscape.dev_credentials should probably be moved to a separate repository
- Make all (release) branches protected branches to prevent accidental force-pushes and other potentially destructive actions (equivalent to bzr append-only branches)
- Re-add tags for past releases (some were lost during the migration)
- Set up continuous integration. There are already many devs excited to get CI up and running for different platforms! This will ensure to maintain a certain code quality down the line and prevent build breakages going unnoticed.
- Linux:
- macOS: [tghs]
- Windows: CI via Appveyor and MSYS2 prepared [Eduard], needs authorization by GitLab user with "owner" permissions.
- Decide on how we want to handle commit and repo access in the future.
GitLab has much to offer to optimize what we did on Launchpad to make contributions easier while still making sure commits will not break badly. Some random thoughts that cam up already:- Should we enforce merge requests for all larger changes in future? These can be automatically checked via CI to prevent ever getting broken code into the master branch. If enough people are around we might even think about proper code review at some point.
- Should we allow direct push access to the main repo or take the above a step further and require MRs for everything?
- Who should be able to merge MRs? All developers or a group of select trusted devs? (review might create a bottleneck, so has to be carefully considered)
- Finalize set-up of GitLab repo
- The previous bullet point will decide some settings regarding repo access
Shall we enforce "fast-forward merges"? (i.e. all merges will always be rebased on top of the master branch before merging making the merge commit "Merge branch some_feature ..." unnecessary)(enabled by Bryce)PRs are non-public right now(seems already fixed)- Consider moving inkscape-docs repo, board repo, windows devlibs repos etc. (and if done, remember to adapt website and wiki accordingly)
- Organization
- Perhaps send out invitations to devs who have not registered yet? This can be done from the 'members' tab of the 'Settings' page by project masters and owners.
- Double-check permissions. Decide on whether Inkscape devs should be given developer status for all Inkscape subgroups, or only on their own subgroup.