Posted by: Ian | June 9, 2010

How the Broker should processing submissions

Let us assume that the broker maintains a list of all targets for each eprint, something like:

eprint->broker->[
                 [target repo, sword end-point, date sent, date accepted, date live, url, archiver]
                 [target repo, sword end-point, date sent, date accepted, date live, url, archiver]
                 [target repo, sword end-point, date sent, date accepted, date live, url, archiver]
                 [target repo, sword end-point, date sent, date accepted, date live, url, archiver]
                ]

The simple version of this process is where any piece of input can (and should) go to every appropriate target.

In this scheme, you have two separate processes:

  1. During the Deposit process:
    • Item comes in
    • Deduce list of targets
    • Write list to eprint->broker[target]
  2. A regular transfer process:
    • Get all eprints where (or an eprint) the number of lines with “target repo” data is greater than the number of lines with “date sent” data
    • Loop through each such eprint and
      • loop through each row
        • skip if the “target repo” and “date sent” are both set
        • find the sword endpoint for the target repo unless the “sword end-point” is set
        • send the item unless the “sword end-point” and “date sent” are both set

When a new organisation joins the Broker, a process can be run that checks every eprint to see if

  1. the eprint already lists this organisation as a potential target, and if not
  2. should it list this organisation as a target, and add itself to the broker’s table if it should

Now, this is fine for the Grand Vision (where everything is openly available to everyone), however there are still a number of situations where depositors (mostly those people with a commercial interest… be they publishers, funders, or software/web-site vendors offering a service to customers).

In this situation, there needs to be a filter — some way to say “yay or nay” — for each found repository for each item deposited.

…. and I don’t have that answer yet

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: