Skip to content

Commit

Permalink
Move generated metadata files into their own package
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Dec 14, 2023
1 parent 4211103 commit 168ec17
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 43 deletions.
34 changes: 17 additions & 17 deletions cmd/buildmetadata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,39 @@ func buildMetadata() error {

fmt.Print("OK\nBuilding number metadata...")

metadata, err := buildNumberMetadata("resources/PhoneNumberMetadata.xml", "metadataData", "metadata_bin.go", false)
metadata, err := buildNumberMetadata("resources/PhoneNumberMetadata.xml", "NumberData", "metadata_bin.go", false)
if err != nil {
return err
}

fmt.Print("OK\nBuilding short number metadata...")

_, err = buildNumberMetadata("resources/ShortNumberMetadata.xml", "shortNumberMetadataData", "shortnumber_metadata_bin.go", true)
_, err = buildNumberMetadata("resources/ShortNumberMetadata.xml", "ShortNumberData", "shortnumber_metadata_bin.go", true)
if err != nil {
return err
}

fmt.Print("OK\nBuilding region metadata...")

if err := buildRegionMetadata(metadata, "regionMapData", "countrycode_to_region_bin.go"); err != nil {
if err := buildRegionMetadata(metadata, "RegionData", "countrycode_to_region_bin.go"); err != nil {
return err
}

fmt.Print("OK\nBuilding timezone metadata...")

if err := buildTimezoneMetadata("resources/timezones/map_data.txt", "timezoneMapData", "prefix_to_timezone_bin.go"); err != nil {
if err := buildTimezoneMetadata("resources/timezones/map_data.txt", "TimezoneData", "prefix_to_timezone_bin.go"); err != nil {
return err
}

fmt.Println("OK\nBuilding carrier prefix metadata...")

if err := buildPrefixMetadata("resources/carrier", "carrierMapData", "prefix_to_carriers_bin.go"); err != nil {
if err := buildPrefixMetadata("resources/carrier", "CarrierData", "prefix_to_carriers_bin.go"); err != nil {
return err
}

fmt.Println("Building geographic prefix metadata...")

if err := buildPrefixMetadata("resources/geocoding", "geocodingMapData", "prefix_to_geocodings_bin.go"); err != nil {
if err := buildPrefixMetadata("resources/geocoding", "GeocodingData", "prefix_to_geocodings_bin.go"); err != nil {
return err
}

Expand Down Expand Up @@ -101,7 +101,7 @@ func buildNumberMetadata(srcFile, varName, dstFile string, short bool) (*phonenu
return nil, fmt.Errorf("error marshaling metadata as protobuf: %w", err)
}

if err := os.WriteFile(dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
if err := os.WriteFile("gen/"+dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
return nil, fmt.Errorf("error writing %s: %w", dstFile, err)
}

Expand All @@ -112,12 +112,12 @@ func buildRegionMetadata(metadata *phonenumbers.PhoneMetadataCollection, varName
regionMap := phonenumbers.BuildCountryCodeToRegionMap(metadata)

// generate our map data
data, err := renderMap(dstFile, regionMap)
data, err := renderMap(regionMap)
if err != nil {
return fmt.Errorf("error generating %s: %w", dstFile, err)
}

if err := os.WriteFile(dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
if err := os.WriteFile("gen/"+dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
return fmt.Errorf("error writing %s: %w", dstFile, err)
}

Expand Down Expand Up @@ -160,12 +160,12 @@ func buildTimezoneMetadata(srcFile, varName, dstFile string) error {
}

// generate our map data
data, err := renderMap(dstFile, prefixMap)
data, err := renderMap(prefixMap)
if err != nil {
return fmt.Errorf("error generating %s: %w", dstFile, err)
}

if err := os.WriteFile(dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
if err := os.WriteFile("gen/"+dstFile, generateBinFile(varName, data), os.FileMode(0664)); err != nil {
return fmt.Errorf("error writing %s: %w", dstFile, err)
}

Expand Down Expand Up @@ -198,7 +198,7 @@ func buildPrefixMetadata(srcDir, varName, dstFile string) error {
}

output := bytes.Buffer{}
output.WriteString("package phonenumbers\n\n")
output.WriteString("package gen\n\n")
output.WriteString(fmt.Sprintf("var %s = map[string]string {\n", varName))

langs := maps.Keys(languageMappings)
Expand Down Expand Up @@ -287,14 +287,14 @@ func buildPrefixMetadata(srcDir, varName, dstFile string) error {

output.WriteString("}")

if err := os.WriteFile(dstFile, output.Bytes(), os.FileMode(0664)); err != nil {
if err := os.WriteFile("gen/"+dstFile, output.Bytes(), os.FileMode(0664)); err != nil {
return fmt.Errorf("error writing %s: %w", dstFile, err)
}

return nil
}

func renderMap(path string, prefixMap map[int][]string) ([]byte, error) {
func renderMap(prefixMap map[int][]string) ([]byte, error) {
// build lists of our keys and values
keys := make([]int, 0, len(prefixMap))
values := make([]string, 0, 255)
Expand Down Expand Up @@ -369,7 +369,7 @@ func renderMap(path string, prefixMap map[int][]string) ([]byte, error) {
}

// generates the file contents for a data file
func generateBinFile(variableName string, data []byte) []byte {
func generateBinFile(varName string, data []byte) []byte {
var compressed bytes.Buffer
w := gzip.NewWriter(&compressed)
w.Write(data)
Expand All @@ -380,8 +380,8 @@ func generateBinFile(variableName string, data []byte) []byte {
output := &bytes.Buffer{}

// write our header
output.WriteString("package phonenumbers\n\nvar ")
output.WriteString(variableName)
output.WriteString("package gen\n\nvar ")
output.WriteString(varName)
output.WriteString(" = ")
output.WriteString(strconv.Quote(string(encoded)))
output.WriteString("\n")
Expand Down
3 changes: 0 additions & 3 deletions countrycode_to_region_bin.go

This file was deleted.

3 changes: 3 additions & 0 deletions gen/countrycode_to_region_bin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package gen

var RegionData = "H4sIAAAAAAAA/zzMVdDsZgGH8f+T73Ba/uW0WIFixaXYKcU9yWbfZJM3my9vdvfbxd2KFHd3d3d3d3d3Ky4Hd79nhmG4eK6emd+xTDp69HTnpfOZ88r53Hlw3jjvnEfnS+ej8+R8cr5yvnF+4HznIndRuJi5qFzMXQQXtYvGxcJF5yK66F0sXey7GF0kF5OLjYuti53L3GXpcuZy7jK4rF02LluXncvosne5dDm6XLlcu9y4PHC5dbnzrPJs4VnrWfRs6dnOVemqchVc1a5GV8nV5Hnj+cLz1vPo+dLz0SF3KBxmDpXD3CE41A6NQ+cQHXqHwWHfYXSYHFYOG4et69Z173p0PbleuZm5qdx0bqKb3s3Szb6b0U1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OLegFZynjN/pPAAAA///4AeDXlAYAAA=="
3 changes: 3 additions & 0 deletions gen/metadata_bin.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions prefix_to_carriers_bin.go → gen/prefix_to_carriers_bin.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions gen/prefix_to_timezone_bin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package gen

var TimezoneData = "H4sIAAAAAAAA/5S7C3gkV3Unfn63ulut1mOkmdGM7bE92NgYG9vD42/AIrIyD3s8o9FYmtGM/7ZMxO3umu6Suqs01VVja2A3ZgMhbIDxJkDAsLDLxg4LLGuIbbKAPHayJOvAxgkPhwUT1mZ5LGEDdhKbhNd+t/rcqtMlyXyr7zt17zn33HPOPfec++gqXTFKtPtE6NX0rt1Vr76o/YpFa7VQp0i97nUWdld1NSN12m7GsEe39VKQYX4j9gS2GLdSrKX9aCV0UzzUp0/rU16rlZHixbhdjTPpe7UXpsL3Br5eClcsuk8v6TBDwgW3s3BUt7Rup8RFrxrEUWrPviDWrVT2DaHrRsHt6bj362oQBn5qzI061Jm1B4Om9n23U43DhqVN6fayEDjV1GEUxKn6Ka+hW16G+Z2m7qTch3Qj6KSIVw3dHlccCtpZPdZ+PesYV+N2VXeaXkbp6KW0fVq3dDXIsOU4EljHDeMUM9OaDXg6aOi612mm7YeN96upmsP1Rd12/VTRYU+33XQ6DgexXqo1gyiylJti3dD1IG4EqcSZIIyCqw4Hp1KLjupgYU6MdS72vdQtN3t+vRm4S5XdbZfDUQvErzWDUDdcQWnEXsvMSEqIvEYs8DCuCqwT+zUv8FPCHh1Wdd1MiyW4Le90Jn9P0AgiLVCvIxpj1w86C7u90M0E7NWhrmmJr7i+70q8rTMD9ja9mm4EGR50Ir1wxKtlSvfGRmLGss/1T7lhhgZtz5f819fbgR+JQV7fMmlySteDrNcNQRgtHHZbHcG3P6hHTV3N8FD79YW5OFwSJNfX9UzX/ljX3VYQL7uSFLlt3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FiHd0zov4T5ZEJUNoBizm4j9w05P5SZt591K+E/h9ukPc/dKT8R+rZBBtGkc3q+8M6y6iKRfldx3WTQywW9wvzLIrsMnC/qhm8ATdqJJg0zbYDpBe6/DU06d833S03qR5N2oEkvRJNeJvoW2HZr95ioO9zHyB9l2gVMN7TNwq5hsUwMCHpBfFOlhF8Kue+tvmQ7TAjlF6NJn7lqndE8cBmadP+r2N6f29m4Kvep/ftM5T2KsT5hgi0vFtMENsuYX2b+Qm5K3yqteDWa9MZdOdN2cHlZrpRwuZikAlvzRyNceXufGIEhfMEgN7FRSjTauUNued8haEPM6whfr2eSGcsH1TofwN0jB/giLk0EXcIRj5y5n/z2nyicpatxlm7FWboBZ2kvztIOnKXrcJauxFkzL2fpR4bLVD61nysGRnGWduMs3YyzdBXDWw3neThLf2cqX3tqR24H+NlBrNKLxTJcZvgtxZvPK7FKnxrhxfmLw7n+D5ll/PFibr94m8qxfdmIvM9IGMAq/VDyv5TLT5s+9363hKcJeIbOz5U7zOrP9YFknR/hDxq6tO7aP7bBJ4Ddp9kUKt1a8hzlvv1raI9QIcEGe3Xg4QzW6sh2o55/KXl6Q3ue+YRyPksPGd1cfqvgmIanCc9bPrOmHOXytVzuyPGfn8NVDs/zX5PDr+TS2lfJ4Vcw3sf4NTm9l+fk/fmGA0MmJM/zbOJMZvy/AQAA///wY+Q37EgAAA=="
3 changes: 3 additions & 0 deletions gen/shortnumber_metadata_bin.go

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions metadata_bin.go

This file was deleted.

Loading

0 comments on commit 168ec17

Please sign in to comment.