qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
	"Daniel Berrange" <berrange@redhat.com>,
	qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [qemu-web PATCH v2] Use GitLab repo URLs instead of git.qemu.org URLs
Date: Thu, 14 Jan 2021 16:21:59 +0000	[thread overview]
Message-ID: <20210114162159.GA306329@stefanha-x1.localdomain> (raw)
In-Reply-To: <0cd93ff2-cabc-2e4e-449f-34d7bbb9e5c7@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2831 bytes --]

On Thu, Jan 14, 2021 at 04:29:43PM +0100, Thomas Huth wrote:
> On 14/01/2021 14.40, Stefan Hajnoczi wrote:
> > On Thu, Jan 14, 2021 at 10:42:59AM +0100, Thomas Huth wrote:
> > > On 13/01/2021 19.54, Stefan Hajnoczi wrote:
> > > > Switch to GitLab repo URLs to reduce qemu.org bandwidth.
> > > > 
> > > > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> > > > ---
> > > > v2:
> > > >    * Added missing URL in _posts/2018-06-28-tcg-testing.md. Mark
> > > >      Cave-Ayland <mark.cave-ayland@ilande.co.uk> and Alex Bennée
> > > >      <alex.bennee@linaro.org> figured out the issue was that the gitweb
> > > >      link referenced a blob object (not a commit) whereas GitLab needs the
> > > >      commit object. Therefore the hash hash in the URL has changed.
> > > > ---
> > > >    _download/source.html                           | 4 ++--
> > > >    _posts/2017-02-04-the-new-qemu-website-is-up.md | 8 ++++----
> > > >    _posts/2017-10-04-qemu-2-10-1.md                | 4 ++--
> > > >    _posts/2018-02-09-understanding-qemu-devices.md | 2 +-
> > > >    _posts/2018-06-28-tcg-testing.md                | 4 ++--
> > > >    contribute.md                                   | 2 +-
> > > >    contribute/security-process.md                  | 4 ++--
> > > >    documentation.md                                | 2 +-
> > > >    support.md                                      | 2 +-
> > > >    9 files changed, 16 insertions(+), 16 deletions(-)
> > > > 
> > > > diff --git a/_download/source.html b/_download/source.html
> > > > index 5798633..14fb6dc 100644
> > > > --- a/_download/source.html
> > > > +++ b/_download/source.html
> > > > @@ -9,7 +9,7 @@
> > > >    	{% include releases.html %}
> > > >    	</div>
> > > >    	<p>or stay on the bleeding edge with the
> > > > -	   <a href="https://git.qemu.org/?p=qemu.git">git repository!</a></p>
> > > > +	   <a href="https://gitlab.com/qemu-project/qemu.git">git repository!</a></p>
> > > 
> > > For "clickable" links (i.e. not the URLs used for cloning), I'd suggest to
> > > drop the ".git" suffix, since there will be a redirection to the suffix-less
> > > URL otherwise.
> > > 
> > > If you agree, I can fix it up when picking up the patch, no need to resend
> > > just because of this.
> > 
> > I don't have a strong opinion either way. I chose this approach because
> > it results in a clean git clone while also working in a web browser
> > (with a redirect, as you mentioned).
> 
> Ok, I've pushed your patch with some of the .git suffixes removed. I don't
> think that anybody will try to clone from a link where the link text is
> saying "git repository!" like in above source.html, so I removed it there.
> But in the instructions for running "git clone ...", I of course kept the
> suffix.

Thanks!

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-01-14 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 18:54 [qemu-web PATCH v2] Use GitLab repo URLs instead of git.qemu.org URLs Stefan Hajnoczi
2021-01-14  9:42 ` Thomas Huth
2021-01-14 13:40   ` Stefan Hajnoczi
2021-01-14 15:29     ` Thomas Huth
2021-01-14 16:21       ` Stefan Hajnoczi [this message]
2021-01-14 11:07 ` Philippe Mathieu-Daudé
2021-01-14 11:44 ` Alex Bennée

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210114162159.GA306329@stefanha-x1.localdomain \
    --to=stefanha@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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.
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 NNTP newsgroup(s).