Vote for MiT on TMC!


Add us on Google+
Please select by the first letter of the name or type in your search below:

- A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z -
Other


.:. portzone


PORTZONE (git-based promotion to prod)

Purpose:
  Promote one or more zones from the builder branch to the main branch, and then
  update the mainport working tree.

Syntax:
  portzone <zone> [zone2 zone3 ...]
  portzone 12
  portzone 12 31 85
  portzone 12,31,85

What it does (high level):
  1) Forces you into the in-game text editor to write a promotion message.
     - Finish with @@ on a new line to proceed.
     - Use @x to abort (nothing is merged/pushed).
  2) Runs git promotion asynchronously (non-blocking).
  3) Snapshots ONLY the requested zones' world files from origin/builder into origin/main:
       world/wld/<zone>.wld
       world/obj/<zone>.obj
       world/mob/<zone>.mob
       world/shp/<zone>.shp
       world/zon/<zone>.zon
  4) Ensures the zone number is present in each relevant world index file (adds only that zone).
  5) Creates a merge commit (no-ff) onto main and pushes origin/main.
  6) Updates mainport by running: cd /home/tyme/mainport/lib && git pull

Guardrail (important):
  portzone will FAIL if builder is behind main. If that happens, sync builder with main
  before promoting.

Notes:
  - portzone updates files on disk; you may still need whatever reboot/copyover/reload process
    your server uses to load changed zone files.
  - Promotion is zone-scoped; it will NOT automatically promote unrelated zones.


:: Beginning

 
 Copyright © 2003 A Moment in Tyme
 Web Design by: Tannil and Guy
.:. Top of Page