Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add new SnapFile to disentangle SnapPart #272
Conversation
|
retest this please |
mvo5
added some commits
Dec 22, 2015
|
Fwiw, the intergration test should be ok again once "bugfix/oem-compat" is merged into mater. |
chipaca
reviewed
Jan 5, 2016
| + return "" | ||
| +} | ||
| + | ||
| +// IsActive returns if its active |
chipaca
reviewed
Jan 5, 2016
| + return fmt.Errorf("not possible for a SnapFile") | ||
| +} | ||
| + | ||
| +// SetActive returns if its active |
|
|
mvo5
added some commits
Jan 5, 2016
|
retest this please |
|
The integration tests fail because it is printing the "Signature check failed" message twice: ... value string = "" + Is that something you caused on your branch? BTW, I love that you are tagging your branch names with refactor/bug |
|
@elopio Thanks! Nice that the integration tests caught this issue. Verify() was indeed called twice, I fixed that now. |
|
Copying the online conversation here, for context and general awareness. Gustavo Niemeyer, [07.01.16 13:52] Gustavo Niemeyer, [07.01.16 13:52] Gustavo Niemeyer, [07.01.16 13:52] Gustavo Niemeyer, [07.01.16 13:52] Michael Vogt, [07.01.16 13:55] Michael Vogt, [07.01.16 13:55] Gustavo Niemeyer, [07.01.16 13:56] Michael Vogt, [07.01.16 13:57] Michael Vogt, [07.01.16 13:57] Gustavo Niemeyer, [07.01.16 13:58] Michael Vogt, [07.01.16 14:01] Michael Vogt, [07.01.16 14:01] Michael Vogt, [07.01.16 14:02] Michael Vogt, [07.01.16 14:02] Gustavo Niemeyer, [07.01.16 14:02] Gustavo Niemeyer, [07.01.16 14:02] Michael Vogt, [07.01.16 14:02] Gustavo Niemeyer, [07.01.16 14:03] Gustavo Niemeyer, [07.01.16 14:03] Michael Vogt, [07.01.16 14:03] Gustavo Niemeyer, [07.01.16 14:04] Gustavo Niemeyer, [07.01.16 14:04] Gustavo Niemeyer, [07.01.16 14:04] Gustavo Niemeyer, [07.01.16 14:05] Michael Vogt, [07.01.16 14:05] Gustavo Niemeyer, [07.01.16 14:06] Michael Vogt, [07.01.16 14:07] Gustavo Niemeyer, [07.01.16 14:07] Michael Vogt, [07.01.16 14:10] Michael Vogt, [07.01.16 14:10] John Lenton, [07.01.16 14:11] Michael Vogt, [07.01.16 14:12] Gustavo Niemeyer, [07.01.16 14:12] Michael Vogt, [07.01.16 14:14] Gustavo Niemeyer, [07.01.16 14:19] Gustavo Niemeyer, [07.01.16 14:20] |
niemeyer
reviewed
Jan 7, 2016
| + "github.com/ubuntu-core/snappy/progress" | ||
| + "github.com/ubuntu-core/snappy/systemd" | ||
| +) | ||
| + |
niemeyer
Jan 7, 2016
Contributor
So, per the conversation, can we please have a comment here explaining what each of these are, and the relationship between them (did I miss any?):
- SnapFile
- SnapPart
- snap.File
- squashfs.Snap
and then what the next few steps to disentangle them are.
As discussed, we shouldn't leave this intermediate messy state around for too long, or it'll continue to spread its legs wider. The comment will ensure everybody is aligned and prevent further damage while this doesn't take place.
|
so... what's the state of this? |
|
@chipaca This is still something we should merge IMO, its part of the road towards simplifying the system. |
|
@niemeyer I think this one needs your explicit thumbs-up |
|
<explicit |
|
retest this please |
mvo5 commentedDec 22, 2015
Before SnapPart was a mix of local installed snaps and snap files
that can be installed. This branch separates them in a cleaner way.
This should allow us to split the big Part interface into something
like an installed, downloadable and installable interface (that
will need more work obviously).