NEWS #45

  • //
  • guest/
  • matt_mcclure/
  • bzrp4/
  • trunk/
  • NEWS
  • View
  • Commits
  • Open Download .zip Download (7 KB)
= Bazaar-Perforce NEWS =


== Introduction ==

The user stories listed below are complete.

See also the TODO file in the same directory as this file.

The estimated relative size of each story appears in square brackets ([])
following the story.  The actual effort to complete the story follows the
estimate.


== 2009/09/24 ==

    * As a user, I want to use bzr2p4 to migrate a given range of changes
      one-by-one from a Bazaar branch to a Perforce server. [3] [4 hours]


== 2009/09/20 ==

    * As a user, I want p4-fast-export to emit "from" fast-import commands
      so that `bzr fast-import` can use a marks file to perform robust
      incremental imports. [2] [3 hours]

    * As a user, I want to see no deprecation warnings when I run
      p4-fast-export.py. [3] [0.5 hours]


== 2009/08/23 ==

    * As a developer, I want the tests to use an "rsh" P4PORT instead of
      invoking p4d in the fixture, so that the remaining code is
      simpler. [1] [1 hour]

    * As a developer, I want to configure the port that p4d uses, so that I
      can run multiple instances of the test suite simultaneously on a
      single machine. [1] [0 hours]


== 2009/08/16 ==

    * As a developer, I want all tests to pass on Linux. [2] [2 hours]


== 2009/02/22 ==

    * As a user, I want p4-fast-export.py to handle a Perforce path with a
      large number of files at its head, without running out of memory. [5]
      [6 hours]


== 2009/02/14 ==

    * As a user, I want an automated tool to keep a Bazaar mirror in sync
      with a Perforce depot, without exporting all changes from Perforce on
      every sync. [1] [8 hours]
      

== 2009/02/07 ==

    * As a developer I want to automate mirroring the bzrp4 source in the
      Bazaar branch on Launchpad. [2] [2.5 hours]


== 2009/02/01 ==

    * As a developer, I want to improve the accuracy of test coverage
      information by importing Python modules rather than forking processes, so
      that I have more accurate information about what code is covered. [1]
      [14 hours]
      

== 2009/01/19 ==

    * As a developer, I want to fix a test regression that caused the test
      "test_git_p4__dogfood" to stop finding any Git revisions. [1] [2 hours]


== 2009/01/14 ==

    * As a developer, I want test coverage information, so that I know what
      legacy code most needs additional tests. [1] [7.5 hours]
      
        * Obtaining test coverage information for bzrp4 using BZR_PLUGIN_PATH
          requires a patch to Python's trace.py.  See
          http://bugs.python.org/issue4943


== 2009/01/02 ==

    * As a user, I want p4-fast-export to emit 'mark' commands, so that my
      Bazaar branch mirrors can remember Perforce changelist numbers in a 
      structured way. [1] [1 hour]

    * As a developer I want to create a new bzrp4 Bazaar branch on
      Launchpad to mirror the new Perforce-hosted source history. [0.5] [2
      hours]


== 2009/01/01 ==

    * As a developer, I want to identify a Perforce hosting service, if one
      exists, that I can use as the public, primary host for the bzrp4
      source. [0.5] [0.5 hours]

    * As a developer, I want to migrate the bzrp4 source to the Perforce
      hosting service. [0.5] [0.5 hours]

    * As a developer, I want to use the following process to create and
      commit changes to bzrp4's source:

        1. Mirror the bzrp4 source from a Perforce host to a Bazaar branch.

        2. Branch from the Bazaar mirror branch.

        3. Commit changes to the working branch.

        4. Rebase changes onto new changes in the upstream mirror branch.

        5. Repeat steps 3-4 as necessary.

        6. Create a patch.

        7. Apply the patch to a Perforce workspace.

        8. Submit the change to the Perforce host.

        Note: Steps 6-8 will later be changed to use bzr2p4 or a similar
        tool to replay the changes one-by-one onto the Perforce server. [2]
        [10 hours]


== 2008/12/29 ==

    * As a user, I want bzr2p4 to migrate revisions in the order displayed by
      'bzr log'. [1] [3.5 hours]


== 2008/12/27 ==

    * As a developer, I want to convert all bzrp4 source files to use UNIX
      line endings, so that there will be no migration ambiguity between
      Perforce and Bazaar. [0.5] [0.5 hours]


