Skip to content

Conversation

@timsong-cpp
Copy link

@timsong-cpp timsong-cpp commented Nov 1, 2024

bin/lists takes an optional path argument and reads issues and meta-data/section.data relative to that path instead of the current path.

meta-data/dates and meta-data/paper_titles.txt, however, are always read relative to the current path. So when using a non-default path the generation still mostly works, but you get wrong dates and no paper titles :(

This PR consolidates all the metadata into one class that can be extended if needed, and ensures that they are all read relative to the provided path.

@Dani-Hub
Copy link
Member

Dani-Hub commented Nov 2, 2024

I guess this means we need to extend bin/build_pgms as well.

@jwakely
Copy link
Member

jwakely commented Nov 2, 2024

I guess this means we need to extend bin/build_pgms as well.

Do you use that? I would prefer if we only had to update the makefile.

@jwakely jwakely merged commit c30e0fc into cplusplus:master Nov 2, 2024
2 checks passed
@Dani-Hub
Copy link
Member

Dani-Hub commented Nov 2, 2024

I guess this means we need to extend bin/build_pgms as well.

Do you use that? I would prefer if we only had to update the makefile.

Yes. But I can add the additional file myself if I'm the only one.

@jwakely
Copy link
Member

jwakely commented Nov 2, 2024

Yes. But I can add the additional file myself if I'm the only one.

See #440

@Dani-Hub
Copy link
Member

Dani-Hub commented Nov 2, 2024

Yes. But I can add the additional file myself if I'm the only one.

See #440

Yeah, sorry, I missed that one.

@timsong-cpp timsong-cpp deleted the centralize-metadata branch February 5, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants