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 14 Jan 2014 06:49:25 AM UTC  
 
Category: bootstrapPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: 3.0.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 14 Jan 2014 05:12:23 PM UTC, 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 14 Jan 2014 02:11:22 PM UTC, 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://nearby.example.org/freeciv.git (for some small number N) if you really don't want the history. My clone of git://repo.or.cz/freeciv.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://nearby.example.org/freeciv.git R2_4_17 common include server configure.ac Makefile.am etc.

(BTW I use the git mirror at git://repo.or.cz/freeciv.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 14 Jan 2014 06:49:25 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup