your mail

Seth Arnold seth.arnold at canonical.com
Wed Mar 29 03:51:32 UTC 2017


Hi Leo, great response,

On Tue, Mar 28, 2017 at 08:56:25PM -0600, Leo Arias wrote:
> It's stored in $SNAP_USER_COMMON, ~/snap/bitcoin/common.
> This was the only ugly part. There are some bugs in bitcoin reported
> [...]
> problem is not yet affecting anyone else. So, for now we are patching
> bitcoin's default data dir [2].

bitcoin may be the most extreme example I can think of quickly but surely
it's not alone in this.

> > - Have you run into problems moving BDB forward or backwards when
> >   upgrading or downgrading? Is BDB used in the storage of the blockchain
> >   or is it used for 'simpler' snap storage?
> 
> I'm not sure what do you mean with simpler snap storage. There's no
> storage specific to the snap. Where the bitcoin code uses the default
> data dir, that's unversioned. Where it uses HOME or XDG dirs directly,
> that data is versioned. I don't have high hopes for better data
> handling because the bugs I found were from a couple of years ago, and
> mentioned the split of the wallet code that was supposed to happen
> soon at that time, but never happened.

I was mostly curious if BDB was being used for the blockchain or user
preferences or other metadata; I had some impression many years ago that
BDB was touchy, so I wondered if you had run into trouble.

> > It feels like bitcoin's 100-ish gigabyte blob makes an interesting
> > constraint that many simpler tools may not need to address.
> 
> That was precisely my thinking. Would you like to help us maintaining
> the snap until we make the transfer upstream? It would be great to
> increase our bus factor, and more hands will make it easier to improve
> the packaging.

Thanks for the invitation but I'm already feeling vastly oversubscribed. :(

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170328/db18a80b/attachment.sig>


More information about the Snapcraft mailing list