README 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. HPCC Juju Charm Development Guide
  2. Table of Contents
  3. -----------------
  4. Introduction
  5. How to get source code
  6. How to open a bug
  7. How to work on a bug or new feature code
  8. Introduction
  9. ------------
  10. HPCC Juju Charm helps users deploy HPCC Platform on various cloud environment.
  11. It can be deployed either directly from charm store or on local system image.
  12. It currently supports deploying HPCC to Ubuntu 12.04 amd64 (precise) and 14.04 amd64 (trusty).
  13. Development system is also on Ubuntu precise or trusty for easily test with local provider.
  14. There are not many differences between precise and trusty codes except HPCC images, checksum
  15. and README items.
  16. HPCC Juju Charm for precise: https://jujucharms.com/hpcc/precise/
  17. HPCC Juju Charm for trusty: https://jujucharms.com/hpcc/trusty/
  18. Juju charm Documentation: https://juju.ubuntu.com/docs/
  19. How to get source code
  20. ----------------------
  21. 1. Install charm-tools
  22. sudo add-apt-repository ppa:juju/stable
  23. sudo apt-get update
  24. sudo apt-get install charm-tools
  25. sudo apt-get bzr
  26. 2. Get HPCC Juju Charm source for Ubuntu precise:
  27. mkdir precise
  28. download Download.zip from https://jujucharms.com/hpcc/precise
  29. or
  30. charm get cs:precise/hpcc
  31. or
  32. bzr branch ip:~charmers/charms/precise/hpcc/trunk hpcc
  33. 3. Get HPCC Juju Charm source for Ubuntu trusty:
  34. mkdir trusty
  35. download Download.zip from https://jujucharms.com/hpcc/trusty
  36. or
  37. charm get cs:trusty/hpcc
  38. or
  39. bzr branch ip:~charmers/charms/trusty/hpcc/trunk hpcc
  40. How to open a bug
  41. ----------------------------------------
  42. 1. Create launchpad id if haven't at: https://launchpad.net
  43. 2. https://bugs.launchpad.net/juju-core/+filebug
  44. How to work on a bug or new feature code
  45. ----------------------------------------
  46. For development (fix bugs or add new features) you should checkout the source code
  47. from launchpad with bzr command as documented in "How to get source code" section.
  48. After you get the source code you can work with the code:
  49. 1. Make your changes
  50. 2. bzr commit -m "<comment>"
  51. 3 bzr push lp:~<your-launchpad-username>/charms/<precise|trusty>/hpcc/<branch name>
  52. This is where you could create a merge proposal with the hpcc charm
  53. 4. If you are or want to be the owner of the bug
  54. Click on "Link to related branch" in
  55. https://bugs.launchpad.net/charms/+source/hpcc/+bug/<bug number>
  56. 5. Assign the bug to yourself
  57. 6. Change the status to "Fix Committed"
  58. 7. That should enter your bug in the review queue. Juju Charm Development team will
  59. assign a tester/developer to review it.
  60. Reference https://juju.ubuntu.com/docs/authors-charm-store.html#submitting-a-fix-to-an-existing-charm
  61. for more information