-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve automation of data publishing #5
Comments
Include here exploring options for triggering the publication of some new data, e.g. after some new Limesurvey entries have been approved. |
If the sausage factory is going to remain implemented in Ruby, it makes sense to either use Rake instead of Make, or just provide a script to invoke. The Makefiles I've seen tend to:
My suggestions:
For example:
|
How many manual steps are there currently to rebuilding and deploying a triplestore graph? (Assuming the original.csv file is present in the correct directory and the structure is unchanged from the previous build.) @dtmakm27 |
|
There are then project specific steps,
|
Let's give this its own Issue. |
I have a feeling there may be other steps too - for instance
|
I've added a Makefile here on a side-branch (The branch is where I'm trying to work out how to deploy a build entirely on dev-0 with no reference to sea-0, which contains various historical data sets, and I wonder if might unwittingly depend on some) |
@wu-lee does it make sense to get the simpler Newbridge database working first? |
Possibly? I'm just starting with what I know / want to get to... and won't that also need ESSGlobal URIs? I think this code generates the ESSGlobal data: https://github.com/SolidarityEconomyAssociation/open-data-and-maps/tree/master/vocab And that needs to be deployed too, currently it's on https://vocabs.solidarityeconomy.coop/ The w3id redirector on dev-0 currently redirect self-resolving URIs like this: https://dev.w3id.solidarityeconomy.coop/essglobal/V2a/vocab/SSEInitiative ...to the sea-0 pages like this: https://vocabs.solidarityeconomy.coop/essglobal/V2a/html-content/essglobal.html#SSEInitiative/ And the sausage factory needs these URLs to resolve, or it explodes. This means a self-contained deployment on dev-0 would need to modify the w3id redirector on it to point resolve these URLs to dev.vocabs.solidarityeconomy.coop, and there'd need to be the ESSGlobal vocab data deployed there too. Possibly we don't have to do that if the vocab is essentially unchanging, but it is useful to note that this is an essential thread in the weaving process. |
Furthermore, digging around on the vocabs site, I see it says here the data is generated by a script: https://vocabs.solidarityeconomy.coop/essglobal/V2a/DO_NOT_EDIT_HERE.txt Specifically: https://github.com/essglobal-linked-open-data/map-sse/blob/develop/generators/Makefile I see Matt Wallis is the main author in that repo (although there is one commit by |
I think I have just invited you to the repository. |
It is not changed often but does change. I 'think' the last change we made was the addition of Co-operative to the Organisation Structure, as we sometimes knew something was a Co-op, but not what type. https://w3id.solidarityeconomy.coop/essglobal/V2a/standard/organisational-structure/OS115 |
Yes, here it is. |
I notice that the ESSGlobal vocab page's title (seen in browser tabs) is "Raptor Graph Serialisation" - is that correct? https://vocabs.solidarityeconomy.coop/essglobal/V2a/vocab-content/essglobal-vocab.html |
Raptor is an rdf serialiser so it might be the default title generated if not specified by the user. I'm sure we could choose a more useful title. What would you suggest? @wu-lee ? |
Hi all, a quick heads up, i will start working on transforming the make files into ruby |
I assume Rake is a ruby version of make. Does it make sense to break this into a few smaller Issues? @wu-lee, @dtmakm27 |
Better do it in one task as it is just translating the make files to ruby and it has to be done in one go |
And the limesurvey api? |
If we were to split it in tasks we would have Translate the make files to rake files for ease of use and automation Update tipple store data instead of removing and reuploading all the data each time Use limesurvey api to trigger updates to data |
Which is covered by #6 |
Is deserves another ticket and we don't need it for this sprint. I'll create on so this Issue is now just the rmake port and tidy. |
This issue (#9 |
This is not that clear to me. I'd like to close this ticket as it is too big. Is there any more work you need to do on the rmake port? Is that what you mean when you say "automating/translating the code". If so, create a new Issue for it and we can close this one, #5. |
@ColmMassey @wu-lee What's missing is some documentation on how to configure it and run all the pipeline processes. Before I write that up I would like to test it out and make sure it can be configured easily to deploy to a new server (it is currently only tested only on the production one). @wu-lee could you get the dev virtuoso server up and running? In a nutshell, configurability is much easier now, some of the ruby files will be reused for the caching and atomic changes (which is a bit time-saving), you no longer have to delete graphs to load data (scripts do that for you), htaccess file is generated for you when you deploy There's two things left: writing the documentation (after testing it on the dev server), and implementing it in the other datasets |
It would be great to get a walk thorough/demonstration of these changes. |
Virtuoso dev server should be up and running already. See here for some documentation on what's where: The virtuoso service I find seems to be a little flaky, as you know it shut down for some reason. In which case check the reason with:
And start it with
|
|
Probably, yes. I'll add a ticket to check with Web Architects. https://github.com/SolidarityEconomyAssociation/technology-and-infrastructure/issues/45 |
Hi @wu-lee it stopped again for whatever the reason |
Regarding #20, came back here to check the URLs. We also have a fork of that original ESSGLOBAL repository here: https://github.com/SolidarityEconomyAssociation/map-sse I assume we should work on that one rather than the original? |
I would assume so. What other options are there? What were the last changes made to that repository? |
If you look at the "network" graph on the insights tab of map-sse, you can see that the original repo has some slightly newer commits, but they're all by @joebillings, back in 2019 - so without more information from Joe, I would assume the repos are in the state they're meant to be in. https://github.com/SolidarityEconomyAssociation/map-sse/network |
Can you share what you recall about the repository history @joebillings ? |
https://github.com/essglobal-linked-open-data/map-sse This is the repo that the https://vocabs.solidarityeconomy.coop/essglobal/V2a/vocab-content/essglobal-vocab.html is based on and contains the most recent code |
I'm closing this Issue as it's a sprawler and has been essentially done. Moving conversation about https://github.com/SolidarityEconomyAssociation/map-sse here. If you disagree please create a new Issue to cover what you don't want lost. |
Explore what we can do to reduce the number of manual steps required to in the publication of datasets to the Virtuoso server and the web server .
The text was updated successfully, but these errors were encountered: