rust-revision is not respected

Bug #1654718 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

snapcraft help rust suggests that I can get a particular revision of rust with the 'rust-revision' keyword. However, a snapcraft.yaml like this:

    rust-channel: 'nightly'
    rust-revision: 'nightly-2016-12-16'

results in this:

Downloading 'rustup.sh'[=================================================================================================================================================================================================================================] 100%
/home/mark/software/snaps/alacritty-snap/parts/alacritty/rust/rustup.sh --prefix=/home/mark/software/snaps/alacritty-snap/parts/alacritty/rust --disable-sudo --save
rustup: gpg available. signatures will be verified
rustup: downloading manifest for 'stable'

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Perhaps the issue is here:

        self.run(["%s" % self._rustup,
                  "--prefix=%s" % self._rustpath,
                  "--disable-sudo", "--save"])

Changed in snapcraft:
assignee: nobody → Sergio Schvezov (sergiusens)
importance: Undecided → High
status: New → Triaged
milestone: none → next
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
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.