Hey everyone, first post here. The other day I posted this to
flashcoders, doesn't seem like too many were interested, so I'll try here:

Olaaaaaaaaaaaaa,

I thought some of you might be interested in this.

Before starting a little Actionscript project in FB, I installed git,
the newest craze in source version control. I saw a bunch of netizens
freaking out about it all over the place, and the ability to create
branches effortlessly and to back up things easily appealed to me. So
after a relatively painless install on my Mac, I had it going in the
Terminal. I then started to experiment in FB.

I created an Actionscript project, and then started a git repository
in that folder (using basically only these commands:
http://www.kernel.org/pub/software/scm/git/docs/everyday.html -->
Individual Developer (Standalone)).

I wrote the basic engine for the swf and then created a new branch for
guiing up this engine. At this point I saw the power in this approach.
Basically, when I switch from the engine branch to the GUI branch, the
AS code is updated in FB, quickly and correctly, which I sort of
expected. But not only that, all the external assets are then loaded
into the project. Furthermore as long as I keep committing changes to
branches at important intervals, or new branches for new
approaches/ideas, I have a complete annotated history of the project.
I can load in any code at any point I committed and keep dead ends
that might prove useful in some other project, or redo the gui for
another swf some other day, and everything, including images and even
compiled swfs, are loaded in as well. Dirt cheap and easy.

I don't know, this is freaking me out, it is so good. You can check
out the swf here: www.pandakar.com/blog


--- In flexcoders@yahoogroups.com, "simonjpalmer" <[EMAIL PROTECTED]>
wrote:
>
> this is exactly what we do too, except we use cruisecontrol to update
> a build version rather than use an svn rev.  We show our version in
> the UI.
> 
> --- In flexcoders@yahoogroups.com, "Samuel Neff" <srneff.lists@> wrote:
> >
> > We have a Version.as class which defines a version number in a
> constant and
> > then use the build script to populate the version number prior to
> > compilation.  We include major, minor, and include svn revision
number.
> > 
> > HTH,
> > 
> > Sam
> > 
> > 
> > On Fri, Feb 15, 2008 at 8:10 AM, essuark <essuark@> wrote:
> > 
> > > See subject?
> > >
> > > thanks
> > > r
> > >
> >
>


Reply via email to