Home   Info   DevZone   Wiki  
UsersWeb  |  MainWeb  |  InfoWeb  |  DevZoneWeb  |  SupportWeb
DistributionTerms ] [ not logged in ] [ Web: Imported ] goto:  options
[ get info on or edit ] login or new user ] [ list of topics, hubs & nodes, or recent changes ]

DistributionGroup; JOSDistribution


Article contributed by GilbertHerschberger (28 February 2000).

Introduction

Just so we can all speak the same language, consistent terminology for JOS distribution should be established. Archive names should be consistent across all JOS-related products. A mirror of JOS-related products has been started at http://cjos.sourceforge.net/redist/mirror .

It is critical for others to understand at-a-glance what we distribute. JOSDistribution should be more like distribution for Linux. This is documented in Linux Programmer's Reference, a book I picked up at Barnes & Noble this weekend. I'm sure you'll find it at your local bookstore.

On Linux, a shared library can be application-specific or not. When it is application-specific, one application depends on it. Such a library is stored in the application's directory.

A common library, on the other hand, is used by more than one application. Such a library is stored, not in an application's directory, but in a system-wide directory. Common libraries are often installed in /lib and /usr/lib.

The requirements for a common library is more strict than for an application-specific library. When a common library is not backward compatible it must be given a new name. Otherwise, applications that depend on the old interface will be unreliable. On the honor system, a common library must remain backward-compatible as long as the library has the same name.

Proposal

The following naming convention provides a unique distribution name for each release of a JOS-related product.

Compatibility

Version and release are used to help others understand what kind of backward compatibility has been preserved. The version should remain the same for as long as the product is compatible. After fixing a bug in a product, the product should be re-distributed using the same version and a new release.

A product can be distributed in more than one archive file format. It is important for archives that contain the same thing to have similar names.

smartapi-2a-7.tar.Z
smartapi-2a-7.tgz
smartapi-2a-7.zip

zip2tgz

Do you know of a Java-based archive conversion program? If not, would you like to build one?

I need to convert .zip files to .tgz files. I already have a .zip file with everything I want to distribute. In fact, the .zip file is stored on my Linux server. Instead of re-creating the archive from scratch, I would like to convert the .zip file to an equivalent .tgz file.

A product can be distributed in different editions. It is important for different editions to have similar names.

Runtime Edition: smartapi-2a-7.tgz
Documentation Edition: smartapi-2a-7-doc.tgz
Source Edition: smartapi-2a-7-src.tgz
Technical Edition: smartapi-2a-7-tx.tgz

Definitions

This is a revised list of distribution terms. These are the terms I am going to use in the future.

Transition

It might take a while to transition from release (version-prototype) to version (major.minor) release.

Smart API - Release 1a - Distribution 1 becomes Smart API - Version 1a - Release 1
Smart API - Release 1b - Distribution 1 becomes Smart API - Version 1b - Release 1
Smart API - Release 2a - Distribution 1 becomes Smart API - Version 2a - Release 1



Content of these pages are owned and copyrighted by the poster.
Hosted by: