<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-time-manager, branch master</title>
<subtitle>OpenBMC Phosphor time manager sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-time-manager/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-time-manager/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/'/>
<updated>2019-03-28T18:33:17+00:00</updated>
<entry>
<title>build: install into bin instead of sbin</title>
<updated>2019-03-28T18:33:17+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-28T18:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=66bc0a5a9fed4c06c4b26bd35e00351f2d603f4e'/>
<id>urn:sha1:66bc0a5a9fed4c06c4b26bd35e00351f2d603f4e</id>
<content type='text'>
Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I2f61cbda4721533610516c0c91da4b3a16d15b52
</content>
</entry>
<entry>
<title>build: pkg anti-pattern: use defaults</title>
<updated>2019-02-13T23:18:40+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-02-13T23:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=6aca02e07aeb607f7f44a3381216e57c059d6900'/>
<id>urn:sha1:6aca02e07aeb607f7f44a3381216e57c059d6900</id>
<content type='text'>
Use the defaults in the pkg check where the default error message is
sufficient to identify which package is missing.

Change-Id: I91e5407066976b4d03e8a6b8d105e9bb8aecf5f7
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>README: Add special note on NTP setting change</title>
<updated>2019-01-23T02:34:06+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2019-01-21T05:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=a8741b56ecb9e5538b574554898679618570da63'/>
<id>urn:sha1:a8741b56ecb9e5538b574554898679618570da63</id>
<content type='text'>
Systemd timedated from v236 to v239 introduces a behavior change related
to setting time while NTP setting is changed.
This change causes phosphor-time-manager automation test failure.

Add a special note in README to describe the issue, and the test case
will be updated.

Partially resolves openbmc/openbmc#3459

Change-Id: I8ee31e8de95d8b110bf9cbee7973c377a6d4330a
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use a single dbus connection object</title>
<updated>2018-12-19T13:38:46+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2018-12-18T23:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=4e84539349dac086ce2a58e5b9900ed4e40a2eaf'/>
<id>urn:sha1:4e84539349dac086ce2a58e5b9900ed4e40a2eaf</id>
<content type='text'>
Starting with sdbusplus 8ca6025, calling bus_new_default multiple times
doesn't seem to work - making calls that generate dbus traffic on one
of the objects results in something like:

  sd_bus_call: System.Error.ENOTCONN: Transport endpoint is not connected

This wasn't ideal anyway - move to a single object, shared
application-wide.

Tested: Booted a witherspoon QEMU image and there were no coredumps
Change-Id: I804a1b1438b22f48e45b26d395135e401ca98a06
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>build: Add missing inclusion of phosphor-logging</title>
<updated>2018-12-06T15:36:34+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-12-06T15:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=37539dcc2b8c735d03a7c2840ad9ae04180da142'/>
<id>urn:sha1:37539dcc2b8c735d03a7c2840ad9ae04180da142</id>
<content type='text'>
Phosphor-logging is picked up by the configure_ac.
Include it in the Makefile such that it's available
as defined by the pkgconfig.

Change-Id: I173fa376ab3419155267ab08350d7a7ad2e1a0f0
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>Fix std::variant usage</title>
<updated>2018-11-07T00:06:40+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-11-07T00:06:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=1f1d8e012f9ed003d2aa338537161a0205631776'/>
<id>urn:sha1:1f1d8e012f9ed003d2aa338537161a0205631776</id>
<content type='text'>
We need to conform to the std::variant interface instead of the mapbox
specific one.

Change-Id: I3edbcb2682ddfebfcbca6e75284b11f2e18cfd11
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>clang-format: Update to match docs repo</title>
<updated>2018-10-08T06:07:30+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2018-09-14T19:42:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=ab4cc6a5585436a29b120429abaa48b416f8edb7'/>
<id>urn:sha1:ab4cc6a5585436a29b120429abaa48b416f8edb7</id>
<content type='text'>
Update the .clang-format file and run clang-format-6.0.
This .clang-format matches the example one in
https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting

Change-Id: Ic2c462525eb27b8295c2b298871e04268d93faf2
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Enable link time optimization</title>
<updated>2018-09-19T02:01:45+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-09-18T06:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=19b37ee2205ff4e772d344fe8a5fcfee2aa0d8ec'/>
<id>urn:sha1:19b37ee2205ff4e772d344fe8a5fcfee2aa0d8ec</id>
<content type='text'>
To enable link time optimization, several configures needs to be
changed:
1. Add -flto in Makefiles
2. Use C++17 to get inline constexpr
3. Use gcc-ar and gcc-ranlib to generate static library, otherwise it
   gets link errors.

Tested: Build OK and unit tests passes.

Change-Id: Ic58cbfb631c97f43c82d5669cbf6ac1ebc5e0ab9
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix un-initialized time owner/mode in manager</title>
<updated>2018-09-12T02:45:04+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-07-24T02:40:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=1cd4248d4afa664b94411dd57e7e686f944dfafc'/>
<id>urn:sha1:1cd4248d4afa664b94411dd57e7e686f944dfafc</id>
<content type='text'>
The timeOwner/Mode in Manager class has no init value, and it is
initialized with the cached time owner/mode in file system.

In most of time it is OK because there is cached time owner/mode.
But if the BMC does a factory reset, the cached values are cleaned up,
and in next reboot the timeOwner/Mode will not be initialized at all.

The fix is to give default time owner/mode, so when BMC comes from
factory reset it uses default time settings.

Tested: Verify the timeOwner/Mode have correct init values after factory
        reset.

Change-Id: Ib1a8fba4d758f33ed09a7afdc9ed684867fca1c5
</content>
</entry>
<entry>
<title>Handle SdBusError exception in setting NTP</title>
<updated>2018-09-12T02:45:04+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-07-24T02:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-time-manager/commit/?id=89efe6ed27a9df5a8e761073bdadd3fdd3fa5875'/>
<id>urn:sha1:89efe6ed27a9df5a8e761073bdadd3fdd3fa5875</id>
<content type='text'>
sdbusplus now throws SdBusError exception when a sd bus call fails.
When setting NTP via systemd timedatectl service, it may potentially
fail.
So handle this exception.

Also fix a typo in logging, where it should use `=` in meta.

Change-Id: I6c5669b7f06cef47c8d62cb0cbcb0c7fbd2a46e7
Tested: Verify it sets NTP setting OK.
</content>
</entry>
</feed>
