Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs
От
Peter Eisentraut
Тема
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs
Дата
Msg-id
ccf39484-54cc-5efc-3abb-337b0875372f@eisentraut.org
Ответ на
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs (Nazir Bilal Yavuz)
Список
Дерево обсуждения
Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Daniel Gustafsson <daniel@yesql.se>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Daniel Gustafsson <daniel@yesql.se>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Peter Eisentraut <peter@eisentraut.org>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Peter Eisentraut <peter@eisentraut.org>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Tom Lane <tgl@sss.pgh.pa.us>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Daniel Gustafsson <daniel@yesql.se>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Peter Eisentraut <peter@eisentraut.org>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Build the docs if there are changes in docs and don't run other tasks if the changes are only in docs Andrew Dunstan <andrew@dunslane.net>
On 25.09.23 12:56, Nazir Bilal Yavuz wrote:
> + # Only run if a specific OS is not requested and if there are changes in docs
> + # or in the CI files.
> + skip: >
> + $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:.*' ||
> + !changesInclude('doc/**',
> + '.cirrus.yml',
> + '.cirrus.tasks.yml',
> + 'src/backend/catalog/sql_feature_packages.txt',
> + 'src/backend/catalog/sql_features.txt',
> + 'src/backend/utils/errcodes.txt',
> + 'src/backend/utils/activity/wait_event_names.txt',
> + 'src/backend/utils/activity/generate-wait_event_types.pl',
> + 'src/include/parser/kwlist.h')
This is kind of annoying. Now we need to maintain yet another list of
these dependencies and keep it in sync with the build systems.
I think meson can produce a dependency tree from a build. Maybe we
could use that somehow and have Cirrus cache it between runs?
Also note that there are also dependencies in the other direction. For
example, the psql help is compiled from XML DocBook sources. So your
other patch would also need to include similar changesInclude() clauses.
В списке pgsql-hackers по дате отправления
От: Ashutosh Bapat
Дата:
От: Bharath Rupireddy
Дата: