charm pull-source needs a --branch option

Bug #1893081 reported by Cory Johns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Testing
Fix Released
Critical
Cory Johns

Bug Description

When used with layers which use the subdir field in the index, charm pull-source loses the SCM metadata when it copies out the subdirectory. This prevents the ability to switch to a specific branch. Adding a --branch option to switch branches before copying out the subdirectory would allow for this.

(Cross-reported here: https://github.com/juju/charm-tools/issues/580)

Revision history for this message
Cory Johns (johnsca) wrote :
tags: added: review-needed
Cory Johns (johnsca)
Changed in charmed-kubernetes-testing:
status: In Progress → Fix Committed
tags: removed: review-needed
Revision history for this message
Cory Johns (johnsca) wrote :
Changed in charmed-kubernetes-testing:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.