git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Jakub Narębski" <jnareb@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Tony Finch <dot@dotat.at>,
	Jeff King <peff@peff.net>
Subject: Re: What's cooking in git.git (Jul 2015, #01; Wed, 1)
Date: Tue, 21 Jul 2015 20:09:19 +0200	[thread overview]
Message-ID: <55AE8ACF.6090508@gmail.com> (raw)
In-Reply-To: <xmqqzj3f5wtr.fsf@gitster.dls.corp.google.com>

On 2015-07-02 at 00:37, Junio C Hamano wrote:
> What's cooking in git.git (Jul 2015, #01; Wed, 1)
> --------------------------------------------------

> * tf/gitweb-project-listing (2015-03-19) 5 commits
>  - gitweb: make category headings into links when they are directories
>  - gitweb: optionally set project category from its pathname
>  - gitweb: add a link under the search box to clear a project filter
>  - gitweb: if the PATH_INFO is incomplete, use it as a project_filter
>  - gitweb: fix typo in man page
> 
>  Update gitweb to make it more pleasant to deal with a hierarchical
>  forest of repositories.
> 
>  Any comments from those who use or have their own code in Gitweb?

The first one is a simple typo fix (plural -> singular), so it can be
accepted without problems.

Second one, "gitweb: if the PATH_INFO is incomplete, use it as a
project_filter" looks interesting and quite useful. Though it doesn't
do much: it allows for handcrafted URL, and provides mechanism to
create breadcrumbs. It doesn't use this feature in its output...
Well, I think it doesn't: I cannot check it at this moment.

What is missing is a support for query parameters path, and not only
path info. Though that *might* be postponed for later patch; the
path info API is obvious, query params API for this feature isn't.
Thought some thought is needed for generating (or not) breadcrumbs
if path_info is turned off.

The third, "gitweb: add a link under the search box to clear a project
filter" notices a problem... then solves it in strange way. IMVHO
a better solution would be to add "List all projects" URL together
with " / " (or other separator) conditionally, if $project_filter
is set. Or have "List all projects" and add "List projects$limit"
if $project_filter is set.

The last two, which form the crux of this patch series, looks like
a good idea, though not without a few caveats. I am talking here
only about conceptual level, not about how it is coded (which has
few issues as well):

- I think that non-bare repositories "repo/.git" should be
  treated as one directory entry, i.e. gitweb should not create
  a separate category for "repo/".  This is admittedly a corner
  case, but useful for git-instaweb

- I think that people would want to be able to configure how
  many levels of directory hierarchy gets turned into categories.
  Perhaps only top level should be turned into category? Deep
  hierarchies means deep categories (usually with very few
  repositories) with current implementation.

- New global configuration variable, or new %features entry? 
 
> * tr/remerge-diff (2014-11-10) 9 commits
>  - t4213: avoid "|" in sed regexp
>  - log --remerge-diff: show what the conflict resolution changed
>  - name-hash: allow dir hashing even when !ignore_case
>  - merge-recursive: allow storing conflict hunks in index
>  - merge_diff_mode: fold all merge diff variants into an enum
>  - combine-diff: do not pass revs->dense_combined_merges redundantly
>  - merge-recursive: -Xindex-only to leave worktree unchanged
>  - merge-recursive: internal flag to avoid touching the worktree
>  - merge-recursive: remove dead conditional in update_stages()
> 
>  "log -p" output learns a new way to let users inspect a merge
>  commit by showing the differences between the automerged result
>  with conflicts the person who recorded the merge would have seen
>  and the final conflict resolution that was recorded in the merge.
> 
>  Waiting for a reroll.
>  ($gmane/256591).

Is it something that Atlassian uses as a differentiatior (instead
of sending patch upstream):

  https://developer.atlassian.com/blog/2015/01/a-better-pull-request/

-- 
Jakub Narębski

  parent reply	other threads:[~2015-07-21 18:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 22:37 What's cooking in git.git (Jul 2015, #01; Wed, 1) Junio C Hamano
2015-07-02  9:33 ` [PUB]What's " Matthieu Moy
2015-07-03 17:57   ` Junio C Hamano
2015-07-21 18:09 ` Jakub Narębski [this message]
2015-07-22 10:05   ` What's " Tony Finch
2015-07-22 11:16     ` Jakub Narębski
2015-07-22 13:19       ` Tony Finch
2015-07-22 19:32         ` Jakub Narębski
2015-07-22 21:14           ` Tony Finch

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=55AE8ACF.6090508@gmail.com \
    --to=jnareb@gmail.com \
    --cc=dot@dotat.at \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).