Project

General

Profile

Actions

Feature #1371

open

Entry model

Added by Pierre Paysant-Le Roux over 16 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-06-04
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I am working on integrating Ferret in Redmine. I wan't to be able to index all relevant models and there is no problem with that point. I also want to be able to index the content of files in the repositories.

I think that the proper way to do that is to have a model that represents an entry in the repository (similar to Redmine::Scm::Entry). This model could be created and maintained when syncing the changesets and linked with Changes.

Here is how my model looks like :

+--------------------+         +----------------+
|    Entry           |         |   Change       |
+--------------------+         +----------------+
|  name              |         |  entry_id      |
|  content_type      +---------+                |
|  removed           |         |                |
|  source_revision   |         |                |
|  source_id         |         |                |
|  parent_id         |         |                |
+--------------------+         +----------------+

The source references the entry it is copied from if needed.

Was there discussions about such a model ? Is this interesting Redmine devs for other needs like attaching metadatas or discusions to an entry ?

Actions

Also available in: Atom PDF