Your SlideShare is downloading. ×
0
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Integrated version control with Fossil SCM
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Integrated version control with Fossil SCM

5,148

Published on

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
5,148
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Sqlite is hosted on fossil, actually Hipp works in his own Company hwaci, mostly in TCL/TK development motto: immutability
  • CGI = common gateway interface
  • Das erste nicht-ambige Prefix reicht zur Angabe von AIDs, min. ist hierbei 4 zeichen
  • Server doesn't start up the local browser
  • SQLite very mature (FF. TB) and relatively safe for single file-based DB
  • All hat bestimmte maintenance befehle
  • When using the web UI tickets: 1. because bugs can be attached to artifacts later (and they're immutable) 2. we don't want to clutter the source tree 3. are synced with others, since they exist in the global configuration state
  • Leaf = youngest check-in of a branch
  • Transcript

    • 1. Integrated version control with Fossil SCM Tech Talk 2009-12-01 Arne Bachmann
    • 2. Overview
      • Web address
        • www.fossil-scm.org
      • Author
        • Dr. D.R. Hipp - Author of
      • License
        • GPL v2
      • Motto
        • No information gets ever lost
    • 3. Fossil principles
      • In Fossil, a revision is called check-in
      • Every file, branch and check-in is an immutable artifact with an artifact identifier (AID), which is a SHA-1 hash
        • E.g. f3859e6842b68349fe52128767e64c4329e4a4
        • But it suffices to use prefixes (e.g. f385 , usually 8 letters)
        • Additionally you can tag (name) branches for easier access
    • 4. Fossil principles
      • Fossil is leightweight
        • Compilation is a matter of seconds, including SQLite code
        • One executable 787kB including self-tests & documentation
        • No dependency whatsoever on external libs or tools: gzip, diff, rsync, Python, Perl, Tcl, Java, Apache, Dbs, patch, …
      • Fossil is self-hosted
        • The website fossil-scm.org runs on fossil as CGI
    • 5. Usability: Command line interface
      • Comfortable command-line interface
        • Prefixes suffices for commands & AIDs
          • fossil commit -> fossil com
          • fossil rebuild -> fossil reb
          • Fossil reconstruct -> fossil rec
          • fossil co = checkout -> fossil che
        • Symbolic names for check-ins
          • Simple tags on a check-in, starting with sym-
        • No tab-completion integrated, since there's no fossil shell
    • 6. Usability: Web interface
      • Fossil runs as a web server, provides a comfortable interface
        • fossil ui or
        • fossil server
    • 7. Usability: Desktop interface
      • … not yet available
    • 8. Features
      • Distributed version control system
        • Similar to Mercurial & Bazaar (Python), Git (C), BitKeeper
      • Very fast (pure C code)
      • Data-efficient (stores and syncs (binary) deltas, zlib'ed)
      • Fossil is safe:
        • SQLite manages all data + BLOBs, transactional
        • Extensive self-testing upon each action (zlib-(de)compress), checksumming for every artifact and every action
    • 9. Features
      • Very simple and persistent data structures for deltas, tables and file formats
      • No need to dump data off a repository, because each repository is always exactly one file
        • Migration very easy: close , <move> , open
      • No need to import dumped data, because upgrading a repository to a younger fossil executable is that easy:
        • fossil all rebuild
    • 10. Fossil: Main building blocks (SCM)
      • Fossil is a VCS, but additionally each repository contains
        • A ticket system (bugtracker)
          • History independent of check-in history
        • A simple Wiki with edit-inside-the-browser
          • Each wiki page has its own history, independent of check-ins
          • Pages can theoretically be branched and merged
            • But currently no UI or API for that
        • Embedded documentation linked with check-ins
          • Reachable by <server>/ doc /<dir>/<page>.wiki
          • CSS can be changed via admin options from the UI
    • 11. Tags
      • … can be attached to any leaf
      • Can have a value (= property), but mostly need none
      • Can be symbolic (starting with sym- )
      • Are passed on to descendants
        • Unless cancelled ( fossil tag cancel <name> )
        • Unless merging with another branch
      • There are two default tags:
        • branch=trunk represents the current branch
        • sym-trunk (= NULL) symbolic name of branch
      • After branching
        • sym-trunk : cancelled
    • 12. Branching
      • Forking vs. Branching?
        • Fork defined as an &quot;accidental&quot; split of the check-in tree
        • Branch defined as deliberate
          • e.g. a test branch is often merged into the main development branch, point of branch = branch point
      • Merging
        • No integrated conflict editor (but the usual in-file notation)
    • 13. Configuration
      • Local configuration state
        • Not shared when pushing, pulling, (auto) syncing
        • Contains settings regarding
          • Used tools
            • commit message editor
            • Web browser
            • (Graphical) diff tool
            • Encryption
            • Proxy
            • Sync options
          • Behaviour (autosync …)
    • 14. Configuration
      • fossil help settings
      • Shows integrated help
    • 15. Server mode
      • Fossil allows to quickly sync with other developers' repositories
        • fossil server or fossil ui (opens local web browser)
        • fossil push offers changes to remote fossil instance
        • fossil pull loads changes from a remote fossil instance
          • But doesn't change current check-in state (use update)
        • fossil sync pulls and pushes
          • As above
      • Autosync mode offers operation similar to working with a central subversion repository -> fossil is very flexible
    • 16. Server mode
      • Comprehensive web interface allows easy administration
        • Of users and user rights (+ inherited group rights)
        • Settings
        • Appearance
        • Logs
        • Statistics
      • CGI integration
        • Serving multiple repositories
    • 17. Additional advantages of Fossil
      • User rights management
        • Uses current login name under Windows/Linux
        • Separate rights for check-ins and web interface users
      • Integrated check-in signing
        • Via PGP/GPG keys or similar
        • Or use --nosign upon commit and branch
      • Robust and reliable
        • Several years of experience in multi-project, multi-GB source trees with thousands of files and check-ins
    • 18. Drawbacks
      • Commercial support from a very small company (only 2 persons?)
      • No graphical Windows client available yet
        • Especially no conflict editor and explorer integration
    • 19. Questions? http://www.walle-derfilm.de/

    ×