-
Notifications
You must be signed in to change notification settings - Fork 178
Refactoring - next steps #403
Comments
👍 I had to smile a little. 👊 📦 |
Another idea could be to finally create a #fedwiki GitHub Organization and move all concerning repos there. |
I've added some notes on CDN caching and fallback to @paul90 refactoring page: |
The refactoring of the node version is now available, as an installable package. See paul90/wiki-exp. This must still be considered a work in progress, the code for both the client and server is contained in the paul90/refactor branch of my forks of the wiki-client and wiki repositories. Those wishing to try this new version can install it globally with npm:
N.B. A data path should be specified when starting the wiki, see WardCunningham/wiki#41. |
Great work! I was not really aware of the fact that this was a one person task. Despite the last but one line carries a little typo : |
Thanks, it didn't start out that way. |
Awesome work Paul. |
I've tried an install on my mac. It installed smoothly but won't start. Here is what I've tried.
|
@WardCunningham can you try again - looks like a line ending issue. I have changed the line endings in bin/server.js and republished, which should resolve the problem. |
Updated to version 0.1.1. Works great. Thanks. |
That's good. There are a few recent updates that have not yet made it across. I
|
I think the following steps are needed to complete this. Rather than creating new repositories, we will transfer the existing GitHub repositories to the fedwiki organization. I propose to create an issue in each repository with the relevant checklist. For each wiki-plugin-*
for wiki-exp
This will replace the existing wiki npm package, so need to get all the docs to reflect this, including details on how to contribute (both to the existing components, and also writing new plugins). A few more steps that are needed once wiki and wiki-client steps are completed.
for wiki
for wiki-client
Those who have forked the wiki and wiki-client repos on GitHub will need to update their upstream remote to use the new URL - though as we transfer/rename the repos they will get redirected. See https://help.github.com/articles/how-to-transfer-a-repository#redirects-and-git-remotes How best to handle issues? As the many of the components (client and plugins) are used by both server |
Wow. This is fantastic analysis. Thank you for the thorough step-by-step. I'm still studying it. |
Paul, I have granted you awesome power over the fedwiki organization so that you can create the repositories that you suggest. Please email me directly at [email protected] regarding rights and responsibilities related to this github mechanism. Thanks. |
A long list of referenced issues, one for each plug-in. So now just a matter of working through them all... |
You've set a good lead in the organization and documentation of each repo. I will go through each one and spruce up the documentation. A few of the older ones don't have wiki-readable pages. I'll fix that too. |
I inexpicably like what I'm seeing here. Finally the GitHub organization arrived. As the issue descriptions propose indirectly and the domain is still available, I propose to register One could then run a new public Wikifarm there, building on the modularized Node version deferring from the new codebase emerging instead of the Rails stack. Until the code'd be ready, a simple pre-templated GitHub Pages landing page would suffice. |
All the plug-ins are now migrated over to the fedwiki organization. I have created an issue for those without an about page (but may have missed some), but documentation is best described as minimal. |
@almereyda -- I considered registering If the I'm not opposed to These are my thoughts of the last day or two. I hope they are clear enough to provide some guidance. |
(This text scraped from localhost. I post it here to expose my work in progress.) This is a mechanically generated list of plugin document updates produced by comparing localhost/pages to clien/plugins/*/pages.
Local About PagesWe look for local about pages and check them against plugin pages, if any. About Parse Plugin. Plugin PagesWe check each plugin for expected pages and local copies of any extant page. About Bars Plugin. Needs about. Can't diff d3-bars. About Calendar Plugin. Needs pages. About Chart Plugin. Needs about. About Efficiency Plugin. Needs about. About Federatedwiki Plugin. Needs pages. About Line Plugin. Needs about. Can't diff d3-line. About Metabolism Plugin. Needs about. About Parse Plugin. Needs pages. About Scatter Plugin. Needs pages. |
I have to think further about this. |
Some very early notes on working with the new repositories, see http://wiki-paul90.rhcloud.com/working-with-the-refactored-node-code.html As long as they make sense I would like to push on the final step... |
I should have said, those notes were written from the context that the refactor was complete, and the new/updated packages had all be published. Thanks for your comments Ward. I have added some notes on using the 'wiki-exp' package, which grabs the refactored packages from github, until the updated 'wiki' and 'wiki-client' and the new 'wiki-server' packages are published. |
Ok, this makes sense. I was beginning to see that but was unsure what the next step for me would be. We have lots of interlocking parts which will become much simpler when reorganized and fully scripted. I thought I'd try a from-scratch build just to see if it would work for me. I have several other copies of repos that are tied together with symbolic links. They make me more nervous than your changes. I'll be happy when I can leave them behind. |
Yesterday (25th Jan), Ward and myself worked through the final stages of getting the refactored code merged in, and the the associated npm modules published. N.B. Before updating to use the latest version you should ensure you have a backup of your data directory. For those unsure where it is, when you run the wiki the parameters are displayed For those who installed the npm version, using The latest version will, by default, use Those working with the git repos will find some notes over in fedwiki/wiki-node. |
claphands
|
Continuing the work started in #395 and #402.
I have recorded some thoughts, see code refactor in my fed wiki.
This will impact both the WardCunningham/wiki and WardCunningham/wiki-client repositories, as well as this one. As well as creating another 35(?) plug-in repositories (and npm packages).
N.B. If you comment by forking the fed wiki page, please provide a link to your fork here.
The text was updated successfully, but these errors were encountered: