Hi Mathieu,

Thanks for taking this further.  I wonder if there is some easy way of
pruning down the repository as it seems crazy to be carrying the lots
of baggage around for what should be a small little project and
repository.

I guess the crude way would be to just copy the files across to a new
repository and start from scratch with a new history for the osgQt
files. We'll always have the osgQt in the OSG history which won't be
pruned so perhaps this would be sufficient.

Robert.

On 14 September 2016 at 15:48, Mathieu MARACHE
<mathieu.mara...@gmail.com> wrote:
> Hi All,
>
> I've gone through the process of striping the osgQt repository from osg only
> related files in it's history. This means rewriting commits and removing
> unnecessary files from each commit. This is a long process.
>
> I've added a commit removing non osgQt related examples.
> I then listed all the files present in the repository giving me listing A.
> I did a listing B of all files before Robert's removal of osg only files.
> I kept only the files given by B - A in listing C.
>
> I then issued a git command :
> git filter-branch --index-filter 'git rm --cached --ignore-unmatch [files in
> C]' HEAD
>
> It was a long process : 3615 seconds (an hour) and even thought it seems
> that the size of the repository hasn't gained any weight, there is no signs
> of those listing C files.
>
> The result is there
> https://github.com/marache/osgQt
>
> The main issue is that we now have 14240 different commits than the 14240
> commit of osg. So there is no easy turning back into osg.
> The size of a newly clone repository isn't smaller than Robert's original
> one.
>
> We could remove history altogether and use git replace to start history
> sooner than Dan's original commit
>
> Any thoughts ?
> --
> nǝıɥʇɐƜ
>
> On 14 September 2016 at 07:34, Paul McIntosh
> <paul.mcint...@internetscooter.com> wrote:
>>
>>
>> Mathieu wrote:
>> >
>> > Anyone out there wanting to chip in ?
>> >
>>
>>
>> I can help - my time is very limited though. At the very least I can
>> feedback on the documentation, setup and use.
>>
>> I have past experience with Qt/OSG/Delta3D and am currently reviving all
>> that knowledge on a personal project which combines Qt5/OSG.
>>
>> Cheers,
>>
>> Paul
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=68597#68597
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to