Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000674.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: Import.pl</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000673.html" title="Building Qt/UCMWB officially" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000675.html" title="UCMWB/Document Visibility" />
17
18    <!--
19 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
20          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
21          xmlns:dc="http://purl.org/dc/elements/1.1/">
22 <rdf:Description
23     rdf:about="http://defaria.com/blogs/Status/archives/000674.html"
24     trackback:ping="http://defaria.com/mt/mt-tb.cgi/61"
25     dc:title="Import.pl"
26     dc:identifier="http://defaria.com/blogs/Status/archives/000674.html"
27     dc:subject="General Dynamics"
28     dc:description=" Performed merge for build 1-&gt; build 2 and build 2 -&gt; build 3 Resolved RoseRT issue Code reviewed Tom&apos;s changes to createView.pl..."
29     dc:creator=""
30     dc:date="2007-09-11T12:25:55-06:00" />
31 </rdf:RDF>
32 -->
33
34
35    
36
37    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
38 </head>
39 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
40    <div id="container">
41       <div id="container-inner" class="pkg">
42
43          <div id="banner">
44             <div id="banner-inner" class="pkg">
45                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
46                <h2 id="banner-description">Searchable status reports and work log</h2>
47             </div>
48          </div>
49
50          <div id="pagebody">
51             <div id="pagebody-inner" class="pkg">
52                <div id="alpha">
53                   <div id="alpha-inner" class="pkg">
54
55                      <p class="content-nav">
56                         <a href="http://defaria.com/blogs/Status/archives/000673.html">&laquo; Building Qt/UCMWB officially</a> |
57                         <a href="http://defaria.com/blogs/Status/">Main</a>
58                         | <a href="http://defaria.com/blogs/Status/archives/000675.html">UCMWB/Document Visibility &raquo;</a>
59                      </p>
60
61                      <a id="a000674"></a>
62                      <div class="entry" id="entry-674">
63                         <h3 class="entry-header">Import.pl</h3>
64                         <div class="entry-content">
65                            <div class="entry-body">
66                               <ul>
67   <li>Performed merge for build 1-> build 2 and build 2 -> build 3</li>
68
69   <li>Resolved RoseRT issue</li>
70
71   <li>Code reviewed Tom's changes to createView.pl</li>
72 </ul>
73                            </div>
74                            <div id="more" class="entry-more">
75                               <h3>RANCQ00013181: MUOS document Project Views Are not Showing All Needed Documents</h3>
76
77 <p>Process was written to perform this importation. The process takes 3 parameters: a from_view, a branch and a label. The process is designed to run in the to_view context. It proceeds to search the from_view for elements that do not exist in the to_view and upon finding them it merges the parent directory and then the element in question is "imported".</p>
78
79 <p>Both a branch and a label is used because the merge procedure used on directory elements first tries to merge with the LATEST on the specified branch. If the branch does not exist (because the element was never branched) then the label is used to locate the source directory for the merge.</p>
80
81 <p>File elements aren't merged - they are imported (i.e. copied from the from_view to the to_view)</p>
82
83 <p>There are a few errors and/or warnings that can result in such a process that this script cannot hueristically determine the correct action to take. The problems arise from the renaming or removing of elements in the to_view. It is not possible for this script to determine what the user intended. An example will better explain this.</p>
84
85 <p>For build 1 there was a directory named:</p>
86
87 <div class=code><pre>
88 /vobs/gdrandocs/development/proj/ran/fdd/RNC_Initialization_Configuration
89 </pre></div>
90
91 <p>This was on the ran_fdd_doc_bld1_integration branch version 2 which was labled RAN_FDD_RELEASE_BUILD1. At version 17 RNC_Intitialization_Configuration was renamed to RBS_RNC_Intitialization_Configuration. By version 28 the RAN_FDD_RELEASE_BUILD2 label was applied.</p>
92
93 <p>Since this directory was renamed there is no way to guess what it was renamed to. Sure it's easy for a human to look at it and make a loose association based on the fact that most of the directory name is the same, this sort of AI is very difficult to program. The script marks these as an error. It's an error because somebody should verify if a directory was simply renamed or if it was removed (rmname'd). Also it's not known what to do at this point. Shall we assume that the newly named directory contains all it needs? Or does further merging/importing need to take place?</p>
94
95 <p>Additionally, since a directory is renamed, the elements contained in the directory went along with it. So in the script, the from_view keeps producing paths with RNC_Intitialization_Configuration in them not RBS_RNC_Intitialization_Configuration. Such elements then appear to have disappeared and the script issues a warning for these. At this point we really cannot tell if the file element was simply removed (where we would assume that the act was deliberate and that we should not be importing the element back in) or if it's a result of a directory renaming of the parent directory (or some parent of the parent) thus falling into the error described in the preceeding paragraph.</p>
96
97                            </div>
98                         </div>
99                         <p class="entry-footer">
100                            <span class="post-footers">Posted by  on September 11, 2007 12:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000674.html">Permalink</a>
101                         </p>
102                      </div>
103
104                      
105                      <div class="trackbacks">
106                         <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
107                         <div id="trackbacks-info">
108                            <p>TrackBack URL for this entry:<br />http://defaria.com/mt/mt-tb.cgi/61</p>
109                         </div>
110                         <div class="trackbacks-content">
111                            
112                         </div>
113                      </div>
114                      
115
116                      
117                   </div>
118                </div>
119             </div>
120          </div>
121       </div>
122    </div>
123 </body>
124 </html>