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

shell publication - remove publication, view info about publication data #1134

Closed
didoda opened this issue Mar 10, 2017 · 2 comments
Closed

Comments

@didoda
Copy link
Member

didoda commented Mar 10, 2017

Shell publication provides methods to create publication and contents:

  • create [-d <depth> [-ns <sublevel-number-of-sections>] [-nd <leafs-number-of-documents>]
  • createContents [-t <type>] [-n <number>] [-pid <parentId>] [-tpf <titlePostFix>] [-uri <uriInsideMediaFolder>]

Useful extra methods could be:

  • remove -ids <publicationIds> (comma separated id list string) // delete list of publications
  • stats [-id <publicationId>] // basic info on publication + summary of objects inside publication, count by type
@didoda didoda added this to the 3-updates milestone Mar 10, 2017
@didoda didoda self-assigned this Mar 10, 2017
batopa added a commit that referenced this issue Mar 23, 2017
…remove-and-view-info

#1134 feat: shell publication remove and stats
@batopa batopa reopened this Mar 24, 2017
@batopa
Copy link
Member

batopa commented Mar 24, 2017

We have a bug when removing publications. The script correctly cleans the tree but then remove just the publication leaving all the sections orphans.

@didoda
Copy link
Member Author

didoda commented Mar 24, 2017

publication remove should also remove contents that are not inside "other" sections/areas, in order to not leave orphans contents. I'd add an option to script to enable 'remove all contents that are not in other publications/sections'

stefanorosanelli added a commit that referenced this issue Aug 7, 2017
…remove-and-view-info

#1134 fix: remove subsections and provide -deleteContents param
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

3 participants