== 2008/12/21 ==

    * As a developer, I want to implement changes in bzr2p4 so that it can
      do a one-time migration of the bzrp4 source history from Bazaar to
      Perforce, where the migration preserves enough metadata to start
      using the Perforce server as the primary host for the bzrp4
      source. [2] [7.75 hours]


== 2008/12/10 ==

    * As a user, I want p4-fast-export to work with bzr.dev, including revno
      3841. [1] [1.5 hours]


== 2008/12/01 ==

    * As a user, I want p4-fast-export's output to use UNIX line endings. [1]
      [2 hours]

    * As a developer, I want bzr2p4 to be silent during tests that exercise
      it. [2] [1 hour]


== 2008/11/14 ==

    * As a user, I want a command-line program that produces a fast-export
      representation of a Perforce depot directory. [13] [12 hours]

    * As a user, I want p4-fast-export to export a content length prefix,
      instead of delimiters, to identify a content section, so that I can
      use it with importers that only support content length prefixes. [3]
      [0.5 hours]


== 2008/10/30 ==

    * As a developer, I want continuous integration, automatically
      triggered, for Windows test execution. [3] [11 hours]


== 2008/08/16 ==

    * As a user, I want bzr2p4 to migrate Bazaar revisions containing both
      a delete "file_a" and a rename from "file_b" to "file_a". [1] [6
      hours]

    * As a user, I want bzr2p4 to migrate correctly Bazaar merge revisions
      that require undoing and redoing a rename. [3] [2 hours]


== 2008/08/10 ==

    * As a user, I want bzr2p4 to migrate Bazaar revisions containing both
      a rename and an add of the renamed file. [1] [2.5 hours]


== 2008/08/09 ==

    * As a developer, I want the tests to pass when run from the root of
      the branch, instead of assuming the current working directory is the
      tests subdirectory. [1] [1 hour]

    * As a developer, I want a test suite covering git-p4 sufficient to
      provide a safety net for refactoring. [8] [5 hours]


== 2008/08/03 ==

    * As a developer, I want bzr2p4 to migrate branches with merge
      revisions, so that test_dogfood passes.

        Previously, bzr2p4 failed on Bazaar revisions that had no changes.

    * As a developer, I want a way to easily run all tests.

        Now, `bzr selftest bzrp4` does the trick, assuming Bazaar can find
        bzr-p4 as a plugin named bzrp4.


== 2008/08/02 ==

    * As a developer, I want all tests to pass from a Windows DOS shell.

    * As a developer, I want all tests to pass from a Cygwin Bash shell.
# Change User Description Committed
#45 7413 Matt McClure Updates NEWS and TODO.

bzr: revno 234, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Thu 2009-09-24 18:25:38 -0400
#44 7401 Matt McClure Removes imports of unused, deprecated modules.
#43 7400 Matt McClure p4-fast-export emits `from` fast-import commands.

Flush the output stream before exiting.  Fixes a bug I observed
where the output stream ended prematurely when called from `bzr
fast-export-from-p4`.
#42 7356 Matt McClure Uses rsh P4PORT so that there's no need to explicitly start and stop a p4d server for the tests.
#41 7149 Matt McClure Reduces memory usage so that p4-fast-export can handle a large number of files at a single changelist, and very large individual files.
#40 7136 Matt McClure Pull doesn't create extra Bazaar revisions on incremental imports from Perforce.
#39 7127 Matt McClure Implements a pull program sufficient for mirroring bzrp4 from Perforce on the public depot to Bazaar on Launchpad.
#38 7123 Matt McClure Adds a mirror batch file, and updates NEWS and TODO.
#37 7119 Matt McClure Improves the test coverage reporting by importing python modules rather than forking processes.
#36 7112 Matt McClure Reports test coverage information during CI.
#35 7103 Matt McClure Updates NEWS and TODO for the new Launchpad mirror branch of the Perforce depot trunk.
#34 7101 Matt McClure Emits mark commands in the fast export stream.
#33 7100 Matt McClure Fixes a bug.
 The recognition of partial Bazaar revisions in Perforce
relied on the false assumption that there would be only one comment line
that matched the partial revision pattern.  The new code looks for the
last match.
#32 7099 Matt McClure Moves several stories to NEWS.
 Updates date on README.
#31 7097 Matt McClure Merges fix for the order revisions are migrated from Bazaar to Perforce.

bzr: revno 95, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-29 20:59:49 -0500
#30 7096 Matt McClure Updates NEWS and TODO.

bzr: revno 94.1.3, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-29 20:57:51 -0500
#29 7092 Matt McClure Converts all source files to UNIX line endings.

