-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add with_doc conditional over -doc subpackage #6
Comments
@yazug should man pages be included in %if with_doc or outside? |
man page generation and inclusion if it goes into main package and not just the -doc sub-package should be preserved. If it's going into -doc sub-package then it should be guarded with the %if with_doc |
python-osprofiler - https://review.rdoproject.org/r/7781 add with_doc guard for building docs |
openstack-sahara https://review.rdoproject.org/r/7786 Add with_doc guards for building -doc sub-package |
openstack-swift 😸 https://review.rdoproject.org/r/7789 |
Re-enabled cleanup for docs building Fixed for redhat-openstack/easyfix#6 Change-Id: Icaf8290e34732619eafdd2496bb4d3a4efc6c2ae
Allow for situation to rebuild package without the -docs rpm Also move BR: git out of -doc subpackage Resolves: redhat-openstack/easyfix#6 Change-Id: I9e02762509a318a9b2e79f0b2e2dbd76e77dcb22
python-oslo-concurrency - https://review.rdoproject.org/r/8087 |
Added conditionals over -doc subpackage to guard against package break if/when dependencies are added. Per RDO request redhat-openstack/easyfix#6 Change-Id: I1be54bc9e15272459f3d2007bcf99ca1d1f0af65
As part of the with_doc conditional enablement work, the doc build on this package had been disabled. This re-enables it along with a myriad of other fixes to bring it up to scratch. redhat-openstack/easyfix#6 Change-Id: I595a0e1d9ae7383d965c7d9aa3339a41843412a9
redhat-openstack/easyfix#6 Change-Id: Ibdbcf8d9029d7812cc777e885caf8bdf1f2819f0
redhat-openstack/easyfix#6 Change-Id: I61d6bee45e934415b314595d43d74330032b638f
redhat-openstack/easyfix#6 Also use 'html' doc builder explicitly for doc generation. Change-Id: Ia73dbbfe4d4cb5d18c898c94f4c2f837b8022b4a
redhat-openstack/easyfix#6 Change-Id: I40b6c3ae66952c3b5642158076d7a5ea4a5d4851
redhat-openstack/easyfix#6 Change-Id: I96b65da7a8616183f5988bdb268a7ba7f6c137f6
redhat-openstack/easyfix#6 Change-Id: I40b6c3ae66952c3b5642158076d7a5ea4a5d4851 (cherry picked from commit fa43065)
redhat-openstack/easyfix#6 Change-Id: I67c76284f2538c0e52f8650c28db8e1fbd9de5db
redhat-openstack/easyfix#6 Change-Id: I34d0cae4c7160ff7c78ff009a91b99a4463375ec
Found this PR while rebuilding openstack packages without documentation. Guys, what about possibility to disable doc generation by some global macro as it is already done in some other OpenStack packages? This can be easily implemented by replacing hardcoded "%global with_doc 1" with a definition that take into account value of other macro ("_without_doc" is usually used for this:
|
Patch-set: 1 Change-id: Ibdbcf8d9029d7812cc777e885caf8bdf1f2819f0 Subject: Added the doc_guard redhat-openstack/easyfix#6 Branch: refs/heads/rpm-master
Patch-set: 1 Subject: Added the doc_guard redhat-openstack/easyfix#6 Commit: c41db1b
All the RDO packages contains -doc subpackage which contains docs for the specific
projects. Sometime while building doc subpackage, we might need to add more dependencies
or remove some javascript/css files in order to avoid dependency and if any of the dependency
is not packaged, the rpm package building will break in order to avoid that it would be good
to introduce with_doc conditional for -doc subpackage. So that we can enable or disable doc
building step.
What to improve:
and end the doc_guard at rm -rf doc/build/html/.{doctrees,buildinfo} as stated in step 6.
For example: you can check the spec file of python-os-traits or python-osprofiler
Below is the list of packages which need same fixes:
Mentor: Jon Schlueter - IRC: jschlueter github: yazug
Note: Pick one of the package and comment in the comment box with review link.
The text was updated successfully, but these errors were encountered: