Open Bug 1468840 Opened Last year Updated 8 months ago

[sync] Obsolete Resources instead of deleting them

Categories

(Webtools :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: mathjazz, Assigned: vishalcr7, Mentored)

References

Details

Attachments

(1 file)

When a source string is removed from the VCS, we mark corresponding Entity object as obsolete in the DB.

When a source file is removed from the VCS, we delete the corresponding Resource object from the DB.

That's inconsistent.

We should unify the behaviour by marking corresponding Resource objects as obsolete when source files are removed. One of the consequences will be more accurate contributor stats.
Depends on: 1473749
When the Resource is made obsolete, we should set the value of the date_obsoleted field (see bug 1473749).
Assignee: nobody → vishaliitr7
Status: NEW → ASSIGNED
Mentor: m
You need to log in before you can comment on or make changes to this bug.