際際滷

際際滷Share a Scribd company logo
鴛稼岳姻看糸顎界岳庄看稼油岳看油京温噛温温姻




       adaptive油version油control



油                 油
安鞄看油温馨油鴛?

       Tim油Penhey
           http://how足bazaar.blogspot.com
           https://launchpad.net/~thumper
       Currently油employed油by油Canonical
           http://canonical.com
       Work油on油Launchpad油integrating油Bazaar
           https://launchpad.net/launchpad足bazaar


油                                  油
閣艶姻壊庄看稼油遺看稼岳姻看鉛油庄壊油赫看看糸




    Those油who油cannot油learn油from油history
          are油doomed油to油repeat油it
           足足油George油Santayana




油                    油
京艶界温顎壊艶油岳鞄庄壊油壊顎界一壊

    $油cp油myfile.txt油myfile.txt.20090120
    $油ls油myfile*
    myfile.txt.bak
    myfile.txt
    myfile.txt.20090120
    myfile.txt.20081218


油                            油
或鉛糸艶姻油閣艶姻壊庄看稼油遺看稼岳姻看鉛油皆霞壊岳艶馨壊

       SCCS
       RCS
       CVS
       Subversion
       SourceSafe油(the油less油said油about油this油the油better)
       Perforce


油                              油
禽庄壊岳姻庄恢顎岳艶糸油庄壊油京艶岳岳艶姻

       Sometimes油you油cannot油reach油the油central油server
           e.g.油A油laptop油on油the油move
       Should油still油be油able油to油record油changes油in油a油
        meaningful油manner
       A油local油history油is油available




油                                 油
安鞄庄界鞄油岳姻顎稼一油庄壊油岳姻顎艶?

       If油everyone油has油a油local油copy油of油the油project,油
        who's油copy油is油the油true油trunk?
       Projects油that油use油distributed油version油control油use油
        social油convention




油                              油
京温噛温温姻油遺看稼界艶沿岳壊

       Branches
       Revisions
       Repositories
       Working油Trees
       Formats




油                          油
安鞄温岳油庄壊油温油恢姻温稼界鞄?

       A油line油of油development
       Common油to油use油feature油branches
           this油is油where油each油feature油is油developed油in油its油own油
            branch
       Lives油in油a油directory油on油the油filesystem
           all油branches油are油addressable油with油a油URI
           web油or油filesystem油addressable


油                                  油
安鞄温岳油庄壊油温油姻艶厩庄壊庄看稼?

       A油revision油is油a油collection油of油modifications
           e.g.油an油applied油patch
           e.g.油updated油foo.c油and油foo.h
       Has油a油committer
           The油person油who油called油`bzr油commit`
       May油have油a油different油author
           Allows油work油to油be油attributed油to油someone油else
       Has油a油unique油identifier油(revision油id)
油                                   油
安鞄温岳油庄壊油温油恢姻温稼界鞄?

       A油pointer油to油a油tip油revision
           a油revision油has油one油parent油for油a油simple油commit
           a油revision油has油multiple油parents油for油merges
       A油directed油acyclic油graph油of油revisions
           and油you油though油graph油theory油had油no油practical油
            applications




油                                  油
安鞄温岳油庄壊油温油姻艶沿看壊庄岳看姻霞?

       a油set油of油revisions




油                            油
安鞄温岳油庄壊油温油敬看姻一庄稼乙油岳姻艶艶?

       The油actual油source油files油that油you油look油at油and油
        interact油with




油                              油
安鞄温岳油庄壊油温油韓看姻馨温岳?

       Each油'object'油in油Bazaar油has油a油disk油format
       Formats油allow油for油a油smooth油upgrade油path
       Developers油knew油that油they油weren't油perfect油and油
        planned油for油future油improvements
       `bzr油upgrade`油used油to油move油to油newer油shiney油
        formats



油                             油
皆庄馨沿鉛艶油掘恰温馨沿鉛艶

    $油cd油my足project
    $油bzr油init
    $油bzr油add
    added油hello.txt
    $油bzr油commit
    Committed油revision油1.


油                           油
皆鞄温姻庄稼乙油霞看顎姻油敬看姻一

       The油push油command油pushes油your油work油to油a油
        different油location
           bzr油push油~/public_html/my足project
       Bazaar油remembers油this油location油so油next油time油all油
        you油need油to油do油is:
           bzr油push




油                                 油
Collaborating

       Get油someone油else's油work
           bzr油branch油http://example.com/fooix/feature足x
       Merge油it油in油with油your油work
           bzr油merge油../feature足x
           (you油don't油actually油need油to油get油it油first,油you油can油just油
            merge油in油the油remote油branch)
       Commit油油bzr油doesn't油auto油commit
       Enjoy油distributed油goodness
油                                    油
Launchpad




油       油
Launchpad

       Bazaar油hosting
           Code油reviews
       Managing油projects油and油teams
       Bug油tracking
       Translations
       Personal油Package油Archives油(PPAs)


