[Aikiframework-devel] [Branch ~aikiframework-devel/aikiframework/trunk] Rev 989: added basic run time correction for path when changing root directory

2012-01-01 Thread noreply

revno: 989
committer: Bassel Safadi 
branch nick: aikiframework
timestamp: Sun 2012-01-01 22:42:10 +0200
message:
  added basic run time correction for path when changing root directory
modified:
  bootstrap.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'bootstrap.php'
--- bootstrap.php	2011-12-26 16:44:59 +
+++ bootstrap.php	2012-01-01 20:42:10 +
@@ -112,6 +112,7 @@
  */
 require_once("$AIKI_ROOT_DIR/libs/aiki.php");
 
+
 /**
  * Global creation of the aiki instance.
  * @global aiki $aiki
@@ -127,6 +128,14 @@
 
 $config = $aiki->get_config($config);
 
+
+/*
+ * run time correction for site path
+*/
+if ($config['top_folder'] and $config['top_folder'] != $AIKI_ROOT_DIR){
+	$config['top_folder'] = $AIKI_ROOT_DIR;
+}
+
 /*
  * Load some auxiliary classes
 */

___
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp


[Aikiframework-devel] [Branch ~aikiframework-devel/aikiframework/trunk] Rev 990: added back license file until the license issues is solved we should keep AGPL compatible

2012-01-01 Thread noreply

revno: 990
committer: Bassel Safadi 
branch nick: aikiframework
timestamp: Sun 2012-01-01 22:43:19 +0200
message:
  added back license file until the license issues is solved we should keep 
AGPL compatible
added:
  LICENSE


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== added file 'LICENSE'
--- LICENSE	1970-01-01 00:00:00 +
+++ LICENSE	2012-01-01 20:43:19 +
@@ -0,0 +1,662 @@
+GNU AFFERO GENERAL PUBLIC LICENSE
+   Version 3, 19 November 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. 
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+  A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate.  Many developers of free software are heartened and
+encouraged by the resulting cooperation.  However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+  The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community.  It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server.  Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+  An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals.  This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU Affero General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user 

Re: [Aikiframework-devel] [Discuss] thinking crazy thoughts on aiki dev: making development easier

2012-01-01 Thread Roger Martín
Hi folks!

First, sorry for to delay. In general lines i'm agree with Bassel (1). Time
ago, i wrote about installation process using a Web interface (like drupal,
Wordpress. joomla..) and the steps necessary to make it ( no move files,
nor replacement in config or create sql file during 'make'  time, no unix
'make' necessary ), etc.

Separate the linux package can have some advantages:
- development is more more easy ( i wrote about it time ago,too)
- we can make packages two times at year (like ubuntu): it requires less
time,and we can test it better.


roger

PD:
I recommend to read "The Mythical Man-Month" book page 5 to understand what
it's the worst problem of aiki:
make a program is easy, make a programming product (generalization,testing,
documentation)  or a programming system
multiplies cost by 3, and make a Programing System Products...its too hard
for a little group of hackers like us.,


(1) i'm prefer linux..but you know, nobody it's perfect ;-)
___
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : aikiframework-devel@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp