[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
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |