<div dir="ltr">Hi Brad,<div><br></div><div>Thanks for getting back.</div><div><br></div><div>We were trying to prototype the use of the bottle web application to POST/PUT a text/diff file to BMC, apart from the image. This is similar to the octet-stream http request used for the image upload. </div><div><br></div><div>Regarding upstreaming, not sure what would be the interest for this to the others. </div><div><br></div><div>Thanks,</div><div>Guhan</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018 at 6:22 AM Brad Bishop <<a href="mailto:bradleyb@fuzziesquirrel.com" target="_blank">bradleyb@fuzziesquirrel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jul 17, 2018, at 2:10 PM, guhan balasubramanian <<a href="mailto:guhan.sac@gmail.com" target="_blank">guhan.sac@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> We are trying to make some custom changes to the phosphor web application.<br>
<br>
Can you describe what the custom changes are?  Maybe upstreaming your changes<br>
is possible and you don’t need a bbappend at all.<br>
<br>
> Since the web application is present in meta-phosphor, we were trying to patch the web application from our own meta layer. <br>
> <br>
> From the tmp/work/ directory, I was able to create a git patch for the rest_dbus.py file in phosphor-gevent and phosphor-rest. <br>
> <br>
> But since the source is not included directly, I get a quilt error saying that there is no file to patch. <br>
> <br>
> The web (bottle) application I see, is included through the following variable: <br>
> SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/wsgi_app"<br>
> <br>
> Can someone please help with what I am missing or the best way to go about this? <br>
> <br>
> -----<br>
> bash-4.2$ tree phosphor-rest/<br>
> phosphor-rest/<br>
> ├── phosphor-rest<br>
> │   └── 0001-rest-dbus-test.patch<br>
> └── phosphor-rest.bbappend<br>
> <br>
> 1 directory, 2 files<br>
> bash-4.2$ cat phosphor-rest/phosphor-rest.bbappend <br>
> FILESEXTRAPATHS_prepend := "${THISDIR}/phosphor-rest:"<br>
> SRC_URI += " \<br>
>      file://0001-rest-dbus-test.patch \<br>
> "<br>
> bash-4.2$ <br>
> -------<br>
> <br>
> <br>
> Thanks,<br>
> Guhan<br>
</blockquote></div>