Skip to content
Sean Leary edited this page Mar 23, 2017 · 3 revisions

Welcome to the stars-at-night wiki!

** What exactly is the build and release process? **

For convenience, there are 2 repos: GitHub and SVN. The GitHub repo is the only source of truth. The GitHub repo is for work in progress and for orderly source control management. Releases and branches are maintained here. On my laptop, that is in /Bitnami/wordpress-4.6.1-5/apps/wordpress/htdocs/wp-content/plugins/stars-at-night This is to facilitate testing on a local Wordpress web stack. Once the code is ready, It can be copied to the SVN repo. SVN is used only because it is the supported WordPress repo. Both repos are kept in precise sync via releases. The release numbering in both repos is the same, and follows the sequence 1.0, 1.1 etc. Minimal releases may use the format 1.5.1.

Here is how to do perform a release:

  1. Prepare your new code on a GitHub dev branch.
  2. Make sure you have edited readme.txt and stars-at-night.php, and put the new release number in the header docs of both files.
  3. Commit and push to the central GitHub repo, then merge to master.
  4. Copy the files that belong in the Wordpress release to the svn trunk directory. On my laptop, that is under stars-at-night. Not every file in the git repo should be copied. Top level, directly under trunk: readme.txt stars-at-night.php uninstall.php 3 subdirectories css stars-at-night.css images Moon-[1-28].jpg Moon-[1-28]-large.jpg mercury-sm.jpg venus-sm.jpg mars-sm.jpg jupiter-sm.jpg saturn-sm.jpg uranus-sm.jpg neptune-sm.jpg pluto-sm.jpg iridium-flare.jpg iss-large.jpg iss-small.jpg src class-iridium-data.php class-iss-data.php class-moon-phase.php class-moonrise-moonset.php class-planet-data.php class-planet-passes.php class-satellite-passes.php class-stars-at-night-activator.php class-stars-at-night-deactivator.php class-stars-at-night-manager.php class-sunrise-sunset.php
Clone this wiki locally