welcome: please sign in

Diff for "Code"

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-03-12 22:53:14
Size: 1604
Editor: RichardDarst
Comment:
Revision 3 as of 2010-03-29 03:55:52
Size: 2552
Editor: noway
Comment: update for some git conversions
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers off
Line 10: Line 12:
== git repos, and CVS->GIT conversion status ==
See git repos at http://git.hcoop.net/ . Repos converted previously and not yet up to date are in `OLD/`. Everything you see that is not in `OLD` is "active". The repos were converted using of the form `git-cvsimport -d:pserver:anonymous@hcoop.cvs.sourceforge.net:/cvsroot/ohcoop -C dbtool-git/ -v -i dbtool -A $PWD/cvs-author-conv-file`.

The repos you see in gitweb are "live", that is, they are symlinks to the `.git` directories in the live locations. Note: the gitweb update script will fail (and cause all hcoop's repos to not work) if you link to a `.git` directory not in AFS (it uses `fs la` to check for read permissions).

After a CVS repo is migrated, the `CVS` directories will be moved to `CVS_old` to prevent accidental usage.

||debian/*.git || local debian package sources. NOTE: may not be up to date or used anymore. ||
||config/*.git || Various daemon configurations. NOTE: this may not be up to date ||
||service/*.git|| Runit service info. NOTE: this may not be up to date. ||
||gitweb.git || gitweb, `/var/local/lib/gitweb/.git/` is linked to this directory ||
||portal.git || portal, linked to `~hcoop/portal/.git/` ||
||scripts.git || scripts, linked to `/afs/hcoop.net/common/etc/scripts/.git/` ||
||domtool.git || old domtool, no longer used. Has no "live" location. ||
||domtool2.git || current domtool. Has no "live" location right now ||
||fwtool.git || fwtool(?). Has no "live" location right now. ||
||OLD/*.git || oblesete git repos, most of these have been superseded with newer repos. ||

To Do: a script to mail admins@ when uncommitted changes are found.
Line 13: Line 35:
 * FIXME  * lives in various admin user directories only.
Line 17: Line 39:
 * How to get code: /portal/ in CVS.
 * How to build: FIXME
   * hcoop_header is the one line script `cat /etc/hcoop.header | sed "s/TITLE/$1/g"`
   * hcoop_footer is the one line script `cat /etc/hcoop.footer`
   * You need /etc/hcoop.header and /etc/hcoop.footer, which are
   {{{
rkd_admin@deleuze:/afs/hcoop.net/common$ cat /etc/hcoop.header
<html><head>
<link rel="stylesheet" type="text/css" href="/hcoop.css" />
<title>TITLE</title>
</head><body>

<div class="main">

<div class="title">
<img class="globe" src="/globe.gif" />
<h1>TITLE</h1>
</div>

<div class="break"></div>
rkd_admin@deleuze:/afs/hcoop.net/common$ cat /etc/hcoop.footer
</div>

</body></html>
}}}
 * Live copies are at `~hcoop/public_html/cgi-bin/portal/*` These are small wrappers which execute the portal code from `~hcoop/portal/*`, and this is the directory is the one in CVS.
   * To update the `public_html/cgi-bin/portal/*` wrappers, do FIXME.
 * in git, see above.
 * See [[DaemonAdmin/Portal]] for more information on this
Line 49: Line 46:
 * FIXME  * FIXME needs updating.
Line 53: Line 50:
 * git accessable at: `hcoop/service/*`
 * Live copies in git under /etc/service/*
 * git accessible at: `hcoop/service/*`
 * Live copies in git under /etc/service/*, but they are not linked.
Line 57: Line 54:
CategorySystemAdministration CategorySystemAdministration CategorySystemAdministration

This page document HCoop's code, where it is, how to access through a VCS and how to update live copies.

Repo locations:

git repos, and CVS->GIT conversion status

See git repos at http://git.hcoop.net/ . Repos converted previously and not yet up to date are in OLD/. Everything you see that is not in OLD is "active". The repos were converted using of the form git-cvsimport -d:pserver:anonymous@hcoop.cvs.sourceforge.net:/cvsroot/ohcoop -C dbtool-git/ -v -i dbtool -A $PWD/cvs-author-conv-file.

The repos you see in gitweb are "live", that is, they are symlinks to the .git directories in the live locations. Note: the gitweb update script will fail (and cause all hcoop's repos to not work) if you link to a .git directory not in AFS (it uses fs la to check for read permissions).

After a CVS repo is migrated, the CVS directories will be moved to CVS_old to prevent accidental usage.

debian/*.git

local debian package sources. NOTE: may not be up to date or used anymore.

config/*.git

Various daemon configurations. NOTE: this may not be up to date

service/*.git

Runit service info. NOTE: this may not be up to date.

gitweb.git

gitweb, /var/local/lib/gitweb/.git/ is linked to this directory

portal.git

portal, linked to ~hcoop/portal/.git/

scripts.git

scripts, linked to /afs/hcoop.net/common/etc/scripts/.git/

domtool.git

old domtool, no longer used. Has no "live" location.

domtool2.git

current domtool. Has no "live" location right now

fwtool.git

fwtool(?). Has no "live" location right now.

OLD/*.git

oblesete git repos, most of these have been superseded with newer repos.

To Do: a script to mail admins@ when uncommitted changes are found.

Domtool

  • CVS, /domtool/

  • lives in various admin user directories only.

Portal

Local Debian packages

  • Located in /aft/hcoop.net/common/debian/PACKAGENAME/UPSTREAM_VERSION/.

  • All under GIT control, see hcoop/debian/*

  • FIXME needs updating.

Runit services

  • git accessible at: hcoop/service/*

  • Live copies in git under /etc/service/*, but they are not linked.


CategorySystemAdministration CategorySystemAdministration

Code (last edited 2012-09-03 08:43:51 by ClintonEbadi)