<p dir="ltr"><br>
On Feb 20, 2016 1:19 PM, "Rob Clark" <<a href="mailto:robdclark@gmail.com">robdclark@gmail.com</a>> wrote:<br>
><br>
> fwiw, I think a *small* number of topic branches in certain cases<br>
> makes sense..  I'm definitely in support of a TTL limit (ie.<br>
> automatically nuke topic branches with no activity in N months, or<br>
> similar..)</p>
<p dir="ltr">I agree. Sometimes something big comes up that's not ready for merging such as amdgpu or our recently pushed Vulkan driver.  However, those should only be temporary and removed once the work is complete.  I saw a "broadwell" branch in there which is probably at least 2 years old and completely subsumed by master.  We don't want to be archiving random junk in the main tree.</p>
<p dir="ltr">I'd be fine with a timeout system where non-release branches get the boot after a certain amount inactivity. If you want to archive something, that's what personal git repos are for.<br>
--Jason</p>
<p dir="ltr">> BR,<br>
> -R<br>
><br>
> On Mon, Jun 22, 2015 at 2:23 PM, Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>> wrote:<br>
> > It's not so important now that the amdgpu driver is about to be merged.<br>
> ><br>
> > Speaking of other branches, I think removing the old feature branches<br>
> > is a good idea.<br>
> ><br>
> > Marek<br>
> ><br>
> > On Mon, Jun 22, 2015 at 8:02 PM, Ian Romanick <<a href="mailto:idr@freedesktop.org">idr@freedesktop.org</a>> wrote:<br>
> >> On 06/22/2015 10:40 AM, Marek Olšák wrote:<br>
> >>> I will happily remove the branch after the kernel driver lands.<br>
> >>><br>
> >>> I also wonder why all Mesa developers can force-push branches in Mesa<br>
> >>> but not libdrm.<br>
> >><br>
> >> That's probably just historical.  We probably ought to restrict that on<br>
> >> Mesa as well.<br>
> >><br>
> >> It sounds like you guys have some requirements for a shared repo.  It<br>
> >> seems like a repo on fd.o could work.  I think you'd just need a<br>
> >> "amddevs" group and make the repo group rwx.  I thought fd.o GIT did<br>
> >> https (maybe just SSH?).<br>
> >><br>
> >>> Marek<br>
> >>><br>
> >>> On Mon, Jun 22, 2015 at 5:39 PM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>> wrote:<br>
> >>>> On Mon, Jun 22, 2015 at 11:30 AM, Christian König<br>
> >>>> <<a href="mailto:deathsimple@vodafone.de">deathsimple@vodafone.de</a>> wrote:<br>
> >>>>> On 22.06.2015 15:41, Ilia Mirkin wrote:<br>
> >>>>>><br>
> >>>>>> On Mon, Jun 22, 2015 at 9:39 AM, Tom Stellard <<a href="mailto:tom@stellard.net">tom@stellard.net</a>> wrote:<br>
> >>>>>>><br>
> >>>>>>> On Mon, Jun 22, 2015 at 12:23:54PM +0200, Marek Olšák wrote:<br>
> >>>>>>>><br>
> >>>>>>>> On Mon, Jun 22, 2015 at 5:36 AM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
> >>>>>>>> wrote:<br>
> >>>>>>>>><br>
> >>>>>>>>> On Sun, Jun 21, 2015 at 11:33 PM, Michel Dänzer <<a href="mailto:michel@daenzer.net">michel@daenzer.net</a>><br>
> >>>>>>>>> wrote:<br>
> >>>>>>>>>><br>
> >>>>>>>>>> On 22.06.2015 00:31, Ilia Mirkin wrote:<br>
> >>>>>>>>>>><br>
> >>>>>>>>>>> On Sun, Jun 21, 2015 at 12:22 PM, Emil Velikov<br>
> >>>>>>>>>>> <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br>
> >>>>>>>>>>>><br>
> >>>>>>>>>>>> On 20/06/15 10:01, Eirik Byrkjeflot Anonsen wrote:<br>
> >>>>>>>>>>>>><br>
> >>>>>>>>>>>>> Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>> writes:<br>
> >>>>>>>>>>>>><br>
> >>>>>>>>>>>>>> Hello,<br>
> >>>>>>>>>>>>>><br>
> >>>>>>>>>>>>>> There are a *ton* of branches in the upstream mesa git. Here is a<br>
> >>>>>>>>>>>>>> full list:<br>
> >>>>>>>>>>>>>><br>
> >>>>>>>>>>>>> [...]<br>
> >>>>>>>>>>>>>><br>
> >>>>>>>>>>>>>> is there<br>
> >>>>>>>>>>>>>> any reason to keep these around with the exception of:<br>
> >>>>>>>>>>>>>><br>
> >>>>>>>>>>>>>> master<br>
> >>>>>>>>>>>>>> $version (i.e. 9.0, 10.0, mesa_7_7_branch, etc)<br>
> >>>>>>>>>>>>><br>
> >>>>>>>>>>>>> Instead of outright deleting old branches, it would be possible to<br>
> >>>>>>>>>>>>> set<br>
> >>>>>>>>>>>>> up an "archive" repository which mirrors all branches of the main<br>
> >>>>>>>>>>>>> repository. And then delete "obsolete" branches only from the main<br>
> >>>>>>>>>>>>> repository. Ideally, you would want a git hook to refuse to create<br>
> >>>>>>>>>>>>> a new<br>
> >>>>>>>>>>>>> branch (in the main repository) if a branch by that name already<br>
> >>>>>>>>>>>>> exists<br>
> >>>>>>>>>>>>> in the archive repository. Possibly with the exception that<br>
> >>>>>>>>>>>>> creating a<br>
> >>>>>>>>>>>>> same-named branch on the same commit would be allowed.<br>
> >>>>>>>>>>>>><br>
> >>>>>>>>>>>>> (And the same for tags, of course)<br>
> >>>>>>>>>>>>><br>
> >>>>>>>>>>>> Personally I am fine with either approach - stay/nuke/move. But I'm<br>
> >>>>>>>>>>>> thinking that having a mix of the two suggestions might be a nice<br>
> >>>>>>>>>>>> middle<br>
> >>>>>>>>>>>> ground.<br>
> >>>>>>>>>>>><br>
> >>>>>>>>>>>> Write a script that nukes branches that are merged in master (check<br>
> >>>>>>>>>>>> the<br>
> >>>>>>>>>>>> top commit of the branch) and have an 'archive' repo that contains<br>
> >>>>>>>>>>>> everything else (minus the stable branches).<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Sounds good to me, FWIW.<br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>>> That still leaves a ton around, and curiously removes mesa_7_5 and<br>
> >>>>>>>>>>> mesa_7_6.<br>
> >>>>>>>>>><br>
> >>>>>>>>>> I think the latter is expected, we were using a different branching<br>
> >>>>>>>>>> model back in those days.<br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>>>     origin/amdgpu<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Note that this is a currently active branch, to be merged to master<br>
> >>>>>>>>>> soon.<br>
> >>>>>>>>><br>
> >>>>>>>>> Perhaps there's something I don't understand, but why is a feature<br>
> >>>>>>>>> branch made available on the shared tree? In my view of things the<br>
> >>>>>>>>> only branches on the shared mesa.git tree should be the version<br>
> >>>>>>>>> branches.<br>
> >>>>>>>><br>
> >>>>>>>> As you can see, a lot of feature branches are in the shared tree<br>
> >>>>>>>> already, so there is a precedent. Sharing a branch among people in<br>
> >>>>>>>> this way sometimes tends to be more convenient.<br>
> >>>>>>>><br>
> >>>>>>>> The reason here is that it's the only mesa repository where most<br>
> >>>>>>>> people from our team have commit access.<br>
> >>>>>>>><br>
> >>>>>>> Also, the shared git tree supports https access, which means it is<br>
> >>>>>>> accessible when behind a firewall.<br>
> >>>>>><br>
> >>>>>> OK, well if that's the prevailing attitude, then I'm on a fool's<br>
> >>>>>> errand, and I'll just drop this.<br>
> >>>>><br>
> >>>>><br>
> >>>>> I still think it would be a good idea to archive the branches after a while,<br>
> >>>>> cause the current status is rather confusing if you search for something<br>
> >>>>> specifc.<br>
> >>>><br>
> >>>> Yeah, but if the policy is "create random branches whenever you feel<br>
> >>>> like on the upstream mesa tree", then this same current situation will<br>
> >>>> happen again, so it's not really worth fixing now (at least for me).<br>
> >>>> I'm not aware of any other major project with this sort of branching<br>
> >>>> policy, but I guess there's always a first!<br>
> >>>><br>
> >>>> I don't really see why you wouldn't just use a shared tree in<br>
> >>>> someone's ~/foo, chgrp'd to mesa or some other convenient group, or<br>
> >>>> how https plays into things, but I'm sure there's some reason for it.<br>
> >>>> [Or why those amdgpu patches are on a branch in the first place rather<br>
> >>>> than in master.] If the final state isn't a tree with a policy of not<br>
> >>>> adding (non-release) branches, I don't think I'm particularly<br>
> >>>> interested in doing the legwork.<br>
> >>>><br>
> >>>> Cheers,<br>
> >>>><br>
> >>>>   -ilia<br>
> >>>> _______________________________________________<br>
> >>>> mesa-dev mailing list<br>
> >>>> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> >>>> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> >>> _______________________________________________<br>
> >>> mesa-dev mailing list<br>
> >>> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> >>> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> >>><br>
> >><br>
> > _______________________________________________<br>
> > mesa-dev mailing list<br>
> > <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</p>