Giter Site home page Giter Site logo

gitcc4j's Introduction

======= gitcc4j =======

This is yet-another Git/Clearcase bridge, this time written in Java. Essentially this is port of the Python version I originally wrote last year. I would recommend most people requiring this functionality look to that incarnation first as it has more exposure and is likely to be less buggy. In additional the Java components for Clearcase have broken, at least in my opinion to be slower than the native ones. However, in comparison to Git it all seems rather slow really.

The reason for this clone is that I switched to Ubuntu at work recently and could not longer call cleartool commands, as Clearcase requires a specific and older version of the kernel. As an alternative Rational offer Clearcase Remote Client (CCRC) which is a Java based Clearcase alternative. Essentially this is just an Java/Eclipse front-end to a bunch of webservices backed by a real Clearcase server.

One of the things I've been able to achieve in this version that I have previously craved is the ability to run a 'daemon' which continually syncs Git with Clearcase in the background. What was lacking before was authenticating as any user to ensure that ownership of commits isn't lost.

Death to Clearcase!

Config

Pretty much the same as the python version, with a few extra annoying UCM ones which I can't seem to avoid.

[core]
type = UCM
include = folderA|folderB/folderC

# This is a new feature for UCM to allow gitcc to handle renames across
# components as well as .gitignore files in the root folder
ignore.level = 1

# These are for CCRC
url = http://clearcasewebserver:12080/
username = charleso
password = password
group = somegroup

# These are for the daemon to email when something goes wrong
email.recipients = [email protected]|[email protected]
email.sender = [email protected]
email.smtp = smpt.example.com

[master]
clearcase = /views/test/prod
branches = branch_a|branch_b
# These are new - there must be an easy way to work them out via the API
integration = /views/test_int/prod
stream = dbid:110825@replicauuid:a0bc60b03c1011dd94080002cea84b4c

Users

This goes in the .git/users files. You don't really need the extra view information. This is just a requirement at my work.

Charles O'Farrell|[email protected]|password|/views/charleso
Joe Smith|[email protected]|password|/views/joes

gitcc4j's People

Contributors

charleso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.