forum.easy-joomla.org
11. 01. 2010 01:59 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
Neueste Beiträge
Re: "Unable to report" in SpamLog; Array Bug von HansHuldreich 09. 01. 2010 16:25
Re: EasyCreator 0.0.12 von ripper17 08. 01. 2010 14:34
Re: EasyCreator 0.0.12 von ripper17 08. 01. 2010 14:28
News:
Tutorials/Anleitungen rund um Joomla! oder
Filmchen herunterladen
 

 
 
    Übersicht   Hilfe Suche Spenden/Sponsors Impressum/Imprint Downloads Hauptseite Projects Tutorials Einloggen Registrieren  
Subject Statistics
Thema: Create Update Package in EasyCreator Replies: 3 posts
Gelesen 3698 mal 0 Mitglieder und 1 Gast betrachten dieses Thema.
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Create Update Package in EasyCreator  (Gelesen 3698 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
ripper17
Newbie
*
OfflineOffline

Registriert seit: 15.04.09
Beiträge: 9


Profil anzeigen
« am: 15. 04. 2009 10:33 »

Hi

First: This is an amazing component, saving so much work when developing a component. It is perfect for packing the installation file.
What would make this even more usefull would be the possibility to create an update package as well.

This is what I think would be needed:
- User Input: Select the old version (which is the base for the update)
- Automatic: Unzip this old version and run a DIFF on the old version compared to this version
- Automatic: Recognize which files have been added / edited
- Automatic: Recognize, if the SQL installation file has been changed, if so:
 - Automatic: Create an (or modify the existing) install.COMPNAME.php file that will be executed during the Joomla installation of the package to UPDATE the database.
- Automatic: Create the XML Update manifest (this just needs to hold an extra attribute compared to a "normal" manifest
- Automatic: ZIP and TAR.GZ the update package.

I know that this is a lot of work, but I think this would be immensly usefull!

Best regards

Martin

(Sorry for double posting, but I'm not sure if you're following the tracker on joomlacode)
Gespeichert
elkuku
Developer
Full Member
*
OfflineOffline

Registriert seit: 11.12.07
Beiträge: 123



Profil anzeigen WWW
« Antworten #1 am: 16. 04. 2009 22:17 »

Hi Martin,
sounds very interisting.

Thanks for double posting, as i am not following the tracker soo much..

You wrote:
Maybe I'll even find the time to help in developing this.

Would be very nice Wink

Regards,
Nikolai
Gespeichert

Gruss,
Nikolai - NiK-IT.de
Easy-Joomla Team
lordbdp
Newbie
*
OfflineOffline

Registriert seit: 09.07.09
Beiträge: 1


Profil anzeigen
« Antworten #2 am: 09. 07. 2009 21:16 »

No news about this idea ?  Sad
Gespeichert
forum.easy-joomla.org
« Antworten #2 am: 09. 07. 2009 21:16 »

all-inkl.com webhosting
 Gespeichert
ripper17
Newbie
*
OfflineOffline

Registriert seit: 15.04.09
Beiträge: 9


Profil anzeigen
« Antworten #3 am: 02. 10. 2009 14:58 »

I've finally found some time to create a first iteration of a script that will create an update package.
It is a perl script, and I think it should be possible to call it with shell-exec, but I did not have a chance to try this!!

What does this script require:
  • XML::Simple module
  • On Windows: UnxUtils (available at http://unxutils.sourceforge.net/
  • On Windows: the folder 'usr\local\wbin' from UnxUtils in your PATH variable

What does this script expect as input:
  • The ZIP file of the the old version (-o oldVersion.zip) in the same directory as the perl script!
  • The ZIP file of the the new version (-n newVersion.zip) in the same directory as the perl script!

What does this script do:
  • Check for changed files (including language files)
  • Create a new upgrade manifest
  • Zip it all together

What does this script not do (yet):
  • Check for changed SQL install instructions
  • Therefore it does not automatically create a new install.COMPNAME.php file

Maybe it's of use to some people or can even be integrated in EasyCreator (feel absolutely free to do so!)
I've attached the perl script for everyone to download and improve (*HINT*) :-)

Martin

* createUpdatePackage.zip (2.91 KB - runtergeladen 92 Mal.)
« Letzte Änderung: 02. 10. 2009 15:01 von ripper17 » Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  


Audiovisuelle Filmanleitungen hosted by all-inkl.com joomladirectory.net joomla.org jahoart.eu joomla-in-berlin.de Joomla Toplist Spende/Donate
easy-joomla.org joomla.de webjobber.de snipersister-de xing.de
joomlacode.org joomlaos.de joomla24.com nik-it.de

Powered by MySQLPowered by PHP Powered by SMF 1.1.8 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0Prüfe CSS
Seite erstellt in 0.094 Sekunden mit 28 Zugriffen.