Packaging source code modifications

English! place to talk about development, programming and coding
Post Reply
dlenci
Znuny newbie
Posts: 2
Joined: 27 Mar 2012, 13:55
Znuny Version: 3.0.10

Packaging source code modifications

Post by dlenci »

Hello

I'm trying to create an extension to OTRS::FAQ.
For this extension, i have to modify the code of Kernel/Modules/AgentFAQAdd.pm along with some new file addition.
I need to deliver a package but when i try to install the newly created package with my sources, it doesn't work :

Can't install/upgrade package, file Kernel/Modules/AgentFAQAdd.pm already in package FAQ-2.0.6!

Is there a way to bypass the security when creating the package ? (in the .sopm file maybe)

Thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Packaging source code modifications

Post by jojo »

use the Custom directory (read the README for mor details)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dlenci
Znuny newbie
Posts: 2
Joined: 27 Mar 2012, 13:55
Znuny Version: 3.0.10

Re: Packaging source code modifications

Post by dlenci »

Thanks for your quick answer !

I must have skipped this section in the developper guide...
I searched in the ITSM package the way to do it because i knew it changed files but i didn't find how.

Anyway, now it works! Sorry for the inconvenience
Post Reply