Submitting Web Code with Hubzero
This document is to provide you with the guidelines and processes required for committing web code in the hub environment
Listed in Publications
Version 1.0 - published on 23 Oct 2014 doi:10.13019/M2159M - cite this
Licensed under CC0 - Creative Commons
Description
Table of Contents
Overview.......................................................................................................................... 3
Coding Guidelines........................................................................................................... 3
Standards..................................................................................................................................................................................... 3
Code Locations.......................................................................................................................................................................... 3
Data Locations.......................................................................................................................................................................... 3
Script Locations....................................................................................................................................................................... 3
Portable code............................................................................................................................................................................ 3
Use the HUBzero infrastructure................................................................................................................................ 3
Functions and variables................................................................................................................................................. 3
No header, footers............................................................................................................................................................... 3
Database updates............................................................................................................................................................... 4
Git....................................................................................................................................................................................................... 4
Code for the production environment..................................................................................................................... 4
Request for Packages and libraries.......................................................................................................................... 4
Be mindful of security......................................................................................................................................................... 4
Access................................................................................................................................. 4
Production - Restricted..................................................................................................................................................... 4
Stage - Restricted................................................................................................................................................................... 4
Dev – Semi-Managed............................................................................................................................................................... 5
Personal VM – Self-managed......................................................................................................................................... 5
Code Flow - HUB............................................................................................................... 5
VM / Dev......................................................................................................................................................................................... 5
Check-in code........................................................................................................................................................................ 5
Push code to stage for review...................................................................................................................................... 5
Stage................................................................................................................................................................................................. 5
Production................................................................................................................................................................................... 5
Code Flow – Super Groups............................................................................................ 6
Gitlab notifications.............................................................................................................................................................. 6
VM / Dev......................................................................................................................................................................................... 6
Fork and Clone...................................................................................................................................................................... 7
Push code to Gitlab............................................................................................................................................................ 7
Request Merge...................................................................................................................................................................... 7
Coordinate with your team lead............................................................................................................................... 7
Stage................................................................................................................................................................................................. 9
Production................................................................................................................................................................................... 9
Updating dev/VM with new hubzero code.............................................................. 9
Content List ( Show bundle contents ) Bundle
SubmittingWebCodeWithHUBzerov2.pdf(PDF | 601 KB)
Cite this work
Researchers should cite this work as follows:
- Erich Huebner (2014). Submitting Web Code with Hubzero. MyGeoHUB. doi:10.13019/M2159M
When watching a publication, you will be notified when a new version is released.