| RpmOstreeNotifier.cpp | RpmOstreeNotifier.cpp | |||
|---|---|---|---|---|
| skipping to change at line 296 | skipping to change at line 296 | |||
| if (newVersion == m_updateVersion) { | if (newVersion == m_updateVersion) { | |||
| qInfo() << "rpm-ostree-notifier: New version has already been o ffered. Skipping."; | qInfo() << "rpm-ostree-notifier: New version has already been o ffered. Skipping."; | |||
| return; | return; | |||
| } | } | |||
| m_updateVersion = newVersion; | m_updateVersion = newVersion; | |||
| // Look for an existing deployment with this version | // Look for an existing deployment with this version | |||
| checkForPendingDeployment(); | checkForPendingDeployment(); | |||
| }); | }); | |||
| // This will fail on non-remote transports (oci, oci-archive, container | ||||
| s-storage) but that's | ||||
| // OK as we can not check for updates in those cases. | ||||
| m_process->start(QStringLiteral("skopeo"), {QStringLiteral("inspect"), "docker://" + m_ostreeFormat->repo() + ":" + m_ostreeFormat->tag()}); | m_process->start(QStringLiteral("skopeo"), {QStringLiteral("inspect"), "docker://" + m_ostreeFormat->repo() + ":" + m_ostreeFormat->tag()}); | |||
| } | } | |||
| void RpmOstreeNotifier::checkForPendingDeployment() | void RpmOstreeNotifier::checkForPendingDeployment() | |||
| { | { | |||
| qInfo() << "rpm-ostree-notifier: Looking at existing deployments"; | qInfo() << "rpm-ostree-notifier: Looking at existing deployments"; | |||
| m_process = new QProcess(this); | m_process = new QProcess(this); | |||
| m_stdout = QByteArray(); | m_stdout = QByteArray(); | |||
| // Display stderr | // Display stderr | |||
| End of changes. 1 change blocks. | ||||
| 0 lines changed or deleted | 3 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||