Personal tools
     DOCUMENTATION

FAQ:Download Package Source without Cooking

From rPath Wiki

Jump to: navigation, search
FAQ
Question: How can I download the package source without cooking the recipe or package?


Answer: Use the --download option with cvc cook to download the package source into the look-aside cache directory without continuing to cook the recipe.

For example, for the widget package, you can instruct cvc to download the source from the upstream location specified in the package recipe, and stop processing of the recipe with a command resembling the following:

[you@yourhost widget]$ cvc cook --download widget.recipe

After the download completes, the source code archive will be present within a directory structure representing the remote location that is located within the directory specified by the lookaside value in your Conary configuration.

For the example above, the widget-2.1.5.tar.gz archive might be located in the cache directory as: widget/example.org/widget/files/2.1.5/widget-2.1.5.tar.gz.