[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 4/6] osstest: introduce a helper to get the svn revision of a git commit


  • To: Ian Jackson <ian.jackson@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Fri, 24 May 2019 10:57:27 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxxxxxxxxxxxxx
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 24 May 2019 09:57:43 +0000
  • Ironport-sdr: vp0zcJRVAEsc/T38y74e6KzpQoWZHGeTNiAjnZpOuCKsuLUV37CDbmEpKRUBiKfO5fqCPgEOGQ 7HCSjJAq5AgY3ymaAVAgbeaksX+aepzrdq5gPdvomOYL2iravwJOF03rXLJeHUMeN1233Omfny K2EewKsSayWKlIqUa2tNUiY4JaAbksiYgi8gH0gEYyXoABwkVw8nZ6dyary4E7qMNLjMSu1MrI 3D11dLgBuGn3zg6KKHgH8DofF2clnZrpXUHoEqjw4/9wCNAQetSiKFJ1l84ZC/HWQ4nzCF26/K Qws=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, May 23, 2019 at 11:03:52AM +0100, Ian Jackson wrote:
> Roger Pau Monne writes ("[Xen-devel] [PATCH 4/6] osstest: introduce a helper 
> to get the svn revision of a git commit"):
> > This only works when the svn revision is stored as a git note
> > with the format 'revision=<revision number>'.
> 
> Wow.  This is pretty ugly.

Indeed :(.

> 
> > Such conversion is required in order to bootstrap a FreeBSD system
> > without relying on external package repositories. FreeBSD base system
> > only contains a subversion client (no git client), and thus in order
> > to fetch the ports repository (that contain the external packages
> > build makefiles) svn must be used.
> 
> git notes have some different way of travelling than commits, don't
> they ?  Where is this git note coming from and how do we know it is
> the right note, IYSWIM ?

I'm not an expert on this, but I think notes are always stored in a
separate branch on the same repo? In the FreeBSD case at least it's
git/refs/notes.

> Aside from that, please break the refactoring (in this case, the
> breaking out of repo_get_realurl) into a separate NFC patch.

Sure!

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.