<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p class="details" style="font-style: italic; color: #626168;">
<a href="https://gitlab.rtems.org/amar">Amar Takhar</a> created an issue: <a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9">#9</a>
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<h2 dir="auto" style="margin-top: 0; margin-bottom: 10px;" align="initial">
<a href="#summary" aria-hidden="true" class="anchor" id="user-content-summary" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>Summary</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">The two changes in these MRs have been rejected and I need a solution from the RTEMS Builder GUI which I will lay out in this issue under the restrictions of how the GUI is made. Adding this here to record the history of the problem and why the changes were rejected. I have some of my own solutions but they are a lot of work that I wish to avoid as the GUI itself is a huge amount on its own.</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;"><a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/merge_requests/26" data-reference-type="merge_request" data-original="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/merge_requests/26" data-link="false" data-link-reference="true" data-merge-request="1485" data-project="58" data-project-path="rtems/tools/rtems-deployment" data-iid="26" data-container="body" data-placement="top" title="config: Add support for generic builds" class="gfm gfm-merge_request" style="margin-top: 0;">!26 (closed)</a></li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;"><a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/merge_requests/27" data-reference-type="merge_request" data-original="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/merge_requests/27" data-link="false" data-link-reference="true" data-merge-request="1486" data-project="58" data-project-path="rtems/tools/rtems-deployment" data-iid="27" data-container="body" data-placement="top" title="waf: Add option to dump targets in JSON format" class="gfm gfm-merge_request" style="margin-top: 0;">!27 (closed)</a></li>
</ul>
<h2 dir="auto" style="margin-top: 20px; margin-bottom: 10px;" align="initial">
<a href="#gui-restrictions" aria-hidden="true" class="anchor" id="user-content-gui-restrictions" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>GUI restrictions</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">The GUI itself holds no information about RTEMS or otherwise it is only designed to run the vertical stack / RTEMS tools. The GUI itself shares the commands it runs so users can then copy those commands to the commandline and run them on its own. This is by design, for example:</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial"><a class="no-attachment-icon gfm" href="https://gitlab.rtems.org/-/project/58/uploads/1e3a1158b5fecb1b0f4ed574ed092fa7/image.png" target="_blank" rel="noopener noreferrer" data-canonical-src="/uploads/1e3a1158b5fecb1b0f4ed574ed092fa7/image.png" data-link="true" style="margin-top: 0;"><img src="https://gitlab.rtems.org/-/project/58/uploads/1e3a1158b5fecb1b0f4ed574ed092fa7/image.png" alt="image.png" width="427" height="43" data-canonical-src="/uploads/1e3a1158b5fecb1b0f4ed574ed092fa7/image.png" class="gfm" style="max-width: 100%; height: auto; margin-top: 0; vertical-align: baseline; object-fit: contain; object-position: top;"></a></p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">This lets the user copy and paste the command if they wish into a commandline and replicate what the GUI does. This restricts the GUI to running commands that are only available via the RSB or deployment. Building RTEMS only comes from deployment. The purpose is to:</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Clone the CLI experience for the user</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Not for additions to be in the RTEMS tool stack and <em style="margin-top: 0;">not</em> the GUI</li>
</ul>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">The GUI is not part of the vertical stack, while it sits on top of it all it can do is use other tools but not do anything itself any new features must be added somewhere in or underneath RTEMS deployment.</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">The GUI <em style="margin-top: 0;">can</em> use the RSB to populate itself but it can't run commands in the RSB to <em>build</em> RTEMS it can only use rtems-deployment.</li>
</ul>
<h2 dir="auto" style="margin-top: 20px; margin-bottom: 10px;" align="initial">
<a href="#rtems-bsp-data" aria-hidden="true" class="anchor" id="user-content-rtems-bsp-data" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>RTEMS BSP data</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">In order to populate the GUI with a list of available BSPs it needs a list of architectures and BSPs in order to feed to rtems-deployment for building.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Whatever restrictions that come from versions must be available to the rtems-deployment CLI. The GUI only runs commands and cannot internally restrict anything outside of what the vertical stack already offers.</p>
<h2 dir="auto" style="margin-top: 20px; margin-bottom: 10px;" align="initial">
<a href="#what-the-gui-cannot-do" aria-hidden="true" class="anchor" id="user-content-what-the-gui-cannot-do" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>What the GUI cannot do</h2>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">It can't run commands outside of the RSB or rtems-deployment</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">It can't hold data outside of the RSB or rtems-deployment</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">It can't be part of the vertical stack</li>
</ul>
<h2 dir="auto" style="margin-top: 20px; margin-bottom: 10px;" align="initial">
<a href="#what-the-gui-can-do" aria-hidden="true" class="anchor" id="user-content-what-the-gui-can-do" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>What the GUI can do</h2>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">It can run commands in the RSB or rtems-deployment to populate itself which would also serve as a way for users to get a list of available items to build.</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">It can run commands in rtems-deployment to build RTEMS and a toolchain</li>
</ul>
<h2 dir="auto" style="margin-top: 20px; margin-bottom: 10px;" align="initial">
<a href="#conclusion" aria-hidden="true" class="anchor" id="user-content-conclusion" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>Conclusion</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">With the above in mind there needs to be a way to solve what the original two MRs did. the JSON was a temp solution to get the GUI to a point where something better could be put in place.</p>
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial">Since that has been rejected then I need a new way to do it keeping all of this in mind.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/1-aq0dc46y7kk3p76x7zy4xfgij/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9 at 1766118229
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9"}}</script>
</p>
</div>
</body>
</html>