Personal tools
     DOCUMENTATION

Appliance Development:Testing Packages with Changesets

From rPath Wiki

Jump to: navigation, search
Image:Rpath-color-16x16-1bitalpha.png  APPLIANCE DEVELOPMENT

The changeset file generated in Cooking Package Recipes is named balsa-2.3.17.ccs. This is a local changeset that can be installed for testing. You can look at the file manifest inside of a changeset using the conary scs command. This command displays the files that copy to a system when installing the balsa package:

 
user@localhost> conary scs balsa-2.3.17.ccs --ls

Test the package by installing the changeset locally with the conary update command:

 
user@localhost> sudo conary update balsa-2.3.17.ccs 
Password:
Resolving dependencies...The following updates will be performed:
    Install balsa(:data :doc :lib :locale :runtime)=2.3.17-1-0.1
continue with update? [Y/n] 
Applying update job:     
    Install balsa(:data :doc :lib :locale :runtime)=2.3.17-1-0.1
user@localhost> balsa

Executing balsa launches the application. When you are satisfied that the application performs as needed, remove the application as shown below:

 
user@localhost> sudo conary erase balsa-2.3.17.ccs 
Password:
Resolving dependencies...The following updates will be performed:
    Erase   balsa(:data :doc :lib :locale :runtime)=2.3.17-1-0.1
continue with update? [Y/n] Y
Applying update job:     
    Erase   balsa(:data :doc :lib :locale :runtime)=2.3.17-1-0.1
user@localhost>

After testing this package locally and verifying the application works as designed, you must then cook the application into the repository so that it is accessible to others.

<< PREVIOUS: Cooking Package Recipes NEXT: Cooking Packages >>