Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-14 Thread Wol
On 14/10/2021 09:28, Miles Malone wrote: So the default being for git to act like git, instead of git to act like an alternative to rsync, makes perfect sense in that context. And once it's sync'd the first time, I think sync depth is ignored. It normally doesn't make much difference anyway,

Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-14 Thread Miles Malone
Look I mean in any other context for a git repository sync-depth=0 would be the obvious choice, why have a version control system if you're limiting the version control. It was added to gentoo so that developers could work on their own branches of the git repo whilst still having it actually work

Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-14 Thread Peter Humphrey
On Thursday, 14 October 2021 03:50:59 BST Grant Edwards wrote: > On 2021-10-13, Rich Freeman wrote: > > On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards wrote: > >> Is there some reason it should default > >> to doing unlimited depth fetch operations? > > > > If all you want is a repo, no reason

[gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-13 Thread Grant Edwards
On 2021-10-13, Rich Freeman wrote: > On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards > wrote: >> >> Is there some reason it should default >> to doing unlimited depth fetch operations? >> > > If all you want is a repo, no reason to set the depth higher. Then a default of 1 seems like the obvious

Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-13 Thread Rich Freeman
On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards wrote: > > Is there some reason it should default > to doing unlimited depth fetch operations? > If all you want is a repo, no reason to set the depth higher. If you want to see the history then you'll want it all. However, once you have an initial

Re: [gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-13 Thread Neil Bothwick
On Wed, 13 Oct 2021 18:50:10 - (UTC), Grant Edwards wrote: > > emerge --sync works here. What do you have in repos.conf? > > I didn't have a sync-depth setting. Setting that to 1 fixed the > problem. It was apparently timing out because it takes too long for > the server to respond to a

[gentoo-user] Re: Switched from rsync to git, now emerge --sync fails

2021-10-13 Thread Grant Edwards
On 2021-10-13, Neil Bothwick wrote: > On Wed, 13 Oct 2021 18:25:12 - (UTC), Grant Edwards wrote: > >> Yesterday I switched my gentoo repo from rsync to git, and the initial >> --sync with an empty directory did a git clone successfully. >> >> Today, when I try to sync, it always fails: >>