油                           油
Sharing油with油Launchpad

       Register
       Add油an油SSH油key
       Push油up油a油branch油related油to油a油project:
           bzr油push油lp:~user足name/project足name/branch足name
       Push油up油a油branch油of油unrelated油stuff:
           bzr油push油lp:~user足name/+junk/branch足name



油                                油
Projects油in油Launchpad

       Projects油can油specify油a油main油branch
           bzr油branch油lp:project足name
       Projects油can油have油multiple油series
           bzr油branch油lp:bzr/1.10
           bzr油branch油lp:bzr/1.11




油                                    油
Bazaar油Goodness




油          油
bzr油shelve

       Works油on油uncommitted油work油by油default
           Can油refer油to油historical油changes油
       Puts油changes油on油a油shelf
           (a油directory油out油of油the油way)
       Can油either油put油all油changes油'足a'油flag,油or油
        interactively油choose油changes
       unshelve油brings油the油changes油back

油                                   油
永鉛顎乙足庄稼壊

       Extensibility油through油plug足ins
       Can油add油new油commands油or油modify油existing油
        ones
           bzr足svn油油Interact油with油Subversion
           bzr足email油油Send油emails油of油changes
           bzrtools油油Extra油useful油commands
       Can油even油add油new油formats
           bzr足loom油油Work油with油a油stack油of油lightweight油
            branches
油                                  油
Loggerhead




油        油
Familiarity

       Commands油that油relate油clearly油to油other油VCSs
           blame油(annotate)
           commit
           log
           update
           status




油                              油
Sensible油ignored油files

       By油default油
           *.a,油*.o,油*.py[co],油*.so,油*.sw[nop],油*~,油.#*,油[#]*#
       More油can油be油added油easily
           bzr油ignore油*.dll
       Project油specific油ignores油are油stored油in油.bzrignore
       Just油because油something油is油ignored,油doesn't油
        mean油it油can't油be油added

油                                     油
Aliases

    $油bzr油alias
    bzr油alias油commit=commit油足足strict
    bzr油alias油ll=log油足足line油足r油足10..足1
    bzr油alias油unalias=alias油足足remove




油                               油
Well油tested

       Development油follows油test油driven油development油
        practices油油and油has油done油from油the油start
       All油new油code油needs油test油coverage
       Over油10,000油tests
       All油tests油are油run油on油every油attempted油merge油into油
        trunk



油                             油
Other油misc油bits

       Clear油API
           Useful油when油writing油plug足ins
       Tool油integration油through油XML油interface
       It油just油works
       Doesn't油get油in油the油way




油                                  油
Bazaar's油Curse

       Too油adaptive?
       Local油repository油or油remote油repository
       Bound油or油unbound油branches
       Lightweight油/油heavyweight油checkouts
       Repositories油with油or油without油working油trees




油                             油

More Related Content

