xaizek / fragile (License: AGPLv3+) (since 2018-12-07)
Simple lightweight CI, attempting to be somewhat Unix-like in its philosophy.
Commit c91c22aafb94730066aed9c597aa1f781896af40

Slightly update displayDashboard() function
It's strange to check $builders instead of $builds.
Author: xaizek
Author date (UTC): 2017-07-03 10:36
Committer name: xaizek
Committer date (UTC): 2017-07-03 10:51
Parent(s): 58270e5f6fb55abf8f44976239f63bc680fc52ba
Signing key: 99DC5E4DB05F6BE2
Tree: 59b2d227b3dcf01e65a71623d7c8cc1e85f7c699
File Lines added Lines deleted
dashboard.php 6 6
File dashboard.php changed (mode: 100644) (index 75029cd..06a698d)
... ... function displayDashboard()
35 35 $buildsets = Buildsets::getLastN(REVISIONS_LIMIT); $buildsets = Buildsets::getLastN(REVISIONS_LIMIT);
36 36 $builds = Builds::getBuildsForAll($buildsets); $builds = Builds::getBuildsForAll($buildsets);
37 37
38 if (sizeof($builds) == 0) {
39 print "<h3>No Builds</h3>\n";
40 return;
41 }
42
38 43 $builders = []; $builders = [];
39 44 foreach ($builds as $build) { foreach ($builds as $build) {
40 45 $builders[$build->buildername][$build->buildset] = $build; $builders[$build->buildername][$build->buildset] = $build;
41 46 } }
42
43 if (sizeof($builders) == 0) {
44 print "<h3>No Builds</h3>\n";
45 } else {
46 printBuildTable($buildsets, $builders);
47 }
47 printBuildTable($buildsets, $builders);
48 48 } }
49 49
50 50 /** /**
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/fragile

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/fragile

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master