Skip to content
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

Extend cmdlet Get-IshPublicationOutput to return PublicationOutputs that use/contain a specific content object #139

Open
2 tasks
ddemeyer opened this issue Oct 7, 2021 · 0 comments

Comments

@ddemeyer
Copy link
Contributor

ddemeyer commented Oct 7, 2021

Up to v0.14 Get-IshPublicationOutput returns you PublicationOutput information based on its metadata (identifiers). What if this cmdlet returns you PublicationOutuputs based on content objects that it is using.

Important to note is that given languages, resolutions and usage of ´ishconditions`, variables, and DITA constructs like conref/keyref/... it is impossible to give an accurate view. What can be done is give a best effort super-set filter on PublicationOutputs that are very likely to use the given content object. For example it can still be that the given image is only used in a different resolution, or is not part of the conref or was conditionally filtered out.

  • Parameter -IshObject currently only accepts IshPublicationOutputs; if it would accepts IshModule or IshImage then that could be the starting point for a PublicationOutput25.Containing
  • Extend Pester tests

PublicationOutput25.Containing will only use the LogicalId and exact version of the incoming IshObject (IshModule, etc) so language and resolution and conditions and more will be ignored.

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

No branches or pull requests

1 participant