OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group tools
:
OpenSolaris Source Code Management
>
DSCM Requirements Document
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
DSCM Requirements Document
Hide Line numbers
1: = OpenSolaris 2: 3: = Distributed Source Code Management (DSCM) Requirements 4: 5: //ident "@(#)d-scm-requirements.txt 1.4 06/03/22 SMI"// 6: 7: == Summary 8: 9: This document identifies and explains the requirements for a distributed source code management (SCM) solution to be used with OpenSolaris. The requirements are grouped into three sets of decreasing importance. It outlines a number of specific evaluations that will be used to determine whether a candidate SCM meets the various requirements. 10: 11: == Discussion 12: 13: The requirements described below arise from a number of distinct classes: some are social, in that the requirement is believe necessary for successful use in the community; some are technical, in that the requirement is believed necessary to successfully produce software in a multi-project, multi-committer, multi-site development organization; and some are economic, in that the requirement is attempting to describe attributes that would limit the costs of the ongoing use of the tool. 14: 15: In an attempt to use neutral terms, we use the phrase "candidate SCM" to describe the SCM solution we are evaluating and "current SCM" to refer to the distributed SCM solution in use (inside Sun) at present. (Not all consolidations participating in OpenSolaris use a distributed SCM at present; their SCM requirements are not discussed in this document.) 16: 17: The requirements are ranked by necessity, using the terminology proposed in IEEE Std 830-1998 [1]. 18: 19: === "Essential" requirements 20: 21: **E0. Open source** 22: 23: To be considered for use by the OpenSolaris community, the candidate SCM is expected to be available under an OSI-approved license. 24: 25: **E1. Unbiased and disconnected distribution** 26: 27: Although a distributed SCM may choose to implement some form of dependency relationship between source trees (such as a "parent-child" convention) that relationship must not need to be continuously available for sensible SCM operation. 28: 29: Moreover, the candidate SCM must support source code updates between two distinct repositories with a common ancestor that have had no other contact. Sensible operation for disconnected use encompasses all SCM operations that act only on the local repository: creation, modification, or deletion of files or directories or the metadata describing these objects or the changes to them; creation of private branch or child workspace; creation of intermediate snapshots. 30: 31: **E2. Networked operation** 32: 33: The candidate SCM must be able to operate in a sensible and well performing manner between two hosts in separate administrative domains. Beyond the data contained within the candidate SCM’s representation, the only common administrative requirement should be a credential identifying the remote operator initiating the transaction to the other host. 34: 35: One mechanism that meets this requirement is to tunnel the candidate SCM operation through ssh(1). Candidate SCMs that use an implementation that requires domains to change security policies to open unusual or believed risky network ports will be considered to be minimally compliant with this requirement. 36: 37: Performance measurements will be used to compare candidates, as outlined below. A candidate SCM with performance results in the bottom third of all candidates will be deemed to have failed to meet this requirement. 38: 39: Mercurial example of setting up a testbed that crosses administrative domains: Mercurial has built-in support for ssh access to a repository. Install Mercurial on both ends; create a user account on the remote system; and configure the local and remote systems for public key ssh. 40: 41: **E3. Interface stability and completeness** 42: 43: The storage representation, command line interfaces, network protocols, and hooks interfaces should be documented and have some level of declared commitment. The state of the storage representation and the operations that modify it should be well defined, so that use with advanced file system capabilities can be assessed for hazards. (For example, consistent use with file system snapshot capabilities.) 44: 45: Storage representation is important because if the storage representation changes frequently, issues might arise if frequent upgrades of the gate and personal workspaces are required. 46: 47: Use of the candidate SCM with advanced file system capabilities should be defined. (For example: Can ZFS clones be used to back up repositories? Can filesystem ACLs be used to control access to portions of the repository?) 48: 49: **E4. Standard operations and transactions** 50: 51: The candidate SCM is expected to support rename and deletion transactions at the file and directory levels. Note that a history-preserving copy operation, followed by a delete operation, may be considered equivalent to a rename. 52: 53: The following transactions are to be assessed and documented by the evaluating engineer: 54: 55: * rename at the file and directory levels; 56: * deletion at the file and directory levels; 57: * delete file, create new file with the same name, commit the new file; 58: * delete file (user A), deleting gets backed out, another user (B) commits changes to the same file using a workspace B created before A’s original deletion; 59: * whether the candidate allows references to files as they existed prior to deletion. 60: 61: Equivalency (another operation or set of operations that might be used in place of an operation not specifically supported), and the the reasons for the omission of a transaction, are to be assessed and documented by the evaluating engineer. 62: 63: **E5. Per changeset metadata.** 64: 65: The candidate SCM must be able to associate, at a minimum, an unstructured text fragment with each changeset. 66: 67: Additional support is to be assessed and documented by the evaluating engineer. 68: 69: === "Conditional" requirements 70: 71: **C6. Ease of use** 72: 73: The candidate SCM should be easy to install in a reasonably self-contained fashion. In principle, shipment in an OpenSolaris consolidation should be possible with a finite investment of resources, meaning that the candidate SCM does not have a complicated makefile system, has dependencies that can be easily managed, etc. 74: 75: The primary interfaces should be understandable based on the interfaces and documentation to a user familiar with distributed SCM concepts. 76: 77: The candidate SCM should offer some assistance with conflict resolution during an update, the issuance of source code patches, and the ability to browse the source tree via a web server. 78: 79: The candidate SCM should be able to undo the application of a specific changeset ("backout") atomically and easily. Whether an undo can be done at any time or only before any other putback is to be assessed and documented by the evaluating engineer. 80: 81: **C7. "No dedicated server" operational mode** 82: 83: In the interests of machine resource conservation, the candidate SCM should have a mode in which it can operate without a continuously running server process. This mode may have concurrency restrictions or performance limitations compared to its primary server mode. 84: 85: For instance, within a large administrative domain, it may be more convenient to utilize NFS and a shared identity infrastructure than to rely on the networked operating mode required by E2. A candidate SCM which can sensibly operate in a pure OpenSolaris NFS environment without the establishment of a dedicated server process would meet this requirement. 86: 87: **C8. Tool community health** 88: 89: The community or author of the candidate SCM needs to be active and engaged with their user population. The ability of the candidate SCM’s community to absorb, directly or through a liaison, the defects and feature requests of the OpenSolaris community should be estimated, preferably by a direct inquiry to the candidate SCM community. 90: 91: **C9. OpenSolaris community implementation expertise** 92: 93: One or more contributors within the OpenSolaris community need to be able to assess potential defects in the implementation of the candidate SCM and potentially participate in the development of new features or supporting tools for the candidate SCM. 94: 95: **C10. Interface extensibility** 96: 97: Beyond the requirements of E3, an extensible interface, so that OpenSolaris-specific tools might be integrated with SCM operations is desired. Such an interface might be composed of a documented "hooks" interface, a documented library interface, or some other modular approach. An extensive hooks interface, with hook evaluations able to terminate operations, is a strongly desired attribute in a candidate SCM; a candidate SCM with such an interface will be considered to meet fully this requirement. 98: 99: **C11. Transactional operations and corruption recovery** 100: 101: The operations on the candidate repository should have defined semantics, in particular identifying non-atomic transactions and mechanisms for recovery from a corrupted repository. 102: 103: **C12. Content generality** 104: 105: The candidate SCM should be able to represent safely and track files with binary content, in addition to text files. 106: 107: NOTE: This is a conditional requirement because lack of direct binary support can be finessed with tools like uuencode(1C) and corresponding makefile magic. 108: 109: === "Optional" requirements 110: 111: **O13. Partial trees** 112: 113: The structure of the ON consolidation and the current SCM solution allow a contributor to work on specific subsets of the source tree in a supported fashion. This requirement states that, while such a mode with support for expressing dependencies between files and directories is valuable, support for partial tree repositories is not necessary. 114: 115: **O14. Per-file histories** 116: 117: The current SCM uses SCCS as a per-file revision storage format. As such, each file has an individual history. This feature allows the combination of disjoint issues to be addressed in a single commit without connecting the per-file history. It is believed that the ability to meet the other requirements stated in this document is sufficiently more valuable than the support of per-file revision histories. Moreover, the construction of per-file histories in reporting and browsing tools can be accomplished by convention in many cases. 118: 119: That is to say, a candidate SCM that meets E5 is sufficient. 120: 121: == Evaluations 122: 123: We anticipate a number of qualitative and quantitative tests to evaluate the satisfaction of the various requirements, where a "meets" or "does not meet" result is not applicable. 124: 125: === Representational and performance criteria 126: 127: These criteria focus on the ability of the candidate SCM to represent a large, long-running, and active source tree. The ON consolidation represents more than 25 000 changesets by over 1300 committers against approximately 40 000 files. 128: 129: The expected set of meaningful operations for performance evaluation are: 130: 131: * first pull/clone operation, 132: * subsequent pull/update operation, and 133: * push/commit operation. 134: 135: Performance results for the set of operations will be captured for three distinct scenarios: within a campus, across SWAN between sites, and between two Internet sites. SWAN measurements will be captured between each of Menlo Park, CA and Burlington, MA, Manchester, UK, and Beijing, PRC. (Equivalent sites may be added or substituted.) For comparison, results will be phrased both as as a percentage of sustained bandwidth, and as absolute time elapsed (for an identical pair of endpoints). Baseline absolute time comparisons will be made against standard and "turbo" TeamWare for within-SWAN scenarios, and against an rsync copy of the same data for all scenarios. 136: 137: The candidate SCM will be evaluated for data integrity by interruption of the set of operations by signal and by machine failure. 138: 139: The safety of the candidate SCM with respect to file system capabilities will be evaluated using ZFS snapshot/clone technology for safe repository copies. 140: 141: === Implementation criteria 142: 143: The candidate SCM implementation will be assessed by a design and code review by an OpenSolaris contributor with expertise in the implementation language of the candidate SCM. 144: 145: === Tools criteria 146: 147: If available, the candidate SCM is expected to provide or identify a graphical merge program that can be used to resolve conflicts resulting from an update operation. In the case that no known program can be used, the evaluating contributor will assess the work necessary to use one of the standard graphical merge programs. 148: 149: == References 150: 151: [1] IEEE Std 830-1998, "IEEE Recommended Practice for Software Requirements Specifications", 1998. 152: 153: //Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems 154: stephen dot hahn at sun dot com http://blogs.sun.com/sch///
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Internet Key Exchange, version 2
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group tools Pages
Build/Install OpenSolaris (Part 1)
Build/Install OpenSolaris (Part 2)
Downloads
Files
GCC
Bug Fixing Notes
Build Instructions
Important Notes
ONNV Policy
Background and Rationale
Shadow Compilation
Current Status
Mercurial Tools
Dynamic Linking
OpenSolaris Source Code Management
OpenSolaris DSCM Evaluation: Bzr (Interim Report)
OpenSolaris DSCM Evaluation: Mercurial
DSCM Requirements Document
Candidate Evaluation Form
Evaluation Plan
How To Use Mercurial (hg) Repositories
How To Transition from Teamware to Mercurial
SCM Project History
ON SCM-Related Tools
Source Code Management for OpenSolaris: MILESTONES
SCM console specification
SCM hosting implementation specification
How To Use SVN Repositories
Source Code Management Downloads
Sun Studio Downloads
Sun Studio FAQs
Sun Studio Getting Started
Sun Studio 11 License
Sun Studio 12 License
Sun Studio 10 License
Sun Studio 10 Downloads
Sun Studio 11 Downloads
Sun Studio 11-- Previous Downloads
Sun Studio 12 Compilers and Tools for the OpenSolaris Common Build Environment (CBE)
Sun Studio Support