Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 468925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:43:51+00:00 2026-05-12T23:43:51+00:00

I’m part of a development team that works on many CMS based projects, using

  • 0

I’m part of a development team that works on many CMS based projects, using systems like Joomla and Drupal.

In our development process, all of our code changes are managed inside of Git. At the end of a sprint, we create a DIFF that we can apply via patch to live site.

The problem is that most of the time, the changes include

  • Database Schema Changes
  • Database Data Changes
  • Source Code changes
  • Binary file changes (like images)

Git Diff handles Source Code changes beautifully. Binary files are only not included in the Diff except for reference to the fact that the files have changed.

Database Schema Changes and Database Data Changes are a mess.

I was wandering if anything like an unified patch system exists that could be used to deploy all of these changes in 1 patch.

So the question is, “Is there a system that can be used to deploy all of these changes in 1 shot?

Ideally, this system would allow to run dry-run like patch, but for all of the 4 data types.

Edit:
Thank you everyone for the feedback that you provided, it was a starting point for my research in this area.

Here is what I found so far:

  1. It’s difficult to deploy php based
    applications using linux packaging
    system because the changes to the
    project happen iteratively rather
    then as releases.

  2. It would be possible to use dbconfig to deploy changes to a
    project, but the problem is
    generating mysql db diffs (schema
    and data)

  3. what really is missing for deployment of php based applications
    is a deployment manager that would
    be installed on the server and would
    be the interface for deploying the
    patches

I started a Google Wave on this topic and produced a lot of information as a result.
If anyone is interested in reading this wave, please let me know and I will add you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:43:52+00:00Added an answer on May 12, 2026 at 11:43 pm

    For handling installation and upgrade of our application, we use the debian packaging system . ( .deb package )

    Context :
    We are making J2EE + Flex application. Shipping and administred throught a VPN.
    So not so far from you.

    Fresh install and upgrade for a version to another are made through puppet ( a system for automating system administration tasks : he install our .deb )

    In the .deb we have

    1. our compiled sourcecode
    2. the schema of the database ( handled by [db-config][1] )
    3. binary stuff
    4. how to install throught apt all other application needed ( mysql, tomcat … )

    = All stuff for a fresh install

    We also add the info to go from a version to another

    1. the script for upgrading the database ( for each version )
    2. new binary
    3. new stuff to lauch at the machine start ( eg : some weeks ago we have add a activeMQ server )

    => Once the .deb is made correctly, we can install or upgrade seamless in one operation. ( it’s made automatically, without any prompt ).

    Theire is one .deb per realease, each .deb has a version number and a signature.
    You can pick any of our .deb and make a fresh install or upgrade from the actual version to the version number he hold.

    The .deb is in our continous integration system. ( we build a .deb each hour, like if we are about to realease a new version )


    What are the benefit ?

    • Install / upgrade automaticcally, with confidence.
    • Rollback a version
    • run dry are natively supported

    In your precise case

    * Database Schema Changes
    * Database Data Changes
    * Source Code changes
    * Binary file changes (like images)
    

    Database => you will have to write migration script. One for each version. ( ex : 1.2-update.sql 1.3-update.sql )

    Source code and binary => add them, say in witch version they have to be copied/use

    Edit : i’m not sure about source code. We are doing that with compiled code…


    Some links to start :

    https://wiki.ubuntu.com/PackagingGuide/Complete

    http://www.debian.org/doc/manuals/maint-guide/index.fr.html#contents ( in french )

    [1]: http://pwet.fr/man/linux/formats/dbconfig dbconfig

    [1]: http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html debian

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 354k
  • Answers 354k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer To solve problem one you can create your own mapping… May 14, 2026 at 8:19 am
  • Editorial Team
    Editorial Team added an answer You need to do this through VBScript and load in… May 14, 2026 at 7:52 am
  • Editorial Team
    Editorial Team added an answer EDIT: I tried to clarify I bit more ... 1.… May 14, 2026 at 7:52 am

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I want use html5's new tag to play a wav file (currently only supported
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
In order to apply a triggered animation to all ToolTip s in my app,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.