[MacPorts] #52672: Cc field is getting corrupted by Trac-to-GitHub username conversion
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion ----------------------------+--------------------- Reporter: ryandesign | Owner: admin@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: Keywords: | Port: ----------------------------+--------------------- It looks like the conversion of Trac usernames to GitHub usernames is corrupting the Cc field by concatenating names without leaving a space or comma between them. For example #11497 where Cc currently is `markd@macports.orgryandesignscottm@aero.org` and #51995 where Cc is `ryandesignraimueneverpaniclarryv` -- Ticket URL: <https://trac.macports.org/ticket/52672> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: accepted Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------ Changes (by neverpanic): * status: new => accepted * owner: admin@… => neverpanic Comment: Thanks for the notice. I've disabled the automatic migration for now and will look into it. -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: accepted Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------ Changes (by neverpanic): * cc: raimue (added) -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: accepted Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------ Comment (by neverpanic): I think I figured the problem out. Now I'll just have to reset the Cc fields to what they were before the dump and re-run the conversion. We'll loose all changes to Cc fields since yesterday evening, but that's a risk I'm willing to take if the other solution would be modifying thousands of tickets. -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: accepted Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------ Comment (by ryandesign): Yes. You could probably query the database to get a list of changes made to any Cc field since the switchover. Unless the conversion script triggers that. -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: accepted Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------ Comment (by neverpanic): The conversion script does not keep a record of the changes, it modifies the fields directly. I'm importing the export from MacOSForge right now and will generate a query that re-sets the Cc fields. -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#52672: Cc field is getting corrupted by Trac-to-GitHub username conversion -----------------------------+------------------------ Reporter: ryandesign | Owner: neverpanic Type: defect | Status: closed Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: | -----------------------------+------------------------ Changes (by neverpanic): * status: accepted => closed * resolution: => fixed Comment: Problem fixed, we restored yesterday's Cc fields, fixed the migration plugin and re-run the migration. -- Ticket URL: <https://trac.macports.org/ticket/52672#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts