juju scp no longer allows multiple extra arguments to pass through

Bug #1306208 reported by John A Meinel on 2014-04-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
High
John A Meinel
1.18
Critical
John A Meinel
juju-core (Ubuntu)
Critical
Unassigned
Trusty
Critical
Unassigned

Bug Description

We changed 'juju scp' to allow for multiple targets (juju scp a b c 0:foo, or juju scp 0:foo 0:bar .), however that broke support for passing multiple arguments directly to scp (juju scp -o SetX -o SetY 0:foo .)

IMO we should just look at each argument, match it against a regex that would match "0:" or "unit/0:" and then expand any argument that matches, and pass everything else through.

I think this is actually a regression in 'juju scp' functionality, so it should be considered important for a .1 release of 1.18.

Related branches

John A Meinel (jameinel) on 2014-04-10
Changed in juju-core:
assignee: nobody → John A Meinel (jameinel)
status: Triaged → In Progress
Ian Booth (wallyworld) on 2014-04-11
Changed in juju-core:
milestone: 1.18.1 → 1.19.1
Ian Booth (wallyworld) on 2014-04-11
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2014-04-11
Changed in juju-core:
milestone: 1.19.1 → 1.19.0
James Page (james-page) on 2014-04-11
Changed in juju-core (Ubuntu Trusty):
importance: Undecided → Critical
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju-core - 1.18.1-0ubuntu1

---------------
juju-core (1.18.1-0ubuntu1) trusty; urgency=medium

  * New upstream point release, including fixes for:
    - Upgrading juju 1.16.6 -> 1.18.x fails (LP: #1299802).
    - Peer relation disappears during juju-upgrade (LP: #1303697).
    - public-address of units changes to internal bridge post upgrade
      (LP: #1303735).
    - Unable to deploy local charms without series (LP: #1303880).
    - juju scp no longer allows multiple extra arguments to be passed
      (LP: #1306208).
    - juju cannot downgrade to same major.minor version with earlier
      patch number (LP: #1306296).
 -- James Page <email address hidden> Sat, 12 Apr 2014 07:04:37 +0100

Changed in juju-core (Ubuntu Trusty):
status: Triaged → Fix Released
Curtis Hovey (sinzui) on 2014-04-14
Changed in juju-core:
importance: Critical → High
Curtis Hovey (sinzui) on 2014-04-15
Changed in juju-core:
status: Fix Committed → Fix Released
John A Meinel (jameinel) on 2014-04-23
summary: - juju scp no longer allows multiple extra arguments to pass throug
+ juju scp no longer allows multiple extra arguments to pass through
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers