URL:
  <http://gna.org/patch/?6929>

                 Summary: database.lua out of data/
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 08 Feb 2016 04:43:41 AM EET
                Category: bootstrap
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.4, 2.6.0, 3.0.0

    _______________________________________________________

Details:

Move database.lua from data/ to new lua/ directory in the source tree. This
makes it a bit safer to run debug builds from the build directory (though
still not recommended in insecure environments) as there's no risk of
database.lua getting overwritten by something that is allowed to write to
FREECIV_DATA_PATH directories.

1) Create lua/
2) Move data/database.lua as lua/database.lua
3) Apply patch

Directory name lua/ was chosen, because:
1) I didn't want it to start with c...o...n...f to make tab-completion on
configure & related files even harder. There's nothing starting with 'l' in
the root directory before this
2) We may have more internal lua-scripts one day (I'm mainly thinking about
providing generally-usable fragments for ruleset/scenario authors)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 08 Feb 2016 04:43:41 AM EET  Name: DatabaseLuaLocation.patch  Size:
2kB   By: cazfi

<http://gna.org/patch/download.php?file_id=26643>
-------------------------------------------------------
Date: Mon 08 Feb 2016 04:43:41 AM EET  Name: DatabaseLuaLocation-S2_6.patch 
Size: 2kB   By: cazfi

<http://gna.org/patch/download.php?file_id=26644>
-------------------------------------------------------
Date: Mon 08 Feb 2016 04:43:41 AM EET  Name: DatabaseLuaLocation-S2_5.patch 
Size: 3kB   By: cazfi

<http://gna.org/patch/download.php?file_id=26645>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?6929>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to