Skip to content

Smarter defaults for --new-track #227

@mikepurvis

Description

@mikepurvis

Specifically:

  • When the cwd is in a git repo, provide that git repo's remote as the suggestion for the upstream repo.
  • When the cwd is in a git repo, provide the current branch as the suggestion for the upstream branch.
  • Support an environment variable which allows parameterizing the default for the release repo, eg:
export BLOOM_DEFAULT_RELEASE_REPO="http://github.com/ros-gbp/@(upstream_repo_name)-release.git"

Obviously, --edit-track should retain the behaviour of suggesting as default the present configuration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions