how to crate QPM?

thread: 3 messages  |  last: about 9 months ago  |  started: thursday, december 24, 2009, 4:02 am pst


#1  |  Leonardo (Minas Gerais) Brazil
Thursday, December 24, 2009, 4:02 AM PST

Hello everyone, well I read the site qcodo, how to make a QPM, but did not understand everything.

Some are my doubts:

At the time of creating a QPM I can not use classes like QTextBox already on the inside qcodo because QPM I'm creating is to create a QTextBoxBase more options through QTexBox, or would have to create another class with inheritance as QTextBoxBase?


Another doubt is was for me a bit abstract to create part of the QPM, assuming I have the source code, from there what I do, I zipo the source code?

If anyone can help me I would be grateful.

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Monday, December 28, 2009, 12:16 PM PST

You can read http://www.qcodo.com/wiki/qcodo/qpm for more information about actually creating a QPM.

If your QPM involves making changes to QTextBox or QTextBoxBase, then when you create a QPM Package, your updated QTextBox/QTextBoxBase will be included in that package.

#3  |  Shannon Pekary (East Palo Alto, CA) United States of America Qcodo Core Contributor
Wednesday, April 27, 2011, 9:08 PM PDT

I too am having problems. I followed the instructions to a T, and without changing anything from the stable 0.4.20, I ran the update command and got the following:


new files to be included in this QPM package:
 _DOCROOT_       _LICENSE.txt
 _DOCROOT_       _README.txt
 _DOCROOT_       tests/_core/IsEmailValidTest.php
 _DOCROOT_       tests/_core/QDateTimeTest.php
 _DOCROOT_       tests/_core/QTypeTest.php
 _DOCROOT_       tests/_README.txt
 _DOCROOT_       www/index.php
 _DOCROOT_       www/sample.php
 _DOCROOT_       www/sample.tpl.php


Why would it include all these, when I didn't touch them? Is there a way to tell qpm-update which files I want? I saw the interactive option, but interactive is too prone to errors if I accidentally specify the wrong file. It would be great if I could create a file that lists the files I want uploaded.

On another note, it appears to be using DOCROOT to figure out where the whole qcodo install is. I initially pointed DOCROOT to my real docroot, which has lots of other things other than just qcodo under it, and it listed my entire docroot as wanting to package it up. I had to point DOCROOT to just the qcodo directory to have at least look in the right place, but again, as above, it appears to be looking at files I didn't touch.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.