Repository info (SVN) integration with Excel -


I am new in things like Kenda is posting for programming for the first time, It was also necessary that he was successful in Google. thank you for your patience :).

About my problem / goal: On our project, we have to take certain types of document management control. We have around 160 DOCX files (all files are already known), we will use SVN for version control. Those files will be saved in different folders (I will create the repository structure in the future), the folders will have one step work that we are currently in our project (we will have around 12 folders). When a step is done, then alias tag. Official release will be done. In each file, the MS Excel worksheet column will be in place such as: step, name, modification, tag, hyperlink ..

What do I do: macro which will search the file on the repository, Got it, tag (latest) .. write it in excel sheet and make that file hyperlink in another column.

Repository structure:

  • Trunk
    • System_Development
      • System_Requirements_Specifications.docx
      • System_Architecture_Description.docx
      • Software_Configuration_Management_Plan.docx < / Li>
      • ...
    • ...
  • Branches (probably will not be used yet, of course
  • Tag
      <
    • 1
      • System_Development
        • System_Requirements_Specifications.docx
        • System_Architecture_Description.docx
        • < Li> System_Safety_Plan.docx
        • ...
      • ...
    • Software plan
      • Software_Quality_Assurance_Plan.docx
      • Software_Configuration_Management_Plan.docx
      • < Li> ...

    I've already created a macro that does the exact thing, but the problem is very much How slow and why?

    I was using ShellAndWait ("cmd.exe / c svn list --verbose http: \\ localhost \ trunk" text.txt ") , that Get the folders in the trunk to parse the text file, then the checked files are in those folders (with other shell endwits for each folder), if they get similar numbers .. on

    As you see in the end, my code svn command was executed 13 times, so the file was found in the repository . With the SVN list -verbose I also get the amendment number. To execute it svn stands around 0.15-0.20 of a second for the command, so collecting my revision number lasts approximately 2 seconds. What is not a problem

    Getting a tag is a problem, because my folder has a folder, so in the end we may have approximately 40 or more SVN executions, which will slow down my tag function Will give

    I have no clue how to use the repository in any other way so that it is with svn.exe. I'm thinking of remotely accessing the repository and inquiring from the database or at any time I am researching that part.

    Hope you understand my problem, I have been benefitting all day for any more information! Thanks for your help!

svn An option to include all subfolders in the list is R-or --recursive, therefore, To organize your folder structure in such a way that all the required folders are the subfolders of the main folder, will reduce the number of calls required. Alternatively, you can use the --depth option to control the depth of the subfolders given below. Remove

svn help list from output:

  -r [--recursive]: recursively descend, such as-deep = infinity --depth ARG: Threshold operation by Depth ARG ('empty', 'file', 'quick', or 'infinity')  

I You can organize the project in such a way that trunk and branches are relatively high in folder structure and different steps are below it.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -