Switch to etherpad lite

Switch to etherpad lite

For the discussion of infrastructure improvements and changes.

Moderator: Moderators

Post Reply
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Switch to etherpad lite

Post by koshi »

It's re-implementation of etherpad in node.js. Much lighter on server resources and it exposes a nice api to control/setup pads with password, as read-only and whatnot. Potentially openingn up the possibilty to have rss feeds for saved pad revisions.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Switch to etherpad lite

Post by Licho »

How to switch it?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi »

Deployment is straightforward, there's even a ppa for the dependencies.

Code: Select all

apt-add-repository ppa:chris-lea/redis-server && apt-add-repository ppa:chris-lea/node.js
Basically just follow https://github.com/Pita/etherpad-lite/b ... /README.md
If porting existing pads is required, there's a migration path, but I haven't tried that.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma »

http://springrts.com/phpbb/viewtopic.php?f=73&t=26800 (try etherpad lite?)

afaik tobi already looked at it some time ago...

(and yes, +1 for etherpad lite...)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Switch to etherpad lite

Post by Tobi »

Last time I checked (approx half a year ago I think) it missed some features compared to the etherpad we have now (I don't recall what exactly); possibly it's better now, though.

Resource wise it was a lot better definitely.

Didn't try a migration of the database yet, either.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma »

i set etherpad-lite up:

http://springrts.com:9001/

Note: database of this instance will be deleted, this is just for testing.


only test-wise, it isn't started when the server is rebooted, also i didn't try to migrate the database, but that should't be hard: https://github.com/Pita/etherpad-lite/w ... erpad-Lite

thoughts?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi »

+1, even if testing migration fails and we'd have to move stuff manually
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Switch to etherpad lite

Post by FLOZi »

nice api to control/setup pads with password, as read-only and whatnot.
Read-only access for game devs please, even if on a ad-hoc case-by-case basis.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi »

not following flozi
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Switch to etherpad lite

Post by FLOZi »

koshi wrote:not following flozi
I will spell it out:

May I have read-only access to previously confidential engine-dev only correspondence/discussions/personal TODO lists, please. :P
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Switch to etherpad lite

Post by hoijui »

as much as i know, there is no read-only access. but even if there were, there would not be a general way of getting read access to all pads (which is a good thing), but you would have to request a read-only link for specific pads. in practise, if something should be publicised, people with access should probably just c&p it to pastebin and make that link public. that also helps to easily and clearly capture a specific state, like the making up a draft that was agreed upon in a meeting.
Last edited by hoijui on 24 Mar 2012, 09:49, edited 1 time in total.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Switch to etherpad lite

Post by Forboding Angel »

Why don't you guys use google docs? That makes a lot more sense than etherpad.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Switch to etherpad lite

Post by MidKnight »

How so?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Switch to etherpad lite

Post by Forboding Angel »

Because with google docs, you can add editors, you can add viewers, there is chat built into it, and it's a living document.

Google docs has everything etherpad has, and more.

Edit: oh, and it doesn't drain the spring server of resources needed elsewhere.

Edit2: Google+ hangouts with extras has google docs, whiteboard, presentations, video/audio chat and can be broadcast for anyone to watch and can have up to 10 active participants. That makes more sense than either of the above, unless you don't want audio involved, of course.

However, if you guys had to face one another, a lot of this bullshit would probably have been avoided in the first place.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Switch to etherpad lite

Post by AF »

Or you could use something like the P2 wordpress theme, realtime discussion and commenting, then maybe bundle in a plugin or two like the 'resolved' plugin letting you mark things as un/resolved. It doubles up as a development blog too, just make it so most posts are closed to public commenting, and you'll all be able to edit each others stuff anyway

e.g.:

http://wpdevel.wordpress.com/
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma »

migrated to etherpad lite...

if it doesn't fail horrible it will be kept as is.

only issue i found is that the old links slightly changed:

if you use an old url, you get:
Cannot GET /....


if you use /p/... then it works as before...

not sure if i'll add a http-redirect for these urls.

edit: added the redirect.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma »

Post Reply

Return to “Infrastructure Development”