Move to git: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
We want to move the repository to git(hub). Before that can happen, a couple things need to be done: | |||
* We need to establish a way to produce a simple increasing numbering scheme that can replace the SVN revision. This number must be easily relatable to GIT hashes, by both users and developers, without having to enter weird git commands or something similar. | |||
** Several scripts in the tree use the SVN revision, or other SVN things. These all have to be fixed to use the above | |||
* We'll have to agree on a development model. The most important difference to working with SVN is likely that usually with GIT you will NOT directly commit to the main tree, but always use a branch which is then merged into the tree. | |||
** That said, with cc65 we use a bit relaxed approach: "big" changes are made using branches und pull request, trivial things (fixing typos etc) can be pushed directly to the main tree | |||
* The branches that exist in the SVN repo must be converted to proper GIT branches | |||
** Most importantly the "tags" (which are really just SVN branches) should be converted to GIT tags | |||
* Some documentation must be updated to show the GIT commands instead of the SVN commands | |||
** howto-release.txt | |||
** probably some things in docs/building | |||
* The switch needs to be seamless, so we don't have a long interruption where no one can work on the code. That means everything needs to be tested and fixed before we do that | |||
[[Category:TODO]] | [[Category:TODO]] | ||
[[Category:Developer]] | [[Category:Developer]] |
Revision as of 10:52, 26 April 2023
We want to move the repository to git(hub). Before that can happen, a couple things need to be done:
- We need to establish a way to produce a simple increasing numbering scheme that can replace the SVN revision. This number must be easily relatable to GIT hashes, by both users and developers, without having to enter weird git commands or something similar.
- Several scripts in the tree use the SVN revision, or other SVN things. These all have to be fixed to use the above
- We'll have to agree on a development model. The most important difference to working with SVN is likely that usually with GIT you will NOT directly commit to the main tree, but always use a branch which is then merged into the tree.
- That said, with cc65 we use a bit relaxed approach: "big" changes are made using branches und pull request, trivial things (fixing typos etc) can be pushed directly to the main tree
- The branches that exist in the SVN repo must be converted to proper GIT branches
- Most importantly the "tags" (which are really just SVN branches) should be converted to GIT tags
- Some documentation must be updated to show the GIT commands instead of the SVN commands
- howto-release.txt
- probably some things in docs/building
- The switch needs to be seamless, so we don't have a long interruption where no one can work on the code. That means everything needs to be tested and fixed before we do that