> On 11/10/2021, at 14:00, William Stein <wst...@gmail.com> wrote:
> 
> On Sun, Oct 10, 2021 at 5:49 PM François Bissey <frp.bis...@gmail.com> wrote:
>> 
>> One annoying thing about monorepo from a downstream perspective - but only 
>> for people crazy enough to package a development branch (OK that would be me 
>> and not many other people :) ).
>> The split packages have their setup.py or equivalent in 
>> SAGE_ROOT/pkgs/pkg_name and some links to the single sage source tree from 
>> there. Examples: sagemath-standard, sage_setup and sage_docbuild. To package 
>> these I pull the full tree :( and then I don’t go to SAGE_ROOT/pkgs/pkg_name 
>> and build from there.
> 
> I don't understand what you're doing.  However, I just want to point
> out that it is possible to use Git to only pull a selected directory
> (or directories) from a Git repo with no history. See, e.g., the
> discussion of "sparse checkout" here.
> 
> https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository

I don’t know if it can be used inside Gentoo ebuilds but this is an interesting 
thing to be able to do. I will certainly explore that possibility but if it 
doesn’t replace symlinks in a particular subdirectory it may all be in vain.

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/534BA612-52E0-4ECD-A33E-F964ED9F9F40%40gmail.com.

Reply via email to