https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-06-04T11:20:36ZRedmineRedmine - Feature #1371: Entry modelhttps://www.redmine.org/issues/1371?journal_id=31222008-06-04T11:20:36ZPierre Paysant-Le Roux
<ul></ul><p>Sorry, it's not a defect but a feature...</p> Redmine - Feature #1371: Entry modelhttps://www.redmine.org/issues/1371?journal_id=32102008-06-08T10:52:50ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Pierre, does your entry model reprent a file or a file at a given revision ?<br />Also, the term <code>Entry</code> can represent many things, so I would propose to name this model <code>ScmEntry</code> or something like this.</p> Redmine - Feature #1371: Entry modelhttps://www.redmine.org/issues/1371?journal_id=32312008-06-08T22:27:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Or maybe <code>RepositoryEntry</code>...</p> Redmine - Feature #1371: Entry modelhttps://www.redmine.org/issues/1371?journal_id=32382008-06-09T10:37:14ZPierre Paysant-Le Roux
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>Pierre, does your entry model reprent a file or a file at a given revision ?<br />Also, the term <code>Entry</code> can represent many things, so I would propose to name this model <code>ScmEntry</code> or something like this.</p>
</blockquote>
<p>My first idea was to represent a file. A <code>RepositoryEntry</code> is created when a file is added in the repository. Each time the file is modified, the <code>Change</code> model references the corresponding <code>RepositoryEntry</code>.</p>
<p>If a file is created from a copy, the <code>RepositoryEntry</code> references it trough <code>source_id</code>.</p>
<p>When a file is removed, the corresponding <code>RepositoryEntry</code> is removed (or marked as removed).</p>
<p>Maintaining this representation of the repository results in lots of calculation when retrieving changesets.</p> Redmine - Feature #1371: Entry modelhttps://www.redmine.org/issues/1371?journal_id=267592011-03-23T06:31:11ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>SCM</i></li></ul>