[fossil-users] Basic FossilHub functionality works
At this point, the repository also serves as a demo (that will probably change). You can see a basic timeline of the repositories the account is following (currently only one, but I'll add some more) if you click on the Demo Account link at the top of the home page. Here's the repository link: http://tinyconcepts.com/fs.pl/hub.fsl This allows you to make a Fossil repository that functions as your account and register repositories with it that you are watching (I don't have a GUI yet to register repositories -- the data is in a JSON wiki page attachment). The followed page shows aggregated timelines from all of the repositories you are following, currently sorted by time, most recent first (interleaving the entries from all of the watched repositories). This can be expanded to support more social networking functionality. I plan to add management, so you can easily add and remove followed repositories, along with some optional mods you can make to project repositories so they can display which accounts are following them, etc. In order to watch a repository, that repository has to a small (1K) HTML asset which provides access to the timeline feed (using HTML5's window.postMessage) -- this can just be attached to a wiki page; it doesn't have to be in a project branch. The main body of code, however, is in the account repository, in JavaScript and served up using a Fossil doc URL. Again, this did not require any changes to the Fossil executable. Bill ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Basic FossilHub functionality works
On 03/28/11 07:43, Bill Burdick wrote: In order to watch a repository, that repository has to a small (1K) HTML asset which provides access to the timeline feed (using HTML5's window.postMessage) -- this can just be attached to a wiki page; it doesn't have to be in a project branch. The main body of code, however, is in the account repository, in JavaScript and served up using a Fossil doc URL. Again, this did not require any changes to the Fossil executable. It's awesome that you can do this without modifying Fossil. I dunno if the social networking stuff will take off or not... but the fact it can be implemented like this is amazing! Well done to you and to Richard for making Fossil flexible through simplicity ;-) [What a geeky answer. Dunno about the social stuff, what an awesome gadget ;-)] Bill ABS -- Alaric Snell-Pym http://www.snell-pym.org.uk/alaric/ ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Basic FossilHub functionality works
On Mon, Mar 28, 2011 at 10:24 AM, Stephan Beal sgb...@googlemail.comwrote: On Mon, Mar 28, 2011 at 8:43 AM, Bill Burdick bill.burd...@gmail.comwrote: This allows you to make a Fossil repository that functions as your account and register repositories with it that you are watching (I don't have a GUI yet to register repositories -- the data is in a JSON wiki page attachment). The followed page shows aggregated Great stuff! Regarding the JSON bits... i recently added some basic JSON support to my copy of fossil, but haven't done anything interesting with it. The current code can output the timeline in JSON, but currently no other areas use JSON (for lack of energy and real use cases, not the difficulty of solving the problem). If you have concrete ideas about how having JSON output come directly from Fossil might help you to implement your hub, i'd be interested in discussing that with you and potentially adding the JSON output support. Well, I'm parsing the XML timeline RSS feed in JavaScript, right now, but JSON would certainly be more convenient :). Bill ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users