[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.14 RFC] docs/support-matrix: Gross bodge to unbreak docs rendering
On 04.06.2020 22:58, Andrew Cooper wrote: > On 04/06/2020 21:52, Andrew Cooper wrote: >> The cronjob which renders https://xenbits.xen.org/docs/ has been broken for a >> while. commitish_version() pulls an old version of xen/Makefile out of >> history, and uses the xenversion rule. >> >> Currently, this fails with: >> >> tmp.support-matrix.xen.make:130: scripts/Kbuild.include: No such file or >> directory >> >> which is because the Makefile legitimately references Kbuild.include with a >> relative rather than absolute path. >> >> Rearrange $CWD of the make rune to be in xen/ >> >> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> >> --- >> CC: George Dunlap <George.Dunlap@xxxxxxxxxxxxx> >> CC: Ian Jackson <ian.jackson@xxxxxxxxxx> >> CC: Jan Beulich <JBeulich@xxxxxxxx> >> CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> >> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> >> CC: Wei Liu <wl@xxxxxxx> >> CC: Julien Grall <julien@xxxxxxx> >> CC: Anthony PERARD <anthony.perard@xxxxxxxxxx> >> CC: Paul Durrant <paul@xxxxxxx> >> >> This is obviously not a proper fix. It will break in an unfixable way if we >> ever delete a file from the xen/ build system. >> >> I don't think pulling a makefile out of history and expecting it to work in >> the current working tree is a reasonable expectation. > > Actually - it occurs to me that we only want the major and minor number. > > I think it is reasonable to expect that those will always be plain > numbers, and we can grep them directly out of the file, rather than > feeding the thing to make. > > Thoughts? I was about to ask why we don't do that. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |