漫談 Source Control Management

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    漫談 Source Control Management - Presentation Transcript

    1. . . Source Control Management . .. . . yen3 . . . . . . yen3 ( ) Source Control Management 1 / 23
    2. About . About Slide Josh Ko . . . . . . yen3 ( ) Source Control Management 2 / 23
    3. About . About Author Computer Science Student Blog: No title, no thinking, no meaning E-mail: yen3rc gmail C, C++, Java, Haskell, LTEX A . . . . . . yen3 ( ) Source Control Management 3 / 23
    4. Outline . .. 1 About .. Introduction .2 What? Why? . .. 3 Source Control Management Environment Concept branch Software .. Software .4 git Google Code with svn Visual Studio.net With svn .. Conclusion .5 Conclusion Reference . . . . . . yen3 ( ) Source Control Management 4 / 23
    5. Introduction What? . What is Source Control Management? Source Control Management(SCM) Open Source . plain text Server svn, git, ... Software IDE(Eclipse, NetBeans, vim XD, VS.net) plug-in Visual Studio.net Team Suite . . . . . . yen3 ( ) Source Control Management 5 / 23
    6. Introduction Why? . Why do we need Source Control Management? ··· ··· ··· ··· . . . . . . yen3 ( ) Source Control Management 6 / 23
    7. Introduction Why? . How about Binary File? ··· Word(.doc) → binary file ( LTEX A XD?) → plain text (LTEX A plain text XD) → + XD . . . . . . yen3 ( ) Source Control Management 7 / 23
    8. Source Control Management Environment . Environment Client-Server Architecture(client and server can be in the same computer.) Main Concept: diff, line-by-line comparing It would add something file with SCM in your file of managing. For project development, you could need a server(with ip) to upload your file. For personal development, you could use only one computer to finish anything what you want. . . . . . . yen3 ( ) Source Control Management 8 / 23
    9. Source Control Management Environment . diff: comparing two files 01.cpp 02.cpp #include <iostream> #include <iostream> #include <algorithm> #include <algorithm> #include <vector> #include <vector> #include <cstdlib> #include <cstdlib> #include <iterator> #include <iterator> template<class RAI> int main(int argc, char** argv){ void bubble_sort(RAI begin, RAI end){ std::vector<int> u(10, 0); for(RAI i=begin; i!=end; ++i){ std::generate(u.begin(), for(RAI j=i+1; j!=end; ++j){ u.end(), rand); if(*i>*j) std::swap(*i, *j); std::sort(u.begin(), u.end()); } std::copy(u.begin(), u.end(), } std::ostream_iterator<int> } (std::cout, "n")); int main(int argc, char** argv){ } std::vector<int> u(10, 0); std::generate(u.begin(), u.end(), rand); bubble_sort(u.begin(), u.end()); std::copy(u.begin(), u.end(), std::ostream_iterator<int> (std::cout, "n")); } . . . . . . yen3 ( ) Source Control Management 9 / 23
    10. Source Control Management Environment . java.util.List<E> . For Example: java.util.list < E > . .. Macinotosh-3:bubble yen3$ diff 01.cpp 02.cpp 7,15d6 < template<class RAI> < void bubble_sort(RAI begin, RAI end){ < for(RAI i=begin; i!=end; ++i){ < for(RAI j=i+1; j!=end; ++j){ < if(*i>*j) std::swap(*i, *j); < } < } < } < 19c10 < bubble_sort(u.begin(), u.end()); --- > . std::sort(u.begin(), u.end()); .. . . . . . . . . yen3 ( ) Source Control Management 10 / 23
    11. Source Control Management Concept . Noun Explanation 1 Repository: project Pull/Push/Checkout: Branch: Merge: Master version Conflict: Commit: Revert: 1 git, jserv . . . . . . yen3 ( ) Source Control Management 11 / 23
    12. Source Control Management Concept . Requirement 2 email (commit) (update) 2 -SVN rules, Zeroplex . . . . . . yen3 ( ) Source Control Management 12 / 23
    13. Source Control Management branch . branch master branch . . . . . . yen3 ( ) Source Control Management 13 / 23
    14. Source Control Management Software . Which Software is Source Control Management? cvs: XD svn: SCM git: svn darcs: Haskell SCM( git ...Orz) by yourself: plug-in: svn Google XD . . . . . . yen3 ( ) Source Control Management 14 / 23
    15. Software git . git Linus Torvald 2005 IDE plug-in : Jserv’s Blog: git : blog: git Server : walkingice’s blog: [Geek] Git and Gitweb Eclipse with Git Plug-in: yen3’s blog: Intstall git plug-in in Eclipse . . . . . . yen3 ( ) Source Control Management 15 / 23
    16. Software git . Screenshot . . . . . . yen3 ( ) Source Control Management 16 / 23
    17. Software Google Code with svn . Google Code wtih svn svn server (GPL, BSD · · · ) Google Code Repository 100mb : ericsk’s blog : Subversion Google Code : ericsk’s blog : Subversion Google Code . . . . . . yen3 ( ) Source Control Management 17 / 23
    18. Software Google Code with svn . Screenshot . . . . . . yen3 ( ) Source Control Management 18 / 23
    19. Software Visual Studio.net With svn . Visual Studio.net With svn Client: Visual Studio.net with AnhkSVN(expression edition ) Server Google Code( svn server) Server: IIS + VisualSVN or Apache + VisualSVN (Windows Enviornment) : yen3’s blog: Visual Studio + svn Team Suite Solution( XD)￿ . . . . . . yen3 ( ) Source Control Management 19 / 23
    20. Software Visual Studio.net With svn . Screenshot . . . . . . yen3 ( ) Source Control Management 20 / 23
    21. Software Visual Studio.net With svn . Using Experience SCM ··· ··· Open Source SCM rules SCM . . . . . . yen3 ( ) Source Control Management 21 / 23
    22. Conclusion Conclusion . Conclusion Open Source . . . . . . yen3 ( ) Source Control Management 22 / 23
    23. Conclusion Reference . Reference svn: http://subversion.tigris.org/ git: http://git-scm.com/ darcs: http://darcs.net/ Google Code: http://code.google.com AnhkSVN: http://ankhsvn.open.collab.net/ . . . . . . yen3 ( ) Source Control Management 23 / 23

    + Yen3 ChaoYen3 Chao, 3 months ago

    custom

    190 views, 0 favs, 0 embeds more stats

    漫談 Source Control Management - 以 svn, git 為 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 190
      • 190 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags