Source Code Control System from Wikipedia, the Free Encyclopedia

Total Page:16

File Type:pdf, Size:1020Kb

Source Code Control System from Wikipedia, the Free Encyclopedia Source Code Control System From Wikipedia, the free encyclopedia Source Code Control System (SCCS) is an early version control system, geared toward program source code and other text files. It was originally developed in SNOBOL at Bell Labs in 1972 by Marc Rochkind for an IBM System/370 computer running Source Code Control System OS/360 MVT.[1] It was later rewritten by him in C for UNIX, then running on a PDP-11, and released with the Programmer's Original author(s) Marc J. Rochkind Workbench (PWB) edition of that operating system. Initial release 1972 Subsequently, SCCS was included in AT&T's commercial System III and System V distributions. It was not licensed with 32V, Written in C the ancestor to Berkeley Unix.[2] The SCCS command set is now part of the Single UNIX Specification. Operating system Unix-like Type Version control SCCS was the dominant version control system for Unix until later version control systems, notably the Revision Control System (RCS) and later CVS, gained more widespread adoption. Today, these early version control systems are generally License proprietary considered obsolete, particularly in the open source community, which has largely embraced distributed version control licenses, Common systems. However, the SCCS file format is still used internally by a few newer version control programs, including BitKeeper Development and and TeamWare. The latter is a frontend to SCCS. Sablime[3] has been developed from a modified version of SCCS[4] but uses a Distribution License history file format that is incompatible with SCCS. The SCCS file format uses a storage technique called interleaved deltas (or the weave[5]). This storage technique is now considered by many version control system developers as foundational to advanced merging and versioning techniques,[6] such as the "Precise Codeville" ("pcdv") merge. Apart from fixing some Year 2000 problems in 1999, there is no active development on the various UNIX vendor specific SCCS versions. In 2006, Sun Microsystems (today part of Oracle Corporation) released their Solaris version of SCCS as open source under the Common Development and Distribution License as part of their efforts to open-source Solaris.[7] SCCS is also known for the sccsid string, for example: static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/11/93"; This string contains the file name, date, and can also contain a comment. After compilation, this string can be found in binary and object files by looking for the pattern "@(#)" and can be used determine which source code files were used during compilation. The "what" command [1] (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/what.html) is available to automate this search for version strings. Contents 1 Alternatives 1.1 UNIX SCCS versions 1.2 Jörg Schilling's fork 1.3 Heirloom project 1.4 GNU conversion utility 1.5 Other version control systems 2 References Alternatives UNIX SCCS versions Most UNIX versions include a version of SCCS, which, however, is often no longer actively developed. Jörg Schilling's fork Jörg Schilling (who requested the release of SCCS in the early days of the OpenSolaris project) maintains a fork of SCCS[8] that is based on the OpenSolaris source code. It has received major feature enhancements but remains compatible with the original SCCS versions unless using the "new project" mode.[9] Heirloom project The Heirloom Project includes a version of SCCS derived from the OpenSolaris source code[10] and maintained between December 2006 and April 2007.[11] GNU conversion utility GNU offers the SCCS compatible program GNU CSSC (http://www.gnu.org/software/cssc/) ("Compatibly Stupid Source Control"), which is occasionally used to convert SCCS archives to newer systems like CVS or Subversion;[12] it is not a complete[13] SCCS implementation and not recommended for use in new projects, but mostly meant for converting to a modern version control system. Other version control systems Since the 1990s, many new version control systems have been developed and become popular that are designed for managing projects with a large number of files and that offer advanced functionality such as multi-user operation, access control, automatic building, network support, release management and distributed version control. Bitkeeper and TeamWare use the SCCS file format internally and can be considered successors to SCCS. References 1. Rochkind, Marc J. (December 1975), "The Source Code Control System" (PDF), IEEE Transactions on Software Engineering SE–1 (4), pp. 364–370 2. SCCS what(1) (http://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/man/cat1/what.1) manpage from 4BSD, 1980, on the website of The Unix Heritage Society. 3. Sablime Homepage (http://www.bell-labs.com/project/sablime/) 4. Estublier, Jacky, David Leblang, André van der Hoek, Reidar Conradi, Geoffrey Clemm, Walter Tichy, and Darcy Wiborg-Weber. “Impact of software engineering research on the practice of software configuration management.” ACM Transactions on Software Engineering and Methodology (TOSEM) 14 (October 2005): 383–430. 5. Hudson, Greg (2002-10-03), Notes on keeping version histories of files, Unpublished personal notes 6. Estublier, Jacky, David Leblang, André van der Hoek, Reidar Conradi, Geoffrey Clemm, Walter Tichy, and Darcy Wiborg-Weber. “Impact of software engineering research on the practice of software configuration management.” ACM Transactions on Software Engineering and Methodology (TOSEM) 14 (October 2005): p.398. 7. Stephen Lau, Sun Microsystems (2006-12-19). "SCCS/make source available". Archived from the original on April 25, 2012. Retrieved 2011-11-14. 8. Jörg Schilling's SCCS development website (http://sccs.sourceforge.net/) 9. Schily SCCS web site (http://sccs.sourceforge.net/#compatibility): "Will the upcoming SCCSv6 stay compatible with POSIX and with historic SCCS implementations?" 10. Gunnar Ritter (20 June 2010). "The Heirloom Development Tools". Retrieved 4 November 2011. 11. http://heirloom.cvs.sourceforge.net/viewvc/heirloom/heirloom-devtools/sccs/ see CVS history 12. SCCS2SVN conversion utility (http://sccs2svn.berlios.de/), which works with both SCCS and CSSC 13. GNU CSSC list of limitations in its documentation (http://www.gnu.org/s/cssc/manual/Incomplete.html#Incomplete) Retrieved from "https://en.wikipedia.org/w/index.php?title=Source_Code_Control_System&oldid=707449526" Categories: 1972 software Version control systems Free version control software Unix archivers and compression-related utilities Unix SUS2008 utilities Self-hosting software Software using the CDDL license This page was last modified on 28 February 2016, at 23:16. Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization..
Recommended publications
  • Introduction to Version Control with Git
    Warwick Research Software Engineering Introduction to Version Control with Git H. Ratcliffe and C.S. Brady Senior Research Software Engineers \The Angry Penguin", used under creative commons licence from Swantje Hess and Jannis Pohlmann. March 12, 2018 Contents 1 About these Notes1 2 Introduction to Version Control2 3 Basic Version Control with Git4 4 Releases and Versioning 11 Glossary 14 1 About these Notes These notes were written by H Ratcliffe and C S Brady, both Senior Research Software Engineers in the Scientific Computing Research Technology Platform at the University of Warwick for a series of Workshops first run in December 2017 at the University of Warwick. This document contains notes for a half-day session on version control, an essential part of the life of a software developer. This work, except where otherwise noted, is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Li- cense. To view a copy of this license, visit http://creativecommons.org/ licenses/by-nc-nd/4.0/. The notes may redistributed freely with attribution, but may not be used for commercial purposes nor altered or modified. The Angry Penguin and other reproduced material, is clearly marked in the text and is not included in this declaration. The notes were typeset in LATEXby H Ratcliffe. Errors can be reported to [email protected] 1.1 Other Useful Information Throughout these notes, we present snippets of code and pseudocode, in particular snippets of commands for shell, make, or git. These often contain parts which you should substitute with the relevant text you want to use.
    [Show full text]
  • Version Control – Agile Workflow with Git/Github
    Version Control – Agile Workflow with Git/GitHub 19/20 November 2019 | Guido Trensch (JSC, SimLab Neuroscience) Content Motivation Version Control Systems (VCS) Understanding Git GitHub (Agile Workflow) References Forschungszentrum Jülich, JSC:SimLab Neuroscience 2 Content Motivation Version Control Systems (VCS) Understanding Git GitHub (Agile Workflow) References Forschungszentrum Jülich, JSC:SimLab Neuroscience 3 Motivation • Version control is one aspect of configuration management (CM). The main CM processes are concerned with: • System building • Preparing software for releases and keeping track of system versions. • Change management • Keeping track of requests for changes, working out the costs and impact. • Release management • Preparing software for releases and keeping track of system versions. • Version control • Keep track of different versions of software components and allow independent development. [Ian Sommerville,“Software Engineering”] Forschungszentrum Jülich, JSC:SimLab Neuroscience 4 Motivation • Keep track of different versions of software components • Identify, store, organize and control revisions and access to it • Essential for the organization of multi-developer projects is independent development • Ensure that changes made by different developers do not interfere with each other • Provide strategies to solve conflicts CONFLICT Alice Bob Forschungszentrum Jülich, JSC:SimLab Neuroscience 5 Content Motivation Version Control Systems (VCS) Understanding Git GitHub (Agile Workflow) References Forschungszentrum Jülich,
    [Show full text]
  • Create a Pull Request in Bitbucket
    Create A Pull Request In Bitbucket Waverley is unprofitably bombastic after longsome Joshuah swings his bentwood bounteously. Despiteous Hartwell fathomsbroaches forcibly. his advancements institutionalized growlingly. Barmiest Heywood scandalize some dulocracy after tacit Peyter From an effect is your own pull remote repo bitbucket create the event handler, the bitbucket opens the destination branch for a request, if i am facing is Let your pet see their branches, commit messages, and pull requests in context with their Jira issues. You listen also should the Commits tab at the top gave a skill request please see which commits are included, which provide helpful for reviewing big pull requests. Keep every team account to scramble with things, like tablet that pull then got approved, when the build finished, and negotiate more. Learn the basics of submitting a on request, merging, and more. Now we made ready just send me pull time from our seven branch. Awesome bitbucket cloud servers are some nifty solutions when pull request a pull. However, that story ids will show in the grasp on all specified stories. Workzone can move the trust request automatically when appropriate or a percentage of reviewers have approved andor on successful build results. To cost up the webhook and other integration parameters, you need two set although some options in Collaborator and in Bitbucket. Go ahead but add a quote into your choosing. If you delete your fork do you make a saw, the receiver can still decline your request ask the repository to pull back is gone. Many teams use Jira as the final source to truth of project management.
    [Show full text]
  • DVCS Or a New Way to Use Version Control Systems for Freebsd
    Brief history of VCS FreeBSD context & gures Is Arch/baz suited for FreeBSD? Mercurial to the rescue New processes & policies needed Conclusions DVCS or a new way to use Version Control Systems for FreeBSD Ollivier ROBERT <[email protected]> BSDCan 2006 Ottawa, Canada May, 12-13th, 2006 Ollivier ROBERT <[email protected]> DVCS or a new way to use Version Control Systems for FreeBSD Brief history of VCS FreeBSD context & gures Is Arch/baz suited for FreeBSD? Mercurial to the rescue New processes & policies needed Conclusions Agenda 1 Brief history of VCS 2 FreeBSD context & gures 3 Is Arch/baz suited for FreeBSD? 4 Mercurial to the rescue 5 New processes & policies needed 6 Conclusions Ollivier ROBERT <[email protected]> DVCS or a new way to use Version Control Systems for FreeBSD Brief history of VCS FreeBSD context & gures Is Arch/baz suited for FreeBSD? Mercurial to the rescue New processes & policies needed Conclusions The ancestors: SCCS, RCS File-oriented Use a subdirectory to store deltas and metadata Use lock-based architecture Support shared developments through NFS (fragile) SCCS is proprietary (System V), RCS is Open Source a SCCS clone exists: CSSC You can have a central repository with symlinks (RCS) Ollivier ROBERT <[email protected]> DVCS or a new way to use Version Control Systems for FreeBSD Brief history of VCS FreeBSD context & gures Is Arch/baz suited for FreeBSD? Mercurial to the rescue New processes & policies needed Conclusions CVS, the de facto VCS for the free world Initially written as shell wrappers over RCS then rewritten in C Centralised server Easy UI Use sandboxes to avoid locking Simple 3-way merges Can be replicated through CVSup or even rsync Extensive documentation (papers, websites, books) Free software and used everywhere (SourceForge for example) Ollivier ROBERT <[email protected]> DVCS or a new way to use Version Control Systems for FreeBSD Brief history of VCS FreeBSD context & gures Is Arch/baz suited for FreeBSD? Mercurial to the rescue New processes & policies needed Conclusions CVS annoyances and aws BUT..
    [Show full text]
  • Confidentiality and Authenticity for Distributed Version Control
    | Author's copy | Confidentiality and Authenticity for Distributed Version Control Systems — A Mercurial Extension Michael Lass Dominik Leibenger Christoph Sorge Paderborn University CISPA, Saarland University CISPA, Saarland University 33098 Paderborn, Germany 66123 Saarbrucken,¨ Germany 66123 Saarbrucken,¨ Germany [email protected] [email protected] [email protected] Abstract—Version Control Systems (VCS) are a valuable tool is a cryptography-based access control solution for SVN that for software development and document management. Both enforces access rights using end-to-end encryption. [13] client/server and distributed (Peer-to-Peer) models exist, with the Since Git [7] was released in 2005, distributed VCS have latter (e.g., Git and Mercurial) becoming increasingly popular. gained more and more popularity. Mercurial [16] and Git are Their distributed nature introduces complications, especially concerning security: it is hard to control the dissemination of the most-popular such systems today. In contrast to modern contents stored in distributed VCS as they rely on replication of centralized VCS, repositories are stored on users’ local work- complete repositories to any involved user. stations again. Collaboration among users is supported by We overcome this issue by designing and implementing a allowing users to synchronize their repositories with others. concept for cryptography-enforced access control which is trans- Revisions can be pulled from / pushed to remote repositories. parent to the user. Use of field-tested schemes (end-to-end encryp- tion, digital signatures) allows for strong security, while adoption There are no limitations concerning the resulting communica- of convergent encryption and content-defined chunking retains tion paths: Distributed VCS support centralized setups, fully storage efficiency.
    [Show full text]
  • Git and Github
    Git and GitHub Working Dir/Staging, Local/Remote, Clone, Push, Pull, Branch/Merge, Monorepo, GitHub Desktop Source code is by far the most important asset any Even if not using GitHub for their own source, app software company owns. It is more valuable than developers still need to get familiar with it as most of buildings, brand names, computer hardware, furniture today’s popular open source projects are using it and or anything else a software company has. Source code app developers will invariably need to use these. needs to be valued and treated like the very important company asset that it is. Hence the need for a robust This course covers both and helps developers gain source code management system. hands-on experience in how to incorporate both into their development workflow. Many Git-related terms Git is the most popular source code management have entered the developer lexicon – push, pull request, system; GitHub.com is the most popular Git cloud cloning, forking, promoting, repo – and this course hosting solution. Either Git alone or Git and GitHub can helps attendees understand each concept and mentally be used to comprehensively manage and protect source. tie everything together to see how they work in unison. Contents of One-Day Training Course Distributed Version Control Command Line Tooling Using what you might already know Porcelain vs. plumbing Adding distributed influence Beyond the basics - more complete look at Organizing teams via Git advanced command line tools for Git Strategies for managing source trees Managing
    [Show full text]
  • An Introduction to Mercurial Version Control Software
    An Introduction to Mercurial Version Control Software CS595, IIT [Doc Updated by H. Zhang] Oct, 2010 Satish Balay [email protected] Outline ● Why use version control? ● Simple example of revisioning ● Mercurial introduction - Local usage - Remote usage - Normal user workflow - Organizing repositories [clones] ● Further Information ● [Demo] What do we use Version Control for? ● Keep track of changes to files ● Enable multiple users editing files simultaneously ● Go back and check old changes: * what was the change * when was the change made * who made the change * why was the change made ● Manage branches [release versions vs development] Simple Example of Revisioning main.c File Changes File Version 0 1 2 3 Delta Simple Example Cont. main.c 0 1 2 3 makefilemain.c 0 1 Repository -1 0 1 2 3 Version Changeset Concurrent Changes to a File by Multiple Users & Subsequent Merge of Changes Line1 Line1 Line1 Line1 Line2 UserA Line2 UserA Line3 Line2 Line3 Line2 Line4 Line3 UserB Line3 Line4 Line4 UserB Line4 Initial file UserA edit UserB edit Merge edits by both users Merge tools: r-2 ● kdiff3 Branch Merge ● meld r-4 Merge types: ● 2-way r-1 ● 3-way Revision Graph r-3 Some Definitions ● Delta: a single change [to a file] ● Changeset: a collection of deltas [perhaps to multiple files] that are collectively tracked. This captures a snapshot of the current state of the files [as a revision] ● Branch: Concurrent development paths for the same sources ● Merge: Joining changes done in multiple branches into a single path. ● Repository: collection of files we intend to keep track of.
    [Show full text]
  • Git and Gerrit in Action and Lessons Learned Along the Path to Distributed Version Control
    Git and Gerrit in Action And lessons learned along the path to distributed version control Chris Aniszczyk (Red Hat) Principal Software Engineer [email protected] http://aniszczyk.org About Me I've been using and hacking open source for ~12 years - contribute{d} to Gentoo Linux, Fedora Linux, Eclipse Hack on Eclipse, Git and other things at Red Hat Member of the Eclipse Board of Directors Member in the Eclipse Architecture Council I like to run! (2 mins short of Boston qualifying ;/) Co-author of RCP Book (www.eclipsercp.org) An Introduction to Git and Gerrit | © 2011 by Chris Aniszczyk Agenda History of Version Control (VCS) The Rise of Distributed Version Control (DVCS) Code Review with Git and Gerrit Lessons Learned at Eclipse moving to a DVCS Conclusion Q&A An Introduction to Git and Gerrit | © 2011 by Chris Aniszczyk Version Control Version Control Systems manage change “The only constant is change” (Heraclitus) An Introduction to Git and Gerrit | © 2011 by Chris Aniszczyk Why Version Control? VCS became essential to software development because: They allow teams to collaborate They manage change and allow for inspection They track ownership They track evolution of changes They allow for branching They allow for continuous integration An Introduction to Git and Gerrit | © 2011 by Chris Aniszczyk Version Control: The Ancients 1972 – Source Code Control System (SCCS) Born out of Bell Labs, based on interleaved deltas No open source implementations as far as I know 1982 – Revision Control System (RCS) Released as an alternative to SCCS
    [Show full text]
  • Git Cheat Sheet
    GIT CHEAT SHEET Git is the free and open source distributed version control system that's responsible for everything GitHub related that happens locally on your computer. This cheat sheet features the most important and commonly used Git commands for easy reference. INSTALLATION & GUIS STAGE & SNAPSHOT With platform specific installers for Git, GitHub also provides the Working with snapshots and the Git staging area ease of staying up-to-date with the latest releases of the command line tool while providing a graphical user interface for day-to-day git status interaction, review, and repository synchronization. show modified files in working directory, staged for your next commit GitHub for Windows git add [file] htps://windows.github.com add a file as it looks now to your next commit (stage) GitHub for Mac htps://mac.github.com git reset [file] unstage a file while retaining the changes in working directory For Linux and Solaris platforms, the latest release is available on the official Git web site. git diff Git for All Platforms diff of what is changed but not staged htp://git-scm.com git diff --staged diff of what is staged but not yet commited SETUP git commit -m “[descriptive message]” Configuring user information used across all local repositories commit your staged content as a new commit snapshot git config --global user.name “[firstname lastname]” set a name that is identifiable for credit when review version history git config --global user.email “[valid-email]” BRANCH & MERGE Isolating work in branches, changing context, and integrating changes set an email address that will be associated with each history marker git branch git config --global color.ui auto list your branches.
    [Show full text]
  • Evolution of Version Control in Open Source Lessons Learned Along the Path to Distributed Version Control
    Evolution of Version Control in Open Source Lessons learned along the path to distributed version control Chris Aniszczyk (Red Hat) Principal Software Engineer [email protected] http://aniszczyk.org About Me I've been using and hacking open source for ~12 years - contribute{d} to Gentoo Linux, Fedora Linux, Eclipse Eclipse Board of Directors, Committer Representative Member in the Eclipse {Architecture,Planning} Council I like to run! (just finished Chicago marathon in 3:20) Co-author of RCP Book (www.eclipsercp.org) Evolution of Version Control in Open Source | © 2010 by Chris Aniszczyk Agenda History of Version Control (VCS) The Rise of Distributed Version Control (DVCS) Lessons Learned at Eclipse moving to a DVCS Conclusion Q&A Picture 5 Evolution of Version Control in Open Source | © 2010 by Chris Aniszczyk Version Control Version Control Systems manage change “The only constant is change” (Heraclitus) Evolution of Version Control in Open Source | © 2010 by Chris Aniszczyk Why Version Control? VCS became essential to software development because: They allow teams to collaborate They manage change and allow for inspection They track ownership They track evolution of changes They allow for branching They allow for continuous integration Evolution of Version Control in Open Source | © 2010 by Chris Aniszczyk Version Control: The Ancients 1972 – Source Code Control System (SCCS) Born out of Bell Labs, based on interleaved deltas No open source implementations as far as I know 1982 – Revision Control System (RCS) Released as an alternative
    [Show full text]
  • Version Control for Salesforce: a Practical Guide to Implementing Git-Based Release Management
    Version control for Salesforce A practical guide to implementing git-based release management Release management made easy | gearset.com Contents Introduction 2 Who is this whitepaper for? 2 A brief introduction to version control 2 Definitions 3 The path to version control 4 Production development 4 Sandbox development 5 Version control development 6 The benefits of version control in Salesforce development 6 Why don’t more Salesforce teams use version control? 8 Limitations of the first-party tooling 8 Thinking version control is only for enterprises 8 Not knowing what good looks like 8 Technical barriers of command-line tools 9 Getting started with version control: introducing Git 9 Service providers 9 On-premise vs hosted 9 A best practice development model for Salesforce 10 Overview 10 The development model 11 Branch management 12 Dealing with hotfixes 12 The hotfix model 13 What metadata to version control 14 Start with a controlled subset 14 Managed packages 15 Repository configuration 15 Finding the right deployment tool 16 For developers 16 For admins and release managers 16 For team leads and architects 17 Conclusion 17 About Gearset 17 1 Introduction Version control is one of the most powerful tools development teams can leverage on their path to effective release management, yet its adoption in the Salesforce ecosystem is surprisingly low. In this whitepaper we’ll examine how version control works, the benefits of version control over in-org development, and introduce a best-practice model for implementing version control in your business. Who is this whitepaper for? Anyone involved with the administration, development, maintenance, or management of Salesforce environments, looking for ways to improve the cadence, simplicity, reliability, and auditability of their release management.
    [Show full text]
  • Oreilly Version Control with GIT.Pdf
    Version Control with Git Jon Loeliger Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Version Control with Git by Jon Loeliger Copyright © 2009 Jon Loeliger. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Andy Oram Indexer: Fred Brown Production Editor: Loranah Dimant Cover Designer: Karen Montgomery Proofreader: Katie Nopper DePasquale Interior Designer: David Futato Production Services: Newgen North America Illustrator: Robert Romano Printing History: May 2009: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Version Control with Git, the image of a long-eared bat, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. ISBN: 978-0-596-52012-0 [M] 1242320486 Table of Contents Preface . xi 1.
    [Show full text]