-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IRUS patch does not apply cleanly on DSpace 6.3 #3
Comments
Dear Bill, After a first investigation, it indeed seems that the We could look into updating the I'm of course always happy to read your opinion on this. With thanks, David |
Hi David, Thanks for taking a look at this. I would suggest taking two steps here: Step 1: Update the documentation to describe how to create the patches for any 6.x version, as you suggested. Step 2: Follow the patch creation procedure outlined in Step 1 to create and capture a patch for each 6.x version that you want to support then test those patches against the applicable DSpace version to ensure that they apply properly and that the code operates as expected. When you have those patch files created and tested, then post them for download and update the documentation to suggest using the pre-generated patches whenever possible. This will make it much easier for you to be confident that the patches actually work against the DSpace versions they are meant to support, and that individuals attempting to use the patches don't run into problems in the patch generation process. If time is limited, I'd suggest focusing first on generating and testing the patch for the latest production release version of DSpace, which means 6.3 now and 6.4 when it comes out. |
@bbranan
As mentioned by David, we noticed that the dspace_6x branch referred to 6.0, which is incorrect, it should be the same dspace version as the stable_6x branch. That being said: It turns out that we DID have the updated dspace_6x branch with DSpace 6.3 installed on our internal git repository (which we use for development and testing), but this was not pushed at the time of the last stable_6x push. When comparing the newly pushed dspace_6x version, the number of differences is a lot snmaller:
To avoid confusion, I would advise against having people creating the patch manually, this is not required for this kind of github diff (It would be something entirely different if binaries were involved, which the git diff can't handle as is) There was a missing step in the documentation that we have added in order to make sure that the flyway migration has run correctly (which handles the addition of a db table. Flyway has an intrinsic check on the 'version' and does not try and run 'older' versions automatically.) :
|
Hi @bbranan, Have you already had the time to check my colleague's feedback ? It would be great if we could have your confirmation that the new patch applies cleanly on 6.3. With thanks, David |
Hi @davidatmire and @jonas-atmire, thanks for the updates. I'm now able to apply the patch cleanly against DSpace 6.3! I'll be testing the deployed integration soon. Is there a way to verify that content is being transferred properly when using |
@bbranan This will log in 2 parts:
Another thing that can be done is check with the IRUS helpdesk themselves if they saw the posts coming through, mentioning:
A thing to note is that the sending of the tracker urls is NOT done for admin accounts, so make sure to test this as an anonymous user for good measure. |
Hi @bbranan, Just a few more information on top of @jonas-atmire last comment. The first part of my colleague's answer is about how you can check in the DSpace logs (on the server where DSpace is installed - Speaking about the Should we update https://atmire.github.io/IRUS/#/installation in order to give a procedure to update the production URL when appropriate ? |
Thanks @jonas-atmire and @davidatmire! After applying the patch and deploying I was able to verify in the logs that the expected "Successfully posted" messages were being generated. I've also reached out to have this checked from the IRUS end. Also, thanks for the note about a different URL being used for IRUS US. I definitely think it would be useful to update the documentation to outline the procedure needed to transition from test to production, including a note about there being multiple URLs and how to determine the right one. One more question: With the patch in place, what is the recommended method to disable the IRUS functionality (if I need to turn it off for some period of time)? I'm assuming that I'll need to comment out the reference to stats.cfg in dspace.cfg, but it's not clear if there are other steps needed. It wouldn't hurt to include this in the documentation as well. |
Thanks for your feedback @bbranan ! I have updated the following section of the documentation to cover country/area specific IRUS tracker URLs : Regarding your other question, we have never been confronted before with the use case of an institution having the patch installed and needing to disable it later on. There is currently no clean way to disable the IRUS functionality once the patch is installed. Changing the tracker URL ( |
Hi @davidatmire, the use case I have in mind is to deploy DSpace for everyone that we support with the same code base, meaning that the IRUS tracker patch would be installed, but the capability would be disabled by default. This would make it much easier for us to then enable IRUS tracking for those that choose to use it (and are willing to pay for it) and leave it disabled for everyone else. This allows us to avoid having two independent builds of the DSpace software and having to redeploy a different version if we need to turn this feature on or off. Please do reach out to JISC about this need. I would be happy to contribute to that conversation in any way that is helpful. |
Hi @bbranan, thanks for the quick reaction. |
Hi @bbranan, This is just to let you know that JISC approved the extra If you have some time to install the new version of the patch and also test the new |
@davidatmire that's great news, thanks for getting that feature added so quickly! I've put it on my list to test out the updated patch. |
We are trying to set up IRUS tracking and have installed this patch. I suggest adding this troubleshooting information (and any other testing information) to the documentation, https://atmire.github.io/IRUS/#/installation, even if it is just to point to this issue. It is very useful to know where to look in the logs, etc. to see if it is working. Thanks. |
Thx for the suggestion @alawvt, I have updated the documentation on https://atmire.github.io/IRUS/#/installation with the testing/troubleshooting information from this git issue. |
@davidatmire, thank you very much for updating the documentation with this testing information. |
Turning on Debugging (optional) If you'd like to try and do some debugging yourself, you can change the DSpace logger settings to DEBUG which will sometimes provide you with more information about the error. To turn on debugging, visit the [dspace]/config/log4j.properties file and do the following: To enable DEBUG logging in the dspace.log file, change the log4j.rootCategory and log4j.logger.org.dspace settings to DEBUG rather than INFO. (XMLUI Only) To enable DEBUG logging in the cocoon.log file, change the log4j.logger.org.apache.cocoon setting to DEBUG rather than INFO. NOTE: You'll need to restart Tomcat after enabling DEBUG mode in the log4j.properties file. |
@alawvt , thank you for the additional documentation proposal. |
@davidatmire, sure. I added these instructions from Paul, since changing the log level is necessary to see the DEBUG messages in section 8, https://atmire.github.io/IRUS/#/installation. |
Attempting to apply the patch (https://github.com/atmire/IRUS/compare/dspace_6x%E2%80%A6stable_6x.diff) as described in the documentation: https://atmire.github.io/IRUS/#/prerequisites fails.
Attached is a screenshot showing my attempt at applying the patch to the DSpace 6.3 tag. Looking at the patch itself, it appears to include changes that were made as part of the DSpace 6.3 release. This is probably because changes for 6.3 were applied to the
stable_6x
branch but not thedspace_6x
branch, which hasn't been updated since 2017.An easier way to see the changes included in the patch: dspace_6x...stable_6x. It's pretty clear that this change set is far larger than it needs to be to add the use of IRUS.
The text was updated successfully, but these errors were encountered: