savannah.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Daily Use Guide for using Savannah for lwIP
  2. Table of Contents:
  3. 1 - Obtaining lwIP from the Git repository
  4. 2 - Committers/developers Git access using SSH
  5. 3 - Merging a development branch to master branch
  6. 4 - How to release lwIP
  7. 1 Obtaining lwIP from the Git repository
  8. ----------------------------------------
  9. To perform an anonymous Git clone of the master branch (this is where
  10. bug fixes and incremental enhancements occur), do this:
  11. git clone git://git.savannah.nongnu.org/lwip.git
  12. Or, obtain a stable branch (updated with bug fixes only) as follows:
  13. git clone --branch DEVEL-1_4_1 git://git.savannah.nongnu.org/lwip.git
  14. Or, obtain a specific (fixed) release as follows:
  15. git clone --branch STABLE-1_4_1 git://git.savannah.nongnu.org/lwip.git
  16. 2 Committers/developers Git access using SSH
  17. --------------------------------------------
  18. The Savannah server uses SSH (Secure Shell) protocol 2 authentication and encryption.
  19. As such, Git commits to the server occur through a SSH tunnel for project members.
  20. To create a SSH2 key pair in UNIX-like environments, do this:
  21. ssh-keygen -t dsa
  22. Under Windows, a recommended SSH client is "PuTTY", freely available with good
  23. documentation and a graphic user interface. Use its key generator.
  24. Now paste the id_dsa.pub contents into your Savannah account public key list. Wait
  25. a while so that Savannah can update its configuration (This can take minutes).
  26. Try to login using SSH:
  27. ssh -v [email protected]
  28. If it tells you:
  29. Linux vcs.savannah.gnu.org 2.6.32-5-xen-686 #1 SMP Wed Jun 17 17:10:03 UTC 2015 i686
  30. Interactive shell login is not possible for security reasons.
  31. VCS commands are allowed.
  32. Last login: Tue May 15 23:10:12 2012 from 82.245.102.129
  33. You tried to execute:
  34. Sorry, you are not allowed to execute that command.
  35. Shared connection to git.sv.gnu.org closed.
  36. then you could login; Savannah refuses to give you a shell - which is OK, as we
  37. are allowed to use SSH for Git only. Now, you should be able to do this:
  38. git clone [email protected]:/srv/git/lwip.git
  39. After which you can edit your local files with bug fixes or new features and
  40. commit them. Make sure you know what you are doing when using Git to make
  41. changes on the repository. If in doubt, ask on the lwip-members mailing list.
  42. (If SSH asks about authenticity of the host, you can check the key
  43. fingerprint against https://savannah.nongnu.org/git/?group=lwip
  44. 3 - Merging a development branch to master branch
  45. -------------------------------------------------
  46. Merging is a straightforward process in Git. How to merge all changes in a
  47. development branch since our last merge from main:
  48. Checkout the master branch:
  49. git checkout master
  50. Merge the development branch to master:
  51. git merge your-development-branch
  52. Resolve any conflict.
  53. Commit the merge result.
  54. git commit -a
  55. Push your commits:
  56. git push
  57. 4 How to release lwIP
  58. ---------------------
  59. First, tag the release using Git: (I use release number 1.4.1 throughout
  60. this example).
  61. git tag -a STABLE-1_4_1
  62. Share the tag reference by pushing it to remote:
  63. git push origin STABLE-1_4_1
  64. Prepare the release:
  65. cp -r lwip lwip-1.4.1
  66. rm -rf lwip-1.4.1/.git lwip-1.4.1/.gitattributes
  67. Archive the current directory using tar, gzip'd, bzip2'd and zip'd.
  68. tar czvf lwip-1.4.1.tar.gz lwip-1.4.1
  69. tar cjvf lwip-1.4.1.tar.bz2 lwip-1.4.1
  70. zip -r lwip-1.4.1.zip lwip-1.4.1
  71. Now, sign the archives with a detached GPG binary signature as follows:
  72. gpg -b lwip-1.4.1.tar.gz
  73. gpg -b lwip-1.4.1.tar.bz2
  74. gpg -b lwip-1.4.1.zip
  75. Upload these files using anonymous FTP:
  76. ncftp ftp://savannah.gnu.org/incoming/savannah/lwip
  77. ncftp> mput *1.4.1.*
  78. Additionally, you may post a news item on Savannah, like this:
  79. A new 1.4.1 release is now available here:
  80. http://savannah.nongnu.org/files/?group=lwip&highlight=1.4.1
  81. You will have to submit this via the user News interface, then approve
  82. this via the Administrator News interface.