Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2762

GeoLiteCity.dat doesn't belong in config and can get out of date

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Needed

      Description

      GeoLiteCity.dat is currently located in [dspace]/config. It's weird location for a data file. It would be better to put it into [dspace]/var.

      In addition, it's currently downloaded by ant once during installation/upgrade. It would be better if it was treated as transient and downloaded by the statistics module if not found or if a newer version is issued (use HTTP headers to check).

      If someone doesn't wish to do geo lookups from IP, currently they may just delete the file. When it's changed to be downloaded automatically, there should be a new config option to turn lookups off.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              helix84 Ivan Masár
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: