From: Thomas Gummerer <email@example.com> To: Christian Couder <firstname.lastname@example.org> Cc: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>, git <email@example.com>, "Jeff King" <firstname.lastname@example.org>, "SZEDER Gábor" <email@example.com>, "Оля Тележная" <firstname.lastname@example.org>, "Matthieu Moy" <Matthieu.Moy@gmail.com> Subject: Re: GSoC 2019: Git's application submitted Date: Mon, 11 Feb 2019 22:18:27 +0000 Message-ID: <20190211221827.GG6085@hank.intra.tgummerer.com> (raw) In-Reply-To: <CAP8UFD1Rv+nFqDYf33rRw-kWnfqokSG6=tG8XPFyBoVCU6Teemail@example.com> On 02/11, Christian Couder wrote: > On Thu, Feb 7, 2019 at 10:33 PM Thomas Gummerer <firstname.lastname@example.org> wrote: > > > > On 02/07, Johannes Schindelin wrote: > > > On Wed, 6 Feb 2019, Thomas Gummerer wrote: > > > > - implement pushing/poping conflicted state > > > > > > > > This would obviously be the end goal. > > > > > > On second thought, this might actually be super trivial. Right now, we > > > support two modes (not counting the `--untracked` stuff): --keep-index and > > > --no-keep-index. In both cases, we seem to create a merge commit whose > > > tree reflects the working directory and whose first parent is HEAD and > > > whose second parent is a single commit on top of HEAD (which contains > > > either no changes in the case of --no-keep-index, or whose tree reflects > > > the index in case of --keep-index). > > > > > > To extend that to the conflict case, we could introduce a new flag > > > --with-conflicts, and have the commit structure > > > > > > Worktree > > > | \ > > > | index stage 0 > > > | / | \ > > > | stage 1 stage 2 stage 3 > > > | / / / > > > HEAD --------------- > > > > > > The only tricky thing I can see is to maintain backwards compatibility if > > > possible, so that old `git stash` will do something at least semi-sensible > > > with those commit structures. > > > > > > It might be too small a project, after all. > > > > Yeah, looking at this I think you're right. Thanks for helping work > > through this. > > I am not sure it will be too small a project, especially because it is > a new feature. On top of the coding part, the student will also have > to come up with good documentation and test cases, and there will > probably be naming and workflow discussions and possibly refactoring > opportunities and bug fixes along the way. I still think it's on the smaller side, but also as you mention below we have usually been rather optimistic about project sizes. So maybe this is the right size for a GSoC after all. > Yeah, the naming and workflow discussions should actually happen when > discussing the student's proposal, in which case an important part of > the work will (hopefully) be done before the GSoC actually starts. > > Historically though we have always been very optimistic in what we > thought a student could accomplish in a GSoC. And we are very likely > to find more ideas for improvements during the GSoC, in case > everything is "finished" before the end. I actually think that it has > never happened that a student both "finished" the project before the > end, and that no idea for improvement on top of the work was found. Fair enough. I think there's still a number of things that could do with some refactoring in 'builtin/stash.c', e.g. use more of the libgit.a API, instead of using the run_command API, or potentially other improvements that could be made. Another thing that may be useful to do is to write down some actual technical documentation on the format of what a stash commit looks like. > I have added a "Note about refactoring projects versus projects that > implement new features" at the end of the idea list: > > https://github.com/git/git.github.io/blob/master/SoC-2019-Ideas.md#note-about-refactoring-projects-versus-projects-that-implement-new-features > > and I think that with that note students working on such projects will > be warned enough, and therefore hopefully have a better chance of > success. > > So after all if you are willing to co-mentor such a project, I would > be ok to co-mentor it with you, and we should add it to the list. Ok, I'll submit a PR to add it to the list. > Thanks, > Christian. > > And yeah it would help improve our idea list as requested by Google.
next prev parent reply other threads:[~2019-02-11 22:18 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-04 9:16 Christian Couder [not found] ` <CAL21Bm=K6zZ=APkiP3A_X7xVoOfx-MY2435YMp5y1ztE-xyYtg@mail.gmail.com> 2019-02-04 12:54 ` Christian Couder 2019-02-04 21:52 ` Thomas Gummerer 2019-02-05 21:17 ` Thomas Gummerer 2019-02-05 22:00 ` Christian Couder 2019-02-06 22:09 ` Thomas Gummerer 2019-02-07 19:39 ` Johannes Schindelin 2019-02-07 21:33 ` Thomas Gummerer 2019-02-11 5:41 ` Оля Тележная 2019-02-11 7:45 ` Christian Couder 2019-02-11 8:31 ` Оля Тележная 2019-02-11 10:52 ` Christian Couder 2019-02-13 22:36 ` Elijah Newren 2019-02-14 9:48 ` Christian Couder 2019-02-11 8:35 ` Christian Couder 2019-02-11 22:18 ` Thomas Gummerer [this message] 2019-02-11 23:58 ` Christian Couder 2019-02-12 20:25 ` Thomas Gummerer 2019-02-12 20:49 ` Christian Couder 2019-02-12 22:13 ` Thomas Gummerer 2019-02-06 12:27 ` Johannes Schindelin 2019-03-05 12:04 ` Duy Nguyen 2019-03-05 12:23 ` Duy Nguyen 2019-03-06 4:49 ` Jeff King 2019-03-06 9:36 ` Duy Nguyen 2019-03-06 19:08 ` Jeff King 2019-03-06 14:16 ` Johannes Schindelin 2019-03-18 12:51 ` Duy Nguyen 2019-03-18 16:37 ` Christian Couder
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: http://vger.kernel.org/majordomo-info.html * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190211221827.GG6085@hank.intra.tgummerer.com \ --email@example.com \ --cc=Johannes.Schindelin@gmx.de \ --cc=Matthieu.Moy@gmail.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
email@example.com list mirror (unofficial, one of many) This inbox may be cloned and mirrored by anyone: git clone --mirror https://public-inbox.org/git git clone --mirror http://ou63pmih66umazou.onion/git git clone --mirror http://czquwvybam4bgbro.onion/git git clone --mirror http://hjrcffqmbrq6wope.onion/git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V1 git git/ https://public-inbox.org/git \ firstname.lastname@example.org public-inbox-index git Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.version-control.git nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git nntp://news.gmane.io/gmane.comp.version-control.git note: .onion URLs require Tor: https://www.torproject.org/ code repositories for the project(s) associated with this inbox: https://80x24.org/mirrors/git.git AGPL code for this site: git clone https://public-inbox.org/public-inbox.git