/
RequirementsToPushToGitHub.html
84 lines (69 loc) · 3.26 KB
/
RequirementsToPushToGitHub.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Secretchronicles Wiki: Requirements for Pushing Code to Github</title>
<link rel="stylesheet" href="stylesheets/default.css" type="text/css"
media="screen" />
</head>
<body>
<div id="fullpage">
<div id="page">
<div id="header">
<a href="http://www.secretchronicles.de"><img class="logo" src="assets/logo.png" alt="The Secret Chronicles of Dr.M." /></a>
</div>
<ul id="navbar">
<li><a href="http://www.secretchronicles.de/en">Home</a></li>
<li><a href="http://www.secretchronicles.de/en/screenshots">Screenshots</a></li>
<li><a href="http://www.secretchronicles.de/en/news">News</a></li>
<li><a href="http://www.secretchronicles.de/en/download">Download</a></li>
<li><a href="https://github.com/Secretchronicles/TSC">GitHub</a></li>
<li><a href="https://github.com/Secretchronicles/TSC/issues/">Bugs</a></li>
<li><a href="http://www.secretchronicles.de/en/community">Community</a></li>
<li><a href="http://wiki.secretchronicles.de/">Wiki</a></li>
<li><a href="http://www.secretchronicles.de/en/documentation">Docs</a></li>
<li><a>Language</a>
<ul>
<li><a href="http://www.secretchronicles.de/fi"><img class="flag" alt="Finnish" src="assets/flags/fi.png"/><br />Finnish</a></li>
<li><a href="http://www.secretchronicles.de/en"><img class="flag" alt="English" src="assets/flags/en.png"/><br />English</a></li>
</ul>
</li>
</ul>
<div id="main">
<a href="/">Back to Wiki Homepage</a>
<h1>Secretchronicles Wiki</h1>
<h2>Requirements for Pushing Code to Github</h2>
<p>If you have write access, you will be able to use the "git push" command to push your code changes to one of the major branches in <a href="https://github.com/Secretchronicles/TSC">GitHub</a> (ie. devel or a release branch). Before pushing, you must do the following:</p>
<ul>
<li>Verify your code compiles in the normal Linux build</li>
<li>Unit test your changes such that you are reasonably sure they work as a whole</li>
<li>Make sure the world map loads in world 1</li>
<li>Make sure you can play through the first level</li>
<li>Verify the level editor can load</li>
<li>Make sure the project compiles in an MXE build (cross build)</li>
</ul>
<p>After pushing, if you pushed to a release branch and if you changed C++ logic, you will normally be responsible for merging your code to the devel branch (or any other dependent branches). This is because other people are not as familiar with your code and will not be able to spot bugs in merging. Again you must make sure the Linux builds and cross builds work, but functional testing is optional.</p>
</div>
</div>
<div id="footer">
<p id="utc-time"></p>
<script>
(function() {
'use strict';
function updateUTCTime() {
document.getElementById("utc-time").innerHTML = 'UTC Time Now: ' + (new Date()).toUTCString();
}
window.setInterval(updateUTCTime, 1000);
updateUTCTime();
})();
</script>
<p>Copyright © 2015 The Secret Chronicles Team<br />
Hosting thanks to <a href="http://www.first-root.com"><img src="assets/first-root.png" alt="First Root" /></a>
</p>
</div>
</div>
</div>
</body>
</html>
ssets