Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10136

Sling Repo Init: Add option to delete paths

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Repoinit Parser 1.6.4, Repoinit JCR 1.1.30
    • None
    • Repoinit
    • None

    Description

      Given that we are able to create paths, it would also be beneficial to be able to delete paths as well.

      In our case, we're migrating a legacy setup to Sling Repo Init, where there are some "leftover" nodes in the instances. Given that Sling Repo Init is an "admin" way to initialize a repo, it would be very nice if delete statements could be supported.

      In our case, we would want to delete /apps/foundation, for example, because historically there seem to have been modifications made there.
      This mandates for a simple syntax like "delete path /apps/foundation" being supported.

      Another case is that we would like to cleanup /apps/cq, however, there are some nodes that are maintained by the product (in our case AEM), such as /apps/cq/xssprotection and also /apps/cq/core/content/nav/tools.
      This mandates for a slightly more complicated syntax such as "delete path /apps/cq (Unable to render embedded object: File (/xssprotection,) not found./core/content/nav/tools,*)", however, I would be fine with multiple delete path statements as well, for that usecase.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Henry Kuijpers Henry Kuijpers
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h