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

dspace stats-util --mark-spiders doesn't use name or agent patterns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted / Claimed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      7
    • Documentation Status:
      Not Required

      Description

      This function only walks the list of addresses and marks any previously unmarked cases found by searching for each address in turn. That's quite efficient for addresses, but when creating fresh entries we now match on host name patterns and agent patterns as well.

      Probably this should change to examine each unmarked case and mark any case which causes SpiderDetector.isSpider() to return true. That will examine more cases, but this is an operation which is rather rare and which one might expect to be expensive.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwood Mark H. Wood
              Reporter:
              mwood Mark H. Wood
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: