• Adam Lewis
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I'm using version control in a multi developer setup, where each developer has their own dev org (and corresponding working copy from Version Control), and there is a common packaging org which acts as the integration environment.  Throughout the course of creating the managed package, the packaging org can make changes to the underlying metadata, which then get picked up by git as changes in the working copy (for the packaging org).  In my desire for my version control system to reflect the state of the metadata as it was actually depoloyed, I commit the changes back and create a tag.

For example:
- A "<deprecated>false</deprecated>" flag is added to all custom fields
- <packageVersions> get modified in .page-meta.xml
- "consumerKey” on packaged connectedApps changes

The devs now pull in the changes from the packaging org to local working copy which tries to sync with their dev org.  Dev org disagrees with these changes and writes back metadata.  In a desire to have VC track my packaging org, now with every commit devs must review all the permanantly dirty metadata files for other changes which need to be staged; this makes commits very error prone and tedious.  If VC tracked the consensus "dev" copy rather than "packaging" view of the world, then I face the same problem of human error, this time as part of the packaging process instead of the dev process.

File ignore patters won't help, since all these changes are in files which need to be tracked.

How to get dev and packaging orgs to stop fighting over my version control?

Hi,

I have an app in my developer edition account which I need to get quickly onto a partnership demo org. What is the best / easiest way to do this? I tried packaging and uploading but it said I need 75% test coverage (which will take some time). I don't want to put it on the app exchange, I just want to get it onto a demoable org our company has to show to customers.

 

Is there a better way to do this?

 

Many thanks

  • September 05, 2009
  • Like
  • 0