-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 17 Oct 2010 12:00:02 +0000
fossil-users-requ...@lists.fossil-scm.org wrote:

> Message: 1
> Date: Sun, 17 Oct 2010 12:51:12 +0530
> From: Ji?? Navr?til <j...@navratil.cz>
> Subject: [fossil-users] approach to select file from repository based
>       on      platform?
> To: fossil-users@lists.fossil-scm.org
> Message-ID: <b633c4fe-46f8-49a1-90a9-847c3e200...@navratil.cz>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello,
> 
> I like to put my ~/bin folders from OpenBSD, Linux 32 and 64bit and
> Mac OS X into Fossil reposity. Most files are bash or python scripts,
> so identical for all platforms. But for binary files, I need
> different file for every platform. I can have fossil.linux32,
> fossil.macosx, .., but it's not elegant.
> 
> Can I somehow utilise Fossil to have different binary per platform
> (so fossil binary will be only one and the correct one on each
> platform)?
> 
> Thank you,
> Jiri

I can't see a way to do it with binaries excepting the branch method
already mentioned. Could you instead obtain and store the source code
for each one? That should be easy since you have access to the BSD ports
tree. CMake seems to be a good cross-platform build system, including
Windows. (Others will no doubt point to SCons, or the venerable
Autotools.) Of course this means installing a working build environment
on all your deployment targets. That's easy enough on Linux and BSD.

Hm, seems like a lot of work. Wouldn't it be easier just to tarball up
the binary packages on each system?

Regards,
Adam J Richardson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAky8ER0ACgkQSUH6dLOqvqks0wCfXiZbXyFEUhelHOXoQrYNTbuy
H4QAmwaLbWTfYv4syN4z2f36klrB5gxg
=nyVD
-----END PGP SIGNATURE-----
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to