Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2573

Modify Info.REVISION to adapt git repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.9, 3.5.2
    • 3.4.10, 3.5.3, 3.6.0
    • build, server
    • None
    • After the migration of ZooKeeper's version control system from 'svn repo' to 'apache git repo' the revision info becomes git's SHA-1 hash value.

    Description

      Modify org.apache.zookeeper.version.Info.REVISION to store git repo revision
      Currently org.apache.zookeeper.version.Info.REVISION stores the svn repo revision which is of type int
      But after migrating to git repo the git repo's revision(commit 63f5132716c08b3d8f18993bf98eb46eb42f80fb) can not be stored in this variable.
      So either we should modify this variable to string to introduce new variable to store the git revision and leave the svn revision variable unchanged.
      build.xml, and org.apache.zookeeper.version.util.VerGen also need to be modified.

      Attachments

        Activity

          People

            eribeiro Edward Ribeiro
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: