How much is Bitbucket largefiles support worth to you?

Sean Farley sean at farley.io
Wed Feb 10 14:37:06 EST 2016


Augie Fackler <raf at durin42.com> writes:

> (+mads for largefiles thoughts)
>
> On Tue, Feb 09, 2016 at 02:17:08PM -0800, Sean Farley wrote:
>> It should be apparent by now that we're working on Git LFS[1] support
>> for Bitbucket. For those that use largefiles, this should be good news.
>> I've tried to latch onto the work a teammate is doing for Git LFS but
>> unfortunately hit a roadblock.
>>
>> The gist is that we need to send a url to the client to tell it where to
>> upload the largefiles. This could almost be hacked in with http
>> redirection but SSH wouldn't be able to use that.
>>
>> Instead, I was going to ask the Mercurial community if someone could
>> implement this type of redirection (keeping authentication in mind). If
>> this happened, I could implement the server-side code to work with this.
>> Theoretically, a user could optionally use some other kind of backend
>> for the largefiles and still use Bitbucket for code hosting.
>
> I'm not a largefiles user, so bear with me. It sounds like the main
> (mercurial) server wants to be able to specify an alternate address
> (possibly also including protocol) for the largefiles operations,
> right?

Correct.

> Any reason we can't add a pushkey entry for that, and just have modern
> clients know to check with the server for an advisory alternate
> largefiles URL? Sean, would that solve your needs?

That does sound like it would work. Probably the best option is, indeed,
to use pushkey.


More information about the Mercurial-devel mailing list