bzr: revno 88.2.25, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-12-27 14:36:39 -0500
#28 7089 Matt McClure Updates NEWS and TODO.

bzr: revno 88.2.22, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-12-21 16:28:42 -0500
#27 7076 Matt McClure Merges upstream changes.

bzr: revno 88.2.9, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Wed 2008-12-10 23:18:43 -0500
#26 7074 Matt McClure Eliminates deprecated use of None where intent is NULL_REVISION.
 Updates
NEWS and TODO.

bzr: revno 88.2.7, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-01 21:44:51 -0500
#25 7068 Matt McClure Removes Bazaar metadata from Perforce commit descriptions.

bzr: revno 88.2.1, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-01 18:26:45 -0500
#24 7063 Matt McClure Updates NEWS.

bzr: revno 88.1.3, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Wed 2008-12-10 23:02:06 -0500
#23 7059 Matt McClure P4-fast-export's output uses UNIX line endings.

bzr: revno 88, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-01 17:17:15 -0500
#22 7058 Matt McClure Updates NEWS and TODO.

bzr: revno 86.1.4, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Mon 2008-12-01 17:15:09 -0500
#21 7053 Matt McClure Merges comment about a failure I see when I upgrade Bazaar to >= revno
3841.

bzr: revno 86, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Fri 2008-11-28 21:56:02 -0500
#20 7051 Matt McClure Merges fix for mismatched versions of Bazaar.

bzr: revno 85, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Fri 2008-11-28 21:04:15 -0500
#19 7048 Matt McClure Merges p4.fast.export.comment.

bzr: revno 83, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-11-16 08:59:02 -0500
#18 7043 Matt McClure Merges changes from doc branch.

bzr: revno 79, part 2 of 2
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-11-15 12:35:42 -0500
#17 7038 Matt McClure Adds a brief user guide.

bzr: revno 77.1.1, part 3 of 3
bzr: author Matt McClure <[email protected]>
bzr: committed Fri 2008-11-14 09:58:48 -0500
#16 7033 Matt McClure Merges changes from p4.fast.export branch.

bzr: revno 78, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-11-15 12:28:06 -0500
#15 7030 Matt McClure Updates NEWS and TODO.

bzr: revno 69.2.25, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Fri 2008-11-14 10:36:13 -0500
#14 7007 Matt McClure Merges from upstream branch.

bzr: revno 69.2.4, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-11-01 23:31:43 -0400
#13 7006 Matt McClure Merges mainline changes into feature branch.

bzr: revno 69.2.3, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-23 13:40:15 -0400
#12 7003 Matt McClure Snapshot.

bzr: revno 69.2.1, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-08-10 10:47:26 -0400
#11 6998 Matt McClure Merges Windows continuous integration branch.

bzr: revno 73, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Thu 2008-10-30 21:54:05 -0400
#10 6997 Matt McClure Updated NEWS and TODO.  Cleaed up ci.selftest.bat.

bzr: revno 72.1.17, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Thu 2008-10-30 21:44:34 -0400
#9 6980 Matt McClure Merges staged delete.

bzr: revno 72, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-23 12:54:08 -0400
#8 6979 Matt McClure Cleans up and refactors a bit.

bzr: revno 71.1.6, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-08-17 00:28:26 -0400
#7 6972 Matt McClure Uses two-phase migration from Bazaar to Perforce when a Bazaar revision
contains a rename and an add of the renamed file.

bzr: revno 69.1.2, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-08-10 21:51:14 -0400
#6 6969 Matt McClure Verifies that all revisions have the same data in the dogfood test that
exercises git-p4.

bzr: revno 69, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-09 18:39:16 -0400
#5 6965 Matt McClure Adds actual effort.

bzr: revno 65, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-09 10:30:16 -0400
#4 6964 Matt McClure I can run the tests from any working directory now.

bzr: revno 64, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-09 08:59:35 -0400
#3 6960 Matt McClure Migrates branches with merge revisions, so that test_dogfood passes.

bzr: revno 60, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-08-03 14:46:27 -0400
#2 6958 Matt McClure Merges change to run tests via bzr selftest.

bzr: revno 58, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sun 2008-08-03 08:53:03 -0400
#1 6956 Matt McClure Adds NEWS and TODO files.

bzr: revno 57, part 1 of 1
bzr: author Matt McClure <[email protected]>
bzr: committed Sat 2008-08-02 12:31:06 -0400