EPrints Technical Mailing List Archive
Message: #01531
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Cleaning database up
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- Date: Wed, 6 Feb 2013 15:36:50 -0000
Hi Seb, yes I thought there would be a large scale of relationships using the userid, the general concept from an empty new Eprints would work perfectly its just trying to adjust the data already based on the old system. I will have to look further into this in more detail but thanks very much for your help and the script :D, you have been very helpful, Kind regards, David Whitehead. -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk on behalf of Sebastien Francois Sent: Wed 06/02/2013 15:24 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Cleaning database up David, I wouldn't change the userid field - this provides internal relations between objects (e.g. eprint.userid etc). Updating that field everywhere is a big task, and I'm not sure what you'd achieve by doing so. If you need to add extra info to the user objects, simply add a new field to the user dataset. Seb. On 06/02/13 15:17, David Whitehead wrote: > Hi Seb, > > thanks for your help Seb you'v given me some great information about the API's. I just had one last question I wanted to ask you about the EPrint API's, once the database has been somewhat cleaned via the script, I am looking to change userid's into a different value for the university which makes more sense then the auto increment method, I have already written the ldap script and database file changes to do this but I need to modify the existing users already in the database to the same structure. Is there any Eprint API which would allow me to update a users userid and then trickle it down into their EPrints, saved searches, indexs etc? > > Kind regards, > > David Whitehead > > *** 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/ The University of Lincoln - a top performer in student satisfaction, enjoying an unrivalled ascent through the University league tables, set in a dynamic, research rich and vibrant campus in the heart of a great historic student-friendly city. The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies. Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions. The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.
- References:
- [EP-tech] Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: "David Whitehead" <dwhitehead@lincoln.ac.uk>
- [EP-tech] Re: Cleaning database up
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Cleaning database up
- Prev by Date: [EP-tech] Re: Cleaning database up
- Next by Date: [EP-tech] Re: EPrints webserver authentication, skipping authentication?
- Previous by thread: [EP-tech] Re: Cleaning database up
- Next by thread: [EP-tech] Eprints and ebook readers
- Index(es):