[core-workflow] What would it take to split the stdlib out into its own git repo?

Ryan Gonzalez rymg19 at gmail.com
Sat Jul 16 20:59:59 EDT 2016


On Jul 16, 2016 7:54 PM, "Chris Angelico" <rosuav at gmail.com> wrote:
>
> On Sun, Jul 17, 2016 at 10:46 AM, Brett Cannon <brett at python.org> wrote:
> > For instance, would we be able to split the history, or would the
original
> > history stay in the CPython repo and we would start from scratch in the
> > stdlib repo and `git log` would hopefully be smart enough to merge the
two
> > histories? How bad is it to work in a repo with a submodule where you
will
> > be making changes to submodules regularly?
>
> I detest working with git submodules; if the repositories get split,
> I'd much rather have ./python look for ../python-stdlib as a parallel
> repo. They stand entirely separately; you simply clone both repos into
> the same directory. (For example, the editor SciTE and its component
> Scintilla work this way. I have /home/rosuav/scintilla and
> /home/rosuav/scite, and build Scintilla first, then build SciTE. The
> building part wouldn't be an issue with the stdlib, so it'd be
> easier.)

What about subtrees:

https://medium.com/@porteneuve/mastering-git-subtrees-943d29a798ec#.6bbjxspcj

>
> Splitting out the history can certainly be done. You simply clone the
> main CPython git repo, then tell git to throw away everything that
> isn't in the Lib/ directory. Not all commits will read sensibly like
> that (maybe there's a trivial edit to the stdlib, associated with a
> core interpreter edit, and the commit message mentions only the core),
> but it's faithful and reliable, and you get the full history, going
> back deep into the Mercurial days. (And earlier, if the hg repo
> imported other data.)
>
> ChrisA
> _______________________________________________
> core-workflow mailing list
> core-workflow at python.org
> https://mail.python.org/mailman/listinfo/core-workflow
> This list is governed by the PSF Code of Conduct:
https://www.python.org/psf/codeofconduct

--
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/core-workflow/attachments/20160716/128e2bf8/attachment-0001.html>


More information about the core-workflow mailing list