CNR (software)


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.

History

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.
Linspire 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.
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.
On March 10, 2008, Linspire closed the legacy CNR service.

Web software

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.
The same abilities to browse and search the library of products with additional abilities planned to improve the Web Software experience. 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. The highly scalable architecture is built using the following JEE 5 technologies:
The following is a list of the major services and some descriptive information about each one.

Import service

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.

Warehouse service

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:
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:
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.

User management

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.

Package management

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.

Community service

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.

CNR.com service

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:
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.

Support service

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.

Secure data

The secure data service is responsible for the secure storage of credit card profiles that the user has elected to save.

Category data

The category data service is responsible for the storage of the data associated with product categories.

Audit data

The audit data service is responsible for the storage of user activity records such as installs, client registration, machine registrations, etc.

Product data

The product data service is responsible for the storage of product specific data as well as the product aggregation data.

Warehouse data

The warehouse data service is responsible for the storage of package level data and distribution level data.

Resource 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.

CNR client

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:
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.
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.

Support

Six distributions were expected to be supported at the time of the CNR 7 launch: Debian, Fedora Core, Freespire, Linspire, openSUSE, and Ubuntu. Support for other distributions was expected starting in 2008.
A test version of CNR 7 was released on July 19, 2007.