logo       


CVS permission trouble: msg#00081

Subject: CVS permission trouble
The current layout of the CVS repository is not optimal, because e.g. the
"openal/linux" subdirectory is not self-contained and needs "openal/include"
for the standard headers. Copying the headers manually or requiring users to
check out the source code for *all* platforms is more than ugly. But CVS
offers a nice solution for this, using the capabilities in "CVSROOT/modules"
(http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_18.html#SEC177). Basically
one can "mount" parts of the repositories together (renaming "linux" to
"unix", which is more appropriate):

--------- CVSROOT/modules --------------------------------
unixsrc -d unix        openal/linux
unixhdr -d unix/common openal/include
unix    -a unixsrc unixhdr
----------------------------------------------------------

This defines 2 helper modules "unixsrc" and "unixhdr", which are not meant
to be used on their own. The main point here is the alias module "unix",
which combines the 2 helper modules. The resulting layout after a "cvs co
unix" should be:

   unix/common/include/AL/al.h
   unix/common/include/AL/alc.h
   unix/include/AL/alext.h
   unix/src/...
   unix/INSTALL
   unix/...

I was able to commit a version of CVSROOT/modules, which had the arguments
swapped, but trying to commit a fixed version failed to lacking permissions
('"commit" requires write access to the repository'). Strange... Could
somebody at Creative fix the permissions in CVSROOT, so I'm able to commit
there, please?

This "mounting" is being used in other projects I'm involved in and works
quite nice. Subversion has a similar (but more powerful) feature, BTW, so we
won't run into trouble after the migration.

Cheers,
   S.


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe