|This article needs to be updated. (November 2010)|
|Original author(s)||Linspire, Inc.|
|Development status||Discontinued, unmaintained|
|Type||Digital software delivery service|
CNR, or One-Click & Run, was a free one-click software delivery service that was created to make finding and installing Linux software easier. It assists the user in finding and installing software on their computer, it sits dormant in the system tray when not in use.
CNR offered a large database of Linux programs that were suitable for everyday and specialty usage, it was not only available for Linspire Linux operating systems, but other versions of Linux as well.
- 1 History
- 2 How it works
- 2.1 Import service
- 2.2 Warehouse service
- 2.3 Ecommerce service
- 2.4 User management
- 2.5 Package management
- 2.6 Community service
- 2.7 CNR.com service
- 2.8 Support service
- 2.9 Mail lists service
- 2.10 Secure data
- 2.11 Category data
- 2.12 Audit data
- 2.13 Product data
- 2.14 Warehouse data
- 2.15 Resource data
- 2.16 CNR client
- 3 CNR on other Linux systems
- 4 See also
- 5 References
- 6 External links
In 2002, the legacy CNR was created as a digital software delivery service created by Linspire, Inc. The service provide the desktop Linux user with an online software warehouse from which they could click on a product and have it installed on their desktop automatically. It required a paid membership of $49.95 to use the service. The warehouse hosted free, non-free, and commercial Linux software titles. The service relied on a client application to work in concert with Debian's APT and dpkg to resolve dependencies and install files.
In 2006, in support of the community, Linspire changed its membership program to a two-tier system of CNR Basic and CNR Gold. Originally introduced as a $19.95-per-year subscription, the CNR Basic membership was later made free and so now user could access free and non-free software without a subscription.
In early 2007, Linspire announced that they were going expand their CNR service to other distributions than their own, namely Debian, Ubuntu, with future extensions for RPM. In doing so, Linspire hoped to consolidate and aggregate all desktop Linux software into one service to provide an easier method of finding and installing all software for desktop Linux.
In December 2007, Linspire announced the beta release of their new CNR.com service with support for the updated Linspire and Freespire distributions and for Ubuntu 7.04 Feisty and Ubuntu 7.10 Gutsy (planned for Ubuntu 8.04 Hardy in April 2008).
On March 10, 2008, Linspire closed the legacy CNR service.
CNR also provides access to thousands of Web-based applications, providing the Linux community with the option of local Linux and Web Software, available through a single source (as of February 2008). The same abilities to browse and search the library of products with additional abilities planned to improve the Web Software experience (bookmarking). The community will also have the ability to add new products to the already extensive library of applications available.
How it works
CNR.com is built as a collection of services in what is commonly referred to as a service-oriented architecture (SOA). The highly scalable architecture is built using the following JEE 5 technologies:
- JavaServer Faces (JSF) with facelets
- JBoss Seam
- EJB 3.x
- Hibernate with JBoss Cache
- Apache Maven
The following is a list of the major services and some descriptive information about each one.
The import service is responsible for importing package repositories, parsing the package metadata, and matching the packages to products using a complex heuristically based algorithm. The Import service supports any Debian based distribution. RPM based packages can be supported by the domain model with additional work specific to the RPM package metadata schema and release management practices. The import service has a 98% success rate matching packages to products with admin support tools for finding and correcting any problems quickly. This service is responsible for making CNR.com the largest software warehouse for desktop Linux.
The warehouse service contains the web services APIs used by external clients to acquire access to and install products from CNR.com. The APIs are open to the public and are SOAP based. The APIs consist of the following:
- partnerLightup – The partnerLightup API provides a UUID MachineID which represents the installation life of a client. The resulting MachineID is required for other warehouse API requests. This API exists for the purpose of auditing the client usage for reporting back to the originating partner.
- lightup – The lightup API is the same as the partnerLightup API with the exception that there is no build tracking number to record.
- getOses – The getOses API is used to query the warehouse for a list of the supported operating systems. This list is needed when the client cannot properly identify the operating system it is running on and must ask the user to choose from a list of the supported operating systems.
- getDistSnapIndex – The getDistSnapIndex API is used to query the server for the aggregate product information for the specified operating system. This API returns a URI for a payload that contains concise product information useful for searching, sorting and viewing in a client.
- getDisstSnapIndexDelta – The getDisstSnapIndexDelta API is used to query the server for the aggregate updates and deletes for the product information store given for the specified operating system.
- productActionRequest – The productActionRequest API is used to query the server for a download URL for a specific, single product. If the server cannot grant access to the product, a resolution URL will be returned to the client instead so that the request can be resolved and re-executed.
- reportActionRequest – The reportActionRequest API is used to report on the execution of the productActionRequest. This data is used to audit the reportActionRequest API success and/or failure.
- getProductIdsForPkgBins – The getProductIdsForPkgBins API is used for clients on initial configurations or after changing distributions to determine the products that are already installed on the machine. The client can determine all the binary packages currently installed on the system, and then using this API, can match these products against the products in the distribution snapshot.
The warehouse service also handles product requisite management. Product requisites are user access requirements that must be fulfilled before a user can gain install access to a product. The product requisites consist of the following:
- Requires purchase
- Requires EULA
- Must purchase primary product first (used to secure dependencies)
The ecommerce service handles all purchases of commercial software, purchases of member services, and the collection of user acceptance of product EULAs for those products that require such. The ecommerce service is also responsible for handling the DRM requirements of software that have them, such as delivering activation codes to the user or account registration with ISVs.
The user management service handles the creation and management of user accounts as well as the authentication and authorization of user accounts and user access respectively. Authentication is managed using LDAP and SSO is utilized via a token federation service.
The package management service handles the secure and non-secure storage of all the packages and provides for the secure delivery for all types of packages: free, non-free, and commercial, making CNR.com the industry leader for delivering desktop Linux software. This service is also responsible for the categorization of each product. The categories are an XDG base with an extended set of CNR categories not found in the XDG set intended to enhanced searchability.
The community service provides for the forum, wiki document and blogging features for both the community in general and for each product. Each product has its own mini-community where discussions and self-help community support can thrive.
This is the presentation layer of the CNR.com architecture and is responsible for providing the Web 2.0 interfaces. These interfaces allow for the following features:
- Add/Review/Edit the long and brief description for any product
- Add/Review/Edit the product logo and logo thumbnail
- Add/Review/Edit product screenshots
- Add/Review/Edit product ratings
- Add/Review/Edit product reviews
- Filter and sort content
- Product specifications with instant access to source code and build files
Other interfaces include the product chart that has a refresh cycle of once per 10 minutes and various administrative interfaces for viewing and managing product and user data.
The support service provides for the tracking, managing and resolving of user submitted support issues. It also has a facility for paid support features versus free support features.
Mail lists service
The mail list service is responsible for the mailing list enrollment and subscription management as well as the sending of system emails to the user as a result of some user-based activity on the site.
The secure data service is responsible for the secure storage of credit card profiles that the user has elected to save.
The category data service is responsible for the storage of the data associated with product categories.
The audit data service is responsible for the storage of user activity records such as installs, client registration, machine registrations, etc.
The product data service is responsible for the storage of product specific data as well as the product aggregation data.
The warehouse data service is responsible for the storage of package level data and distribution level data.
The resource data service is responsible for the storage of all images associated with a product including user provided images like logos and screenshots.
The CNR client is a desktop client application that interfaces with apt and dpkg on the desktop and with the warehouse web services on the server. It is intended to provide a starting point for the community to build its own variations of client software. The application is written in C++ with the GUI built on the QT framework. API integration is done through the gsoap framework. The CNR client is open source and open licensed so that anyone can use it for their own purposes without any need to license it. Features include:
- Installing and Uninstalling software
- Listing all software on the local machine
- Product and OS level updates with messaging
- Auto updating of itself
- Distribution selector to enable installing from more than one distribution
- Package detection for packages installed outside the CNR system
CNR on other Linux systems
Linspire planned to port the CNR service to the Ubuntu distribution, the company announced plans on April 24, 2006 to release CNR under a free software/open source license. It could then be used by other Linux distributions.
On January 23, 2007, a CNR for all website was launched; however, the launching of the warehouse itself was announced for Q2 of 2007. The release of the new free/open-source CNR client and plug-in is planned to coincide with the release of Freespire 2.0 and Linspire 6.0, both of which will include the free/open-source CNR client and plug-in (this new CNR is known internally at Linspire/Freespire as "CNR 7").
On July 1, 2008, Linspire changed its corporate name to Digital Cornerstone and was acquired by Xandros. The deal gives Xandros ownership of all Linspire trademarks, patents, and assets, including CNR. It is expected that the CNR client will eventually be made available for Xandros' line of desktop Linux operating systems. In 2009, Xandros introduced a new "app store" based on CNR and includes access to it in their Presto operating system.
Six distributions were expected to be supported at the time of the CNR 7 launch: Debian, Fedora Core, Freespire, Linspire, openSUSE, and Ubuntu (Feisty Fawn). Support for other distributions was expected starting in 2008.
A test version of CNR 7 was released on July 19, 2007.
- Legacy Warehouse
- Freespire Roadmap - Freespire
- Freespire 2.0 Schedule - Freespire
- "Xandros quietly acquires Linspire".
- "Xandros Acquires Linspire, Creator of CNR Application Distribution Facility and Freespire Desktop".
- https://web.archive.org/web/20070623020834/http://www.cnr.com/faq.html#ubuntu. Archived from the original on June 23, 2007. Retrieved June 23, 2007. Missing or empty
- Freespire 2.0 Schedule - Freespire