Skip to content

Package pruning can happen in wrong track #289

@cottsay

Description

@cottsay

It looks like (a2e2c2d) was created to verify that a package is still in the upstream repository, but the upstream branch isn't necessarily set the right upstream branch (or URL for that matter) for a given track at generation time.

Repro:

  • Release a package for hydro
  • Release the package for indigo
  • Generate the package for hydro (doesn't matter what -i is)
  • upstream branch is still tracking the upstream for the indigo track, so a possibly incorrect package list is generated while pruning

I found this while generating for ros_comm, where rosgraph_msgs (and maybe others) are present in H but not I.

A possible solution would be to set up separate upstream branches for each track, ie:

  • upstream/hydro
  • upstream/indigo

...which would mean that the release process for a single track would no longer "share" any branches with another track, something that could probably happen for more reasons than just this.

Another short-term workaround might be better in the mean time, but this is a pretty specific use-case, so I'm not terribly worried about lots of users hitting it.

Thoughts?

--scott

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions