views:

93

answers:

5

I think we can all agree, when a developer gets a project out of their source control system... it should successfully build.

Question: What extraneous files do you omit and which are you certain to add?

A: 

I always leave out compiled files, which for me are generally of the .pyc variety.

cpharmston
+3  A: 

Anything that's generated from the items you check into source control.

Things I check in:

  1. Source files (usually .java for me, but can be other languages)
  2. 3rd party JARs
  3. Configuration XML or .properties
  4. HTML, CSS, JSPs for web apps
  5. SQL scripts
  6. Design (UML) and documentation (Word or HTML)
  7. Unit test classes and any data I need to run them

Things I don't:

  1. Compiled .class files
  2. Generated JAR or WAR files
  3. javadocs
  4. JUnit report HTML and results
duffymo
Base artifacts? Excuse my ignorance, but can you elaborate?
NTDLS
@NTDLS - I'd guess intermediate artifacts of compilation (e.g., .obj or .class files)
Bob Kaufman
It mean s- Leave out anything that can be automatically generated from things you are including
Martin Beckett
+1  A: 

In addition to generated files, in Visual Studio I leave out mstest files (.vsdmi), resharper user files, Visual Studio user files (.suo).

Phillip Ngan
+1  A: 

Include information about the database schema (diagram), set up queries and other special config params

Cesar
+1  A: 

My global ignore pattern for TortoiseSVN is: *.vbw *.scc *.vbg */bin */obj *.bak *.user *.suo *.webinfo bin obj *.dll *.pdb *.exe which covers both VB6 and C#.

C-Pound Guru