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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [soft-commits] [5642] skip packages with no name
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5642%5D%20skip%20packages%20with%20no%20name&In-Reply-To=%3CCAONrEtaC50GhBQksbMEEfePUasDUttQfjwQ89mHB2Ata71LT8A%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="018449.html">
<LINK REL="Next" HREF="018452.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [soft-commits] [5642] skip packages with no name</H1>
<B>Thierry Vignaud</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5642%5D%20skip%20packages%20with%20no%20name&In-Reply-To=%3CCAONrEtaC50GhBQksbMEEfePUasDUttQfjwQ89mHB2Ata71LT8A%40mail.gmail.com%3E"
TITLE="[Mageia-dev] [soft-commits] [5642] skip packages with no name">thierry.vignaud at gmail.com
</A><BR>
<I>Tue Sep 4 16:56:21 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="018449.html">[Mageia-dev] [changelog] cauldron core/release x11-driver-video-intel-2.20.6-1.mga3
</A></li>
<LI>Next message: <A HREF="018452.html">[Mageia-dev] [soft-commits] [5642] skip packages with no name
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18450">[ date ]</a>
<a href="thread.html#18450">[ thread ]</a>
<a href="subject.html#18450">[ subject ]</a>
<a href="author.html#18450">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 4 September 2012 16:11, <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>> wrote:
><i> Revision 5642 Author rda Date 2012-09-04 16:11:36 +0200 (Tue, 04 Sep 2012)
</I>><i>
</I>><i> Log Message
</I>><i>
</I>><i> skip packages with no name
</I>
Is that possible?
><i> Modified: build_system/web/test_index.php
</I>><i> ===================================================================
</I>><i> --- build_system/web/test_index.php 2012-09-04 14:02:39 UTC (rev 5641)
</I>><i> +++ build_system/web/test_index.php 2012-09-04 14:11:36 UTC (rev 5642)
</I>><i> @@ -33,7 +33,7 @@
</I>><i> if (!is_dir($upload_dir)) {
</I>><i> $msg = "$upload_dir does not exist on this system. Please check your
</I>><i> config.";
</I>><i> error_log($msg);
</I>><i> - //die($msg);
</I>><i> + die($msg);
</I>><i> }
</I>><i>
</I>><i> $g_user = isset($_GET['user']) ? htmlentities(strip_tags($_GET['user'])) :
</I>><i> null;
</I>><i> @@ -281,6 +281,10 @@
</I>><i>
</I>><i> if ($total > 0) {
</I>><i> foreach ($pkgs as $key => $p) {
</I>><i> + if (trim($p['package']) == '') {
</I>><i> + continue;
</I>><i> + }
</I>><i> +
</I>><i> $s .= sprintf($tmpl,
</I>><i> $p['type'],
</I>><i> timediff(key2timestamp($key)) . ' ago',
</I>><i> @@ -346,7 +350,7 @@
</I>><i>
</I>><i> $s .= '<table style="width: 100%"><caption>Stats.</caption><tr><th
</I>><i> colspan="2">Status</th><th>Count</th><th>%</th></tr>';
</I>><i> foreach ($stats as $k => $v) {
</I>><i> - $s .= sprintf('<tr class="%s"><td class="status-box"></td><td
</I>><i> class="number">%s</td><td>%d</td><td class="percent">%d%%</td></tr>',
</I>><i> + $s .= sprintf('<tr class="%s"><td class="status-box"></td><td
</I>><i> class="number">%s</td><td class="number">%d</td><td
</I>><i> class="percent">%d%%</td></tr>',
</I>><i> $k, $k, $v, round($v/$total*100));
</I></PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="018449.html">[Mageia-dev] [changelog] cauldron core/release x11-driver-video-intel-2.20.6-1.mga3
</A></li>
<LI>Next message: <A HREF="018452.html">[Mageia-dev] [soft-commits] [5642] skip packages with no name
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18450">[ date ]</a>
<a href="thread.html#18450">[ thread ]</a>
<a href="subject.html#18450">[ subject ]</a>
<a href="author.html#18450">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|