summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019815.html
blob: 89ed8dc10255c1c093d896427a743ee27eca6cd8 (plain)
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.
   </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%5B6416%5D%20Initial%20commit%20of%20Admin%0A%09Panel.&In-Reply-To=%3C2062043.WnzaYDBLs1%40karamel%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="019810.html">
   <LINK REL="Next"  HREF="019817.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.</H1>
    <B>Nicolas L&#233;cureuil</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6416%5D%20Initial%20commit%20of%20Admin%0A%09Panel.&In-Reply-To=%3C2062043.WnzaYDBLs1%40karamel%3E"
       TITLE="[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.">nicolas.lecureuil at free.fr
       </A><BR>
    <I>Tue Nov  6 16:26:41 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="019810.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.
</A></li>
        <LI>Next message: <A HREF="019817.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#19815">[ date ]</a>
              <a href="thread.html#19815">[ thread ]</a>
              <a href="subject.html#19815">[ subject ]</a>
              <a href="author.html#19815">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le mardi 6 novembre 2012 13:16:20 Guillaume Rousse a &#233;crit :
&gt;<i> Le 06/11/2012 12:09, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a &#233;crit :
</I>&gt;<i> &gt; Revision
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt;     6416
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Author
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt;     tuxta
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Date
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt;     2012-11-06 12:09:51 +0100 (Tue, 06 Nov 2012)
</I>&gt;<i> &gt;     
</I>&gt;<i> &gt;       Log Message
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Initial commit of Admin Panel.
</I>&gt;<i> &gt; Has basic functionality that you might expect from the core program,
</I>&gt;<i> &gt; escalates priviledges, loads categories and modules dynamically from
</I>&gt;<i> &gt; configuration file, launches modules and returns to the panel once the
</I>&gt;<i> &gt; module has completed. Works within ncurses, gtk and qt environments using
</I>&gt;<i> &gt; the native widget set.&gt; 
</I>&gt;<i> &gt;       Added Paths
</I>&gt;<i> &gt;   
</I>&gt;<i> &gt;   * AdminPanel/trunk/
</I>&gt;<i> &gt;   * AdminPanel/trunk/Auth.pm &lt;#AdminPaneltrunkAuthpm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/Category.pm &lt;#AdminPaneltrunkCategorypm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/ConfigReader.pm &lt;#AdminPaneltrunkConfigReaderpm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/MainDisplay.pm &lt;#AdminPaneltrunkMainDisplaypm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/Module.pm &lt;#AdminPaneltrunkModulepm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/SettingsReader.pm &lt;#AdminPaneltrunkSettingsReaderpm&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/apanel.pl &lt;#AdminPaneltrunkapanelpl&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/categories.conf &lt;#AdminPaneltrunkcategoriesconf&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/extras/
</I>&gt;<i> &gt;   * AdminPanel/trunk/extras/README &lt;#AdminPaneltrunkextrasREADME&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/extras/org.freedesktop.policykit.pkexec.policy
</I>&gt;<i> &gt;   
</I>&gt;<i> &gt;     &lt;#AdminPaneltrunkextrasorgfreedesktoppolicykitpkexecpolicy&gt;
</I>&gt;<i> &gt;   
</I>&gt;<i> &gt;   * AdminPanel/trunk/images/
</I>&gt;<i> &gt;   * AdminPanel/trunk/images/logo_mageia.png
</I>&gt;<i> &gt;   
</I>&gt;<i> &gt;     &lt;#AdminPaneltrunkimageslogo_mageiapng&gt;
</I>&gt;<i> &gt;   
</I>&gt;<i> &gt;   * AdminPanel/trunk/images/mageia.png &lt;#AdminPaneltrunkimagesmageiapng&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/images/quit.png &lt;#AdminPaneltrunkimagesquitpng&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/modules/
</I>&gt;<i> &gt;   * AdminPanel/trunk/modules/test.cpp &lt;#AdminPaneltrunkmodulestestcpp&gt;
</I>&gt;<i> &gt;   * AdminPanel/trunk/settings.conf &lt;#AdminPaneltrunksettingsconf&gt;
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Added: AdminPanel/trunk/Auth.pm
</I>&gt;<i> &gt; ===================================================================
</I>&gt;<i> &gt; --- AdminPanel/trunk/Auth.pm	                        (rev 0)
</I>&gt;<i> &gt; +++ AdminPanel/trunk/Auth.pm	2012-11-06 11:09:51 UTC (rev 6416)
</I>&gt;<i> &gt; @@ -0,0 +1,50 @@
</I>&gt;<i> &gt; +#    Copyright 2012 Matteo Pasotti
</I>&gt;<i> &gt; +#
</I>&gt;<i> &gt; +#    This file is part of mcc2
</I>&gt;<i> &gt; +#
</I>&gt;<i> &gt; +#    mcc2 is free software: you can redistribute it and/or modify
</I>&gt;<i> &gt; +#    it under the terms of the GNU General Public License as published by
</I>&gt;<i> &gt; +#    the Free Software Foundation, either version 2 of the License, or
</I>&gt;<i> &gt; +#    (at your option) any later version.
</I>&gt;<i> &gt; +#
</I>&gt;<i> &gt; +#    mcc2 is distributed in the hope that it will be useful,
</I>&gt;<i> &gt; +#    but WITHOUT ANY WARRANTY; without even the implied warranty of
</I>&gt;<i> &gt; +#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
</I>&gt;<i> &gt; +#    GNU General Public License for more details.
</I>&gt;<i> &gt; +#
</I>&gt;<i> &gt; +#    You should have received a copy of the GNU General Public License
</I>&gt;<i> &gt; +#    along with mcc2.  If not, see &lt;<A HREF="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</A>&gt;.
</I>&gt;<i> 
</I>&gt;<i> I'm not convinced of the interest of repeating license and copyright
</I>&gt;<i> information in every single file, whereas a single top-level README file
</I>&gt;<i> would be enough.
</I>
Because in normal code we had header in top of code files :)

&gt;<i> &gt; +sub require_root_capability {
</I>&gt;<i> &gt; +	return 0 if(!$&gt;);
</I>&gt;<i> &gt; +	return 1;
</I>&gt;<i> &gt; +}
</I>&gt;<i> 
</I>&gt;<i> Perl best practice: use english name for magic variables, for readability:
</I>
why rewrite this function ? this exist in common.pm already
</PRE>









<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="019810.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.
</A></li>
	<LI>Next message: <A HREF="019817.html">[Mageia-dev] [soft-commits] [6416] Initial commit of Admin	Panel.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#19815">[ date ]</a>
              <a href="thread.html#19815">[ thread ]</a>
              <a href="subject.html#19815">[ subject ]</a>
              <a href="author.html#19815">[ 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>