Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-6295

Generate distributable Zip with only new/modified files

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.2.x
    • Component/s: Developer Network
    • Labels:
      None

      Description

      Create an Ant task for liferay-docs to generate a Zip containing only new/modified files and their appropriate parent intros, and structure to allow for successful publication. The process would follow something similar to this:

      1. First upload: grab the git log and store the latest commit # in some metadata file somewhere. Zip up the whole thing like usual.
      2. Subsequent uploads: grab the git log. Compare the latest commit with the last commit.
      3. Get a list of files changed between commits.
      4. Only zip those files.
      5. Store the new latest commit # in metadata file.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.2.x