Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdub/basketcase

making ClearCase ever-so-slightly less painful
https://github.com/mdub/basketcase

Last synced: about 2 months ago
JSON representation

making ClearCase ever-so-slightly less painful

Awesome Lists containing this project

README

        

= basketcase

* http://basketcase.rubyforge.org/
* http://rubyforge.org/projects/basketcase/
* http://dogbiscuit.org/mdub/

== Description

BasketCase is a (Ruby) script that encapsulates the Rational ClearCase
command-line interface, cleartool, making it (slightly) more
comfortable for developers more used to non-locking version-control systems
such as CVS or Subversion.

== Features

BasketCase can help you:

* List modified elements.
* Update a snapshot view, including automatic merge of modified elements.
* Check-out (unreserved) and check-in elements.
* Undo a check-out, reverting to the base version.
* Perform a bulk check-in (or revert).
* Add, remove and rename elements.
* Display change-logs and version-trees.
* Display differences for modified elements.

== Synopsis

usage: basketcase []

GLOBAL OPTIONS

-t/--test test/dry-run/simulate mode
(ie. don't actually do anything)

-d/--debug debug cleartool interaction

COMMANDS (type 'basketcase help ' for details)

% list, ls, status, stat
% lsco
% diff
% log, history
% tree, vtree
% update, up
% checkin, ci, commit
% checkout, co, edit
% uncheckout, unco, revert
% add
% remove, rm, delete, del
% move, mv, rename
% auto-checkin, auto-ci, auto-commit
% auto-uncheckout, auto-unco, auto-revert
% auto-sync, auto-addrm
% help

== Installation

Is as easy as:

sudo gem install basketcase

== Background

In mid-2006, Mike Williams worked on a client project which, despite the
team's wishes, was burdened with ClearCase as it's source-code control
system.

The team was attempting to use Agile practices such as collective code
ownership, refactoring and continuous-integration, and ClearCase was in the
way:

* ClearCase enables and in many ways favours "reserved" check-outs of
elements, preventing collective code ownership.
* When add, removing or moving elements, ClearCase will sometimes apply the
change to the repository immediately, without waiting for a "commit".
* When updating, ClearCase will not attempt to merge other developers'
changes to elements you have checked-out ... leaving your view in an
inconsistent state.
* Performing an automatic merge from the command-line requires an unwieldy,
obscure command.
* There is no easy way to do a bulk-commit from the command-line.

Mike wrote BasketCase in frustration.

== License

(The MIT License)

Copyright (c) 2008 Mike Williams

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.