From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0FE1894138C for ; Wed, 27 Mar 2024 10:28:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=tDpY07XPOnmLSrFsfP3ftdzytsfFxVlM/Yu6b2wWHhg=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1711535293; v=1; b=UgkO8dBX9UsY1tiFn2N+RwsMQp4DMEACAZdLANp7D+O+mAY3TNcx2i1FKSyYlGobYB/kqIcr VoGZ9WHN9QPhkSlB24z4ZGTUxD4J8JLF4hrwQeTTgAqvlKQAyJdvcqAk4qO1dqsWxeQiTHDjQBJ ncn2kiCmLTcjcHViPL25QvD7UgiEjLITKZ48BaVlWfSSH0YxWWtxwLCjcJFTaZqP7hzFsLDK8Hy BHh28XVnligOD7E9XeNx321Ye82TuYtRTjBCda0t6C/nOXC1Bs6jhq+zbOVV+OCUTh8PIce73Ra X+B9N75swlp5HOa7E0WC49bOUBpZvq21BtoHG73QBiIvQ== X-Received: by 127.0.0.2 with SMTP id 45XBYY7687511x7ua6KQI83r; Wed, 27 Mar 2024 03:28:13 -0700 X-Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web10.34291.1711535292297223654 for ; Wed, 27 Mar 2024 03:28:12 -0700 X-Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a46f0da1b4fso834597966b.2 for ; Wed, 27 Mar 2024 03:28:12 -0700 (PDT) X-Gm-Message-State: ba4TCS1u9C6vK1gBxUVcchDOx7686176AA= X-Google-Smtp-Source: AGHT+IE62c+g3/BmirtoSXvS/mbk1MAAqJdfWYmxjMVagFhtqCQHCfHSUibQ5NXpjOotYuGuWh+MOR0VrICKsDZ7HYg= X-Received: by 2002:a17:907:940a:b0:a4e:b31:89d9 with SMTP id dk10-20020a170907940a00b00a4e0b3189d9mr573155ejc.9.1711535290128; Wed, 27 Mar 2024 03:28:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Sheng Lean Tan" Date: Wed, 27 Mar 2024 11:27:34 +0100 Message-ID: Subject: Re: [edk2-devel] Refactoring the UEFI shell To: devel@edk2.groups.io, benjamin.doron00@gmail.com, rebecca@bsdio.com Cc: marcello.bauer@9elements.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 27 Mar 2024 03:28:12 -0700 Reply-To: devel@edk2.groups.io,sheng.tan@9elements.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="000000000000fd32600614a1dc1c" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=UgkO8dBX; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=9elements.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --000000000000fd32600614a1dc1c Content-Type: text/plain; charset="UTF-8" Hi all, Any feedback regarding this? :P Any thoughts? Much appreciated! Best Regards, Sheng On Tue, 19 Mar 2024 at 18:44, Benjamin Doron wrote: > Hi all, > We're planning to refactor the shell into a library so that shell apps > possibly used in the field for testing can be easily adapted for automation. > > Our plan is: > > - Refactor ShellInfoObject into base internals and interactive elements > - Migrate functions that imply interactivity into a new library class, > and write some stubs in a LibNull > - Refactor last shell app files (file interface, shell env var) into > another (or same) library > - Implement non-interactive functions, as required > - Write an example implementation in MdeModulePkg/Application/ > > > We're looking for thoughts and ideas on our approach, as well as opinions > on the concept. > > Best regards, > Benjamin > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117165): https://edk2.groups.io/g/devel/message/117165 Mute This Topic: https://groups.io/mt/105028827/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- --000000000000fd32600614a1dc1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,
Any feedback regarding this? :P
Any = thoughts?
Much appreciated!

<= div dir=3D"ltr">
Best Regard= s,
Sheng=

On Tue, 19 Mar 2024 at 18:44, Benjamin Doron = <benjamin.doron00@gmail.co= m> wrote:
Hi all,
We're planning to refactor the= shell into a library so that shell apps possibly used in the field for tes= ting can be easily adapted for automation.

Our pla= n is:
  • Refactor ShellInfoObject into base internals and in= teractive elements
  • Migrate functions that imply interactivity i= nto a new library class, and write some stubs in a LibNull
  • Refactor= last shell app files (file interface, shell env var) into another (or same= ) library
  • Implement non-interactive functions, as required
  • =
  • Write an example implementation in MdeModulePkg/Application/
<= /div>

We're looking for thoughts and ideas on our ap= proach, as well as opinions on the concept.

Best re= gards,
Benjamin

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#117165) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--000000000000fd32600614a1dc1c--