snap-dir command doesn't exist

Bug #1707095 reported by Leo Arias
16
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

$ snapcraft snap --help

prints this:

[...]
If you want to snap a directory, you should use the snap-dir command
instead.
[...]

But:

$ snapcraft snap-dir
Usage: snapcraft [OPTIONS] COMMAND [ARGS]...

Error: No such command "snap-dir".

Tags: bitesize ui
Revision history for this message
Evan (ev) wrote :

Also ran headfirst into this. It should be:

If you want to snap a directory, provide it as an argument to snapcraft snap.

Revision history for this message
Leo Arias (elopio) wrote :

Marking as triaged, ev's suggestion is what the help should say.

Changed in snapcraft:
status: Confirmed → Triaged
tags: added: bitesize
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

We have agreed to go down the path of using `assemble` for this.

Changed in snapcraft:
status: Triaged → In Progress
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 2.35
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Revision history for this message
Gustavo Silva (gsilvapt) wrote :

Should we move it to Fix Released?

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Not yet, although it should be Fix Committed. The fix is in master, but is not yet contained in any release.

Changed in snapcraft:
status: In Progress → Fix Committed
Revision history for this message
Gustavo Silva (gsilvapt) wrote :

Apologies, wanted to write Fix Committed and not Released. Thank you for pointing that out.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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