Closed
Bug 1468840
Opened 6 years ago
Closed 3 years ago
[sync] Obsolete Resources instead of deleting them
Categories
(Webtools Graveyard :: Pontoon, enhancement, P2)
Webtools Graveyard
Pontoon
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.
Reporter | ||
Comment 1•6 years ago
|
||
When the Resource is made obsolete, we should set the value of the date_obsoleted field (see bug 1473749).
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → vishaliitr7
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Mentor: m
Comment 2•5 years ago
|
||
Comment 3•3 years ago
|
||
*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
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
Comment 4•3 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•