Once a piece of software is installed on a user's system, how do we keep it up to date? While Linux users often use package management systems to get the latest versions from selected repositories, users of other systems are often not so lucky. In view of this, we developed an open source tool to achieve this goal, which is based on the Omaha open source license from Google. A few years ago, Google released an open source protocol called Omaha (also known as Google Update) as part of its Chromium project, which aims to help users complete the complex desktop software update process in an easier way. At present, Omaha is mainly used in various Google products, such as Google Chrome or Google Earth. Its Google Update system mainly plays a role in the field of Windows software, aiming to realize the automatic update process; the Linux version of Google software still relies on the various package managers that come with the Linux distribution. The main advantage of Google Update is that the framework can be integrated into any software that needs to support automatic update functions, and has the ability to manage various new patches and updates from a single source (and collect error reports). Google has released a generic client that supports the Omaha protocol. The server implementation of the client has not yet been released, and users need to use a basic version with basic common command support to integrate Google Update into their own software. The company I work for wants to help develop a custom Chromium-based browser, so we developed and released an open source version of its server so that potential users of the Google Update system will have full access to the process and can integrate the solution with their own software very smoothly. In addition to the Omaha protocol, our implementation includes support for Sparkle, a popular update framework for Mac OS X software. We also integrate our implementation with an administrator panel to simplify version management, alpha and beta upgrades, and bug reporting tools. We have been paying close attention to its deployment process and helping users set up a production or development environment with simple commands. In the end, we chose the open Docker platform, which not only makes the distribution process more flexible, but also allows users to run the image in an isolated environment on any given server. You can easily deploy it in any cloud environment. To share the Omaha server with more people, we have developed a demo solution (click here) that includes more details, complete documentation, and examples shared through GitHub, and we are accepting project contributions from enthusiastic participants. For this client, we forked Google's implementation to maintain compatibility with modern versions of Visual Studio and improve the user experience while integrating the process. However, according to Chromium's mass notification email, the Google client is still under development, so the system results are only applicable to internal environments, which means that the company will not release *** patches in the next few years. The current client version does not support some protocol functions, such as CodeRed (allowing users to restore the original version after a failed installation). The client version is also hosted in an independent library in GitHub, and all source code is released under the Apache 2.0 license. We hope that our solution can simplify the daily work experience of open source enthusiasts and corporate customers, help everyone build their own infrastructure on Chromium OS or Chrmium browser, and bring a server/client solution chain suitable for production environments. In addition, you can also regard this system as an efficient update solution suitable for projects with more complex update processes. |
<<: Design idea: open source offline map application on Android platform
>>: Touch Technology helps the completion of the "Xiamen Game Innovation Center Project"
Recently, a screenshot has been widely circulated...
The weather is getting colder Everyone must keep ...
As the growth of the global smartphone market cont...
[1]. In the Baidu report, there is a Baidu statis...
PPT tutorial video lecture introduction: Course co...
According to the latest research report released b...
In most rural areas of our country, people are ge...
In 2007, two young men, Sachin Bansal and Binny B...
This article will allow you to operate effortless...
Produced by: Science Popularization China Author:...
Tuchong Creative For many people, expressing feel...
Just look at your own phone to see how unsafe thi...
Kasi Academy-Douyin live e-commerce account break...
The channels used by star-chasing fans to promote...
A year later, huge losses hit Japanese home appli...