New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the creation of update packages akin to Sitecore Courier #263

Closed
AdamNaj opened this Issue Dec 19, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@AdamNaj
Member

AdamNaj commented Dec 19, 2014

Example:

# Create an update package that transforms the serialized database state defined in C:\temp\SerializationSource into into set defined in C:\temp\SerializationTarget
$diff = Get-UpdatePackageDiff -SourcePath C:\temp\SerializationSource -TargetPath C:\temp\SerializationTarget
Export-UpdatePackage -Path C:\temp\SerializationDiff.update -CommandList $diff -Name name

Requires the following additions to web.config to work:

<configuration>
  <configSections>
    <section name="sitecorediff" type="Sitecore.Update.Configuration.ConfigReader, Sitecore.Update"/>
  </configSections>
  <sitecorediff>
    <commandfilters>
      <filter id="changedFieldsFilter" mode="on" type="Sitecore.Update.Commands.Filters.ChangedFieldsFilter, Sitecore.Update">
        <fields hint="list">
          <field>__Created</field>
          <field>{5DD74568-4D4B-44C1-B513-0AF5F4CDA34F}</field>
          <field>__Revision</field>
          <field>__Updated</field>
          <field>__Updated by</field>
        </fields>
      </filter>
    </commandfilters>
    <dataproviders>
      <dataprovider id="filesystemmain" type="Sitecore.Update.Data.Providers.FileSystemProvider, Sitecore.Update">
        <param>$(id)</param>
      </dataprovider>
      <dataprovider id="snapshotprovider" type="Sitecore.Update.Data.Providers.SnapShotProvider, Sitecore.Update">
        <param>$(id)</param>
      </dataprovider>
    </dataproviders>

    <source type="Sitecore.Update.Data.DataManager, Sitecore.Update">
      <param>source</param>
    </source>

    <target type="Sitecore.Update.Data.DataManager, Sitecore.Update">
      <param>target</param>
    </target>
  </sitecorediff>
</configuration>

AdamNaj added a commit that referenced this issue Dec 19, 2014

@AdamNaj AdamNaj added this to the 3.0 milestone Dec 19, 2014

@scjunkie

This comment has been minimized.

Show comment
Hide comment
@scjunkie

scjunkie Dec 29, 2014

Contributor

Is this related to #265?

Contributor

scjunkie commented Dec 29, 2014

Is this related to #265?

AdamNaj added a commit that referenced this issue Jan 15, 2015

AdamNaj added a commit that referenced this issue Jan 24, 2015

AdamNaj added a commit that referenced this issue Feb 2, 2015

@AdamNaj

This comment has been minimized.

Show comment
Hide comment
@AdamNaj

AdamNaj Feb 2, 2015

Member

Implemented.

Member

AdamNaj commented Feb 2, 2015

Implemented.

@AdamNaj AdamNaj closed this Feb 2, 2015

@AdamNaj AdamNaj self-assigned this Feb 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment