You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.7 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. # addons-dev
  2. Addons Forge
  3. # Initialization
  4. 1. Fork this repo
  5. 2. Clone to your machine:
  6. git clone git@github.com:USERNAME/addons-dev.git
  7. 3. Add remotes
  8. cd addons-dev
  9. git remote add addons-yelizariev https://github.com/yelizariev/addons-yelizariev.git
  10. git remote add pos-addons https://github.com/yelizariev/pos-addons.git
  11. git remote add mail-addons https://github.com/yelizariev/mail-addons.git
  12. git remote add access-addons https://github.com/yelizariev/access-addons.git
  13. git remote add website-addons https://github.com/yelizariev/website-addons.git
  14. git remote add l10n-addons https://github.com/yelizariev/l10n-addons.git
  15. # Development
  16. # specify target repo and branch:
  17. export REPO=addons-yelizariev BRANCH=9.0
  18. # fetch remote
  19. git fetch ${REPO}
  20. # create new branch
  21. git checkout -b ${REPO}-${BRANCH}-some-feature
  22. # develop addons, create commits
  23. # ...
  24. # push to your fork
  25. git push origin addons-yelizariev-9.0-some-feature
  26. # create PR to addons-dev repo
  27. # then PR is checked and merged
  28. # then your update is tested again
  29. # then clean addon is pull-requested to target repo (see next section)
  30. # Final PR to target repo
  31. # example for addons-yelizariev
  32. cd /path/to/addons-yelizariev
  33. # add remote if it doesn't exist yet
  34. git remote add addons-dev https://github.com/yelizariev/addons-dev.git
  35. # fetch remote
  36. git fetch addons-dev
  37. # create branch
  38. git checkout -b addons-dev/addons-yelizariev-9.0-some-feature
  39. # push to your fork of target repo
  40. git push origin addons-yelizariev-9.0-some-feature
  41. # create PR to target repo