Hello all,

I was hoping for some ocaml Lwt advice related to mirage-dashboard.

I can successfully retrieve json data about the latest releases from
various github repositories and print them one at a time. The next step is
to print them as one long json array.

I'm getting mixed up when trying to collect each of these json strings into
one concatenated string. This is not the ultimate aim but it's a step
towards building up useful data structures asynchronously.

If anyone can have a look over what I'm doing, it'd be really helpful. The
branch below compiles but the resulting binary seems to hang without any
computation.

This is pretty novice stuff so be prepared for some mess:
https://github.com/rudenoise/mirage-dashboard/blob/json-stuff/src/mirage_dashboard.ml#L74

Thanks in advance,

Joel

On 11 April 2016 at 16:25, Joel Hughes <[email protected]> wrote:

> Thanks Hannes,
>
> I'm going pretty slowly with mirage-dashboard (due to a mix of day job,
> children and nascent OCaml skills) but making some progress.
>
> I'm nearly there grabbing latest release data using a a copy of the list
> from TROVE.
> https://github.com/rudenoise/mirage-dashboard/blob/master/data/repos.json
>
> The repos.json has a tags array for each repo so the intention is to use
> that to generate filters and/or custom feeds. And that JSON file is the
> current place to add/edit/remove repos and tags. Feel free to PR.
>
> Anyway I'll be chipping away whenever I can so hopefully it'll become
> useful quite soon! (CLI first then unikernel)
>
> Cheers
>
> Joel
>
>
> On 11 April 2016 at 14:51, Hannes Mehnert <[email protected]> wrote:
>
>> hi,
>>
>> since the dashboard (https://github.com/rudenoise/mirage-dashboard) is
>> not yet ready, I setup a GitHub account which watches a large variety of
>> MirageOS-related projects (starting with the TROVE; unfortunately atm
>> classified as a robot, thus you can't see the repositories).  Please let
>> me know if I missed out on any (either if you don't see changes in the
>> feed for a project, or hopefully GitHub will remove the robot tag from
>> that account).
>>
>> GitHub provides an atom feed with the activity (guarded by an access
>> token in the URL):
>>
>> https://github.com/miragebot.private.atom?token=ARh4hnusZ1kC_bQ_Q6_HUzQteEEGTqy8ks61Fm2LwA==
>> might be of interest for people who don't want to watch the various
>> libraries.
>>
>> What in my opinion would be helpful for the dashboard to have
>> (free-form, likely in the opam file) tags for the various libraries
>> mentioning what topic they are on (some people might want to receive
>> only web, network, storage, .. related project updates).
>>
>>
>> enjoy,
>>
>> hannes
>>
>> _______________________________________________
>> MirageOS-devel mailing list
>> [email protected]
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>
>
_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to