Closed Bug 649092 Opened 13 years ago Closed 13 years ago

slavealloc dbinit should be able to read from production-masters.json

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

References

Details

Attachments

(1 file)

Really only useful for initial imports, but that's what dbinit does.
This will probably break with catlee's schema changes in bug 607179, but the fix should be straightforward enough, and hopefully whoever lands last can make those fixes.
Attachment #525141 - Flags: review?(bear)
Attachment #525141 - Flags: feedback?(catlee)
Depends on: 607179
Comment on attachment 525141 [details] [diff] [review]
m649092-tools-r1.patch

the only thing I am hesitent about is the mixing of datacentre and datacenter.  plus some whitespace issues around operators (IMO no reason to not ever use " = " except in a method signature)

so r+ if those are cleaned up
Attachment #525141 - Flags: review?(bear) → review+
Well, the JSON has datacentre, and the database has datacenter, and they have different values, so I don't know if there's any fixing to do there.

As for the foo=bar, my style is to use that for keyword arguments, which these are (for dict()).
(In reply to comment #3)
> Well, the JSON has datacentre, and the database has datacenter, and they have
> different values, so I don't know if there's any fixing to do there.

k, sad but I guess no choice :)

> 
> As for the foo=bar, my style is to use that for keyword arguments, which these
> are (for dict()).

I won't push the point, just to raise the readability flag - r+ still
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #525141 - Flags: feedback?(catlee) → feedback+
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: