OSLib cvs repository

Tony van der Hoff tony at mk-net.demon.co.uk
Tue Jun 18 17:14:41 BST 2002


On 17 Jun 2002, in message <fb7533484b.tom at compton.compton.nu>,
Tom Hughes <tom at compton.nu> wrote:

[snip]
> 
> I'm just wondering whether Tony though he had checked these files in
> as swi.Territory but the RISC OS CVS client checked them in under the
> more unix like name of Territory.swi, which I believe it will do if you
> configure it to treat swi as a file extension.
> 
I really don't think you should be looking at the makefiles for the culprit.
I believe your problem must lie in filename translation. Certainly your work
directory should contain files of the form oslib.swi.xxx; anything else is
wrong.

I have not "changed" any filenames as such, but have, as Jonathan suggests,
treated "swi" as a filename extension rather than a directory name for the
purposes of UNIX filename translation. I believe that was how the system was
intended to work. Whether or not it was a good idea for me to carry this
through to the CVS repository can be a topic for a seperate discussion.

The check-in was slightly complicated. While testing, I built a local CVS
repository (several times ;-) on my NT box, using John Tytgat's RISC OS CVS
port, over LanMan98. CVS will have done filename translation from RISC OS
style to UNIX style; I have *Set UnixEnv$cvs$sfix
c:cc:h:l:o:s:y:asm:swi:Hdr:c++:cpp although not all of these may be
necessary. However, on checkout it needs  same filename translation rules to
perform the complementary action. Check-in and out and a build from scratch
works fine here on the RISC OS box.

When I was satisfied with my local repository, I zipped it up, and sent it to
SF, who set it up on their server. I have tried a number of checkouts
from there with both anonymous access using John's client, and SSH checkout
using Maarten Bezemer's port, with filename translation enabled as above.
Both check out and build straight out of the box here. Philip Ludlam is,
AFAIK, successfully checking out OSLib on to his UNIX box, and using that as
his work directory from his RISC OS box.

Attached is a copy of my TaskObey to check out the reposotory anonymously;
If you're using John's port, see if this produces the right resultsfor
you.

Cheers, Tony  
-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ,checkout_anon
Type: application/riscos
Size: 465 bytes
Desc: not available
URL: <http://lists.compton.nu/pipermail/oslib-team/attachments/20020618/ede8ba44/attachment.bin>


More information about the oslib-team mailing list