#1  
Old 6th February 2007, 18:35
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 239
Thanks: 2
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default SVN and form designer?

I've made some improvements in SVN, and one bugfix. I want to make a commit, but one of the improvement involves added stuff by the form designer. I saw that extension is .dtd and it seems like serialized data, though I haven't really checked. Is there a way to commit changes made with the form designer to SVN?
Reply With Quote
  #2  
Old 6th February 2007, 23:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

Changes made by the form designer are stored in the mysql database table "doctype". To write changes made by the form designer to svn, export the data of the doctype table with e.g. phpmyadmin and the replace the record that you changed in the database dump. Please try to replace just this one record and not all doctype records in the dump.
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
  #3  
Old 16th February 2007, 04:43
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 239
Thanks: 2
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

TIll, I have no way of doing what you request. Gedit goes 90-100% if I try to read the serialized part of the sql dump in svn. How can I manage to do it?
Reply With Quote
  #4  
Old 16th February 2007, 10:24
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 421
Thanks: 5
Thanked 24 Times in 24 Posts
Default

This part is the really hard part. I had to add one doctype line at the time or everything was broken. This is particullary true if you have made changes to the ISP_web form or the resseller for (called anbieter) wich are huge.
Reply With Quote
  #5  
Old 16th February 2007, 10:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

I think we will have to find another solution for this. My idea is to put the doctypes in files instead of the database, so its easier to manage them with SVN. I will have a look at the code to see how we can change this, if I remember correctly its just one function which loads the doctype plus another function in the form designer which writes the doctype.

To danf.1997: Have you tried to use another editor? Maybe a editor without syntax highlighting?
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
  #6  
Old 16th February 2007, 12:12
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 239
Thanks: 2
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default

Till, yes even used a console based editor but no luck. Lines got messed up. Maybe because my crappy video card...
I can send the definitions to someone if that would be ok...
Reply With Quote
  #7  
Old 16th February 2007, 18:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
Default

Please send me the definitions with a short description which doctypes are changed, I will try to put them in SVN then.

I'am currently looking for a solution to store the doctypes in files, so modifications should get easier.
__________________
Till Brehm
--
http://www.projektfarm.com/en/
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new ISPConfig 3 SVN repository till Developers' Forum 3 5th November 2005 13:07


All times are GMT +2. The time now is 06:57.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th