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 82EA1AC187D for ; Tue, 19 Mar 2024 17:44:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zECrmBdykjOVVDpZMK5XYeWvLpBAbs1Vk45IF9kFF0I=; c=relaxed/simple; d=groups.io; h=MIME-Version: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=1710870243; v=1; b=PrK7xmrDyL+ab8B2T51GeV3+40n+Jc8LiLzmb7yW4lXH/nJosJJJaFhd52BQQYRMQwHXoc6z 7uf2PxvWGzvd0zr02OUVqBpNLV62fBpi7Yy0JNotWuI9bXtIRrAH9+E4uTsV9FZwFaPIYttofT3 /YhvaRpr75ECYWVb7U/ro/n5tse72aexRNZ4+DRFw68t3x2hPbFFwXj8VbKmDp90AX8qqCvoCQf +NpEr84OOntWrLm+be9E/7r+5lxjPK3056Jg3cvTnTJTklWOcijrnw6cg5zASjVdMLJEu0IvIpn EH+W2zUeF5G8gVt4ACp6zxdGm9oFE0/2MUZ5PzaEow00w== X-Received: by 127.0.0.2 with SMTP id MgaeYY7687511xFyVdseYIev; Tue, 19 Mar 2024 10:44:03 -0700 X-Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.22437.1710870242480383451 for ; Tue, 19 Mar 2024 10:44:02 -0700 X-Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1e00d1e13a2so18414645ad.0 for ; Tue, 19 Mar 2024 10:44:02 -0700 (PDT) X-Gm-Message-State: sg0w60Hcv2IQikcsJqxsyhJex7686176AA= X-Google-Smtp-Source: AGHT+IElRYiqrVMYCOfxWlWJ1kwgFN6dEl28paQDMiGtStpZc2FW8E/t+tbTfzUDsf6vSBXMqEcq2rRQfrQBn2MCzJ0= X-Received: by 2002:a17:902:db09:b0:1df:fda8:e0ef with SMTP id m9-20020a170902db0900b001dffda8e0efmr9253788plx.20.1710870241596; Tue, 19 Mar 2024 10:44:01 -0700 (PDT) MIME-Version: 1.0 From: "Benjamin Doron" Date: Tue, 19 Mar 2024 13:43:50 -0400 Message-ID: Subject: [edk2-devel] Refactoring the UEFI shell To: devel@edk2.groups.io 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: Tue, 19 Mar 2024 10:44:02 -0700 Reply-To: devel@edk2.groups.io,benjamin.doron00@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="00000000000001dd7f06140705e8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=PrK7xmrD; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.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 --00000000000001dd7f06140705e8 Content-Type: text/plain; charset="UTF-8" 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 (#116903): https://edk2.groups.io/g/devel/message/116903 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] -=-=-=-=-=-=-=-=-=-=-=- --00000000000001dd7f06140705e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,
We're planning to refactor the = shell into a library so that shell apps possibly used in the field for test= ing can be easily adapted for automation.

Our plan= is:
  • Refactor ShellInfoObject into base internals and int= eractive elements
  • Migrate functions that imply interactivity in= to 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
  • <= li>Write an example implementation in MdeModulePkg/Application/

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

Best regards,
Benjamin
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--00000000000001dd7f06140705e8--