patchFreeciv - Patches: patch #4429, [Metaticket] Server-only checkout

Show feedback again

patch #4429: [Metaticket] Server-only checkout

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Tue Jan 14 06:49:25 2014  
Category: bootstrapPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue Jan 14 17:12:23 2014, comment #2:

> uses less disk space than just a SVN checkout.

Yes, but while I used word "checkout" in the subject of the ticket, I were also talking about "export" only (or building from tarball) environment as my use-case. So this is more about organizing build so that it can be made using only part of the source tree present than about what version control (if any) the source tree lives in.

Marko Lindqvist <cazfi>
Project Administrator
Tue Jan 14 14:11:22 2014, comment #1:

Have you tried using git to get the source tree instead? Many projects find that a git checkout (containing the entire history!) uses less disk space than just a SVN checkout.

You could even git clone --depth $N git:// (for some small number N) if you really don't want the history. My clone of git:// is about 700MB, and goes to about 850MB when built.

Or, if you really wanted a partial checkout, something like

git archive --remote=git:// R2_4_17 common include server etc.

(BTW I use the git mirror at git:// to keep up to date.)

I'd like to strongly urge against strongly coupling the Freeciv workflow to SVN in order to accommodate building on constrained environments. It reads a bit like an "XY Problem" to me :-/

Bernd Jendrissek <berndj>
Tue Jan 14 06:49:25 2014, original submission:

I build freeciv-server from the source on the machine that will host it. With limited diskspace on that server, it's unfortunate that I need entire freeciv source tree to do so. Ideally I want to build from svn export (even if it's from release tag), but even going to tarball does not help, unless a lot of effort has been used to tailor that tarball so that it contains everything running configure requires (that includes Makefile.ins on all the directories, and I-dont-know-what-random-files).

It should be possible to checkout only part(s) of the freeciv tree to build the server.
As a major source hierarchy and build system rework, I would target to 3.0 instead of 2.6 - time until S2_6 is branched would be used to planning and maybe preparing the patches (so that 3.0 development will use new hierarchy almost from the beginning)

This would make backporting patches from TRUNK to S2_6 harder as files would not be where patch expects them.

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by berndj (Posted a comment)
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jan 21 07:33:55 2016cazfiPlanned Release3.0.0=>
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup