Closed Bug 1468840 Opened 6 years ago Closed 3 years ago

[sync] Obsolete Resources instead of deleting them

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: mathjazz, Assigned: vishalcr7, Mentored)

References

Details

Attachments

(2 files)

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
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: