15 Mar 2007 12:00
Re: Hugs' build system
Sven Panne <sven.panne <at> aedion.de>
2007-03-15 11:00:00 GMT
2007-03-15 11:00:00 GMT
On Sunday 25 February 2007 18:12, Malcolm Wallace wrote: > Ross Paterson <ross <at> soi.city.ac.uk> writes: > > > * I think that Hugs should finally be moved to darcs instead of CVS > > > > No objection, but I think it takes a bit of extra effort to make the > > history look nice, e.g. check > > > > http://darcs.haskell.org/darcsweb/darcsweb.cgi?r=parsec;a=summary > > This is just a matter of which options you give to 'tailor', the > conversion utility. In particular, you can tell it to use the first > line of the CVS commit message as the name of the darcs patch, with the > remaining lines from CVS as the "long" message in darcs. It would be very nice if you could do that conversion for the Hugs repository. I think that http://darcs.haskell.org/hugs98 will be the right place. The only thing is: Is "98" a good suffix when we will move to Haskell'? Hmmm... Anyway, having a darcs repository soon would be great. > The main non-automated issue when converting is the need to create/steal > a darcs-all script, and maybe a utility to fix executable permissions > for fresh checkouts. I can do this after the conversion. Furthermore, I think that we can (and should) have a unified version of these scripts for GHC, Hugs and nhc98. Cheers, S.
The patch was very trivial and has nothing to do with our problems, I guess:
--- /home/panne/tailor/vcpx/repository/darcs/__init__.py.~1~ 2007-03-23
14:19:01.000000000 +0100
+++ /home/panne/tailor/vcpx/repository/darcs/__init__.py 2007-03-23
15:01:14.000000000 +0100
<at> <at> -72,7 +72,7 <at> <at>
ignored.append('^%s$' % re.escape(sfrelname+'.old'))
ignored.append('^%s$' % re.escape(sfrelname+'.journal'))
- boring = open(boringname, 'wU')
+ boring = open(boringname, 'w')
boring.write('\n'.join(ignored))
boring.write('\n')
boring.close()
-----------------------------------------------------------------------------
> Does the Hugs CVS repo contain any strange encoding in commit messages?
> Neither ASCII nor UTF-8 seems to be accepted, whereas Latin-1 is
> accepted but gives incorrect results.
Cheers,
S.
RSS Feed