« Return to Thread: version control in v4.0.3

Re: version control in v4.0.3

by Matthew Williams-4 :: Rate this Message:

Reply to Author | View in Thread


That statement is accurate for the audit log, which shows only such
stats.  It is not accurate in regards to the archive, however.  There
is an archive feature, which was available in the 3.0 version and
exists up to 4.0.8, that does save a copy a "live" object when a
"draft" object is sent to overwrite the "live" object.  The caveats
being that:

*  The object must support it.  The default HTML object does have this
turned on, and at a glance, so do the other default FarcryCMS
objects.  Geoff, Blair, or a daemonite might need to address what is/
is not versioned.  It looks like everything is versioned by default to
me.
*  FarCry separates content from the display.  So, you make a
"webskin" to frame your content, but the content itself goes into the
DB.  You'll likely have many webskins over the life of the website.
Each version of the content piece is tied to a webskin in the DB.  To
illustrate where I'm going with this, imagine you start out with your
site, 1.0.  It uses templates A, B, C, D in the beginning to layout
your text/images/navigation.  After some time span,  template E is
created as a replacement for template A.  You would use the FarCry
admin interface to switch the content to use template A to template E,
and an archive is created with the old version pointing to template
A.  More time passes.  You decide to clean up unused older templates,
or refactor an older unused templates.  If you delete template A, and
try to view archived content that relied on this template existing in
the file system, you'll receive a "file not found" type error.    So,
FarCry will archive content in the DB, but it will not archive content
found in the file system.  For that, you would also do well to use
something like SVN, CVS, or some other file versioning system.

So, after rambling on a bit, FarCry archives data/content.  It does
not archive file system objects.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: version control in v4.0.3

LightInTheBox - Buy quality products at wholesale price