Saving a project in Subversion

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

     I have a project I am working on for my company.  As part of this I am required to save the project in a Subversion repository so it can be part of the deliverables for the whole project.  I would like to know what files of the project should I save in Subversion ? Then when someone else pulls that revision they can build the project.

   

     Would this be enough ? Or too much ?

   
        
  • TopDesign\TopDesign.cysch
  •     
  • <ProjName>.cydwr
  •     
  • ​<ProjName>.cycdx
  •     
  • ​<ProjName>.cyfit
  •     
  • Header file directory
  •     
  • Source file directory (with all my added C/H files) and main.c
  •     
  • <ProjName>.​cydsn​
  •     
  • <ProjName>.cyprj.<my name>
  •     
  • <ProjName>.rpt
  •     
  • <ProjName>.svd
  •     
  • cyapicallbacks.h
  •    
   

Thank you very much for the help.

   

--jim schimpf

0 Likes
1 Solution
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

I tyically run a "clean" and version everything thats left over...

View solution in original post

0 Likes
5 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

I tyically run a "clean" and version everything thats left over...

0 Likes
Anonymous
Not applicable

Thank you.

   

      I did that and it still left codegentemp,CortexM0,Export and Generated_Source directories.  The codgentemp seems to have all the source files again  The CortexM0 has list and obj files.  The Export might be important as it has an XML file of the IDE settings. And the Generated_Source has all the files generated from the TopDesign.

   

      I just didn't want to put a bunch of extra files into SVN.  

   

Thanks again

   

--jim schimpf

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The generated files may be modified legally, there are areas to inject own code. So do not exclude them from backup.

   

 

   

Bob

Anonymous
Not applicable

Good point, I didn't think of that.  Thank you.

   

--jim schimpf

0 Likes
Anonymous
Not applicable

I commit .cywrk, the .cydsn folder containing: .cydwr, .cyprj, the TopDesign folder containing .cysch, the Generated_Source folder since I sometimes edit the interrupt handlers, and my actual source files. All the files with .myname I ignore. So far, so good...

0 Likes