Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.0.0
    • Component/s: build, documentation
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Docs version number is now automatically updated by reference to the build number.

      Description

      The docs version is hard coded. It should be updated automatically.

      1. c7923_20111213_branch-1.patch
        2 kB
        Tsz Wo Nicholas Sze
      2. c7923_20111215.patch
        0.6 kB
        Tsz Wo Nicholas Sze
      3. h2643_20111207_branch-1.patch
        1.0 kB
        Tsz Wo Nicholas Sze
      4. h2643_20111213_branch-1.patch
        2 kB
        Tsz Wo Nicholas Sze

        Activity

        Arun C Murthy made changes -
        Fix Version/s 0.24.0 [ 12317652 ]
        Fix Version/s 0.23.2 [ 12319855 ]
        Target Version/s 1.0.0, 0.23.1 [ 12318244, 12318884 ] 0.23.1, 1.0.0 [ 12318884, 12318244 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #985 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/985/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #985 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/985/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #187 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/187/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #187 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/187/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #165 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/165/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #165 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/165/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #952 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/952/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #952 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/952/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #534 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/534/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #534 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/534/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1714 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1714/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1714 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1714/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #530 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/530/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #530 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/530/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #519 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/519/)
        svn merge -c 1242485 from trunk for HADOOP-7923.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #519 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/519/ ) svn merge -c 1242485 from trunk for HADOOP-7923 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242490 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1703 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1703/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1703 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1703/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1778 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1778/)
        HADOOP-7923. Automate the updating of version numbers in the doc system.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1778 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1778/ ) HADOOP-7923 . Automate the updating of version numbers in the doc system. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242485 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/site.xml
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Fix Version/s 0.23.2 [ 12319855 ]
        Resolution Fixed [ 1 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        I have committed this to 0.23 and trunk.

        Show
        Tsz Wo Nicholas Sze added a comment - I have committed this to 0.23 and trunk.
        Hide
        Suresh Srinivas added a comment -

        +1 for the patch.

        Show
        Suresh Srinivas added a comment - +1 for the patch.
        Tsz Wo Nicholas Sze made changes -
        Summary Update doc versions from 0.20 to 1.0 Automatically update doc versions
        Description The docs version is still 0.20. The docs version is hard coded. It should be updated automatically.
        Tsz Wo Nicholas Sze made changes -
        Attachment c7923_20111215.patch [ 12507641 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Trunk and 0.23 are using maven site (not forrest). So the patch is completely different.

        c7923_20111215.patch: for trunk

        Show
        Tsz Wo Nicholas Sze added a comment - Trunk and 0.23 are using maven site (not forrest). So the patch is completely different. c7923_20111215.patch: for trunk
        Matt Foley made changes -
        Release Note Docs version number is now automatically updated by reference to the build number.
        Target Version/s 1.0.0, 0.23.1 [ 12318244, 12318884 ] 0.23.1, 1.0.0 [ 12318884, 12318244 ]
        Matt Foley made changes -
        Fix Version/s 1.0.0 [ 12318244 ]
        Target Version/s 1.0.0 [ 12318244 ] 0.23.1, 1.0.0 [ 12318884, 12318244 ]
        Hide
        Matt Foley added a comment -

        Nicholas, should this be ported to v0.23 too? Leaving open for now.

        Show
        Matt Foley added a comment - Nicholas, should this be ported to v0.23 too? Leaving open for now.
        Hide
        Matt Foley added a comment -

        +1. With this patch, manual updates will no longer be necessary, although manual refresh of the public-facing docs website is still needed. May as well apply it now. Committing to branch-1.0 and branch-1.

        Show
        Matt Foley added a comment - +1. With this patch, manual updates will no longer be necessary, although manual refresh of the public-facing docs website is still needed. May as well apply it now. Committing to branch-1.0 and branch-1.
        Tsz Wo Nicholas Sze made changes -
        Attachment c7923_20111213_branch-1.patch [ 12507300 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        c7923_20111213_branch-1.patch: use $

        {build.dir}

        instead of $

        {build.docs}

        for the entity file.

        Show
        Tsz Wo Nicholas Sze added a comment - c7923_20111213_branch-1.patch: use $ {build.dir} instead of $ {build.docs} for the entity file.
        Tsz Wo Nicholas Sze made changes -
        Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
        Key HDFS-2643 HADOOP-7923
        Affects Version/s 1.0.0 [ 12318244 ]
        Affects Version/s 1.1.0 [ 12316501 ]
        Affects Version/s 1.1.0 [ 12317959 ]
        Affects Version/s 1.0.0 [ 12318243 ]
        Target Version/s 1.0.0 [ 12318243 ] 1.0.0 [ 12318244 ]
        Component/s build [ 12311543 ]
        Component/s documentation [ 12311160 ]
        Component/s documentation [ 12312918 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment h2643_20111213_branch-1.patch [ 12507297 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Doug, thanks for the hint. It works well.

        h2643_20111213_branch-1.patch: define entities.

        The tab shows the corresponding $

        {version}

        defined in build.xml.

        branch-1: "Hadoop 1.1.0-SNAPSHOT Documentation"

        branch-1.0: "Hadoop 1.0.1-SNAPSHOT Documentation"

        Show
        Tsz Wo Nicholas Sze added a comment - Doug, thanks for the hint. It works well. h2643_20111213_branch-1.patch: define entities. The tab shows the corresponding $ {version} defined in build.xml. branch-1: "Hadoop 1.1.0-SNAPSHOT Documentation" branch-1.0: "Hadoop 1.0.1-SNAPSHOT Documentation"
        Hide
        Doug Cutting added a comment -

        FYI, it is possible to have Forrest insert a version specified elsewhere in the build by:

        • writing a file defining an entity;
        • including that entity definition in the DOCTYPE of the Forrest XML file
        • referring to the entity defined in the XML

        For example, see:

        http://svn.apache.org/viewvc/avro/trunk/doc/build.xml?view=markup
        http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/tabs.xml?view=markup

        Then the documentation version never gets out of date.

        Show
        Doug Cutting added a comment - FYI, it is possible to have Forrest insert a version specified elsewhere in the build by: writing a file defining an entity; including that entity definition in the DOCTYPE of the Forrest XML file referring to the entity defined in the XML For example, see: http://svn.apache.org/viewvc/avro/trunk/doc/build.xml?view=markup http://svn.apache.org/viewvc/avro/trunk/doc/src/content/xdocs/tabs.xml?view=markup Then the documentation version never gets out of date.
        Hide
        Matt Foley added a comment -

        Following the sequence specified in HowToRelease, this patch should be applied after the vote on 1.0.0 completes. Thanks.

        Show
        Matt Foley added a comment - Following the sequence specified in HowToRelease, this patch should be applied after the vote on 1.0.0 completes. Thanks.
        Tsz Wo Nicholas Sze made changes -
        Field Original Value New Value
        Attachment h2643_20111207_branch-1.patch [ 12506570 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        h2643_20111207_branch-1.patch

        • updated docs version
        • removed cn-docs antcall from build.xml.
        Show
        Tsz Wo Nicholas Sze added a comment - h2643_20111207_branch-1.patch updated docs version removed cn-docs antcall from build.xml.
        Tsz Wo Nicholas Sze created issue -

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development