For the Form Autofill project we would like to use data at https://github.com/googlei18n/libaddressinput/blob/master/testdata/countryinfo.txt in mozilla-central. We will likely perform a transformation on the data to provide the relevant subset in a format more suitable for us (e.g. valid JSON). Since that is a data file in a repo containing code to consume that data from a Web API I'm not sure if that data file falls under the same license as the rest of the repo. We don't want to use the code or the Web API as we don't want to be talking to the Google server when we can include the data locally. Github claims the repo is under an Apache 2.0 license. Could you help clarify what license the file is under and what we need to do if we're not including an exact copy in m-c but instead provide a script to transform the data and only check-in the transformed file? Thanks  https://wiki.mozilla.org/Firefox/Features/Form_Autofill
According to https://groups.google.com/d/msg/libaddressinput-discuss/kvhArVA2KEQ/jnz1qvEyPR8J, the data "comes mostly from IPU and other general research, there are no restrictions on it that anyone involved with it knows about it." If that answer is not satisfactory, please ping the mailing list.
While not ideal, if everyone else is using the data, that seems safe. We should make our own transform of the data as appropriate, but make sure there's a README or other document annotating the source and giving the URL of that mailing list message. Gerv
By the way, countryinfo.txt can be outdated, because it's test data. You can scrape the latest data from Google's server . The library itself does not download data from Google servers. It takes in a data source object of type i18n::addressinput::Source  when initializing (e.g., ). The tests are using the concrete data source i18n::addressinput::TestDataSource . You can write your own data source and plug it in. Good luck!  https://chromium-i18n.appspot.com/ssl-aggregate-address  https://github.com/googlei18n/libaddressinput/blob/master/cpp/include/libaddressinput/source.h  https://github.com/googlei18n/libaddressinput/blob/master/cpp/include/libaddressinput/preload_supplier.h#L56  https://github.com/googlei18n/libaddressinput/blob/master/cpp/test/testdata_source.h
You need to log in before you can comment on or make changes to this bug.