diff mbox

[v2,1/1] autobuild web/rss: Fix base url for results

Message ID 1432107719-29817-1-git-send-email-lionel.orry@gmail.com
State Accepted
Headers show

Commit Message

Lionel Orry May 20, 2015, 7:41 a.m. UTC
This commit fixes the base url previously pointing at
http://buildroot.humanoidz.org to the right base url
http://autobuild.buildroot.org.

Signed-off-by: Lionel Orry <lionel.orry@gmail.com>

---
Changes v1 -> v2:
  - Correct the commit short text which was wrong

Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
---
 web/rss.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Thomas Petazzoni May 21, 2015, 10:04 a.m. UTC | #1
Dear Lionel Orry,

On Wed, 20 May 2015 09:41:59 +0200, Lionel Orry wrote:
> This commit fixes the base url previously pointing at
> http://buildroot.humanoidz.org to the right base url
> http://autobuild.buildroot.org.
> 
> Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
> 
> ---
> Changes v1 -> v2:
>   - Correct the commit short text which was wrong

Applied to buildroot-test, thanks.

However, the "autobuild" part should not be part of the commit title.
For your next buildroot-test patches, I would rather suggest that you
do:

	git format-patch --subject-prefix="PATCH buildroot-test"

This way, the title will be:

	[PATCH buildroot-test] <something>

It allows to identify that the patch is not for Buildroot, but also to
not have the "buildroot-test" string part of the commit title when the
patch is applied.

Thanks!

Thomas
diff mbox

Patch

diff --git a/web/rss.php b/web/rss.php
index fee8cd7..8b02a07 100644
--- a/web/rss.php
+++ b/web/rss.php
@@ -26,7 +26,7 @@  $results = bab_get_results(0, 50);
 echo " <items>\n";
 echo "  <rdf:Seq>\n";
 while ($current = mysql_fetch_object($results))
-  echo "<rdf:li rdf:resource=\"http://buildroot.humanoidz.org/results/" .
+  echo "<rdf:li rdf:resource=\"http://autobuild.buildroot.org/results/" .
     $current->identifier . "\"/>\n";
 echo "  </rdf:Seq>\n";
 echo " </items>\n";
@@ -35,7 +35,7 @@  echo "</channel>\n";
 mysql_data_seek($results, 0);
 
 while ($current = mysql_fetch_object($results)) {
-  echo " <item rdf:about=\"http://buildroot.humanoidz.org/results/" .
+  echo " <item rdf:about=\"http://autobuild.buildroot.org/results/" .
     $current->identifier . "\">\n";
 
   if ($current->status == 0)
@@ -46,7 +46,7 @@  while ($current = mysql_fetch_object($results)) {
     $status = "timed out";
 
     echo "  <title>Build " . $status . " at " . $current->builddate . "</title>\n";
-    echo "  <link>http://buildroot.humanoidz.org/results/" .
+    echo "  <link>http://autobuild.buildroot.org/results/" .
       $current->identifier . "</link>\n";
     echo "  <description>\n";
     if ($current->status == 0) {