Building a Windows Mercurial installer under Linux

Bill Barry after.fallout at gmail.com
Thu Feb 26 08:56:46 CST 2009


While this is great, I am not certain it should be a replacement for an 
actual automated windows build on windows. Certainly in addition to the 
windows build it would be good.

Why don't we set up a repository somewhere which will contain everything 
necessary to create an automated build environment for hg (scripts, 
instructions, tools/links to tools). The idea being that you can 
download the archive of this repo onto a new server and you would get 
everything you need to create a build server which will pump out tested, 
continuous builds for that system. Right now I am looking into setting 
up a build server for win32 systems to see what it takes and I will 
hopefully be working with muggs to get a fully automated Windows build 
env pumping out hg and thg from hg-crew and hg-stable and thg-crew and 
thg-stable (and whatever else is wanted, creating one off a different 
repo should just be a cut and paste operation on the config) on both 
win32 and win64.

This buildenv repo would contain:
/
  windows/
    win9x/ (maybe?)
    win32/
    win64/
    wine/
  osx/
     ...
  linux/
    deb/
    rpm/
    ebuild/
    ...
  solaris/
  ...

Matt Mackall wrote:
> Just as an experiment, working from 
>
> http://www.selenic.com/mercurial/wiki/index.cgi/BuildingWindowsInstaller
>
> I made the attached shell script, which
>
> - sets up a completely pristine workspace for Wine
> - downloads all the components needed for building hg into it
> - unpacks and installs them (mostly hands-free)
> - grabs a tarball of latest copy of hg
> - switches into Wine
> - builds hg's extensions
> - uses hg to properly pull its own history
> - runs py2exe (missing some DLLs)
> - runs innosetup (can't find all components yet, have to comment out
> icon line)
>
> ..but I've successfully built an installer exe.
>
> Needs:
>
> - basic Wine install
> - wget
> - unzip
>
> With a little work, this might be completely automated, and might also
> be able to run the test suite. It's already enough to get a basic
> sandbox for testing hg under Windows. It also serves as more precise
> documentation of what it actually takes to do a Windows build.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20090226/d9ed2181/attachment.htm 


More information about the Mercurial-devel mailing list