<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/bmcweb.git/src/crow_test.cpp, branch master</title>
<subtitle>A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/'/>
<updated>2023-02-17T03:28:04+00:00</updated>
<entry>
<title>Remove security headers middleware test</title>
<updated>2023-02-17T03:28:04+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>edtanous@google.com</email>
</author>
<published>2023-02-10T20:14:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=455ccdf33c4580eb9ac3e71152fa8854266b7fbc'/>
<id>urn:sha1:455ccdf33c4580eb9ac3e71152fa8854266b7fbc</id>
<content type='text'>
We haven't had security middleware for a long time.

Signed-off-by: Ed Tanous &lt;edtanous@google.com&gt;
Change-Id: Ie8b2803139921eda6168495ab3b0b39b0cb34fa7
</content>
</entry>
<entry>
<title>Try to fix the lambda formatting issue</title>
<updated>2022-06-01T16:10:35+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>edtanous@google.com</email>
</author>
<published>2022-05-31T15:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=002d39b4a7a5ed7166e2acad84e0943c3def9492'/>
<id>urn:sha1:002d39b4a7a5ed7166e2acad84e0943c3def9492</id>
<content type='text'>
clang-tidy has a setting, LambdaBodyIndentation, which it says:
"For callback-heavy code, it may improve readability to have the
signature indented two levels and to use OuterScope."

bmcweb is very callback heavy code.  Try to enable it and see if that
improves things.  There are many cases where the length of a lambda call
will change, and reindent the entire lambda function.  This is really
bad for code reviews, as it's difficult to see the lines changed.  This
commit should resolve it.  This does have the downside of reindenting a
lot of functions, which is unfortunate, but probably worth it in the
long run.

All changes except for the .clang-format file were made by the robot.

Tested: Code compiles, whitespace changes only.

Signed-off-by: Ed Tanous &lt;edtanous@google.com&gt;
Change-Id: Ib4aa2f1391fada981febd25b67dcdb9143827f43
</content>
</entry>
<entry>
<title>catch exceptions as const</title>
<updated>2021-10-06T17:39:54+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2021-10-06T17:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=c5967048de7c5361b1537af47768a87ffb463d28'/>
<id>urn:sha1:c5967048de7c5361b1537af47768a87ffb463d28</id>
<content type='text'>
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: I93925bf34b4fec181a56d6524cbe9c6182a16b1f
</content>
</entry>
<entry>
<title>Clean up utils</title>
<updated>2020-10-07T18:39:41+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed@tanous.net</email>
</author>
<published>2020-08-24T18:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=988403c64f7d1937eece8c52a076d5abedfb3b60'/>
<id>urn:sha1:988403c64f7d1937eece8c52a076d5abedfb3b60</id>
<content type='text'>
Lots of the utils functions have been superceeded or replaced by std::
implementations, or are no longer needed because of the removal of
middlewares.


Tested:
Ran on a bmc with this implemented.  Pulled down the webui, and
observed no issues.  Code compiles and passes clang-tidy cert checks.

Change-Id: If29bb5f4ba9979912aeb2a8fa4cbd9f4e4f32006
Signed-off-by: Ed Tanous &lt;ed@tanous.net&gt;
</content>
</entry>
<entry>
<title>Deprecate the "" operator, and isEqP</title>
<updated>2020-07-16T16:30:30+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2019-10-24T23:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=b41187fac9d82be2ea26bd8695f2beba135e80f1'/>
<id>urn:sha1:b41187fac9d82be2ea26bd8695f2beba135e80f1</id>
<content type='text'>
While a cool example of how to do string matching in constexpr space,
the set of verbs available to HTTP has been fixed for a very long time.

This was ported over to beast a while back, but we kept the API for....
mediocre reasons of backward compatibility.  Remove that, and delete the
now unused code.

Tested: Built and loaded on a Witherspoon. Validator passes.

Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
Change-Id: Iaf048e196f9b6e71983189877203bf80390df286
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>clang-format: update to latest from docs repo</title>
<updated>2020-06-11T20:46:30+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2020-06-04T15:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=1214b7e7d921e331fb1480c7e5d579ffa5811cda'/>
<id>urn:sha1:1214b7e7d921e331fb1480c7e5d579ffa5811cda</id>
<content type='text'>
This is from openbmc/docs/style/cpp/.clang-format

Other OpenBMC repos are doing the same.

Tested: Built and validator passed.
Change-Id: Ief26c755c9ce012823e16a506342b0547a53517a
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix a bunch of warnings</title>
<updated>2019-10-10T23:25:26+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2019-07-09T23:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=271584ab78b4c1926f766aa26ddfde7da329059f'/>
<id>urn:sha1:271584ab78b4c1926f766aa26ddfde7da329059f</id>
<content type='text'>
using the list of warnings from here:
https://github.com/lefticus/cppbestpractices/blob/e73393f25a85f83fed7399d8b65cb117d00b2231/02-Use_the_Tools_Available.md#L100

Seems like a good place to start, and would improve things a bit
type-wise.  This patchset attempts to correct all the issues in one
shot.

Tested:
It builds.  Will test various subsystems that have been touched

Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
Change-Id: I588c26440e5a97f718a0f0ea74cc84107d53aa1e
</content>
</entry>
<entry>
<title>bmcweb: Remove deprecatd ASIO interfaces</title>
<updated>2019-01-12T01:38:02+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-12-19T22:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=8f626357d5ebee1bf8039ad6e85f5e02c64c9076'/>
<id>urn:sha1:8f626357d5ebee1bf8039ad6e85f5e02c64c9076</id>
<content type='text'>
boost::asio::io_service is removed in leiu of io_context, which is a
closer match to the networking TS.  Move us to that implementatio.

This was an automated move using the following command:
git grep -l 'io_service' | xargs sed -i 's/io_service/io_context/g'

Change-Id: I46605521c01f79f86f6901ddf69ddc8c4bc24103
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>Move to clang-format-6.0</title>
<updated>2018-09-05T15:44:12+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-09-05T15:30:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=1abe55ef9844afcddcab9d862ae06118f3a2390c'/>
<id>urn:sha1:1abe55ef9844afcddcab9d862ae06118f3a2390c</id>
<content type='text'>
This commit moves the codebase to the lastest clang-format file from
upstream, as well as clang-format-6.0.

Change-Id: Ice8313468097c0c42317fbb9e10ddf036e8cff4c
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>Move over to upstream c++ style</title>
<updated>2018-07-26T22:54:37+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-05-22T22:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/bmcweb.git/commit/?id=55c7b7a2e58779580f33046d2dd8649243776700'/>
<id>urn:sha1:55c7b7a2e58779580f33046d2dd8649243776700</id>
<content type='text'>
This patchset moves bmcweb over to the upstream style naming
conventions for variables, classes, and functions, as well as imposes
the latest clang-format file.

This changeset was mostly built automatically by the included
.clang-tidy file, which has the ability to autoformat and auto rename
variables.  At some point in the future I would like to see this in
greater use, but for now, we will impose it on bmcweb, and see how it
goes.

Tested: Code still compiles, and appears to run, although other issues
are possible and likely.

Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
</feed>
