Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-18 Thread Sam James
> On 18 Dec 2022, at 10:19, Florian Schmaus wrote: > > On 17.12.22 06:42, Sam James wrote: >>> On 15 Dec 2022, at 19:22, Florian Schmaus wrote: >>> I personally would prefer portage simply adjusting its behavior based on >>> the owner of the repository. That is, if it's the 'portage' user

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-18 Thread Florian Schmaus
On 17.12.22 06:42, Sam James wrote: On 15 Dec 2022, at 19:22, Florian Schmaus wrote: I personally would prefer portage simply adjusting its behavior based on the owner of the repository. That is, if it's the 'portage' user then assume full control, and if it is a different user, then fall

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-17 Thread John Helmert III
On Sat, Dec 17, 2022 at 05:42:43AM +, Sam James wrote: > > > > On 15 Dec 2022, at 19:22, Florian Schmaus wrote: > > > > This is a public service announcement that the recently stabilized portage > > version will truncate you repo's git history to 1. > > I wish you'd shown us in

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-16 Thread Sam James
> On 17 Dec 2022, at 05:42, Sam James wrote: >> > ... only for repositories of sync-type=git & auto-sync=yes. Sorry, of course, the auto sync part doesn't matter. signature.asc Description: Message signed with OpenPGP

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-16 Thread Michael
> The motivation behind the sync depth part was because of > disk space growing unbounded otherwise. I recently did `git config --local fetch.prune true` to the repos I don't develop (user mode). And that seems to help with the uncontrollable growth. # grep prune /usr/portage/.git/config -B1

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-16 Thread Sam James
> On 15 Dec 2022, at 19:22, Florian Schmaus wrote: > > This is a public service announcement that the recently stabilized portage > version will truncate you repo's git history to 1. I wish you'd shown us in #gentoo-portage before sending this, as it's a bit misleading / alarmist. We were

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-15 Thread Florian Schmaus
On 15/12/2022 21.10, Toralf Förster wrote: On 12/15/22 20:22, Florian Schmaus wrote: o use PORTDIR_OVERLAY and multiple repositories on their system: a system-wide, managed by portage, and a dev repository (in your HOME), scoped in via PORTDIR_OVERLAY. Isn't this covered by

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-15 Thread Toralf Förster
On 12/15/22 20:22, Florian Schmaus wrote: o use PORTDIR_OVERLAY and multiple repositories on their system: a system-wide, managed by portage, and a dev repository (in your HOME), scoped in via PORTDIR_OVERLAY. Isn't this covered by /etc/portage/repos.conf/* eg here's my config: cat

[gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-15 Thread Florian Schmaus
This is a public service announcement that the recently stabilized portage version will truncate you repo's git history to 1. While this is a good thing for the majority of Gentoo users, it affects developers that develop in a git known to portage (like me). If I understand the portage