Development Questions

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
User avatar
caprio
Posts: 16
Joined: Wed Mar 04, 2009 4:14 pm
Location: California

Development Questions

Post by caprio »

Is this the appropriate forum for asking ZM development questions?
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

It might be. It depends on the question.
User avatar
caprio
Posts: 16
Joined: Wed Mar 04, 2009 4:14 pm
Location: California

Configuration changes

Post by caprio »

I'm adding an scp option to the Options->FTP configuration tab. I got the correct data
in the Config table and my option now shows up in the GUI. I was expecting to see an
auto increment attribute on the ID column. using a 0 as the ID caused zm not to start.
No worries I did a select max on id and just used the next value.

While this works it's not the 'correct' way. Notes in the zm_create.sql indicate the
initial config is generated by zmconfgen.pl however I don't see that script in my source
tree.
-- This section is autogenerated by zmconfgen.pl
-- Do not edit this file as any changes will be overwritten
I plan on submitting my change to the user contributions and want it to be complete
and fit into the package correctly and not get lost on the next upgrade.
Are there any docs, tech notes etc on how to 'package' up my Config database
table additions?

Thanks mucho
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Just create a patch with diff and submit it.
Phil will be able to get it in the trunk then.
Post Reply