On Sat, Jun 04, 2022 at 04:39:35AM -0700, Sami Hartikainen wrote:
> Not an urgent matter, have a good weekend!
I had a good *year* it seems :)
David Bremner ran into the same problem a few days ago and
reminded me on IRC. Sorry for missing this. (I'll probably go
through all my gitolite emails soon, in case there are other
issues I have similarly missed!)
> We had only a handful of new repos created which were affected; fixed them
> with some one-time scripting.
>
> Br, Sami
>
> On Friday, June 3, 2022 at 6:36:48 PM UTC+3
sita...@gmail.com wrote:
>
> > On Wed, Jun 01, 2022 at 06:25:14AM -0700, Sami Hartikainen wrote:
> > > It looks like this is broken in v3.6.12 ...? When creating new repos,
> > the
> > > description file does not get removed.
> >
> > Indeed it is, it looks like it broke at [1]; thanks for catching
> > it!
> >
> > [1]:
> >
https://github.com/sitaramc/gitolite/commit/cf423a6a74b398eaa1dd67966ab2e02ff422274a
> >
> > I may have painted myself into a corner there, and I'll need
> > time to dig through this and figure out the simplest way to deal
> > with it.
> >
> > Meanwhile, if it is urgent, a work-around is to create a new
> > PRE_CREATE trigger that just does that.
> >
> > But honestly I'm toying with the idea that I should blindly
> > remove the file right after the `git init` happens; can't hurt
> > anything.
I took a good long look at the code as it stands right now, and,
short of undoing some important, efficiency related, changes,
this *is* indeed the best way to deal with this.
What I ask is if some of you can apply this simple patch
(attached) and see if you find something I missed (though TBH
it's a very trivial patch so I don't expect anything).
thanks, and sorry again for the delay!
sitaram
> To view this discussion on the web visit
https://groups.google.com/d/msgid/gitolite/ab6e65ae-c598-4dc2-8e1e-326fe8a1ddf2n%40googlegroups.com.