git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] abspath.h file is generated by makeheaders tool

From
SSSkrab Sah <skrab.sah@gmail.com>
Date
Oct 17, 2022, 07:55 UTC
Message-ID
<CA+J78MV1yYVA0ijRPMPVAbGWML5SaL70yKASmHY2HWnuk1jVkA@mail.gmail.com>
In-Reply-To
<Y0yiRUzHbBvpT2I1@danh.dev>
> I find it a bit irresponsible to leave the suggestion sounding as if
> this is a good idea as long as it does not break cross-compilation,
> which will (mis)lead the original poster to waste even more time on
> this topic (and waste others' time on responding to it).
No. no. it's not for the previous replay i am asking for.
Back in the days, I was asked by Ævar Arnfjörð Bjarmason.
" * It's unclear if you mean that we'd commit the generated files or
   not. If "not" then our Makefile will need to learn to do two-stage
   compilation. I.e. we'd ship a copy of the makeheader tool, build
   that, build the headers, and then do our "real" build."
My answer was.
"There are different ways we can install the makeheaders tool."

As the related question asked, I remembered it. so, I asked as this will solve the cross-compilation problem also, if it is good.

Show 8 quoted lines
> so let me repeat what I already said a few times.
>
> Whether the headers mechanically generated gets committed or not,
> this line of change is unwelcome.  Developers should be able to look
> at the header files (and interface document, if we ever generate one
> out of structured comments in the header files) when using common
> functions that they are not (yet) familiar with, and we want to see
> our header files manually curated.
You repeated the question for me so, really sorry.

I know you have already told me that, and it is important also as generally people try to find documentation for function in the header file. It is also not good when sharing libraries and its related header files without documentation.

I tried to find the solution. By reading the manual and By viewing the source code, I found it doesn't support it. So, I am going to either modify it or create a new one. And also I have remembered all your points, I will try to implement it.

Show 8 quoted lines
> I'm sorry.
>
> I thought my earlier voice to not support this proposal was't
> necessary to be re-iterated.  I only think that if this proposal
> somehow got accepted (despite I don't like this proposal), something
> needs to be fixed.
>
> I will be explicit next time.
No. no. you don't need to be sorry.
I know this proposal is not going to be accepted now.
Too many things have to be done here and I am working on it.
My question was.
1. Until now, are there any problems which need to be solved.
2. Why it gives errors in CI / win test (8) (pull_request) test. (Important)
Previous: Đoàn Trần Công DanhNext: Junio C Hamano
Message 9 of 11 in “abspath.h file is generated by makeheaders tool”
  1. abspath.h file is generated by makeheaders toolskrab-sah via GitGitGadget, Oct 12, 2022
  2. Ævar Arnfjörð BjarmasonOct 12, 2022
  3. abspath.h file is generated by makeheaders toolskrab-sah via GitGitGadget, Oct 13, 2022
  4. Skrab SahOct 16, 2022
  5. Đoàn Trần Công DanhOct 16, 2022
  6. Skrab SahOct 16, 2022
  7. Junio C HamanoOct 16, 2022
  8. Đoàn Trần Công DanhOct 17, 2022
  9. Skrab SahOct 17, 2022
  10. Junio C HamanoOct 17, 2022
  11. Skrab SahOct 18, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.