EPrints Technical Mailing List Archive
Message: #08306
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Date Record Created
- To: John Salter <J.Salter@leeds.ac.uk>
- Subject: Re: [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Mon, 24 Aug 2020 16:30:22 +0100
mysql> select objectid,actor,revision, timestamp_month from history where datasetid = "eprint" and revision = 1 and timestamp_year = 2020 and timestamp_month = 8;
| 3098698 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098699 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098699 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098700 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098700 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098701 | /opt/eprints3/bin/get_records | 1 | 8 |
| 3098701 | /opt/eprints3/bin/get_records | 1 | 8 |
This might be an artefact of the older versions of the Symplectic connector.
I think it used to create an EPrints to compare possible merges, and then throw it away.
I don't think this should still be happening - maybe see what the main / max dates are for these records to see if it's still happening?
Look at the 'actor' data for the records too.
Cheers,
John
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of James Kerwin via Eprints-tech
Sent: 24 August 2020 16:03
To: eprints-tech@ecs.soton.ac.uk
Cc: John Salter <J.Salter@leeds.ac.uk>
Subject: Re: [EP-tech] Date Record Created
Should I be concerned about the number of "empty" eprint IDs I see in the history table?
It appears there are a lot that have two instances of "revision = 1" where the record appears to be briefly created and then immediately destroyed and the relevant ID is skipped over and never used. I am making sure that I only look for "datasetid = eprint".
I don't want to get too bogged down with this because it's not the end of the world, but I am tempted to pull on the thread and see what's going on.
Thanks,
James
On Mon, Aug 24, 2020 at 2:41 PM James Kerwin via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
Ahhhh that's it! Thank you!
I'm now slightly embarrassed to say how long I spent searching through the various EPrints tables looking for this.
The initial plan is to have a script that looks at how many items are put in the repository and breaks them down by some time period (e.g. month). If it's still wanted I'll make it into a button on the admin side that provides either a spreadsheet/google docs link or maybe even use it as an opportunity to play with graph modules etc.
We did look into something similar last year where we get the upload date and proper deposit date (as defined by EPrints) to assess how long items spent in review. This felt a little bit too much like surveilling staff which isn't something I'm on board with so it was quickly dropped. "Do no evil..." and so on.
Thanks,
James
On Mon, Aug 24, 2020 at 2:08 PM John Salter <J.Salter@leeds.ac.uk> wrote:
Hi James,
The 'history' dataset is your friend here!Are you wanting to do this for a handful of records, or script something?
A dataset search along these lines should work:
dataset: historydatasetid: eprint
dataobjid: the eprint id you are interested in
action: 'create'
The history dataset is searchable via the web interface, but for some older versions or EPrints you might want to add the 'datasetid' to the search form.
Let me know if you need more info!
Cheers,
John
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of James Kerwin via Eprints-tech
Sent: 24 August 2020 13:43
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Date Record Created
Afternoon All,
In the EPrints database is there data on when a record was created? We have the date an item is deposited which indicates when an item was made live in the repository. The record is created prior to this when a user uploads a file or OA Link through Elements. The record is created in the review buffer.
When a record is modified there is a "last mod" date and when it goes into the live archive this is treated as the deposit date.
If not I can find a way to make it happen in future. It would be incredibly helpful if I didn't need to do this.
Thanks,
James
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Date Record Created
- References:
- [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Date Record Created
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] Date Record Created
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Date Record Created
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Date Record Created
- Prev by Date: Re: [EP-tech] Date Record Created
- Next by Date: [EP-tech] Copy/Duplicate Record
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):