Cloning the Adium repo

3 views
Skip to first unread message

Robert Vehse

unread,
Sep 17, 2016, 7:17:18 AM9/17/16
to Adium Development List
Hi everyone,

Recently, I twice tried to download Adium source from our repo and each time the download timed out. Yesterday, a user reported cloning didn’t work for them either (https://www.facebook.com/permalink.php?story_fbid=10153957981491819&id=6521951818&comment_id=10153987753641819&reply_comment_id=10153987939626819&comment_tracking=%7B%22tn%22%3A%22R5%22%7D).

For now, should we perhaps only point to Bitbucket at https://trac.adium.im/wiki/GettingNewestAdiumSource (and possibly other places)?

Regards,
Robbie

Matthew

unread,
Sep 17, 2016, 12:27:47 PM9/17/16
to Adium Development List
It worked for me:

Naitaka:~ mathuaerknedam$ hg clone https://hg.adium.im/adium scr/adium-new

warning: connecting to hg.adium.im using legacy security technology
(TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for
more info

warning: connecting to hg.adium.im using legacy security technology
(TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for
more info

warning: connecting to hg.adium.im using legacy security technology
(TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for
more info

requesting all changes

warning: connecting to hg.adium.im using legacy security technology
(TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for
more info

adding changesets

adding manifests

adding file changes

added 5951 changesets with 69292 changes to 34410 files (+10 heads)

warning: connecting to hg.adium.im using legacy security technology
(TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for
more info

updating to branch default

6538 files updated, 0 files merged, 0 files removed, 0 files unresolved
--

Matthew

Robert Vehse

unread,
Sep 17, 2016, 12:41:31 PM9/17/16
to Adium Development List
I reckon your bandwidth is a lot higher than mine? I'd been downloading for 20 to 30 minutes when it failed.

Augie Fackler

unread,
Sep 17, 2016, 6:39:30 PM9/17/16
to Adium Development List
Maybe give clonebundles a shot? Mozilla has been using it to great success, and you can put the majority of the repo data on a CDN so it’s relatively quick to serve. From the (server-only) extension docs:

`hg help clonebundles`:
> clonebundles extension - advertise pre-generated bundles to seed clones
>
> "clonebundles" is a server-side extension used to advertise the existence of
> pre-generated, externally hosted bundle files to clients that are cloning so
> that cloning can be faster, more reliable, and require less resources on the
> server.

[...]

> This extension provides server operators the ability to offload potentially
> expensive clone load to an external service. Here's how it works.
>
> 1. A server operator establishes a mechanism for making bundle files available
> on a hosting service where Mercurial clients can fetch them.
> 2. A manifest file listing available bundle URLs and some optional metadata is
> added to the Mercurial repository on the server.
> 3. A client initiates a clone against a clone bundles aware server.
> 4. The client sees the server is advertising clone bundles and fetches the
> manifest listing available bundles.
> 5. The client filters and sorts the available bundles based on what it
> supports and prefers.
> 6. The client downloads and applies an available bundle from the server-
> specified URL.
> 7. The client reconnects to the original server and performs the equivalent of
> 'hg pull' to retrieve all repository data not in the bundle. (The
> repository could have been updated between when the bundle was created and
> when the client started the clone.)
>
> Instead of the server generating full repository bundles for every clone
> request, it generates full bundles once and they are subsequently reused to
> bootstrap new clones. The server may still transfer data at clone time.
> However, this is only data that has been added/changed since the bundle was
> created. For large, established repositories, this can reduce server load for
> clones to less than 1% of original.
signature.asc
Reply all
Reply to author
Forward
0 new messages