Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2C907E008CF; Thu, 6 Nov 2014 08:54:07 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NORMAL_HTTP_TO_IP, RCVD_IN_DNSWL_HI,WEIRD_PORT autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] * 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP * 0.0 NORMAL_HTTP_TO_IP URI: URI host has a public dotted-decimal IPv4 * address * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 33EC0E0084A for ; Thu, 6 Nov 2014 08:54:04 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 06 Nov 2014 08:52:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,327,1413270000"; d="scan'208";a="632743718" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga002.jf.intel.com with ESMTP; 06 Nov 2014 08:54:02 -0800 Received: from irsmsx105.ger.corp.intel.com (163.33.3.28) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 6 Nov 2014 16:54:01 +0000 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.3]) by IRSMSX105.ger.corp.intel.com ([169.254.7.56]) with mapi id 14.03.0195.001; Thu, 6 Nov 2014 16:54:00 +0000 From: "Barros Pena, Belen" To: "toaster@yoctoproject.org" Thread-Topic: Review of "all machines" page (master:0add8abc12b850e38a6ec7dcf2856fab2c0107b6) Thread-Index: AQHP+eJCCWl0QE6bSUeC6TdfVhdLnQ== Date: Thu, 6 Nov 2014 16:53:59 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.5.141003 x-originating-ip: [10.237.224.32] MIME-Version: 1.0 Subject: Review of "all machines" page (master:0add8abc12b850e38a6ec7dcf2856fab2c0107b6) X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 16:54:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <6136092CEC636742B077BA96B80E8314@intel.com> Content-Transfer-Encoding: quoted-printable I was asked to review the state of all machines page (https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6593 currently assigne= d to Michael) to give an idea of how much work is left to do. The short answer is: quite a bit. This is the list of issues I've found * The "Show rows" menu doesn't seem to be working properly. When you load the page, the table always shows 10 rows, independently of the value selected in the "show rows" menu * The machine name should not have a blue icon next to it * The machine file information is not coming in * The layer name should be a link to the layer details page * The branch, tag or commit column always shows a commit. For machines coming from layers from the OpenEmbedded layer source, this column should be showing a branch name instead * The help text in the "add layer" buttons is currently hardcoded (it shows the same layer name for all machines) * You cannot add layers / select machine functionality is not in place * The 'layer' column should be sortable (currently isn't) * Sorting and the "edit columns" menu do not interact as explained in page 21 of the design document * Sorting by layer source reverts the sorting by machine, setting it to z to a. This should not happen: when I sort by layer source, machines with the same layer source should be sorted in alphabetical order (a to z) * The "select" column filter is not in place * When applying a filter, the page heading does not update to show the number of results returned by the filter * It doesn't look like the search functionality is in place. When you try to search, you get an error saying that the "Machine object has no attribute 'search_allowed_fields'". This is the full trace: Environment: Request Method: GET Request URL:=20 http://0.0.0.0:8000/toastergui/machines/?orderby=3Dname%3A%2B&count=3D10&se= arch =3D3g&page=3D1 Django Version: 1.6 Python Version: 2.7.3 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.staticfiles', 'django.contrib.humanize', 'orm', 'toastermain', 'south', 'toastergui', 'bldviewer', 'bldcontrol') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 114. response =3D wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/yocto/poky/bitbake/lib/toaster/toastergui/views.py" in machines 2383. queryset_with_search =3D _get_queryset(Machine, queryset_all, None, search_term, ordering_string, '-name') File "/home/yocto/poky/bitbake/lib/toaster/toastergui/views.py" in _get_queryset 234. queryset =3D _get_search_results(search_term, queryset, mode= l) File "/home/yocto/poky/bitbake/lib/toaster/toastergui/views.py" in _get_search_results 201. model.search_allowed_fields) Exception Type: AttributeError at /toastergui/machines/ Exception Value: type object 'Machine' has no attribute 'search_allowed_fields' Cheers Bel=E9n