Cadoles Package Build chain client
William Petit 9f698f6f0d Branches de développement versionnées 2 months ago
README.md Adding examples and fix typo in script 1 year ago
cpkg Branches de développement versionnées 2 months ago

README.md

cpkg

Cadoles package build chain client

This only works @Cadoles and for Cadoles

Usage

With no options

If you run cpkg command without any option it will ask you for answers

With options

At this point you need to provide 4 information (3 are mandatory)

  • Option 1: The repository name (M)
  • Option 2: The distribution name (M)
  • Option 3: The distribution version (M)
  • Option 4: The package version (O)

If you don’t provide a package version cpkg will search for older tags for the provided repository and increment the last available version in the tags. If cpkg don’t find any older tag it will create a tag with the init default version witch is “0.0.1-0”

If you provide a version it will create a tag with this version, be carefull tag names are supposed to be unic.

Examples :

You provide all the informations
$ cpkg dev eole 2.6.2 1.0.0-0

Distribution         : eole
Distribution version : 2.6.2
Package version      : 1.0.0-0
Package Repository   : dev

Is this correct (y|n) ?
You don’t provide all the informations and no older tags are present
$ cpkg dev eole 2.6.2 

Distribution         : eole
Distribution version : 2.6.2
Package version      : 0.0.1-0
Package Repository   : dev

Is this correct (y|n) ?
You don’t provide all the informations and older tags are present
$ cpkg dev eole 2.6.2 

Distribution         : eole
Distribution version : 2.6.2
Package version      : 1.0.0-22
Package Repository   : dev

Is this correct (y|n) ?