Why have structuration and a repository

On the web you can find loads to download for your Sims. However, sometimes you don't want/need to install everything you have downloaded (e.g. maybe you just want to test the download before actually using it).

The problem with TS2 is that the packages don't always have an intuitive name that allows you to easily find what you are looking for in what might be a big download directory. Therefore, ts2-pm introduces the notion of structuration : a directory structure that allows you quick and easy searches...

You may ask "Why have a repository for the things I download"? Well firstly, so that you don't have to download a file multiple times and secondly so that you have a back-up of the files in case of a system crash if you use windows ;-)...

Repository Structure

File System

The compressed files (.zip, .rar) that you download are stored in a repository on your hard drive, but organisation of this repository is important in order to easily find/search for things. It also makes maintenance of the repository easier.

ts2-pm use a "type driven" structuration ( see the artifact type section) to store the "archive" artifact. The localisation of the repository is defined in your configuration (see the configuration section).

ts2-pm uses a "type driven" structuration ( see the artifact type section) to store the "archived" artifacts.

Each type/subtype is a directory.

Web Server

This feature will not be implemented for the time being as it is not a priority in my todo list. However, it will be the same structure as the file system feature ie :

http://my.server.org/TS2Repository/clothes/casual/top/adult/author1/top1/top1-1.0.zip will design the same aritifacts and will be installed in the preceding directory.

Artifacts

An artifact is a group of compressed files. Here is an example of what an artifact could contain.

top1-1.0.package is one of the files that will be copied in the TS2 download dir
top1-1.0.xml is the package descriptor
screenshot1.jpg is one one of the preview images of what will be installed
README.txt some info by the author e.g. installation instruction
LICENSE.txt redistribution rules