Skip to content

Conversation

@rgommers
Copy link
Contributor

Closes gh-12796

In addition, some minor maintenance on this page: clean up a duplicate sentence and an outdated ninja distmention (mentioningninja dist is unhelpful since it doesn't support all the options discussed on this page for meson dist).

0.52.0 is from 2019 and no longer relevant (even Debian stable is at
>1.0 by now), so no need to still document `ninja dist`. And it's
especially unhelpful since `ninja dist` doesn't support all the options
discussed on this page for `meson dist`.
meson.add_dist_script('gen_somefile.py')
```

Dist scripts work for any supported VCS. In addition, if Git is used as the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is not yet true (see #12829 (comment)). However, this should indeed be the case because the dist script mechanism is orthogonal to the specific VCS program.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be true when gh-12840 lands, right? I left the text unchanged, counting on that. If not, I'm not sure what to change it too - there's also some amount of Subversion and Bazaar support, and I'm not sure about the status there. I imagine at least simple dist scripts (like rm a-file) work?

@rgommers rgommers force-pushed the doc-release-distscript branch from 0b74bb4 to b1a5a9e Compare February 15, 2024 13:17
@rgommers
Copy link
Contributor Author

rgommers commented Mar 1, 2024

@eli-schwartz is this good to merge as is? I think we'd like to link to this doc page in mesonbuild/meson-python#587 or a follow-up docs PR, so it would be nice to get this in.

@tristan957
Copy link
Member

I've pinged Eli on Matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exclude files from ninja dist? Not in a git repo

5 participants