[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] request for beginner project suggestion



Thanks a lot, Thomas, Mindy, for the quick help!

i made progress up to "mirage configure --xen", which failed because of gtk issues (triage in progress). Am on Ubuntu 14.04, tried a couple of workarounds (like http://www.linuxquestions.org/questions/linux-newbie-8/xdot-library-is-not-able-to-open-graphs-in-ubuntu-14-04-a-4175504761/).

Out of curiosity, is there a preferred distro for dev/testing?

Thanks!
madhuri.

______

ubuntu@ip-172-31-15-169:~/mirage-skeleton/console$ mirage configure --xen

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display

 warnings.warn(str(e), _gtk.Warning)

/usr/lib/pymodules/python2.7/mirage.py:336: GtkWarning: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

 test = gtk.Button("", gtk.STOCK_LEAVE_FULLSCREEN)

/usr/lib/pymodules/python2.7/mirage.py:336: Warning: g_object_get: assertion 'G_IS_OBJECT (object)' failed

 test = gtk.Button("", gtk.STOCK_LEAVE_FULLSCREEN)

______

On Tue, Feb 16, 2016 at 6:28 AM, Thomas Leonard <talex5@xxxxxxxxx> wrote:
On 16 February 2016 at 14:19, Thomas Leonard <talex5@xxxxxxxxx> wrote:
> [ forwarding to mirageos-devel; I assume this wasn't intended to be
> sent only to me ]
>
> ---------- Forwarded message ----------
> From: Madhuri Yechuri <cosmokramer@xxxxxxxxx>
> Date: 16 February 2016 at 04:26
> Subject: Re: [MirageOS-devel] request for beginner project suggestion
> To: Thomas Leonard <talex5@xxxxxxxxx>
>
>
> Hi Thomas,
>
>> here's some useful information here:
>>
>> https://www.somerandomidiot.com/blog/2015/11/26/quick-changes-in-mirageos/
>
> https://www.somerandomidiot.com seems to have shut down. (i was half
> way through the instructions around a week ago, tried to access it
> today, but couldn't). Is there any other alternate you would recommend
> for test environment setup?

In your git clone directory, do:

 opam pin add -k git mirage-net-xen .

This will build and install your version of the library. Then "make
clean" in your test unikernel and rebuild.

> i've made first pass at necessary changes
> in mirage-net-xen's frontend.ml
> (https://github.com/mirage/mirage-net-xen/compare/master...myechuri:printf-to-logs-in-frontend),
> and would love to run a test once before fixing log levels. Apologies
> for the delay in getting this done!

Great :-)

> Thanks!
> madhuri.
>
> On Fri, Jan 29, 2016 at 7:59 AM, Thomas Leonard <talex5@xxxxxxxxx> wrote:
>>
>> On 28 January 2016 at 05:58, Madhuri Yechuri <cosmokramer@xxxxxxxxx> wrote:
>> > Great, thanks for the quick response! i assume below advice still holds
>> > true, in that case.
>>
>> Yes.
>>
>> > ______
>> > You could start by cloning the mirage-skeleton repository and making a
>> > new example based on "console" that uses logging rather than printing.
>> >
>> > For modifying libraries, you'll need to know how to "opam pin" a
>> > modified package for testing. There's some useful information here:
>> >
>> > https://www.somerandomidiot.com/blog/2015/11/26/quick-changes-in-mirageos/
>> >
>> > (however, I find it easier to look in the Makefile to find the
>> > dependencies, rather than reading the source of the mirage tool, and
>> > make sure you do "opam pin -k git" to pin in "mixed mode", or you'll
>> > have endless trouble with stale OASIS files)
>> > ______
>> >
>> > i can start with
>> > https://github.com/mirage/mirage-net-xen/blob/995bcf518b7c8e41e7db79050948bb7ecc1046b2/lib/frontend.ml#L106
>> > , as listed in the Pioneer Projects page.
>> >
>> > Is there a recommended regression test set? i looked around
>> > https://mirage.io/wiki/contributing, but couldn't find any pointers.
>>
>> There are no automated tests. Running mirage-skeleton would let you
>> check if it was working.
>>
>> Dave Scott made a branch that allowed mirage-net-xen to run on Unix
>> (by making the Xen stuff abstract), which allowed running unit-tests
>> easily. I think it needs a bit of work to rebase it on master, though:
>>
>> https://github.com/djs55/mirage-net-xen/commits/refactor-modules
>> https://github.com/djs55/mirage-net-xen/blob/refactor-modules/lib_test/test.ml
>>
>> (many of the changes on this branch have already been merged)
>>
>> Some proper integration tests that spin up multiple Xen VMs would be
>> great too. I know this has been discussed a few times, but I'm not
>> sure what the status is.
>>
>> > Thanks a lot!
>> > madhuri.
>> >
>> > On Wed, Jan 27, 2016 at 8:40 AM, Thomas Leonard <talex5@xxxxxxxxx> wrote:
>> >>
>> >> On 27 January 2016 at 16:28, Madhuri Yechuri <cosmokramer@xxxxxxxxx>
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > i am interested in contributing to MirageOS (during non-work hours), and
>> >> > wondering if there is a beginner project recommendation? This would be
>> >> > my
>> >> > first project in OCAML (have 15 years industry coding experience in C
>> >> > (Oracle Database Server, VMware ESX) and C++ (VMware vCenter), and
>> >> > recent 9
>> >> > months in Python (Flocker)).
>> >> >
>> >> > Looking through
>> >> > https://github.com/mirage/mirage-www/wiki/Pioneer-Projects ,
>> >> > i understand Logging is taken from recent emails on this mailing list.
>> >> > Is
>> >> > there is any other beginner-friendly project that i could take up?
>> >> >
>> >> > Thanks a lot!
>> >> > madhuri.
>> >>
>> >> Hi Madhuri,
>> >>
>> >> There are lots of libraries that need improved logging, so as long as
>> >> people say which ones they're working on there should be no problem -
>> >> it would be great if you want to work on that!
>> >>
>> >>
>> >> --
>> >> Dr Thomas Leonard    http://roscidus.com/blog/
>> >> GPG: DA98 25AE CAD0 8975 7CDAÂ BD8E 0713 3F96 CA74 D8BA
>> >
>> >
>>
>>
>>
>> --
>> Dr Thomas Leonard    http://roscidus.com/blog/
>> GPG: DA98 25AE CAD0 8975 7CDAÂ BD8E 0713 3F96 CA74 D8BA
>
>
>
>
> --
> Dr Thomas Leonard    http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDAÂ BD8E 0713 3F96 CA74 D8BA



--
Dr Thomas Leonard    http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDAÂ BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.