Introduction to Bazaar

  • 2. 安鞄看油温馨油鴛? Tim油Penhey http://how足bazaar.blogspot.com https://launchpad.net/~thumper Currently油employed油by油Canonical http://canonical.com Work油on油Launchpad油integrating油Bazaar https://launchpad.net/launchpad足bazaar 油 油
  • 3. 閣艶姻壊庄看稼油遺看稼岳姻看鉛油庄壊油赫看看糸 Those油who油cannot油learn油from油history are油doomed油to油repeat油it 足足油George油Santayana 油 油
  • 4. 京艶界温顎壊艶油岳鞄庄壊油壊顎界一壊 $油cp油myfile.txt油myfile.txt.20090120 $油ls油myfile* myfile.txt.bak myfile.txt myfile.txt.20090120 myfile.txt.20081218 油 油
  • 5. 或鉛糸艶姻油閣艶姻壊庄看稼油遺看稼岳姻看鉛油皆霞壊岳艶馨壊 SCCS RCS CVS Subversion SourceSafe油(the油less油said油about油this油the油better) Perforce 油 油
  • 6. 禽庄壊岳姻庄恢顎岳艶糸油庄壊油京艶岳岳艶姻 Sometimes油you油cannot油reach油the油central油server e.g.油A油laptop油on油the油move Should油still油be油able油to油record油changes油in油a油 meaningful油manner A油local油history油is油available 油 油
  • 7. 安鞄庄界鞄油岳姻顎稼一油庄壊油岳姻顎艶? If油everyone油has油a油local油copy油of油the油project,油 who's油copy油is油the油true油trunk? Projects油that油use油distributed油version油control油use油 social油convention 油 油
  • 8. 京温噛温温姻油遺看稼界艶沿岳壊 Branches Revisions Repositories Working油Trees Formats 油 油
  • 9. 安鞄温岳油庄壊油温油恢姻温稼界鞄? A油line油of油development Common油to油use油feature油branches this油is油where油each油feature油is油developed油in油its油own油 branch Lives油in油a油directory油on油the油filesystem all油branches油are油addressable油with油a油URI web油or油filesystem油addressable 油 油
  • 10. 安鞄温岳油庄壊油温油姻艶厩庄壊庄看稼? A油revision油is油a油collection油of油modifications e.g.油an油applied油patch e.g.油updated油foo.c油and油foo.h Has油a油committer The油person油who油called油`bzr油commit` May油have油a油different油author Allows油work油to油be油attributed油to油someone油else Has油a油unique油identifier油(revision油id) 油 油
  • 11. 安鞄温岳油庄壊油温油恢姻温稼界鞄? A油pointer油to油a油tip油revision a油revision油has油one油parent油for油a油simple油commit a油revision油has油multiple油parents油for油merges A油directed油acyclic油graph油of油revisions and油you油though油graph油theory油had油no油practical油 applications 油 油
  • 13. 安鞄温岳油庄壊油温油敬看姻一庄稼乙油岳姻艶艶? The油actual油source油files油that油you油look油at油and油 interact油with 油 油
  • 14. 安鞄温岳油庄壊油温油韓看姻馨温岳? Each油'object'油in油Bazaar油has油a油disk油format Formats油allow油for油a油smooth油upgrade油path Developers油knew油that油they油weren't油perfect油and油 planned油for油future油improvements `bzr油upgrade`油used油to油move油to油newer油shiney油 formats 油 油
  • 15. 皆庄馨沿鉛艶油掘恰温馨沿鉛艶 $油cd油my足project $油bzr油init $油bzr油add added油hello.txt $油bzr油commit Committed油revision油1. 油 油
  • 16. 皆鞄温姻庄稼乙油霞看顎姻油敬看姻一 The油push油command油pushes油your油work油to油a油 different油location bzr油push油~/public_html/my足project Bazaar油remembers油this油location油so油next油time油all油 you油need油to油do油is: bzr油push 油 油
  • 17. Collaborating Get油someone油else's油work bzr油branch油http://example.com/fooix/feature足x Merge油it油in油with油your油work bzr油merge油../feature足x (you油don't油actually油need油to油get油it油first,油you油can油just油 merge油in油the油remote油branch) Commit油油bzr油doesn't油auto油commit Enjoy油distributed油goodness 油 油
  • 19. Launchpad Bazaar油hosting Code油reviews Managing油projects油and油teams Bug油tracking Translations Personal油Package油Archives油(PPAs) 油 油
  • 20. Sharing油with油Launchpad Register Add油an油SSH油key Push油up油a油branch油related油to油a油project: bzr油push油lp:~user足name/project足name/branch足name Push油up油a油branch油of油unrelated油stuff: bzr油push油lp:~user足name/+junk/branch足name 油 油
  • 21. Projects油in油Launchpad Projects油can油specify油a油main油branch bzr油branch油lp:project足name Projects油can油have油multiple油series bzr油branch油lp:bzr/1.10 bzr油branch油lp:bzr/1.11 油 油
  • 23. bzr油shelve Works油on油uncommitted油work油by油default Can油refer油to油historical油changes油 Puts油changes油on油a油shelf (a油directory油out油of油the油way) Can油either油put油all油changes油'足a'油flag,油or油 interactively油choose油changes unshelve油brings油the油changes油back 油 油
  • 24. 永鉛顎乙足庄稼壊 Extensibility油through油plug足ins Can油add油new油commands油or油modify油existing油 ones bzr足svn油油Interact油with油Subversion bzr足email油油Send油emails油of油changes bzrtools油油Extra油useful油commands Can油even油add油new油formats bzr足loom油油Work油with油a油stack油of油lightweight油 branches 油 油
  • 26. Familiarity Commands油that油relate油clearly油to油other油VCSs blame油(annotate) commit log update status 油 油
  • 27. Sensible油ignored油files By油default油 *.a,油*.o,油*.py[co],油*.so,油*.sw[nop],油*~,油.#*,油[#]*# More油can油be油added油easily bzr油ignore油*.dll Project油specific油ignores油are油stored油in油.bzrignore Just油because油something油is油ignored,油doesn't油 mean油it油can't油be油added 油 油
  • 28. Aliases $油bzr油alias bzr油alias油commit=commit油足足strict bzr油alias油ll=log油足足line油足r油足10..足1 bzr油alias油unalias=alias油足足remove 油 油
  • 29. Well油tested Development油follows油test油driven油development油 practices油油and油has油done油from油the油start All油new油code油needs油test油coverage Over油10,000油tests All油tests油are油run油on油every油attempted油merge油into油 trunk 油 油
  • 30. Other油misc油bits Clear油API Useful油when油writing油plug足ins Tool油integration油through油XML油interface It油just油works Doesn't油get油in油the油way 油 油
  • 31. Bazaar's油Curse Too油adaptive? Local油repository油or油remote油repository Bound油or油unbound油branches Lightweight油/油heavyweight油checkouts Repositories油with油or油without油working油trees 油 油