• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Versioning ... CVS or Subversion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versioning ... CVS or Subversion?


  • Subject: Re: Versioning ... CVS or Subversion?
  • From: Miguel Arroz <email@hidden>
  • Date: Sun, 11 May 2008 22:00:58 +0100

Hi!

On 2008/05/11, at 20:50, Gennady Kushnir wrote:

Maybe I should have used google, but could you explain me in general
how does versioning work. And how do I work with it. Specifically in
regard to WO development.
Does it archive only java sources? And how about components, EOmodels
and other related resources (which can also have versions)?

SVN (and version control in general) stores whatever you want. Java files, EO Models, whatever. Generally the only distinction is between binary and text files. SVN can automatically solve some conflicts in text files (I think), and when it can't, it will alter the file to sinalize what's the changes you made and the changes other people made to that file, helping you to solve the problem. On binary files, SVN can't do that (you can't "merge" a GIF, for example!).


(A "conflict" happens when two people in the same team modify the same file at the same time. Naturally, if you and your teammate change the same method on a Java class, you don't want a "last commit wins" behaviour, because the second person to commit would discard the work of the first one. So, SVN will prevent that, more or less like this "Hey, two people changed this file, I'm just a machine, so I have no ideia how to fix this. Please fix it yourself, and when you're done, tell me. Here is the part you wrote, and here's the part some guy wrote. Have fun!")

The ideia is to store all the files that are not generated by other files (except the Java files generated by EOGenerator, those should be stored). This means Java files, EO Models, components, ant files, etc, all goes to the repository. Stuff like compiled files, the build directory, etc, won't.

Another condition is that I don't have Internet connection at work so

You... what? How can you work without Internet?

I can't use online repository and have to merge my "homework" using
flash drive anyway. Does versioning system support this?(and which
ones do?)

An SVN repository is just a bunch of files, you can store them anywhere. I would *NOT* recommend a flash drive, they die and corrupt too often. Whatever you use, do backups.


And questions to Miguel:
- where I can find that "very good open source book that documents everything" ?

As david said, http://svnbook.red-bean.com/.

- I can't imagine versioning system without IDE integration. how does it work?

Command line, GUI, you name it.

- If you say it is that good with Mac OS X integration and coming
really soon - maybe I could wait a bit and start my versioning
experience with something really cool?

No, start right ahead. The ideia of the GUI is to replace the command line, making usage a little more Mac-like. A subversion GUI will *not* excuse you from learning all the concepts associated to Version control, and the capabilities of SVN or whatever system you choose to use. If you don't learn them first (using the SVN book, that's an excellent start) the GUI will be useless.


  Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Versioning ... CVS or Subversion?
      • From: Lachlan Deck <email@hidden>
References: 
 >Versioning ... CVS or Subversion? (From: "Gennady Kushnir" <email@hidden>)
 >Re: Versioning ... CVS or Subversion? (From: Miguel Arroz <email@hidden>)
 >Re: Versioning ... CVS or Subversion? (From: Oliver Scheel <email@hidden>)
 >Re: Versioning ... CVS or Subversion? (From: David Holt <email@hidden>)
 >Re: Versioning ... CVS or Subversion? (From: "Gennady Kushnir" <email@hidden>)

  • Prev by Date: Re: Versioning ... CVS or Subversion?
  • Next by Date: Re: Versioning ... CVS or Subversion?
  • Previous by thread: Re: Versioning ... CVS or Subversion?
  • Next by thread: Re: Versioning ... CVS or Subversion?
  • Index(es):
    • Date
    • Thread