Coder Social home page Coder Social logo

lilongen / statcode Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 10.56 MB

web tool/service to provide unify user experience to get git/svn/cvs repository code change and file composition info

Perl 44.23% Shell 0.46% Python 0.09% JavaScript 47.03% HTML 6.78% CSS 1.42%

statcode's Introduction


================================================================================ Abbreviation CCV = Code(cvs/svn) Change Viewer FOC = File of change LOC = Line of change)

================================================================================

  • Features ccv supply unify solution to stat./get/browse cvs/svn module code change
  • can get LOC/FOC, check-in comments, code diff
  • user can upload customized cvs/svn module config file to server.
  • feature details, it supports two report modes.
    • base on cvs/svn log, can get
      • module's all acounts check-in information
      • code diff of every check-in
      • cvs/svn check in comment/LOC/FOC group by module/acount/file
      • check-in times on a file
    • base on cvs/svn diff, can get
      • exact FOC/LOC group by directory/module between two revisions/dates
      • code diff of each file
      • tree or flat view report
  • ccv behavior as web service tool, easy access & usage, and it also suppot shell command line mode.
  • ccv can stat. one or more cvs/svn modules one time.
  • ccv can stat. repository module source file composition info
  • ccv has easy-use install/upgrade/remove feature.
  • ccv suports online-upgrade.

================================================================================

  • Env requirement: linux + apache + perl + cvs + svn
  • linux/unix-like os All POSIX (linux/BSD/unix-like OSes)

  • apache it server does not include it, pls install it

  • perl it is a standard package in almost all linux distributions. If you can run "perl" commnad, then it is OK, and"perl -v" command will show perl version.

  • cvs almost all linux distributions include it. if you linux server can run "cvs" command, then OK

  • svn almost all linux distributions include it. if you linux server can run "svn" command, then OK, if not, please install it first.

================================================================================

  • Install
  1. switch to root

  2. tar -xzvf ccv-2.0-%date%.tar.gz following files will be extracted |--INSTALL.pl |--ccv.tar.gz |--README

  3. run "perl INSTALL.pl --apache-conf=/path/of/httpd.conf --prefix=/install/ccv/to" Example: perl INSTALL.pl --help perl INSTALL.pl --apache-conf=/usr/local/apache2/conf/httpd.conf --prefix=/usr/local

    INSTALL.pl script will do: 1). ccv will locate at /usr/local/ccv 2). INSTALL.pl modify httpd.conf, add include statement to get ccv CGI definition file: httpd.conf ... include /usr/local/ccv/config/ccv.script.alias.httpd ... 3). get httpd configure "DocumentRoot" ln -s /usr/local/ccv/web/ /%DcoumentRoot%/ccv

  4. restart apache

    after INSTALL.pl finished, you need to customize your modules by accessing http://server_ip/ccv/ccv.html

================================================================================

  • ccv entry URL: http://server_ip/ccv/ccv.html
  • ccv manual: http://server_ip/ccv/manual.html

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.