ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can test it locally, but there is no tutorial for doing it yet.

You can checkout the tag in your bloom repo which matches your system, for example:

$ git checkout debian/ros-hydro-PACKAGE-NAME_1.0.0-0_precise

Then you can build it locally with:

$ git-buildpackage -uc -us --git-ignore-branch--git-ignore-new

This test should be sufficient for everything but missing dependencies, because this will not build it exactly like the farm, this command will use the packages you have installed locally. So this will not catch errors which happen from missing dependencies, if you have those missing dependencies installed locally.

You can build it just like the farm using pbuilder, which builds your package in a vacuum, setting up an empty change root and installing only the packages you depend on. You can do this with this command:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new --git-pbuilder

This command will do the full, isolated build of your package. Your machine will likely need some setup, it's hard for me to tell what all the steps were as my machines are already setup, but I imagine these should get you close:

$ sudo apt-get install git-buildpackage pbuilder cowbuilder
$ sudo cowbuilder --create

To really mimic the build farm you will want to be using the ros-shadow-fixed repository, which is the package repository where packages go to be tested before being synched to the public debian repositories. Comment out any ROS debian entries in your /etc/apt/sources.list.d/* files and add these lines:

deb http://packages.ros.org/ros-shadow-fixed/ubuntu precise main
deb-src http://packages.ros.org/ros-shadow-fixed/ubuntu precise main

You can test it locally, but there is no tutorial for doing it yet.

You can checkout the tag in your bloom repo which matches your system, for example:

$ git checkout debian/ros-hydro-PACKAGE-NAME_1.0.0-0_precise

Then you can build it locally with:

$ git-buildpackage -uc -us --git-ignore-branch--git-ignore-new
--git-ignore-branch --git-ignore-new

This test should be sufficient for everything but missing dependencies, because this will not build it exactly like the farm, this command will use the packages you have installed locally. So this will not catch errors which happen from missing dependencies, if you have those missing dependencies installed locally.

You can build it just like the farm using pbuilder, which builds your package in a vacuum, setting up an empty change root and installing only the packages you depend on. You can do this with this command:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new --git-pbuilder

This command will do the full, isolated build of your package. Your machine will likely need some setup, it's hard for me to tell what all the steps were as my machines are already setup, but I imagine these should get you close:

$ sudo apt-get install git-buildpackage pbuilder cowbuilder
$ sudo cowbuilder --create

To really mimic the build farm you will want to be using the ros-shadow-fixed repository, which is the package repository where packages go to be tested before being synched to the public debian repositories. Comment out any ROS debian entries in your /etc/apt/sources.list.d/* files and add these lines:

deb http://packages.ros.org/ros-shadow-fixed/ubuntu precise main
deb-src http://packages.ros.org/ros-shadow-fixed/ubuntu precise main

You can test it locally, but there is no tutorial for doing it yet.

You can checkout the tag in your bloom repo which matches your system, for example:

$ git checkout debian/ros-hydro-PACKAGE-NAME_1.0.0-0_precise

Then you can build it locally with:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new

This test should be sufficient for everything but missing dependencies, because this will not build it exactly like the farm, this command will use the packages you have installed locally. So this will not catch errors which happen from missing dependencies, if you have those missing dependencies installed locally.

You can build it just like the farm using pbuilder, which builds your package in a vacuum, setting up an empty change root and installing only the packages you depend on. You can do this with this command:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new --git-pbuilder

This command will do the full, isolated build of your package. Your machine will likely need some setup, it's hard for me to tell what all the steps were as my machines are already setup, but I imagine these should get you close:

$ sudo apt-get install git-buildpackage pbuilder cowbuilder
$ sudo cowbuilder --create

To really mimic the build farm you will want to be using the ros-shadow-fixed repository, which is the package repository where packages go to be tested before being synched to the public debian repositories. Comment out any ROS debian entries in your /etc/apt/sources.list.d/* files and add these lines:

deb http://packages.ros.org/ros-shadow-fixed/ubuntu precise main deb-src http://packages.ros.org/ros-shadow-fixed/ubuntu precise main

You can test it locally, but there is no tutorial for doing it yet.

You can checkout the tag in your bloom repo which matches your system, for example:

$ git checkout debian/ros-hydro-PACKAGE-NAME_1.0.0-0_precise

Then you can build it locally with:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new

This test should be sufficient for everything but missing dependencies, because this will not build it exactly like the farm, this command will use the packages you have installed locally. So this will not catch errors which happen from missing dependencies, if you have those missing dependencies installed locally.

You can build it just like the farm using pbuilder, which builds your package in a vacuum, setting up an empty change root and installing only the packages you depend on. You can do this with this command:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new --git-pbuilder

This command will do the full, isolated build of your package. Your machine will likely need some setup, it's hard for me to tell what all the steps were as my machines are already setup, but I imagine these should get you close:

$ sudo apt-get install git-buildpackage pbuilder cowbuilder
$ sudo cowbuilder --create

To really mimic the build farm you will want to be using the ros-shadow-fixed repository, which is the package repository where packages go to be tested before being synched to the public debian repositories. Comment out any ROS debian entries in your /etc/apt/sources.list.d/* files and add these lines:

deb http://packages.ros.org/ros-shadow-fixed/ubuntu precise main
deb-src http://packages.ros.org/ros-shadow-fixed/ubuntu precise main

You can test it locally, but there is no tutorial for doing it yet.

You can checkout the tag in your bloom repo which matches your system, for example:

$ git checkout debian/ros-hydro-PACKAGE-NAME_1.0.0-0_precise

Then you can build it locally with:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new

This test should be sufficient for everything but missing dependencies, because this will not build it exactly like the farm, this command will use the packages you have installed locally. So this will not catch errors which happen from missing dependencies, if you have those missing dependencies installed locally.

You can build it just like the farm using pbuilder, which builds your package in a vacuum, setting up an empty change root and installing only the packages you depend on. You can do this with this command:

$ git-buildpackage -uc -us --git-ignore-branch --git-ignore-new --git-pbuilder

This command will do the full, isolated build of your package. Your machine will likely need some setup, it's hard for me to tell what all the steps were as my machines are already setup, but I imagine these should get you close:

$ sudo apt-get install git-buildpackage pbuilder cowbuilder
$ sudo cowbuilder --create

To really mimic the build farm you will want to be using the ros-shadow-fixed repository, which is the package repository where packages go to be tested before being synched to the public debian repositories. Comment out any ROS debian entries in your /etc/apt/sources.list.d/* files and add these lines:

deb http://packages.ros.org/ros-shadow-fixed/ubuntu 'http://packages.ros.org/ros-shadow-fixed/ubuntu' precise main
deb-src http://packages.ros.org/ros-shadow-fixed/ubuntu 'http://packages.ros.org/ros-shadow-fixed/ubuntu' precise main