Changes between Version 2 and Version 3 of CodeManagementReleaseProcess
- Timestamp:
- 11/03/11 20:46:36 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeManagementReleaseProcess
v2 v3 7 7 The code for the website and other projects - like the Sharing Engine(s) - including all Drupal core, contrib and custom files (but excluding settings and uploaded assets) is stored in a set of Git repositories available at https://tech.transitionnetwork.org/trac/browser. 8 8 9 The code was previously in a SVN repository, details of which are at CodeManagementReleaseProcessO LD.9 The code was previously in a SVN repository, details of which are at CodeManagementReleaseProcessOld. 10 10 11 11 == Principles == … … 31 31 {{{ 32 32 cd /the/directory/you/want/the/project/folder/in 33 git clone ''USER''@dev.transitionnetwork.org:/web/tech.transitionnetwork.org/git/www/33 git clone USER@dev.transitionnetwork.org:/web/tech.transitionnetwork.org/git/www/ 34 34 }}} 35 35 Where 'USER' is the account name of your SSH account on DEV. You'll be asked for your account password on DEV before Git copies the repository onto your machine. Also, the 'www' at the end of the second command can be exchanged for the other project folders, e.g. 'sharing-engine'. … … 44 44 As you modify the source code and theme files on your checked out working copy, the differences between your copy and the Trunk will grow. It's wise therefore to do smaller chunks of work and commit once these specific bits are completed. Clearly, if several developers are working on the same areas at once, you will have to coordinate your work and be more careful. 45 45 46 To update the Trunk (DEV) with the tested changes you've done so far :46 To update the Trunk (DEV) with the tested changes you've done so far [with information in square brackets]: 47 47 {{{ 48 48 cd /the/directory/you're/working/in 49 svn commit -m "A sensible description of what you've done" 49 git add -A [this adds any files not already in the repo]] 50 git commit -m "A sensible description of what you've done" [applies your changes locally] 51 git push -u origin [pushes all updates back to repo, will need password] 50 52 }}} 51 53 Make sure you add a good description in case someone needs to roll back a commit to fix an issue. Then, repeat this step until you're ready to...