using Bloom to release into the STRANDS ROS build farm

by mhanheide
GNU/Linux ◆ xterm ◆ bash 610 views

  1. carry out the step of Preparing_the_Upstream_Repository. Be aware that all package.xml in your repository need to be properly set up (license suggest as MIT, author(s) and maintainer entered), and that they all need to be at the same version number (0.0.0 looks like a good starting point).
  2. create a release repository with the same name as the repository you plan to release in the github organisation strands-project-releases (ask @marc-hanheide for permissions or to do it for you). The repository will be automatically populated and is referred to as RELEASE repository url (see https://github.com/strands-project-releases/mongodb_store.git, for instance)
  3. use bloom to create the release:
    bloom-release --rosdistro hydro --track hydro repository_name --edit
    This will interactively ask some information from you:
  4. when first asked for the Release repository url, enter the git URL for the just created repo (e.g. https://github.com/strands-project-releases/mongodb_store.git)
  5. when asked for Repository Name, please enter the name of your repository, e.g. mongodb_store
  6. when asked for Upstream Repository URI, please enter the path to your upstream repository, that is the one hosted in the strands-project github organisation that you commit to, e.g. https://github.com/strands-project/mongodb_store.git
  7. when asked for ROS Distro, say hydro (or indigo if that is eventually supported by STRANDS)
  8. when asked Would you like to add documentation information for this repository?, say no
  9. when asked Would you like to add source information for this repository?, say yes, and subsequently tner the URL to your active development repository (usually the same as the upstream repo, so in our example: https://github.com/strands-project/mongodb_store.git again
  10. answer all other questions just by hitting return (accepting the defaults)

You should see bloom creating a lot of stuff for you (debian configurations and other stuff). At the end, bloom should automatically open a pull request against STRANDS’ own distribution.yaml with your package added to this. The STRANDS software management team will have a look at this and eventually accept it. Then the build farm will create debian packages for you (and package maintainers will receive emails automatically if the build fails) which will then be available for everybody to use.