Results 1 to 3 of 3

Thread: Unnecessary data in the archives zcs-$(SOURCE_TAG)-src.tgz

  1. #1
    taf
    taf is offline Beginner Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    1

    Default Unnecessary data in the archives zcs-$(SOURCE_TAG)-src.tgz

    Hi all!

    When building software from source code in the archives zcs-$(SOURCE_TAG)-src.tgz and zcs-$(SOURCE_TAG)-sumitomo-src.tgz flagged content directory .git that wastage of disk space and increases the build time.

    This patch corrects this situation:

    Code:
    diff --git a/ZimbraBuild/defs/sourcetargets.def b/ZimbraBuild/defs/sourcetargets.def
    index 406b294..4081bdf 100644
    --- a/ZimbraBuild/defs/sourcetargets.def
    +++ b/ZimbraBuild/defs/sourcetargets.def
    @@ -11,6 +11,7 @@ AjaxTK-$(SOURCE_TAG)-src.tgz: $(PACKAGE_DIR)
     
     zcs-$(SOURCE_TAG)-src.tgz: $(PACKAGE_DIR)
            (cd $(BUILD_ROOT)/..; ln -s . zcs-$(SOURCE_TAG)-src; tar chzf $(PACKAGE_DIR)/$@ \
    +               --exclude .git \
                    --exclude logs \
                    --exclude ThirdParty \
                    --exclude ThirdPartyBuilds \
    @@ -48,6 +49,7 @@ zcs-$(SOURCE_TAG)-src.tgz: $(PACKAGE_DIR)
     
     zcs-$(SOURCE_TAG)-sumitomo-src.tgz: $(PACKAGE_DIR)
            (cd $(BUILD_ROOT)/..; ln -s . zcs-$(SOURCE_TAG)-sumitomo-src; tar chzf $(PACKAGE_DIR)/$@ \
    +               --exclude .git \
                    --exclude logs \
                    --exclude ThirdParty \
                    --exclude ThirdPartyBuilds \

  2. #2
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,279
    Rep Power
    10

    Default

    Thanks! In the future, please file a bugzilla bug on issues like this.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,279
    Rep Power
    10

    Default

    You can use install/upgrade as the category. This is now fixed in main & judaspriest branches.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Updating a shared task generates an (unnecessary) email notification
    By davidkillingsworth in forum Administrators
    Replies: 3
    Last Post: 08-08-2013, 05:25 AM
  2. Replies: 0
    Last Post: 08-06-2012, 04:36 PM
  3. creating archives
    By hulisani.t in forum Administrators
    Replies: 4
    Last Post: 06-09-2012, 08:40 AM
  4. archives
    By hulisani.t in forum General Questions
    Replies: 2
    Last Post: 05-17-2012, 12:50 AM
  5. DBX archives migration to Zimbra
    By DRVTiny in forum Migration
    Replies: 3
    Last Post: 03-02-2010, 06:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •